Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37629599
en ru br
Репозитории ALT
S:42.1-alt1
5.1: 2.28.2-alt0.M51.1
4.1: 2.22.3-alt0.M41.1
4.0: 0.8.1-alt1
3.0: 0.4.2-alt1
www.altlinux.org/Changes

Группа :: Графические оболочки/GNOME
Пакет: gnome-keyring

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define ver_major 2.28
%def_disable static
%def_disable gtk_doc
%def_disable debug
%def_disable valgrind

Name: gnome-keyring
Version: %ver_major.2
Release: alt0.M51.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
Source1: lib%{name}-%ver_major-symver.map

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

# From configure.in

BuildPreReq: glib2-devel >= %glib_ver libgio-devel
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: intltool >= 0.35.0
BuildPreReq: libdbus-devel >= %dbus_ver
BuildPreReq: libgcrypt-devel >= %gcrypt_ver
BuildPreReq: libpam-devel
BuildPreReq: libtasn1-devel >= %tasn1_ver libtasn1-utils
%{?_enable_valgrind:BuildPreReq: valgrind}
BuildRequires: GConf gtk-doc libGConf-devel

%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 lib%name-devel-doc
Summary: Development documentation for lib%name
Group: Development/GNOME and GTK+
Conflicts: lib%name < %version
BuildArch: noarch

%description -n lib%name-devel-doc
This package contains development documentation for 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 _gtk_docdir %_datadir/gtk-doc/html
%define _libexecdir %_prefix/libexec/%name

%prep
%setup -q

install -p -m644 %SOURCE1 library/lib%{name}-altlinux.ver

%build
%autoreconf
%configure \
--disable-schemas-install \
%{?_enable_gtk_doc:--enable-gtk-doc} \
%{subst_enable static} \
%{subst_enable debug} \
%{subst_enable valgrind} \
--with-pam-dir=/%_lib/security \
--with-root-certs=/usr/share/ca-certificates

%make_build

%install
%make_install DESTDIR=%buildroot install

%find_lang --with-gnome %name

%post
%gconf2_install %name

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

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

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

%exclude %_libdir/gnome-keyring/*.la
%exclude %_libdir/gnome-keyring/*/*.la

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*

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

%files -n lib%name-devel-doc
%_gtk_docdir/*

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

%exclude /%_lib/security/*.la
%exclude %_libdir/gnome-keyring/*.la

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin