1 |
|
---|
2 | Name: libc
|
---|
3 | License: BSD; GPL v2 or later; LGPL v2.1 or later
|
---|
4 | Summary: Standard Shared Libraries
|
---|
5 | Group: System/Libraries
|
---|
6 | Version: 0.6.3
|
---|
7 | Release: 5%{?dist}
|
---|
8 | Url: http://svn.netlabs.org/libc
|
---|
9 |
|
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
11 | Source: libc-%{version}.zip
|
---|
12 |
|
---|
13 | Source1: libc-os2.zip
|
---|
14 |
|
---|
15 |
|
---|
16 | %description
|
---|
17 | kLIBC is a C runtime library in which the coder is exploring The Single Unix
|
---|
18 | Specification (SUS) and various *BSD, Sun and Linux interfaces used in 'portable'
|
---|
19 | software. While implementing SUS completely and providing a great range of special
|
---|
20 | BSD, Sun and Linux APIs is a kind of ultimate goal, the main focus is on what is
|
---|
21 | interesting to play with and what is requested by porters using kLIBC.
|
---|
22 |
|
---|
23 |
|
---|
24 | %package devel
|
---|
25 | License: BSD; GPL v2 or later; LGPL v2.1 or later
|
---|
26 | Summary: Include Files and Libraries Mandatory for Development
|
---|
27 | Group: Development/Libraries/C and C++
|
---|
28 | Requires: libc = %{version}
|
---|
29 |
|
---|
30 | %description devel
|
---|
31 | These libraries are needed to develop programs which use the standard C
|
---|
32 | library.
|
---|
33 |
|
---|
34 |
|
---|
35 | %package -n db1-devel
|
---|
36 | License: BSD; GPL v2 or later; LGPL v2.1 or later
|
---|
37 | Summary: Include Files and Libraries Mandatory for Development (db headers)
|
---|
38 | Group: Development/Libraries/C and C++
|
---|
39 |
|
---|
40 | %description -n db1-devel
|
---|
41 | These libraries are needed to develop programs which use the standard C
|
---|
42 | library (db headers).
|
---|
43 |
|
---|
44 |
|
---|
45 | %package -n gettext-devel
|
---|
46 | License: BSD; GPL v2 or later; LGPL v2.1 or later
|
---|
47 | Summary: Include Files and Libraries Mandatory for Development (gettext headers)
|
---|
48 | Group: Development/Libraries/C and C++
|
---|
49 |
|
---|
50 | %description -n gettext-devel
|
---|
51 | These libraries are needed to develop programs which use the standard C
|
---|
52 | library (gettext headers).
|
---|
53 |
|
---|
54 |
|
---|
55 | %prep
|
---|
56 | %setup -q -n libc-%{version} -a 1
|
---|
57 |
|
---|
58 | %install
|
---|
59 | rm -rf $RPM_BUILD_ROOT
|
---|
60 | mkdir -p %{buildroot}%{_usr}
|
---|
61 | cp -r "*" %{buildroot}%{_usr}
|
---|
62 | mkdir -p %{buildroot}%{_datadir}/doc/libc-0.6.3
|
---|
63 | mv %{buildroot}%{_usr}/doc/gcc-3.3.5 %{buildroot}%{_datadir}/doc/libc-0.6.3
|
---|
64 | #mv %{buildroot}%{_datadir}/doc/gcc-3.3.5 libc-0.6.3
|
---|
65 |
|
---|
66 | %clean
|
---|
67 | rm -rf $RPM_BUILD_ROOT
|
---|
68 |
|
---|
69 |
|
---|
70 | %files
|
---|
71 | %defattr(-,root,root)
|
---|
72 | %doc %{_datadir}/doc/*
|
---|
73 | /%{_libdir}/libc06*.dll
|
---|
74 |
|
---|
75 | %files devel
|
---|
76 | %defattr(-,root,root)
|
---|
77 | %doc %{_prefix}/man/man1/*
|
---|
78 | %{_usr}/bin
|
---|
79 | %{_usr}/i386-pc-os2-elf
|
---|
80 | %{_usr}/i386-pc-os2-emx
|
---|
81 | %{_usr}/include
|
---|
82 | %exclude %{_usr}/include/db.h
|
---|
83 | %exclude %{_usr}/include/ndbm.h
|
---|
84 | %exclude %{_usr}/include/libintl.h
|
---|
85 | %{_usr}/info
|
---|
86 | %{_usr}/lib
|
---|
87 | %{_usr}/share
|
---|
88 |
|
---|
89 | %files -n db1-devel
|
---|
90 | %defattr(-,root,root)
|
---|
91 | %{_usr}/include/db.h
|
---|
92 | %{_usr}/include/ndbm.h
|
---|
93 |
|
---|
94 | %files -n gettext-devel
|
---|
95 | %defattr(-,root,root)
|
---|
96 | %{_usr}/include/libintl.h
|
---|
97 |
|
---|
98 | %changelog
|
---|