gnome-keyring/gnome-keyring.spec

254 lines
9.0 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f 1-2)
%define pkgname gnome-keyring
Name: gnome-keyring
Version: 3.20.1
Release: 1mamba
Summary: A series of utilities for the Gnome desktop
Group: Graphical Desktop/Libraries/GNOME
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/%{majver}/%{pkgname}-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libaudit-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcap-ng-devel
BuildRequires: libdbus-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcr-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libselinux-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: p11-kit-devel
BuildRequires: pam-devel
## AUTOBUILDREQ-END
BuildRequires: libgcr-devel >= 3.8.0
BuildRequires: gettext-devel
BuildRequires: pkgconfig
BuildRequires: libgcr-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Gnome-keyring is a program that keep password and other secrets for users.
It is run as a damon in the session, similar to ssh-agent, and other applications can locate it by an environment variable.
The program can manage several keyrings, each with its own master password, and there is also a session keyring which is never stored to disk, but forgotten when the session ends.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Gnome-keyring is a program that keep password and other secrets for users.
It is run as a damon in the session, similar to ssh-agent, and other applications can locate it by an environment variable.
The program can manage several keyrings, each with its own master password, and there is also a session keyring which is never stored to disk, but forgotten when the session ends.
This package contains static libraries and header files need for development.
%prep
%setup -q -n %{pkgname}-%{version}
%build
%configure \
--with-pam-dir=/lib/security \
--disable-gtk-doc
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
## recent p11-kit wants .module extension
#mv %{buildroot}%{_sysconfdir}/pkcs11/modules/gnome-keyring-module \
# %{buildroot}%{_sysconfdir}/pkcs11/modules/gnome-keyring.module
%find_lang %{pkgname}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post
/sbin/ldconfig
glib-compile-schemas %{_datadir}/glib-2.0/schemas >/dev/null 2>&1
if [ $1 -ge 1 ]; then
setcap cap_ipc_lock=ep %{_bindir}/gnome-keyring-daemon
fi
:
%postun
/sbin/ldconfig
glib-compile-schemas %{_datadir}/glib-2.0/schemas >/dev/null 2>&1
:
%files -f %{pkgname}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/gnome-keyring-*.desktop
%{_bindir}/gnome-keyring-3
%{_bindir}/gnome-keyring
%{_bindir}/gnome-keyring-daemon
%{_libdir}/pkcs11/gnome-keyring-pkcs11.la
%{_libdir}/pkcs11/gnome-keyring-pkcs11.so
/lib/security/pam_gnome_keyring.la
/lib/security/pam_gnome_keyring.so
%{_datadir}/dbus-1/services/org.freedesktop.secrets.service
%{_datadir}/dbus-1/services/org.gnome.keyring.service
%{_datadir}/glib-2.0/schemas/org.gnome.crypto.*.xml
%{_datadir}/GConf/gsettings/org.gnome.crypto.*.convert
%{_datadir}/p11-kit/modules/gnome-keyring.module
%{_mandir}/man1/gnome-keyring-3.1*
%{_mandir}/man1/gnome-keyring-daemon.1*
%{_mandir}/man1/gnome-keyring.1*
%files devel
%defattr(-,root,root)
%dir %{_libdir}/gnome-keyring
%dir %{_libdir}/gnome-keyring/devel
%{_libdir}/gnome-keyring/devel/*
%changelog
* Mon Oct 23 2017 Automatic Build System <autodist@mambasoft.it> 3.20.1-1mamba
- automatic update by autodist
* Sat Apr 09 2016 Automatic Build System <autodist@mambasoft.it> 3.20.0-1mamba
- automatic version update by autodist
* Wed Oct 28 2015 Automatic Build System <autodist@mambasoft.it> 3.18.3-1mamba
- automatic version update by autodist
* Mon Apr 13 2015 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
- automatic version update by autodist
* Thu Apr 09 2015 Automatic Build System <autodist@mambasoft.it> 3.15.92-1mamba
- automatic version update by autodist
* Tue Sep 23 2014 Automatic Build System <autodist@mambasoft.it> 3.14.0-1mamba
- automatic version update by autodist
* Sun May 18 2014 Automatic Build System <autodist@mambasoft.it> 3.12.2-1mamba
- automatic version update by autodist
* Sun Mar 30 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist
* Tue Oct 29 2013 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
- automatic version update by autodist
* Tue Aug 06 2013 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
- automatic version update by autodist
* Tue Apr 16 2013 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
- automatic version update by autodist
* Sat Apr 13 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.0-2mamba
- rebuilt with libgcr 3.8.0
* Wed Mar 27 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Wed Mar 06 2013 Davide Madrisan <davide.madrisan@gmail.com> 3.6.3-2mamba
- make the package scriptlets quiet
* Fri Mar 01 2013 Automatic Build System <autodist@mambasoft.it> 3.6.3-1mamba
- automatic version update by autodist
* Mon Nov 12 2012 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
- automatic version update by autodist
* Mon Nov 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.1-2mamba
- fix installation path of pam modules
* Tue Oct 16 2012 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
- automatic version update by autodist
* Fri Oct 05 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Sun Sep 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.1-3mamba
- rename pkcs11 file gnome-keyring-module to gnome-keyring.module to silence a waring with recent p11-kit
* Sat Sep 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.1-2mamba
- set proper capabilities during install (https://bugzilla.redhat.com/show_bug.cgi?id=668831)
* Tue Jun 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.1-1mamba
- update to 3.4.1
* Wed Nov 16 2011 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
- automatic version update by autodist
* Tue Jun 14 2011 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic update by autodist
* Tue Apr 05 2011 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic update by autodist
* Fri Dec 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.32.1-2mamba
- run glib-compile-schemas in post and postun scripts
* Tue Oct 26 2010 Automatic Build System <autodist@mambasoft.it> 2.32.1-1mamba
- automatic update to 2.32.1 by autodist
* Tue Oct 12 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
- automatic update to 2.32.0 by autodist
* Fri Jun 25 2010 Automatic Build System <autodist@mambasoft.it> 2.30.3-1mamba
- automatic update to 2.30.3 by autodist
* Sun May 30 2010 Automatic Build System <autodist@mambasoft.it> 2.30.1-1mamba
- automatic update to 2.30.1 by autodist
- reflected upstream source packages split into gnome-keyring and libgnome-keyring
* Mon Jan 25 2010 Automatic Build System <autodist@mambasoft.it> 2.28.2-1mamba
- automatic update by autodist
* Sun Oct 18 2009 Automatic Build System <autodist@mambasoft.it> 2.28.1-1mamba
- automatic update by autodist
* Fri Sep 25 2009 Automatic Build System <autodist@mambasoft.it> 2.28.0-1mamba
- automatic update to 2.28.0 by autodist
* Wed Jul 15 2009 Automatic Build System <autodist@mambasoft.it> 2.26.3-1mamba
- automatic update by autodist
* Wed Jun 24 2009 Automatic Build System <autodist@mambasoft.it> 2.26.1-2mamba
- automatic rebuild by autodist
* Fri May 29 2009 Automatic Build System <autodist@mambasoft.it> 2.26.1-1mamba
- update to 2.26.1
* Fri May 29 2009 Automatic Build System <autodist@mambasoft.it> 2.24.0-2mamba
- automatic rebuild by autodist
* Tue Oct 07 2008 gil <puntogil@libero.it> 2.24.0-1mamba
- update to 2.24.0
* Tue Apr 10 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 0.8.0-1mamba
- update to version 0.8.0
* Wed Jan 10 2007 Davide Madrisan <davide.madrisan@qilinux.it> 0.6.0-2qilnx
- updated specfile to permit automatic building
- new subpackage apidocs with API documentation
* Sun Sep 17 2006 Tiziano Pratellesi <info@mycare.it> 0.6.0-1qilnx
- update to version 0.6.0
* Mon Aug 16 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2-1qilnx
- package creation