Changeset 1803 for spec/trunk/SPECS
- Timestamp:
- Mar 18, 2022, 9:28:18 PM (4 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/cksfv.spec (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/cksfv.spec
r1628 r1803 1 1 Name: cksfv 2 Version: 1.3.1 42 Version: 1.3.15 3 3 Release: 1%{?dist} 4 4 Summary: Utility to manipulate SFV files 5 5 6 6 License: GPLv2+ 7 URL: http://zakalwe.fi/~shd/foss/cksfv 8 #Source0: http://zakalwe.fi/~shd/foss/%{name}/files/%{name}-%{version}.tar.bz2 9 #Source1: http://zakalwe.fi/~shd/foss/%{name}/files/%{name}-%{version}.tar.bz2.asc 10 %scm_source github http://github.com/TeLLie/cksfv-os2 master 11 Source2: http://zakalwe.fi/~shd/keys/heikki_orsila.pub 7 URL: https://gitlab.com/heikkiorsila/cksfv/ 8 %if !0%{?os2_version} 9 Source0: https://zakalwe.fi/~shd/foss/%{name}/files/%{name}-%{version}.tar.bz2 10 Source1: https://zakalwe.fi/~shd/foss/%{name}/files/%{name}-%{version}.tar.bz2.asc 11 Source2: https://zakalwe.fi/~shd/keys/heikki-orsila-2017.pub 12 %else 13 %scm_source github http://github.com/Tellie/cksfv-os2 %{version}-os2 14 %endif 15 12 16 BuildRequires: gcc 13 #BuildRequires: gnupg2 17 %if !0%{?os2_version} 18 BuildRequires: gnupg2 19 %endif 20 BuildRequires: make 14 21 15 22 %description … … 20 27 21 28 %prep 22 #gpg-error --import --import-options import-export,import-minimal %{S:2} > ./gpg-keyring.gpg 23 #gpg-error --keyring ./gpg-keyring.gpg %{S:1} %{S:0} 24 #%setup -q 29 %if !0%{?os2_version} 30 %{gpgverify} --keyring='%{S:2}' --signature='%{S:1}' --data='%{S:0}' 31 %setup -q 32 %else 25 33 %scm_setup 34 %endif 26 35 27 36 # fix rpmlint warnings … … 35 44 export LIBS="-lcx" 36 45 37 #%set_build_flags 46 %if !0%{?os2_version} 47 %set_build_flags 48 %endif 38 49 # custom configure does not take --libdir spec 39 50 ./configure \ … … 42 53 --prefix=%{_prefix} \ 43 54 --package-prefix=%{buildroot} 55 %if !0%{?os2_version} 56 %make_build 57 %else 44 58 make %{?_smp_mflags} 59 %endif 45 60 46 61 %install 62 %if !0%{?os2_version} 63 %make_install 64 %else 47 65 make install DESTDIR=%{buildroot} 48 66 install -Dm 0755 src/cksfv.exe %{buildroot}%{_bindir} 67 rm %{buildroot}%{_bindir}/cksfv 68 %endif 49 69 50 70 %check 71 %if !0%{?os2_version} 72 %make_build check 73 %else 51 74 make check 75 %endif 52 76 53 77 %files 54 78 %defattr(-,root,root,-) 55 79 %license COPYING 56 %doc AUTHORS ChangeLog README TODO 80 %doc AUTHORS ChangeLog README.md TODO 81 %if !0%{?os2_version} 82 %{_bindir}/%{name} 83 %else 57 84 %{_bindir}/%{name}.exe 58 %e xclude %{_bindir}/%{name}85 %endif 59 86 %{_mandir}/man1/%{name}.1* 60 87 88 61 89 %changelog 62 * Wed May 01 2019 Elbert Pol <elbert.pol@gmail.com> 1.3.4-1 90 * Fri Mar 18 2022 Elbert Pol <elbert.pol@gmail.com> 1.3.15-1 91 - Upload to latest version 92 - Updated spec file to fedora one 93 94 * Wed May 01 2019 Elbert Pol <elbert.pol@gmail.com> 1.3.14-1 63 95 - First upload for OS2 64 96
Note:
See TracChangeset
for help on using the changeset viewer.
