|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: stoken
|
|
|
|
Name: stoken
|
|
|
|
Version: 0.81
|
|
|
|
Version: 0.81
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?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+
|
|
|
@ -82,6 +82,20 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-gui-small.des
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete
|
|
|
|
rm -fr %{buildroot}%{_docdir}/%{name}
|
|
|
|
rm -fr %{buildroot}%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Merge applications into one software center item
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
|
|
|
|
|
|
|
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/stoken-gui-small.appdata.xml <<EOF
|
|
|
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
|
|
|
|
|
|
|
<component type="desktop">
|
|
|
|
|
|
|
|
<metadata_license>CC0-1.0</metadata_license>
|
|
|
|
|
|
|
|
<id>stoken-gui-small.desktop</id>
|
|
|
|
|
|
|
|
<metadata>
|
|
|
|
|
|
|
|
<value key="X-Merge-With-Parent">stoken-gui.desktop</value>
|
|
|
|
|
|
|
|
</metadata>
|
|
|
|
|
|
|
|
</component>
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
@ -96,6 +110,7 @@ rm -fr %{buildroot}%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%files gui
|
|
|
|
%files gui
|
|
|
|
%{_bindir}/%{name}-gui
|
|
|
|
%{_bindir}/%{name}-gui
|
|
|
|
|
|
|
|
%{_datadir}/appdata/*.appdata.xml
|
|
|
|
%{_datadir}/applications/%{name}-gui.desktop
|
|
|
|
%{_datadir}/applications/%{name}-gui.desktop
|
|
|
|
%{_datadir}/applications/%{name}-gui-small.desktop
|
|
|
|
%{_datadir}/applications/%{name}-gui-small.desktop
|
|
|
|
%{_datadir}/pixmaps/%{name}-gui.png
|
|
|
|
%{_datadir}/pixmaps/%{name}-gui.png
|
|
|
@ -108,6 +123,9 @@ rm -fr %{buildroot}%{_docdir}/%{name}
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 0.81-3
|
|
|
|
|
|
|
|
- Add an AppData file for the software center
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 13 2015 Simone Caronni <negativo17@gmail.com> - 0.81-2
|
|
|
|
* Tue Jan 13 2015 Simone Caronni <negativo17@gmail.com> - 0.81-2
|
|
|
|
- Use nettle instead of libtomcrypt (#1177180).
|
|
|
|
- Use nettle instead of libtomcrypt (#1177180).
|
|
|
|
|
|
|
|
|
|
|
|