source: spec/trunk/SPECS/pthread.spec@ 150

Last change on this file since 150 was 117, checked in by Yuri Dario, 15 years ago

spec: added dist tag to release build number.

File size: 767 bytes
Line 
1Summary: A posix pthread emulation for OS/2-eComStation
2Name: pthread
3Version: 20101015
4Release: 2%{?dist}
5License: unknown
6Group: Development/Libraries
7Source: pthread-%{version}-os2.zip
8
9Requires: libc >= 0.6.3
10
11%description
12A posix pthread emulation library.
13
14%prep
15%setup -q -c
16
17
18%build
19
20%install
21rm -rf %{buildroot}
22mkdir -p %{buildroot}%{_libdir}
23mkdir -p %{buildroot}%{_includedir}
24
25cp bin/pthread.dll %{buildroot}%{_libdir}
26cp include/pthread.h %{buildroot}%{_includedir}
27cp lib/pthread_dll.a %{buildroot}%{_libdir}/pthread.a
28cp lib/pthread_s.a %{buildroot}%{_libdir}/pthread_s.a
29cp lib/pthread_g.a %{buildroot}%{_libdir}/pthread_g.a
30
31%clean
32rm -rf %{buildroot}
33
34%files
35%defattr(-,root,root)
36%{_libdir}/*
37%{_includedir}/*
Note: See TracBrowser for help on using the repository browser.