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

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

spec: preserve timestamp when using cp. ticket:23.

  • Property svn:eol-style set to native
File size: 2.5 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: 7%{?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 -p -r "*" %{buildroot}%{_usr}
62
63rm -r %{buildroot}%{_usr}/doc/gcc-3.3.5/*
64
65rexx2vio bin/dllar.cmd $RPM_BUILD_ROOT%{_bindir}/dllar.exe
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70
71%files
72%defattr(-,root,root)
73%doc doc/gcc-3.3.5/*
74/%{_libdir}/libc06*.dll
75
76%files devel
77%defattr(-,root,root)
78%doc %{_prefix}/man/man1/*
79%{_usr}/bin
80%{_usr}/i386-pc-os2-elf
81%{_usr}/i386-pc-os2-emx
82%{_usr}/include
83%exclude %{_usr}/include/db.h
84%exclude %{_usr}/include/ndbm.h
85%exclude %{_usr}/include/libintl.h
86%{_usr}/info
87%{_usr}/lib
88%{_usr}/share
89
90%files -n db1-devel
91%defattr(-,root,root)
92%{_usr}/include/db.h
93%{_usr}/include/ndbm.h
94
95%files -n gettext-devel
96%defattr(-,root,root)
97%{_usr}/include/libintl.h
98
99%changelog
Note: See TracBrowser for help on using the repository browser.