Update SPEC file

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

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

Loading…
Cancel
Save