source: spec/trunk/SPECS/mmap.spec@ 433

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 
1Summary: A memory mapped emulation for OS/2-eComStation
2Name: mmap
3Version: 20111102
4Release: 8%{?dist}
5License: unknown
6Group: Development/Libraries
7Source: mmap-%{version}-os2.zip
8
9Requires: libc >= 0.6.3
10
11%description
12A memory mapped files emulation library.
13
14%prep
15%setup -q -c
16
17
18%build
19export KCFLAGS="%{optflags}"
20kmk -C src
21kmk -C src install
22kmk -C src build
23
24%install
25rm -rf %{buildroot}
26mkdir -p %{buildroot}%{_libdir}
27mkdir -p %{buildroot}%{_includedir}
28
29cp mmap.dll %{buildroot}%{_libdir}
30cp mmap_dll.a %{buildroot}%{_libdir}/mmap.a
31cp mmap_s.lib %{buildroot}%{_libdir}
32cp mmap_g.lib %{buildroot}%{_libdir}
33
34%clean
35rm -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.