7 Summary: Library for Crypto UI related task
9 Group: Security/Crypto Libraries
10 Url: http://www.gnome.org
11 Source0: http://download.gnome.org/sources/gcr/%{baseline}/%{name}-%{version}.tar.xz
12 BuildRequires: gnome-common
14 BuildRequires: gtk-doc
15 BuildRequires: intltool
16 BuildRequires: libgcrypt-devel >= 1.2.2
17 BuildRequires: libtasn1-devel
18 BuildRequires: shared-mime-info
19 BuildRequires: update-desktop-files
20 BuildRequires: pkgconfig(dbus-1)
21 BuildRequires: pkgconfig(gio-2.0)
22 BuildRequires: pkgconfig(gio-unix-2.0)
23 BuildRequires: pkgconfig(glib-2.0) >= 2.30.0
24 BuildRequires: pkgconfig(gmodule-no-export-2.0)
25 BuildRequires: pkgconfig(gobject-2.0)
26 BuildRequires: pkgconfig(gobject-introspection-1.0)
27 BuildRequires: pkgconfig(gthread-2.0)
28 BuildRequires: pkgconfig(gtk+-3.0) >= 3.0
29 BuildRequires: pkgconfig(libtasn1)
30 BuildRequires: pkgconfig(p11-kit-1) >= 0.6
33 GCR is a library for displaying certificates, and crypto UI, accessing
34 key stores. It also provides the viewer for crypto files on the GNOME
37 GCK is a library for accessing PKCS#11 modules like smart cards, in a
38 (G)object oriented way.
42 Summary: Viewer for Crypto Files
43 Group: Security/Certificate Management
46 This packages provides the viewer for crypto files on the GNOME desktop.
50 Summary: Data and icon set for gcr
51 Group: Security/Crypto Libraries
52 Requires(post): glib2-tools
53 Requires(postun): glib2-tools
56 This package provides the GSettings schemas and a collection of icons
61 Summary: Prompt dialog for Crypto UI related task
62 Group: System/Libraries
65 This package provides the prompt dialog needed by libgcr.
69 Summary: Library for Crypto UI related task
70 Group: System/Libraries
71 Requires: %{name}-data >= %{version}
72 Requires: %{name}-prompter >= %{version}
74 %description -n libgcr
75 GCR is a library for displaying certificates, and crypto UI, accessing
79 %package -n typelib-Gcr
80 Summary: Library for Crypto UI related task -- Introspection bindings
81 Group: System/Libraries
83 %description -n typelib-Gcr
84 GCR is a library for displaying certificates, and crypto UI, accessing
87 This package provides the GObject Introspection bindings for GCR.
90 %package -n libgcr-devel
91 Summary: Library for Crypto UI related task - Development Files
92 Group: Development/Libraries
93 Requires: libgcr = %{version}
94 Requires: typelib-Gcr = %{version}
96 %description -n libgcr-devel
97 GCR is a library for displaying certificates, and crypto UI, accessing
101 %package -n libgcr-ui
102 Summary: Library for Crypto UI related task
103 Group: System/Libraries
104 Requires: %{name}-data >= %{version}
105 Requires: %{name}-prompter >= %{version}
107 %description -n libgcr-ui
108 GCR is a library for displaying certificates, and crypto UI, accessing
109 key stores.ey stores.
112 %package -n typelib-GcrUi
113 Summary: Library for Crypto UI related task -- Introspection bindings
114 Group: System/Libraries
116 %description -n typelib-GcrUi
117 GCR is a library for displaying certificates, and crypto UI, accessing
120 This package provides the GObject Introspection bindings for GCR.
123 %package -n libgcr-ui-devel
124 Summary: Library for Crypto UI related task - Development Files
125 Group: Development/Libraries
126 Requires: libgcr-ui = %{version}
127 Requires: libgcr-devel = %{version}
128 Requires: typelib-Gcr = %{version}
130 %description -n libgcr-ui-devel
131 GCR is a library for displaying certificates, and crypto UI, accessing
136 Summary: GObject library to access for PKCS#11 modules
137 Group: System/Libraries
138 Provides: gck = %{version}
140 %description -n libgck
141 GCK is a library for accessing PKCS#11 modules like smart cards, in a
142 (G)object oriented way.
145 %package -n typelib-Gck
146 Summary: GObject library to access for PKCS#11 modules -- Introspection bindings
147 Group: Security/Crypto Libraries
149 %description -n typelib-Gck
150 GCK is a library for accessing PKCS#11 modules like smart cards, in a
151 (G)object oriented way.
153 This package provides the GObject Introspection bindings for GCK.
156 %package -n libgck-devel
157 Summary: GObject library to access for PKCS#11 modules - Development Files
158 Group: Development/Libraries
159 Requires: libgck = %{version}
160 Requires: typelib-Gck = %{version}
162 %description -n libgck-devel
163 GCK is a library for accessing PKCS#11 modules like smart cards, in a
164 (G)object oriented way.
172 --disable-gtk-doc-html
178 # Cleanup installed test modules
179 rm %{buildroot}%{_libdir}/libmock-test-module.so
180 %tizen_update_desktop_file gcr-prompter
181 %tizen_update_desktop_file gcr-viewer
185 %desktop_database_post
189 %desktop_database_postun
190 %mime_database_postun
193 %glib2_gsettings_schema_post
194 %icon_theme_cache_post
197 %glib2_gsettings_schema_postun
198 %icon_theme_cache_postun
200 %post -n libgcr -p /sbin/ldconfig
202 %postun -n libgcr -p /sbin/ldconfig
204 %post -n libgck -p /sbin/ldconfig
206 %postun -n libgck -p /sbin/ldconfig
208 %post -n libgcr-ui -p /sbin/ldconfig
210 %postun -n libgcr-ui -p /sbin/ldconfig
214 %defattr(-,root,root)
216 %{_bindir}/gcr-viewer
217 %{_datadir}/applications/gcr-viewer.desktop
218 %{_datadir}/mime/packages/gcr-crypto-types.xml
222 %defattr(-, root, root)
223 %{_datadir}/icons/hicolor/*/apps/*
224 %dir %{_datadir}/GConf
225 %dir %{_datadir}/GConf/gsettings
226 %{_datadir}/GConf/gsettings/org.gnome.crypto.pgp.convert
227 %{_datadir}/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert
228 %{_datadir}/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml
232 %defattr(-, root, root)
233 %{_libexecdir}/gcr-prompter
234 %{_datadir}/applications/gcr-prompter.desktop
235 %{_datadir}/dbus-1/services/org.gnome.keyring.PrivatePrompter.service
236 %{_datadir}/dbus-1/services/org.gnome.keyring.SystemPrompter.service
240 %defattr (-, root, root)
242 %{_libdir}/libgcr-3.so.*
243 %{_libdir}/libgcr-base-3.so.*
247 %files -n typelib-Gcr
248 %defattr(-,root,root)
249 %{_libdir}/girepository-1.0/Gcr-3.typelib
252 %files -n libgcr-devel
253 %defattr (-, root, root)
254 %{_libdir}/libgcr-3.so
255 %{_libdir}/libgcr-base-3.so
256 %{_libdir}/pkgconfig/gcr-3.pc
257 %{_libdir}/pkgconfig/gcr-base-3.pc
258 %{_includedir}/gcr-3/
262 %defattr (-, root, root)
264 %{_libdir}/libgck-1.so.*
267 %files -n typelib-Gck
268 %defattr(-,root,root)
269 %{_libdir}/girepository-1.0/Gck-1.typelib
272 %files -n libgck-devel
273 %defattr (-, root, root)
274 %{_libdir}/libgck-1.so
275 %{_libdir}/pkgconfig/gck-1.pc
276 %{_includedir}/gck-1/
277 %{_datadir}/gir-1.0/Gck-1.gir
278 %{_datadir}/gir-1.0/Gcr-3.gir
282 %defattr (-, root, root)
284 %{_libdir}/libgcr-ui-3.so.1
285 %{_libdir}/libgcr-ui-3.so.1.0.0
286 %{_datadir}/gir-1.0/GcrUi-3.gir
289 %files -n typelib-GcrUi
290 %defattr(-,root,root)
291 %{_libdir}/girepository-1.0/GcrUi-3.typelib
294 %files -n libgcr-ui-devel
295 %defattr (-, root, root)
296 %{_libdir}/libgcr-ui-3.so
297 %{_libdir}/pkgconfig/gcr-ui-3.pc
299 %lang_package -n libgcr