Changeset 1803 for spec/trunk/SPECS


Ignore:
Timestamp:
Mar 18, 2022, 9:28:18 PM (4 years ago)
Author:
tellie
Message:

spec: cksfv: Release version 1.3.15-1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/cksfv.spec

    r1628 r1803  
    11Name:           cksfv
    2 Version:        1.3.14
     2Version:        1.3.15
    33Release:        1%{?dist}
    44Summary:        Utility to manipulate SFV files
    55
    66License:        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
     7URL:            https://gitlab.com/heikkiorsila/cksfv/
     8%if !0%{?os2_version}
     9Source0:        https://zakalwe.fi/~shd/foss/%{name}/files/%{name}-%{version}.tar.bz2
     10Source1:        https://zakalwe.fi/~shd/foss/%{name}/files/%{name}-%{version}.tar.bz2.asc
     11Source2:        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
    1216BuildRequires:  gcc
    13 #BuildRequires:  gnupg2
     17%if !0%{?os2_version}
     18BuildRequires:  gnupg2
     19%endif
     20BuildRequires: make
    1421
    1522%description
     
    2027
    2128%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
    2533%scm_setup
     34%endif
    2635
    2736# fix rpmlint warnings
     
    3544export LIBS="-lcx"
    3645
    37 #%set_build_flags
     46%if !0%{?os2_version}
     47%set_build_flags
     48%endif
    3849# custom configure does not take --libdir spec
    3950./configure \
     
    4253    --prefix=%{_prefix} \
    4354    --package-prefix=%{buildroot}
     55%if !0%{?os2_version}
     56%make_build
     57%else
    4458make %{?_smp_mflags}
     59%endif
    4560
    4661%install
     62%if !0%{?os2_version}
     63%make_install
     64%else
    4765make install DESTDIR=%{buildroot}
    4866install -Dm 0755 src/cksfv.exe %{buildroot}%{_bindir}
     67rm %{buildroot}%{_bindir}/cksfv
     68%endif
    4969
    5070%check
     71%if !0%{?os2_version}
     72%make_build check
     73%else
    5174make check
     75%endif
    5276
    5377%files
    5478%defattr(-,root,root,-)
    5579%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
    5784%{_bindir}/%{name}.exe
    58 %exclude %{_bindir}/%{name}
     85%endif
    5986%{_mandir}/man1/%{name}.1*
    6087
     88
    6189%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
    6395- First upload for OS2
    6496
Note: See TracChangeset for help on using the changeset viewer.