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: 7%{?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 -p -r "*" %{buildroot}%{_usr}
|
---|
62 |
|
---|
63 | rm -r %{buildroot}%{_usr}/doc/gcc-3.3.5/*
|
---|
64 |
|
---|
65 | rexx2vio bin/dllar.cmd $RPM_BUILD_ROOT%{_bindir}/dllar.exe
|
---|
66 |
|
---|
67 | %clean
|
---|
68 | rm -rf $RPM_BUILD_ROOT
|
---|
69 |
|
---|
70 |
|
---|
71 | %files
|
---|
72 | %defattr(-,root,root)
|
---|
73 | %doc doc/gcc-3.3.5/*
|
---|
74 | /%{_libdir}/libc06*.dll
|
---|
75 |
|
---|
76 | %files devel
|
---|
77 | %defattr(-,root,root)
|
---|
78 | %doc %{_prefix}/man/man1/*
|
---|
79 | %{_usr}/bin
|
---|
80 | %{_usr}/i386-pc-os2-elf
|
---|
81 | %{_usr}/i386-pc-os2-emx
|
---|
82 | %{_usr}/include
|
---|
83 | %exclude %{_usr}/include/db.h
|
---|
84 | %exclude %{_usr}/include/ndbm.h
|
---|
85 | %exclude %{_usr}/include/libintl.h
|
---|
86 | %{_usr}/info
|
---|
87 | %{_usr}/lib
|
---|
88 | %{_usr}/share
|
---|
89 |
|
---|
90 | %files -n db1-devel
|
---|
91 | %defattr(-,root,root)
|
---|
92 | %{_usr}/include/db.h
|
---|
93 | %{_usr}/include/ndbm.h
|
---|
94 |
|
---|
95 | %files -n gettext-devel
|
---|
96 | %defattr(-,root,root)
|
---|
97 | %{_usr}/include/libintl.h
|
---|
98 |
|
---|
99 | %changelog
|
---|