From 40a3401ec95cfd0119885bd739ffd648a64fc7ce Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Thu, 23 Jul 2020 16:37:15 +0200 Subject: [PATCH] Update SPEC file --- stoken.spec | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/stoken.spec b/stoken.spec index 31eb15b..3e0d41e 100644 --- a/stoken.spec +++ b/stoken.spec @@ -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 - 0.92-1 - Update to 0.92. +- Update SPEC file. * Fri Jan 31 2020 Fedora Release Engineering - 0.91-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild