Line | |
---|
1 | Summary: A posix pthread emulation for OS/2-eComStation
|
---|
2 | Name: pthread
|
---|
3 | Version: 20110922
|
---|
4 | Release: 7%{?dist}
|
---|
5 | License: unknown
|
---|
6 | Group: Development/Libraries
|
---|
7 | Source: pthread-%{version}-os2.zip
|
---|
8 | Source1: pthread-legacy-os2.zip
|
---|
9 |
|
---|
10 | Requires: libc >= 0.6.3
|
---|
11 |
|
---|
12 | %description
|
---|
13 | A posix pthread emulation library.
|
---|
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 |
|
---|
29 | %prep
|
---|
30 | %setup -q -c -a 1
|
---|
31 |
|
---|
32 |
|
---|
33 | %build
|
---|
34 | export KCFLAGS="%{optflags}"
|
---|
35 | kmk -C src
|
---|
36 | kmk -C src build
|
---|
37 |
|
---|
38 | %install
|
---|
39 | rm -rf %{buildroot}
|
---|
40 | mkdir -p %{buildroot}%{_libdir}
|
---|
41 | mkdir -p %{buildroot}%{_includedir}
|
---|
42 |
|
---|
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
|
---|
49 |
|
---|
50 | %clean
|
---|
51 | rm -rf %{buildroot}
|
---|
52 |
|
---|
53 | %files
|
---|
54 | %defattr(-,root,root)
|
---|
55 | %{_libdir}/pthr??.dll
|
---|
56 |
|
---|
57 | %files devel
|
---|
58 | %defattr(-,root,root)
|
---|
59 | %{_libdir}/*.a
|
---|
60 | %{_includedir}/*
|
---|
61 |
|
---|
62 | %files legacy
|
---|
63 | %defattr(-,root,root)
|
---|
64 | %{_libdir}/pthread.dll
|
---|
65 |
|
---|
66 | %changelog
|
---|
67 | * Thu Sep 22 2011 yd
|
---|
68 | - enable high memory access for library, otherwise every app using it is forced to use low memory (see git).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.