Last change
on this file since 49 was 49, checked in by Yuri Dario, 15 years ago |
spec: added libc dependancies to some packages, to force its installation.
|
File size:
759 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 | Requires: libc >= 0.6.3
|
---|
10 |
|
---|
11 | %description
|
---|
12 | A posix pthread emulation library.
|
---|
13 |
|
---|
14 | %prep
|
---|
15 | %setup -q -c
|
---|
16 |
|
---|
17 |
|
---|
18 | %build
|
---|
19 |
|
---|
20 | %install
|
---|
21 | rm -rf %{buildroot}
|
---|
22 | mkdir -p %{buildroot}%{_libdir}
|
---|
23 | mkdir -p %{buildroot}%{_includedir}
|
---|
24 |
|
---|
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
|
---|
30 |
|
---|
31 | %clean
|
---|
32 | rm -rf %{buildroot}
|
---|
33 |
|
---|
34 | %files
|
---|
35 | %defattr(-,root,root)
|
---|
36 | %{_libdir}/*
|
---|
37 | %{_includedir}/*
|
---|
Note:
See
TracBrowser
for help on using the repository browser.