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

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

spec: move db.h, ndbm.h and libintl.h to a different subpackage. ticket:21.

  • Property svn:eol-style set to native
File size: 2.6 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.3
7Release: 5%{?dist}
8Url: http://svn.netlabs.org/libc
9
10BuildRoot: %{_tmppath}/%{name}-%{version}-build
11Source: libc-%{version}.zip
12
13Source1: libc-os2.zip
14
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 -n libc-%{version} -a 1
57
58%install
59rm -rf $RPM_BUILD_ROOT
60mkdir -p %{buildroot}%{_usr}
61cp -r "*" %{buildroot}%{_usr}
62mkdir -p %{buildroot}%{_datadir}/doc/libc-0.6.3
63mv %{buildroot}%{_usr}/doc/gcc-3.3.5 %{buildroot}%{_datadir}/doc/libc-0.6.3
64#mv %{buildroot}%{_datadir}/doc/gcc-3.3.5 libc-0.6.3
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69
70%files
71%defattr(-,root,root)
72%doc %{_datadir}/doc/*
73/%{_libdir}/libc06*.dll
74
75%files devel
76%defattr(-,root,root)
77%doc %{_prefix}/man/man1/*
78%{_usr}/bin
79%{_usr}/i386-pc-os2-elf
80%{_usr}/i386-pc-os2-emx
81%{_usr}/include
82%exclude %{_usr}/include/db.h
83%exclude %{_usr}/include/ndbm.h
84%exclude %{_usr}/include/libintl.h
85%{_usr}/info
86%{_usr}/lib
87%{_usr}/share
88
89%files -n db1-devel
90%defattr(-,root,root)
91%{_usr}/include/db.h
92%{_usr}/include/ndbm.h
93
94%files -n gettext-devel
95%defattr(-,root,root)
96%{_usr}/include/libintl.h
97
98%changelog
Note: See TracBrowser for help on using the repository browser.