diff --git a/gcr.changes b/gcr.changes index 18addf3..f3527f6 100644 --- a/gcr.changes +++ b/gcr.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Dec 8 11:29:40 UTC 2011 - dimstar@opensuse.org + +- Split typelib files in their own respective subpackages: + + typelib-1_0-Gcr-3 + + typelib-1_0-Gck-1 + ------------------------------------------------------------------- Tue Nov 22 22:07:39 UTC 2011 - dimstar@opensuse.org diff --git a/gcr.spec b/gcr.spec index f769c66..2fbf086 100644 --- a/gcr.spec +++ b/gcr.spec @@ -82,11 +82,28 @@ Recommends: %{name}-lang GCR is a library for displaying certificates, and crypto UI, accessing key stores. +%package -n typelib-1_0-Gcr-3 +Group: System/Libraries +Summary: Library for Crypto UI related task - gi-bindings + +%description -n typelib-1_0-Gcr-3 +GCR is a library for displaying certificates, and crypto UI, accessing +key stores. + +%package -n typelib-1_0-Gck-1 +Group: System/Libraries +Summary: Library for Crypto UI related task - gi-bindings + +%description -n typelib-1_0-Gck-1 +GCK is a library for accessing PKCS#11 modules like smart cards, in a +(G)object oriented way. + %package -n libgcr-devel License: LGPLv2.1+ Group: Development/Libraries/GNOME Summary: Library for Crypto UI related task - Development Files Requires: libgcr-3-1 = %{version} +Requires: typelib-1_0-Gcr-3 = %{version} %description -n libgcr-devel GCR is a library for displaying certificates, and crypto UI, accessing @@ -107,6 +124,7 @@ License: LGPLv2.1+ Group: Development/Libraries/GNOME Summary: GObject library to access for PKCS#11 modules - Development Files Requires: libgck-1-0 = %{version} +Requires: typelib-1_0-Gck-1 = %{version} %description -n libgck-devel GCK is a library for accessing PKCS#11 modules like smart cards, in a @@ -176,9 +194,12 @@ rm %{buildroot}%{_libdir}/libmock-test-module.so %doc AUTHORS ChangeLog COPYING HACKING NEWS README %{_libdir}/libgcr-3.so.* %{_libdir}/libgcr-base-3.so.* -%{_libdir}/girepository-1.0/Gcr-3.typelib %{_datadir}/gcr-3/ +%files -n typelib-1_0-Gcr-3 +%defattr(-,root,root) +%{_libdir}/girepository-1.0/Gcr-3.typelib + %files -n libgcr-devel %defattr (-, root, root) %{_libdir}/libgcr-3.so @@ -192,6 +213,9 @@ rm %{buildroot}%{_libdir}/libmock-test-module.so %defattr (-, root, root) %doc AUTHORS ChangeLog COPYING HACKING NEWS README %{_libdir}/libgck-1.so.* + +%files -n typelib-1_0-Gck-1 +%defattr(-,root,root) %{_libdir}/girepository-1.0/Gck-1.typelib %files -n libgck-devel