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

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

spec: binutils build.

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