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

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

spec: libc fixed mmap header.

  • Property svn:eol-style set to native
File size: 3.2 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: 10%{?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 "usr/lib/*" %{buildroot}%{_libdir}
72cp -p -r "usr/man/*" %{buildroot}%{_usr}/i386-pc-os2-elf
73cp -p -r "usr/man/*" %{buildroot}%{_usr}/i386-pc-os2-emx
74cp -p -r "usr/man/*" %{buildroot}%{_usr}/man
75cp -p -r "usr/man/*" %{buildroot}%{_usr}/info
76
77rexx2vio $RPM_BUILD_ROOT%{_bindir}/dllar.cmd $RPM_BUILD_ROOT%{_bindir}/dllar.exe
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82
83%files
84%defattr(-,root,root)
85%doc usr/doc/gcc-3.3.5/*
86%{_libdir}/libc06*.dll
87
88%files devel
89%defattr(-,root,root)
90%doc %{_prefix}/man/man1/*
91%{_usr}/bin
92%{_usr}/i386-pc-os2-elf
93%{_usr}/i386-pc-os2-emx
94%{_includedir}
95%exclude %{_includedir}/db.h
96%exclude %{_includedir}/ndbm.h
97%exclude %{_includedir}/libintl.h
98%{_usr}/info
99%{_libdir}
100
101%files -n db1-devel
102%defattr(-,root,root)
103%{_includedir}/db.h
104%{_includedir}/ndbm.h
105
106%files -n gettext-devel
107%defattr(-,root,root)
108%{_includedir}/libintl.h
109
110%changelog
111* Wed Oct 12 2011 yd
112- fixed mmap include
113
114* Wed Sep 05 2011 yd
115- removed binutils
116
117* Tue Sep 04 2011 yd
118- update to csd4
Note: See TracBrowser for help on using the repository browser.