Update SPEC file

epel9
Simone Caronni 5 years ago
parent 73e884f301
commit 40a3401ec9

@ -2,9 +2,9 @@ Name: stoken
Version: 0.92
Release: 1%{?dist}
Summary: Token code generator compatible with RSA SecurID 128-bit (AES) token
License: LGPLv2+
URL: http://%{name}.sf.net
Source0: https://github.com/cernekee/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: autoconf
@ -34,7 +34,6 @@ This package provides the development files for %{name}.
%package libs
Summary: Libraries for %{name}
Requires(post): ldconfig
%description libs
Software Token for Linux/UNIX. It's a token code generator compatible with RSA
@ -45,7 +44,6 @@ This package contains %{name} libraries.
%package cli
Summary: Command line tool for %{name}
Requires: %{name}-libs%{_isa} = %{version}-%{release}
%description cli
Software Token for Linux/UNIX. It's a token code generator compatible with RSA
@ -56,7 +54,6 @@ This package contains the command line tool for %{name}.
%package gui
Summary: Graphical interface program for %{name}
Requires: %{name}-libs%{_isa} = %{version}-%{release}
%description gui
Software Token for Linux/UNIX. It's a token code generator compatible with RSA
@ -66,15 +63,17 @@ endorsed by RSA Security.
This package contains the graphical interface program for %{name}.
%prep
%setup -q
%autosetup
%build
autoreconf -v -f --install
%configure --with-gtk --disable-static
make %{?_smp_mflags}
%make_build
%install
%make_install
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-gui.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-gui-small.desktop
@ -85,8 +84,10 @@ rm -fr %{buildroot}%{_docdir}/%{name}
%ldconfig_scriptlets libs
%files libs
%doc COPYING.LIB CHANGES
%{_libdir}/*.so.*
%license COPYING.LIB
%doc CHANGES
%{_libdir}/lib%{name}.so.1
%{_libdir}/lib%{name}.so.1.3.0
%files cli
%{_bindir}/%{name}
@ -102,12 +103,13 @@ rm -fr %{buildroot}%{_docdir}/%{name}
%files devel
%{_includedir}/%{name}.h
%{_libdir}/*.so
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Thu Jul 23 2020 Simone Caronni <negativo17@gmail.com> - 0.92-1
- Update to 0.92.
- Update SPEC file.
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.91-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save