|
Last change
on this file since 433 was 233, checked in by Yuri Dario, 14 years ago |
|
spec: pthread, mmap, urpo build updates.
|
|
File size:
851 bytes
|
| Line | |
|---|
| 1 | Summary: A memory mapped emulation for OS/2-eComStation
|
|---|
| 2 | Name: mmap
|
|---|
| 3 | Version: 20111102
|
|---|
| 4 | Release: 8%{?dist}
|
|---|
| 5 | License: unknown
|
|---|
| 6 | Group: Development/Libraries
|
|---|
| 7 | Source: mmap-%{version}-os2.zip
|
|---|
| 8 |
|
|---|
| 9 | Requires: libc >= 0.6.3
|
|---|
| 10 |
|
|---|
| 11 | %description
|
|---|
| 12 | A memory mapped files emulation library.
|
|---|
| 13 |
|
|---|
| 14 | %prep
|
|---|
| 15 | %setup -q -c
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | %build
|
|---|
| 19 | export KCFLAGS="%{optflags}"
|
|---|
| 20 | kmk -C src
|
|---|
| 21 | kmk -C src install
|
|---|
| 22 | kmk -C src build
|
|---|
| 23 |
|
|---|
| 24 | %install
|
|---|
| 25 | rm -rf %{buildroot}
|
|---|
| 26 | mkdir -p %{buildroot}%{_libdir}
|
|---|
| 27 | mkdir -p %{buildroot}%{_includedir}
|
|---|
| 28 |
|
|---|
| 29 | cp mmap.dll %{buildroot}%{_libdir}
|
|---|
| 30 | cp mmap_dll.a %{buildroot}%{_libdir}/mmap.a
|
|---|
| 31 | cp mmap_s.lib %{buildroot}%{_libdir}
|
|---|
| 32 | cp mmap_g.lib %{buildroot}%{_libdir}
|
|---|
| 33 |
|
|---|
| 34 | %clean
|
|---|
| 35 | rm -rf %{buildroot}
|
|---|
| 36 |
|
|---|
| 37 | %files
|
|---|
| 38 | %defattr(-,root,root)
|
|---|
| 39 | %{_libdir}/*
|
|---|
| 40 |
|
|---|
| 41 | %changelog
|
|---|
| 42 | * Wed Nov 02 2011 yd
|
|---|
| 43 | - added -Zdll to build system
|
|---|
| 44 | - improved build system
|
|---|
| 45 | - included wpstk source code
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.