Changeset 811
- Timestamp:
- Jun 22, 2016, 9:30:43 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified spec/trunk/SPECS/bzip2.spec ¶
r168 r811 1 #define svn_url F:/rd/ports/bzip2/trunk 2 %define svn_url http://svn.netlabs.org/repos/ports/bzip2/trunk 3 %define svn_rev 192 1 4 2 5 Summary: A file compression utility 3 6 Name: bzip2 4 7 Version: 1.0.6 5 Release: 5%{?dist}8 Release: 6%{?dist} 6 9 License: BSD 7 10 Group: Applications/File 8 11 URL: http://www.bzip.org/ 9 Source: http://www.bzip.org/%{version}/bzip2-%{version}.tar.gz 10 Patch0: bzip2-os2.diff 11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 12 Source: %{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip 12 13 13 14 %description … … 28 29 29 30 %description devel 30 31 31 Header files and a library of bzip2 functions, for developing apps 32 32 which will use the library. … … 37 37 38 38 %description libs 39 40 39 Libraries for applications using the bzip2 compression format. 41 40 41 %debug_package 42 42 43 %prep 43 # -D Do not delete the directory before unpacking. 44 # -T Disable the automatic unpacking of the archives. 45 %setup 46 %patch0 -p1 -b .os2~ 44 %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} 45 %setup -q 46 %else 47 %setup -n "%{name}-%{version}" -Tc 48 echo %{svn_rev} 49 svn export %{?svn_rev:-r %{svn_rev}} %{svn_url} . --force 50 rm -f "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" 51 (cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" "%{name}-%{version}") 52 %endif 47 53 48 54 %build … … 110 116 111 117 %changelog 118 * Wed Jun 22 2016 yd <yd@os2power.com> 1.0.6-6 119 - rebuild package, fixes ticket#183. 120 - added debug package.
Note:
See TracChangeset
for help on using the changeset viewer.