Accepting request 91701 from home:dimstar:GNOME:Next
Resubmit... now with a -data package OBS-URL: https://build.opensuse.org/request/show/91701 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gcr?expand=0&rev=1
This commit is contained in:
commit
ec7db8f75a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
gcr-3.3.1.1.tar.bz2
Normal file
3
gcr-3.3.1.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dca2f1692fb37aa5dfbf4a5dae533eccc10daa877775f7434ef6f876d6029341
|
||||
size 1688570
|
5
gcr.changes
Normal file
5
gcr.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 27 12:58:03 UTC 2011 - dimstar@opensuse.org
|
||||
|
||||
- Initial package, library has been split out of gnome-keyring.
|
||||
|
206
gcr.spec
Normal file
206
gcr.spec
Normal file
@ -0,0 +1,206 @@
|
||||
#
|
||||
# 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
|
||||
# FIXME: Verify if parallel build works again. Last checked in version 3.3.1.1
|
||||
Release: 1
|
||||
License: GPLv2+ ; LGPLv2.1+
|
||||
Summary: Library for Crypto UI related task
|
||||
Url: http://www.gnome.org
|
||||
Group: System/Libraries
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libgcrypt-devel >= 1.2.2
|
||||
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(p11-kit-1) >= 0.6
|
||||
BuildRequires: pkgconfig(libtasn1)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%glib2_gsettings_schema_requires
|
||||
|
||||
%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
|
||||
License: GPLv2+ ; LGPLv2.1+
|
||||
Group: System/GUI/GNOME
|
||||
Summary: Gnome Certificate Viewer
|
||||
|
||||
%description viewer
|
||||
Gnome Certificate Viewer
|
||||
|
||||
%package -n libgcr-3-1
|
||||
License: GPLv2+ ; LGPLv2.1+
|
||||
Group: System/GUI/GNOME
|
||||
Summary: Library for Crypto UI related task
|
||||
Requires: %{name}-data >= %{version}
|
||||
Recommends: %{name}-viewer = %{version}
|
||||
Recommends: %{name}-lang
|
||||
|
||||
%description -n libgcr-3-1
|
||||
GCR is a library for crypto UI and related tasks.
|
||||
|
||||
%package -n libgcr-devel
|
||||
License: GPLv2+ ; LGPLv2.1+
|
||||
Group: Development/Libraries/GNOME
|
||||
Summary: Library for Crypto UI related task - Development Files
|
||||
Requires: libgcr-3-1 = %{version}
|
||||
|
||||
%description -n libgcr-devel
|
||||
The GNOME Keyring is a daemon in the session, similar to ssh-agent,
|
||||
and other applications can use it to store passwords and other
|
||||
sensitive information.
|
||||
|
||||
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 -n libgck-1-0
|
||||
License: GPLv2+ ; LGPLv2.1+
|
||||
Group: System/GUI/GNOME
|
||||
Summary: GObject bindings for PKCS#11
|
||||
Recommends: libgck-modules = %{version}
|
||||
|
||||
%description -n libgck-1-0
|
||||
GCK is a wrapper based on GLib implementing the PKCS#11 (Cryptoki)
|
||||
interface.
|
||||
|
||||
%package -n libgck-devel
|
||||
License: GPLv2+ ; LGPLv2.1+
|
||||
Group: Development/Libraries/GNOME
|
||||
Summary: GObject bindings for PKCS#11 - Development Files
|
||||
Requires: libgck-1-0 = %{version}
|
||||
|
||||
%description -n libgck-devel
|
||||
The GNOME Keyring is a daemon in the session, similar to ssh-agent,
|
||||
and other applications can use it to store passwords and other
|
||||
sensitive information.
|
||||
|
||||
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 data
|
||||
License: GPLv2+ ; LGPLv2.1+
|
||||
Group: System/Libraries
|
||||
Summary: Data and icon set for gcr / gck
|
||||
|
||||
%description data
|
||||
This package provides the GSetting schemas and a collection of icons
|
||||
needed by libgcr / libgck.
|
||||
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
# 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
|
||||
%glib2_gsettings_schema_post
|
||||
%mime_database_post
|
||||
|
||||
%postun viewer
|
||||
%glib2_gsettings_schema_postun
|
||||
|
||||
%post -n libgcr-3-1
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun -n libgcr-3-1
|
||||
/sbin/ldconfig
|
||||
|
||||
%post data
|
||||
%icon_theme_cache_post
|
||||
|
||||
%postun data
|
||||
%icon_theme_cache_postun
|
||||
|
||||
%post -n libgck-1-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libgck-1-0 -p /sbin/ldconfig
|
||||
|
||||
%files viewer
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog README COPYING
|
||||
%{_bindir}/gcr-viewer
|
||||
%{_datadir}/applications/gcr-viewer.desktop
|
||||
%{_datadir}/mime/packages/gcr-crypto-types.xml
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%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)
|
||||
%{_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)
|
||||
%{_libdir}/libgck-1.so.*
|
||||
|
||||
%files -n libgck-devel
|
||||
%defattr (-, root, root)
|
||||
%{_libdir}/libgck-1.so
|
||||
%{_libdir}/pkgconfig/gck-1.pc
|
||||
%{_includedir}/gck-1/
|
||||
%dir %{_datadir}/gtk-doc
|
||||
%dir %{_datadir}/gtk-doc/html
|
||||
%{_datadir}/gtk-doc/html/gck/
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user