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