source: spec/trunk/SPECS/libc.spec@ 302

Last change on this file since 302 was 252, checked in by Yuri Dario, 14 years ago

spec: libc restored stdarg.h/cdefs.h from original libc distribution.

  • Property svn:eol-style set to native
File size: 3.4 KB
Line 
1
2Name: libc
3License: BSD; GPL v2 or later; LGPL v2.1 or later
4Summary: Standard Shared Libraries
5Group: System/Libraries
6Version: 0.6.4
7Release: 12%{?dist}
8Url: http://svn.netlabs.org/libc
9
10BuildRoot: %{_tmppath}/%{name}-%{version}-build
11Source: libc-%{version}.zip
12Source1: libc-os2.tar.gz
13
14BuildRequires: rexx_exe
15
16%description
17kLIBC is a C runtime library in which the coder is exploring The Single Unix
18Specification (SUS) and various *BSD, Sun and Linux interfaces used in 'portable'
19software. While implementing SUS completely and providing a great range of special
20BSD, Sun and Linux APIs is a kind of ultimate goal, the main focus is on what is
21interesting to play with and what is requested by porters using kLIBC.
22
23
24%package devel
25License: BSD; GPL v2 or later; LGPL v2.1 or later
26Summary: Include Files and Libraries Mandatory for Development
27Group: Development/Libraries/C and C++
28Requires: libc = %{version}
29
30%description devel
31These libraries are needed to develop programs which use the standard C
32library.
33
34
35%package -n db1-devel
36License: BSD; GPL v2 or later; LGPL v2.1 or later
37Summary: Include Files and Libraries Mandatory for Development (db headers)
38Group: Development/Libraries/C and C++
39
40%description -n db1-devel
41These libraries are needed to develop programs which use the standard C
42library (db headers).
43
44
45%package -n gettext-devel
46License: BSD; GPL v2 or later; LGPL v2.1 or later
47Summary: Include Files and Libraries Mandatory for Development (gettext headers)
48Group: Development/Libraries/C and C++
49
50%description -n gettext-devel
51These libraries are needed to develop programs which use the standard C
52library (gettext headers).
53
54
55%prep
56%setup -q -c -a 1
57
58%install
59rm -rf $RPM_BUILD_ROOT
60mkdir -p %{buildroot}%{_bindir}
61mkdir -p %{buildroot}%{_includedir}
62mkdir -p %{buildroot}%{_libdir}
63mkdir -p %{buildroot}%{_usr}/i386-pc-os2-elf
64mkdir -p %{buildroot}%{_usr}/i386-pc-os2-emx
65mkdir -p %{buildroot}%{_usr}/man
66mkdir -p %{buildroot}%{_usr}/info
67
68cp -p -r usr/bin/* %{buildroot}%{_bindir}
69cp -p -r usr/include/* %{buildroot}%{_includedir}
70cp -p -r include/* %{buildroot}%{_includedir}
71cp -p -r emxomf.exe %{buildroot}%{_bindir}
72cp -p -r usr/lib/* %{buildroot}%{_libdir}
73cp -p -r usr/man/* %{buildroot}%{_usr}/i386-pc-os2-elf
74cp -p -r usr/man/* %{buildroot}%{_usr}/i386-pc-os2-emx
75cp -p -r usr/man/* %{buildroot}%{_usr}/man
76cp -p -r usr/man/* %{buildroot}%{_usr}/info
77
78rexx2vio $RPM_BUILD_ROOT%{_bindir}/dllar.cmd $RPM_BUILD_ROOT%{_bindir}/dllar.exe
79
80%clean
81rm -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
Note: See TracBrowser for help on using the repository browser.