Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37710227
en ru br
Репозитории ALT
S:43.0-alt3
5.1: 2.28.1-alt1
4.1: 2.22.1-alt1.qa1.M41.1
4.0: 1.0-alt1
3.0: 0.7.8-alt1.1
www.altlinux.org/Changes

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

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

%define _unpackaged_files_terminate_build 1
%define ver_major 2.28

%def_disable debug
%def_enable ldap
%def_enable hkp
%def_enable gnome_keyring
%def_enable pkcs11
%def_enable dbus
%def_enable libnotify
%def_enable ssh

%if_enabled hkp
%def_enable sharing
%endif

Name: seahorse
Version: %ver_major.1
Release: alt1

Summary: Seahorse is a GNOME frontend to GnuPG
License: %gpllgpl2plus
Group: Graphical desktop/GNOME
Url: http://www.gnome.org/projects/%name/
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>

Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2

Requires: gnupg2-gpg
Requires: lib%name = %version-%release
%{?_enable_ssh:Requires: openssh-clients}
%{?_enable_sharing:Requires: avahi-daemon}

BuildPreReq: rpm-build-gnome

# From configure.in

BuildPreReq: intltool >= 0.35
BuildPreReq: vala >= 0.3.5 libGConf-devel libgio-devel
BuildPreReq: gnome-doc-utils-xslt >= 0.3.2
BuildPreReq: libgtk+2-devel >= 2.10.0
BuildPreReq: gnupg2-gpg
BuildPreReq: libgpgme-devel >= 1.0.0
BuildPreReq: libgpg-error-devel
%{?_enable_ldap:BuildPreReq: libldap-devel}
%{?_enable_hkp:BuildPreReq: libsoup-devel >= 2.4}
%{?_enable_gnome_keyring:BuildPreReq: libgnome-keyring-devel >= 2.25.4}
%{?_enable_pkcs11:BuildPreReq: libgnome-keyring-devel >= 2.25.4}
%{?_enable_sharing:BuildPreReq: libavahi-glib-devel >= 0.6 libavahi-devel }
%{?_enable_dbus:BuildPreReq: libdbus-glib-devel >= 0.35}
%{?_enable_libnotify:BuildPreReq: libnotify-devel >= 0.3}
%{?_enable_ssh:BuildPreReq: openssh openssh-clients}

BuildRequires: libSM-devel
BuildRequires: gtk-doc docbook-dtds gcc-c++ perl-XML-Parser
BuildRequires: rpm-build-licenses
BuildRequires: desktop-file-utils

%description
Seahorse is a graphical interface for managing and using encryption keys.
Currently it supports PGP keys using for Gnu Privacy Guard. Its goal is to
provide an easy to use Key Management Tool, along with an easy to use interface for encryption operations.

%package -n lib%name
Summary: Seahorse libraries
Group: Graphical desktop/GNOME

%description -n lib%name
Seahorse is a graphical interface for managing and using encryption
keys. This package contains Seahorse libraries. Note: to use Seahorse,
you should install seahorse package and/or Seahorse applet.

%package -n lib%name-devel
Summary: Seahorse development files
Group: Development/GNOME and GTK+
Requires: lib%name = %version-%release

%description -n lib%name-devel
This package contains files necessary to develop applications that use or
extend Seahorse encryption keys manager.

%package -n lib%name-devel-doc
Summary: Seahorse development files
Group: Development/GNOME and GTK+
BuildArch: noarch
Conflicts: lib%name < %version

%description -n lib%name-devel-doc
This package contains files necessary to develop applications that use or
extend Seahorse encryption keys manager.

%prep
%setup -q

%build
export CFLAGS="$CFLAGS `pkg-config --cflags dbus-glib-1`"
export LDFLAGS="$LDFLAGS `pkg-config --libs dbus-glib-1`"
GNUPG=/usr/bin/gpg2; export GNUPG
%configure \
%{subst_enable ldap} \
%{subst_enable hkp} \
%{subst_enable sharing} \
%{subst_enable libnotify} \
%{subst_enable ssh} \
%{subst_enable debug} \
%{subst_enable pkcs11} \
--enable-tests \
--disable-static \
--disable-scrollkeeper \
--disable-schemas-install \
--disable-update-mime-database

%make_build

%install
%make_install install DESTDIR=%buildroot

%find_lang %name --with-gnome

%post
%gconf2_install %name

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

%files -n lib%name
%_libdir/libcryptui.so.*
#%_bindir/cryptui-test-keyset
#%_bindir/cryptui-test-ui
%dir %_libdir/%name
%_libdir/%name/%name-ssh-askpass
%_libdir/%name/xloadimage

%files -f %name.lang
%_bindir/%name
%attr(711,root,root) %_bindir/%name-daemon
%dir %_datadir/%name
%_datadir/%name/*
%_datadir/dbus-1/services/*.service
%_iconsdir/hicolor/*/apps/%{name}*.*
%_pixmapsdir/%{name}*
%_desktopdir/*.desktop
%_man1dir/*
%_sysconfdir/xdg/autostart/seahorse-daemon.desktop
%config %gconf_schemasdir/seahorse.schemas
%doc AUTHORS ChangeLog COPYING COPYING-DOCS COPYING-LIBCRYPTUI NEWS README THANKS TODO HACKING

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

%files -n lib%name-devel-doc
%_datadir/gtk-doc/html/*

%changelog

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

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