Changeset 1745 for spec/trunk/SPECS
- Timestamp:
- Jan 10, 2021, 4:47:46 PM (5 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/lzip.spec (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/lzip.spec
r1695 r1745 1 1 Name: lzip 2 Version: 1.2 13 Release: 2%{?dist}2 Version: 1.22 3 Release: 1%{?dist} 4 4 Summary: LZMA compressor with integrity checking 5 5 6 6 License: GPLv3+ 7 7 URL: http://www.nongnu.org/lzip/lzip.html 8 #Source0: http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.gz 9 #Source1: http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.gz.sig 10 %scm_source github http://github.com/TeLLie/%{name}-os2 master 8 %if !0%{?os2_version} 9 Source0: http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.gz 10 Source1: http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.gz.sig 11 %else 12 %scm_source github http://github.com/TeLLie/%{name}-os2 %{version}-os2 13 %endif 11 14 12 git clone https://git.progress-linux.org/users/daniel.baumann/debian/packages/lzip13 15 BuildRequires: gcc 14 16 15 #Requires(post): info 16 #Requires(preun): info 17 %if !0%{?os2_version} 18 Requires(post): info 19 Requires(preun): info 20 %endif 21 22 BuildRoot: %{_tmppath}/%{name}-%{version}-build 17 23 18 24 %description … … 24 30 25 31 %prep 26 #%setup -q 32 %if !0%{?os2_version} 33 %setup -q 34 %else 27 35 %scm_setup 36 %endif 28 37 # file needs to be copied, because it is used in "make check" 29 #cp -a COPYING{,.txt} 38 %if !0%{?os2_version} 39 cp -a COPYING{,.txt} 40 %else 30 41 cp -a COPYING COPYING.txt 42 %endif 31 43 # convert CRLF to LF 32 44 sed -i 's/\r//' COPYING.txt 33 34 45 35 46 %build … … 57 68 58 69 %post 59 #/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : 60 70 %if !0%{?os2_version} 71 /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : 72 %endif 61 73 62 74 %preun 63 #if [ $1 = 0 ] ; then 64 #/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : 65 #fi 66 75 %if !0%{?os2_version} 76 if [ $1 = 0 ] ; then 77 /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : 78 fi 79 %endif 67 80 68 81 %files 69 82 %defattr(-,root,root,-) 70 /@unixroot/usr/bin/lzip83 %exclude /@unixroot/usr/bin/lzip 71 84 %license COPYING.txt 72 85 # TODO is currently empty 73 86 %doc AUTHORS ChangeLog NEWS README 87 %if !0%{?os2_version} 88 %{_bindir}/lzip 89 %else 74 90 %{_bindir}/lzip.exe 75 91 %{_infodir}/lzip.info* 76 92 %{_mandir}/man1/lzip.1* 93 %endif 77 94 78 95 %changelog 96 * Sun Jan 10 2021 Elbert Pol <elbert.pol@gmail.com> - 1.22 - 1 97 - Update to latest version 98 79 99 * Thu Jan 31 2019 Elbert Pol <elbert.pol@gmail.com> - 1.21-2 80 100 - Upload src to github
Note:
See TracChangeset
for help on using the changeset viewer.
