Changeset 159 for spec/trunk/SPECS/pthread.spec
- Timestamp:
- Apr 22, 2011, 4:59:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/pthread.spec
r117 r159 1 1 Summary: A posix pthread emulation for OS/2-eComStation 2 2 Name: pthread 3 Version: 201 010154 Release: 2%{?dist}3 Version: 20110422 4 Release: 4%{?dist} 5 5 License: unknown 6 6 Group: Development/Libraries 7 7 Source: pthread-%{version}-os2.zip 8 Source1: pthread-legacy-os2.zip 8 9 9 10 Requires: libc >= 0.6.3 … … 12 13 A posix pthread emulation library. 13 14 15 %package devel 16 Summary: Header files developing apps which will use pthread 17 Group: Development/Libraries 18 19 %description devel 20 Header files and a library of pthread functions, for developing apps 21 which will use the library. 22 23 %package legacy 24 Summary: The previous posix pthread emulation library. 25 26 %description legacy 27 The previous posix pthread emulation library. 28 14 29 %prep 15 %setup -q -c 30 %setup -q -c -a 1 16 31 17 32 18 33 %build 34 export KCFLAGS="%{optflags}" 35 kmk -C src 36 kmk -C src build 19 37 20 38 %install … … 23 41 mkdir -p %{buildroot}%{_includedir} 24 42 25 cp bin/pthread.dll %{buildroot}%{_libdir} 26 cp include/pthread.h %{buildroot}%{_includedir} 27 cp lib/pthread_dll.a %{buildroot}%{_libdir}/pthread.a 28 cp lib/pthread_s.a %{buildroot}%{_libdir}/pthread_s.a 29 cp lib/pthread_g.a %{buildroot}%{_libdir}/pthread_g.a 43 cp pthread.dll %{buildroot}%{_libdir} 44 cp pthr01.dll %{buildroot}%{_libdir} 45 cp pthread.h %{buildroot}%{_includedir} 46 cp pthread.a %{buildroot}%{_libdir}/pthread.a 47 cp pthread_s.a %{buildroot}%{_libdir}/pthread_s.a 48 cp pthread_g.a %{buildroot}%{_libdir}/pthread_g.a 30 49 31 50 %clean … … 34 53 %files 35 54 %defattr(-,root,root) 36 %{_libdir}/* 55 %{_libdir}/pthr??.dll 56 57 %files devel 58 %defattr(-,root,root) 59 %{_libdir}/*.a 37 60 %{_includedir}/* 61 62 %files legacy 63 %defattr(-,root,root) 64 %{_libdir}/pthread.dll
Note:
See TracChangeset
for help on using the changeset viewer.