Changeset 484
- Timestamp:
- Dec 23, 2014, 8:08:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified spec/trunk/SPECS/urpo.spec ¶
r234 r484 1 #define svn_url F:/rd/ports/urpo/trunk 2 %define svn_url http://svn.netlabs.org/repos/ports/urpo/trunk 3 %define svn_rev 947 4 5 %define kmk_dist out/os2.x86/release/dist 6 1 7 Summary: unlink rename pending operation 2 8 Name: urpo 3 Version: 201 111024 Release: 6%{?dist}5 License: unknown9 Version: 20141223 10 Release: 7%{?dist} 11 License: LGPL 6 12 Group: Development/Libraries 7 Source: urpo-%{version}-os2.zip8 13 9 Requires: libc >= 0.6.3 14 Source: %{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip 15 16 Requires: libc >= 0.6.5 10 17 11 18 %description 12 19 unlink rename pending operation library. 13 20 21 %package devel 22 Summary: Header files developing apps which will use pthread 23 Group: Development/Libraries 24 25 %description devel 26 Header files and a library of pthread functions, for developing apps 27 which will use the library. 28 29 %package debug 30 Summary: HLL debug data for exception handling support. 31 32 %description debug 33 HLL debug data for exception handling support. 34 14 35 %prep 15 %setup -q -c 36 %if %{?svn_rev:%(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi')}%{!?svn_rev):0} 37 %setup -q 38 %else 39 %setup -n "%{name}-%{version}" -Tc 40 svn export %{?svn_rev:-r %{svn_rev}} %{svn_url} . --force 41 rm -f "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" 42 (cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" "%{name}-%{version}") 43 %endif 16 44 17 45 %build … … 26 54 mkdir -p %{buildroot}%{_includedir} 27 55 28 cp urpo.dll %{buildroot}%{_libdir} 29 cp urpo_dll.a %{buildroot}%{_libdir}/urpo.a 56 cp %{kmk_dist}/bin/urpo.dll %{buildroot}%{_libdir} 57 cp %{kmk_dist}/lib/urpo.a %{buildroot}%{_libdir}/urpo.a 58 cp %{kmk_dist}/lib/urpo_g.a %{buildroot}%{_libdir}/urpo_g.a 30 59 31 60 %clean … … 34 63 %files 35 64 %defattr(-,root,root) 36 %{_libdir}/* 65 %{_libdir}/*.dll 66 67 %files devel 68 %defattr(-,root,root) 69 %{_libdir}/*.a 70 71 %files debug 72 %defattr(-,root,root) 73 %{_libdir}/*.dbg 37 74 38 75 %changelog 76 * Tue Dec 23 2014 yd 77 - r947, implemented rmdir() support, ticket#50. 78 - r945, r946, build updates, static debug library. 79 39 80 * Wed Nov 02 2011 yd 40 81 - improved build system
Note:
See TracChangeset
for help on using the changeset viewer.