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.4
|
---|
7 | Release: 12%{?dist}
|
---|
8 | Url: http://svn.netlabs.org/libc
|
---|
9 |
|
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
11 | Source: libc-%{version}.zip
|
---|
12 | Source1: libc-os2.tar.gz
|
---|
13 |
|
---|
14 | BuildRequires: rexx_exe
|
---|
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 -c -a 1
|
---|
57 |
|
---|
58 | %install
|
---|
59 | rm -rf $RPM_BUILD_ROOT
|
---|
60 | mkdir -p %{buildroot}%{_bindir}
|
---|
61 | mkdir -p %{buildroot}%{_includedir}
|
---|
62 | mkdir -p %{buildroot}%{_libdir}
|
---|
63 | mkdir -p %{buildroot}%{_usr}/i386-pc-os2-elf
|
---|
64 | mkdir -p %{buildroot}%{_usr}/i386-pc-os2-emx
|
---|
65 | mkdir -p %{buildroot}%{_usr}/man
|
---|
66 | mkdir -p %{buildroot}%{_usr}/info
|
---|
67 |
|
---|
68 | cp -p -r usr/bin/* %{buildroot}%{_bindir}
|
---|
69 | cp -p -r usr/include/* %{buildroot}%{_includedir}
|
---|
70 | cp -p -r include/* %{buildroot}%{_includedir}
|
---|
71 | cp -p -r emxomf.exe %{buildroot}%{_bindir}
|
---|
72 | cp -p -r usr/lib/* %{buildroot}%{_libdir}
|
---|
73 | cp -p -r usr/man/* %{buildroot}%{_usr}/i386-pc-os2-elf
|
---|
74 | cp -p -r usr/man/* %{buildroot}%{_usr}/i386-pc-os2-emx
|
---|
75 | cp -p -r usr/man/* %{buildroot}%{_usr}/man
|
---|
76 | cp -p -r usr/man/* %{buildroot}%{_usr}/info
|
---|
77 |
|
---|
78 | rexx2vio $RPM_BUILD_ROOT%{_bindir}/dllar.cmd $RPM_BUILD_ROOT%{_bindir}/dllar.exe
|
---|
79 |
|
---|
80 | %clean
|
---|
81 | rm -rf $RPM_BUILD_ROOT
|
---|
82 |
|
---|
83 |
|
---|
84 | %files
|
---|
85 | %defattr(-,root,root)
|
---|
86 | %doc usr/doc/gcc-3.3.5/*
|
---|
87 | %{_libdir}/libc06*.dll
|
---|
88 |
|
---|
89 | %files devel
|
---|
90 | %defattr(-,root,root)
|
---|
91 | %doc %{_prefix}/man/man1/*
|
---|
92 | %{_usr}/bin
|
---|
93 | %{_usr}/i386-pc-os2-elf
|
---|
94 | %{_usr}/i386-pc-os2-emx
|
---|
95 | %{_includedir}
|
---|
96 | %exclude %{_includedir}/db.h
|
---|
97 | %exclude %{_includedir}/ndbm.h
|
---|
98 | %exclude %{_includedir}/libintl.h
|
---|
99 | %{_usr}/info
|
---|
100 | %{_libdir}
|
---|
101 |
|
---|
102 | %files -n db1-devel
|
---|
103 | %defattr(-,root,root)
|
---|
104 | %{_includedir}/db.h
|
---|
105 | %{_includedir}/ndbm.h
|
---|
106 |
|
---|
107 | %files -n gettext-devel
|
---|
108 | %defattr(-,root,root)
|
---|
109 | %{_includedir}/libintl.h
|
---|
110 |
|
---|
111 | %changelog
|
---|
112 | * Fri Dec 16 2011 yd
|
---|
113 | - restored stdarg.h/cdefs.h from original libc distribution.
|
---|
114 |
|
---|
115 | * Thu Oct 20 2011 yd
|
---|
116 | - included emxomf.exe by dmik to workaround gcc/wlink bugs.
|
---|
117 |
|
---|
118 | * Wed Oct 12 2011 yd
|
---|
119 | - fixed mmap include
|
---|
120 |
|
---|
121 | * Wed Sep 05 2011 yd
|
---|
122 | - removed binutils
|
---|
123 |
|
---|
124 | * Tue Sep 04 2011 yd
|
---|
125 | - update to csd4
|
---|