|
Last change
on this file since 41 was 36, checked in by Yuri Dario, 15 years ago |
|
spec: add mmap and pthread build.
|
|
File size:
630 bytes
|
| Line | |
|---|
| 1 | Summary: A memory mapped emulation for OS/2-eComStation
|
|---|
| 2 | Name: mmap
|
|---|
| 3 | Version: 20100929
|
|---|
| 4 | Release: 1
|
|---|
| 5 | License: unknown
|
|---|
| 6 | Group: Development/Libraries
|
|---|
| 7 | Source: mmap-%{version}-os2.zip
|
|---|
| 8 |
|
|---|
| 9 | %description
|
|---|
| 10 | A memory mapped files 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/mmap.dll %{buildroot}%{_libdir}
|
|---|
| 24 | cp lib/mmap_dll.a %{buildroot}%{_libdir}/mmap.a
|
|---|
| 25 | cp lib/mmap_s.lib %{buildroot}%{_libdir}
|
|---|
| 26 | cp lib/mmap_g.lib %{buildroot}%{_libdir}
|
|---|
| 27 |
|
|---|
| 28 | %clean
|
|---|
| 29 | rm -rf %{buildroot}
|
|---|
| 30 |
|
|---|
| 31 | %files
|
|---|
| 32 | %defattr(-,root,root)
|
|---|
| 33 | %{_libdir}/*
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.