2011-11-16 11:02:16 +01:00
|
|
|
#
|
|
|
|
# spec file for package
|
|
|
|
#
|
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gcr
|
|
|
|
Version: 3.3.1.1
|
2011-11-16 11:37:01 +01:00
|
|
|
# FIXME: on version update after 3.3.1.1, reenable introspection build (drop --disable-introspection). Currently broken.
|
2011-11-16 11:02:16 +01:00
|
|
|
# FIXME: Verify if parallel build works again. Last checked in version 3.3.1.1
|
|
|
|
Release: 1
|
2011-11-16 11:37:01 +01:00
|
|
|
License: LGPLv2.1+
|
2011-11-16 11:02:16 +01:00
|
|
|
Summary: Library for Crypto UI related task
|
|
|
|
Url: http://www.gnome.org
|
|
|
|
Group: System/Libraries
|
2011-11-16 11:37:01 +01:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
# configure is looking for the gpg2 path
|
|
|
|
BuildRequires: gpg2
|
2011-11-16 11:02:16 +01:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libgcrypt-devel >= 1.2.2
|
2011-11-16 11:37:01 +01:00
|
|
|
# We need the %%mime_database_* macros
|
|
|
|
BuildRequires: shared-mime-info
|
2011-11-16 11:02:16 +01:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.30.0
|
|
|
|
BuildRequires: pkgconfig(gmodule-no-export-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0
|
|
|
|
BuildRequires: pkgconfig(libtasn1)
|
2011-11-16 11:37:01 +01:00
|
|
|
BuildRequires: pkgconfig(p11-kit-1) >= 0.6
|
2011-11-16 11:02:16 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
GCR is a library for displaying certificates, and crypto UI, accessing
|
|
|
|
key stores. It also provides the viewer for crypto files on the GNOME
|
|
|
|
desktop.
|
|
|
|
|
|
|
|
GCK is a library for accessing PKCS#11 modules like smart cards, in a
|
|
|
|
(G)object oriented way.
|
|
|
|
|
|
|
|
%package viewer
|
2011-11-16 11:37:01 +01:00
|
|
|
License: LGPLv2.1+
|
|
|
|
Group: Productivity/Security
|
|
|
|
Summary: Viewer for Crypto Files
|
|
|
|
Recommends: %{name}-lang
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%description viewer
|
2011-11-16 11:37:01 +01:00
|
|
|
This packages provides the viewer for crypto files on the GNOME desktop.
|
|
|
|
|
|
|
|
%package data
|
|
|
|
License: LGPLv2.1+
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Data and icon set for gcr
|
|
|
|
%glib2_gsettings_schema_requires
|
|
|
|
|
|
|
|
%description data
|
|
|
|
This package provides the GSettings schemas and a collection of icons
|
|
|
|
needed by libgcr.
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%package -n libgcr-3-1
|
2011-11-16 11:37:01 +01:00
|
|
|
License: LGPLv2.1+
|
|
|
|
Group: System/Libraries
|
2011-11-16 11:02:16 +01:00
|
|
|
Summary: Library for Crypto UI related task
|
|
|
|
Requires: %{name}-data >= %{version}
|
|
|
|
Recommends: %{name}-viewer = %{version}
|
|
|
|
Recommends: %{name}-lang
|
|
|
|
|
|
|
|
%description -n libgcr-3-1
|
2011-11-16 11:37:01 +01:00
|
|
|
GCR is a library for displaying certificates, and crypto UI, accessing
|
|
|
|
key stores.
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%package -n libgcr-devel
|
2011-11-16 11:37:01 +01:00
|
|
|
License: LGPLv2.1+
|
2011-11-16 11:02:16 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
Summary: Library for Crypto UI related task - Development Files
|
|
|
|
Requires: libgcr-3-1 = %{version}
|
|
|
|
|
|
|
|
%description -n libgcr-devel
|
2011-11-16 11:37:01 +01:00
|
|
|
GCR is a library for displaying certificates, and crypto UI, accessing
|
|
|
|
key stores.
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%package -n libgck-1-0
|
2011-11-16 11:37:01 +01:00
|
|
|
License: LGPLv2.1+
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: GObject library to access for PKCS#11 modules
|
|
|
|
Recommends: %{name}-lang
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%description -n libgck-1-0
|
2011-11-16 11:37:01 +01:00
|
|
|
GCK is a library for accessing PKCS#11 modules like smart cards, in a
|
|
|
|
(G)object oriented way.
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%package -n libgck-devel
|
2011-11-16 11:37:01 +01:00
|
|
|
License: LGPLv2.1+
|
2011-11-16 11:02:16 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
2011-11-16 11:37:01 +01:00
|
|
|
Summary: GObject library to access for PKCS#11 modules - Development Files
|
2011-11-16 11:02:16 +01:00
|
|
|
Requires: libgck-1-0 = %{version}
|
|
|
|
|
|
|
|
%description -n libgck-devel
|
2011-11-16 11:37:01 +01:00
|
|
|
GCK is a library for accessing PKCS#11 modules like smart cards, in a
|
|
|
|
(G)object oriented way.
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2011-11-16 11:37:01 +01:00
|
|
|
%configure --disable-introspection
|
2011-11-16 11:02:16 +01:00
|
|
|
# Parallel build seems broken.
|
|
|
|
#make %{?_smp_mflags}
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
# Cleanup installed test modules
|
|
|
|
rm %{buildroot}%{_libdir}/libmock-test-module.so
|
|
|
|
%suse_update_desktop_file gcr-viewer
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%post viewer
|
2011-11-16 11:37:01 +01:00
|
|
|
%desktop_database_post
|
2011-11-16 11:02:16 +01:00
|
|
|
%mime_database_post
|
|
|
|
|
|
|
|
%postun viewer
|
2011-11-16 11:37:01 +01:00
|
|
|
%desktop_database_postun
|
|
|
|
%mime_database_postun
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%post data
|
2011-11-16 11:37:01 +01:00
|
|
|
%glib2_gsettings_schema_post
|
2011-11-16 11:02:16 +01:00
|
|
|
%icon_theme_cache_post
|
|
|
|
|
|
|
|
%postun data
|
2011-11-16 11:37:01 +01:00
|
|
|
%glib2_gsettings_schema_postun
|
2011-11-16 11:02:16 +01:00
|
|
|
%icon_theme_cache_postun
|
|
|
|
|
2011-11-16 11:37:01 +01:00
|
|
|
%post -n libgcr-3-1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgcr-3-1 -p /sbin/ldconfig
|
|
|
|
|
2011-11-16 11:02:16 +01:00
|
|
|
%post -n libgck-1-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgck-1-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files viewer
|
|
|
|
%defattr(-,root,root)
|
2011-11-16 11:37:01 +01:00
|
|
|
%doc AUTHORS ChangeLog COPYING HACKING NEWS README
|
2011-11-16 11:02:16 +01:00
|
|
|
%{_bindir}/gcr-viewer
|
|
|
|
%{_datadir}/applications/gcr-viewer.desktop
|
|
|
|
%{_datadir}/mime/packages/gcr-crypto-types.xml
|
|
|
|
|
|
|
|
%files data
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
|
|
# Own the directory since we can't depend on gconf providing them
|
|
|
|
%dir %{_datadir}/GConf
|
|
|
|
%dir %{_datadir}/GConf/gsettings
|
|
|
|
%{_datadir}/GConf/gsettings/org.gnome.crypto.pgp.convert
|
|
|
|
%{_datadir}/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml
|
|
|
|
|
|
|
|
%files -n libgcr-3-1
|
|
|
|
%defattr (-, root, root)
|
2011-11-16 11:37:01 +01:00
|
|
|
%doc AUTHORS ChangeLog COPYING HACKING NEWS README
|
2011-11-16 11:02:16 +01:00
|
|
|
%{_libdir}/libgcr-3.so.*
|
|
|
|
%{_libdir}/libgcr-base-3.so.*
|
|
|
|
%{_datadir}/gcr-3/
|
|
|
|
|
|
|
|
%files -n libgcr-devel
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_libdir}/libgcr-3.so
|
|
|
|
%{_libdir}/libgcr-base-3.so
|
|
|
|
%{_libdir}/pkgconfig/gcr-3.pc
|
|
|
|
%{_libdir}/pkgconfig/gcr-base-3.pc
|
|
|
|
%{_includedir}/gcr-3/
|
|
|
|
%{_datadir}/gtk-doc/html/gcr-3/
|
|
|
|
|
|
|
|
%files -n libgck-1-0
|
|
|
|
%defattr (-, root, root)
|
2011-11-16 11:37:01 +01:00
|
|
|
%doc AUTHORS ChangeLog COPYING HACKING NEWS README
|
2011-11-16 11:02:16 +01:00
|
|
|
%{_libdir}/libgck-1.so.*
|
|
|
|
|
|
|
|
%files -n libgck-devel
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_libdir}/libgck-1.so
|
|
|
|
%{_libdir}/pkgconfig/gck-1.pc
|
|
|
|
%{_includedir}/gck-1/
|
|
|
|
%{_datadir}/gtk-doc/html/gck/
|
|
|
|
|
2011-11-16 11:37:01 +01:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2011-11-16 11:02:16 +01:00
|
|
|
%changelog
|