diff --git a/.gitignore b/.gitignore index ad63f4d..2d9e510 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /stoken-0.2.tar.gz +/stoken-0.5.tar.gz diff --git a/sources b/sources index 976e8b7..057f7d4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d815783d7198f1181c1a72e3d730d367 stoken-0.2.tar.gz +605388fd2b50dbe8fb81d703333aafa8 stoken-0.5.tar.gz diff --git a/stoken-0.2-no-static-cflags.patch b/stoken-0.2-no-static-cflags.patch deleted file mode 100644 index 727e320..0000000 --- a/stoken-0.2-no-static-cflags.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naur stoken-0.2.old/configure.ac stoken-0.2/configure.ac ---- stoken-0.2.old/configure.ac 2013-06-03 20:28:55.389316251 +0200 -+++ stoken-0.2/configure.ac 2013-06-03 21:51:29.271677470 +0200 -@@ -33,9 +33,6 @@ - - if test "x$enable_debug" = xyes; then - CFLAGS="$CFLAGS -O0 -ggdb" --else -- CFLAGS="$CFLAGS -O2" -- LDFLAGS="$LDFLAGS -Wl,--strip-debug" - fi - - EXTRA_PC_LIBS="" diff --git a/stoken.spec b/stoken.spec index a71ca9d..28b3818 100644 --- a/stoken.spec +++ b/stoken.spec @@ -1,12 +1,11 @@ Name: stoken -Version: 0.2 -Release: 5%{?dist} +Version: 0.5 +Release: 1%{?dist} Summary: Token code generator compatible with RSA SecurID 128-bit (AES) token License: LGPLv2+ URL: http://%{name}.sf.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -Patch0: %{name}-0.2-no-static-cflags.patch BuildRequires: autoconf BuildRequires: automake @@ -14,6 +13,7 @@ BuildRequires: desktop-file-utils BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: libtool BuildRequires: pkgconfig(libtomcrypt) +BuildRequires: pkgconfig(libxml-2.0) %description Software Token for Linux/UNIX. It's a token code generator compatible with RSA @@ -66,7 +66,6 @@ This package contains the graphical interface program for %{name}. %prep %setup -q -%patch0 -p1 -b .no-static-cflags %build autoreconf -v -f --install @@ -75,9 +74,12 @@ make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} -desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-gui.desktop +desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-gui.desktop + +# Remove stuff we don't need find %{buildroot} -type f -name "*.la" -delete find %{buildroot} -type f -name "*.a" -delete +rm -fr %{buildroot}%{_docdir}/%{name} %post libs -p /sbin/ldconfig @@ -103,6 +105,10 @@ find %{buildroot} -type f -name "*.a" -delete %{_libdir}/pkgconfig/%{name}.pc %changelog +* Mon Mar 17 2014 Simone Caronni - 0.5-1 +- Update to 0.5. +- Removed upstreamed patch. + * Sun Aug 04 2013 Fedora Release Engineering - 0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild