Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37714867
en ru br
ALT Linux repos
S:42.1-alt1
5.0: 2.26.1-alt1
4.1: 2.22.3-alt0.M41.1
4.0: 0.8.1-alt1
3.0: 0.4.2-alt1

Group :: Graphical desktop/GNOME
RPM: gnome-keyring

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
%define ver_major 2.22
%def_disable static

Name: gnome-keyring
Version: %ver_major.3
Release: alt0.M41.1

Summary: %name is a password keeper for GNOME
License: LGPL
Group: Graphical desktop/GNOME
Url: http://www.gnome.org
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2

%define gtk_ver 2.6.0
%define glib_ver 2.8.0
%define dbus_ver 1.0
%define hal_ver 0.5.7
%define gcrypt_ver 1.2.2
%define tasn1_ver 0.3.4
Requires: libgtk+2 >= %gtk_ver
Requires: lib%name = %version-%release
Requires(post): GConf

# From configure.in

BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: intltool >= 0.35.0
BuildPreReq: libdbus-devel >= %dbus_ver
BuildPreReq: libhal-devel >= %hal_ver
BuildPreReq: libgcrypt-devel >= %gcrypt_ver
BuildPreReq: libpam-devel
BuildPreReq: libtasn1-devel >= %tasn1_ver

BuildRequires: GConf gcc-c++ gtk-doc libGConf-devel

BuildRequires: rpm-build-compat >= 0.95

%description
%name 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.

%package -n lib%name
Summary: %name libraries
Group: System/Libraries

%description -n lib%name
This package contains shared version of %name libraries.

%package -n lib%name-devel
Summary: Development files for lib%name
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
This package contains headers and development libraries for %name.

%package -n lib%name-devel-static
Summary: Static version of %name libraries
Group: Development/C
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
This package provides libraries for develop programs statically linked
against lib%name.

%package -n pam_%name
Summary: A pam module for unlocking keyrings at login time
Group: System/Base
Requires: lib%name = %version-%release

%description -n pam_%name
The pam_gnome-keyring package contains a pam module that can
automatically unlock the "login" keyring when the user logs in
and start the keyring daemon.



%define _libexecdir %_prefix/libexec/%name

%prep
%setup -q

%build
%autoreconf
%configure \
--enable-gtk-doc \
%{subst_enable static} \
--with-pam-dir=/%_lib/security \
--with-root-certs=/usr/share/ca-certificates

%make_build

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%make_install DESTDIR=%buildroot install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

%find_lang --with-gnome %name

rm -f %buildroot%_libdir/*.la
rm -f %buildroot/%_lib/security/*.la
rm -f %buildroot%_libdir/gnome-keyring/*.la

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%post
%gconf2_install %name

%preun
if [ $1 = 0 ]; then
   %gconf2_uninstall %name
fi


%files -f %name.lang
%doc README AUTHORS NEWS ChangeLog README COPYING COPYING.LIB
%_bindir/*
%_libexecdir/*
%_datadir/dbus-1/services/org.gnome.keyring.service
%config %_sysconfdir/gconf/schemas/*

%files -n lib%name
%_libdir/*.so.*
%_libdir/gnome-keyring

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%doc %_datadir/gtk-doc/html/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif

%files -n pam_%name
/%_lib/security/*


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin