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

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

spec: add mmap and pthread build.

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