diff --git a/baselibs.conf b/baselibs.conf index 515f28b..84edcc6 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libsecret-0-0 +libsecret-1-0 diff --git a/libsecret-0.3.tar.xz b/libsecret-0.3.tar.xz deleted file mode 100644 index 97e4e07..0000000 --- a/libsecret-0.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:25907edd5610509bf95613d549f5609066831af9ac9499b0d2e19a43c7d5575b -size 423380 diff --git a/libsecret-0.9.tar.xz b/libsecret-0.9.tar.xz new file mode 100644 index 0000000..112ca6f --- /dev/null +++ b/libsecret-0.9.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b1abfed2f5c88ff9a1801d5b6643331cc833dfe8d8b1dca982ae23bbd6de535 +size 473512 diff --git a/libsecret.changes b/libsecret.changes index b9086b6..4a1de2e 100644 --- a/libsecret.changes +++ b/libsecret.changes @@ -1,3 +1,70 @@ +------------------------------------------------------------------- +Mon Aug 20 16:53:30 UTC 2012 - dimstar@opensuse.org + +- Update to version 0.9: + + Add a manual page for secret-tool. + + Fix up libsecret licensing. + + Build and testing fixes. +- Add docbook-xsl-stylesheets and xsltproc BuildRequires in order + to be able to build the man pages. + +------------------------------------------------------------------- +Mon Aug 6 18:36:19 UTC 2012 - dimstar@opensuse.org + +- Update to version 0.8: + + Fix up libsecret licensing (bgo#681255). + + Initialize gettext correctly. + + Fix crash in secret-tool. + + Build and testing fixes. + +------------------------------------------------------------------- +Tue Jul 17 12:31:46 UTC 2012 - dimstar@opensuse.org + +- Update to version 0.7: + + Match schema names for notes and network passwords + + Add flags argument to secret_collection_for_alias() + + Correct flags behavior for SecretCollection + + Build fixes +- Changes from version 0.6: + + Rename secret_password_remove() to secret_password_clear() + and similar names for related functions. + + The secret_attribute_build() functions are stable + + The predefined secret schemas are stable + + Build fixes +- Changes from version 0.5: + + secret_service_remove() removes all unlocked matching items + + Make sure that we have some attributes when searching + + Add flags for item and collection creation + + Add way to get schema name from a SecretItem + + Rename secret_service_read_alias() to + secret_collection_for_alias() + + Split the stable and unstable APIs into separate + pkg-config files, girs and vapis + + Bump the library major version number to 1 + + Document how to migrate from libgnome-keyring + + Document how to use libsecret from C, js, python, vala + + Documentation fixes +- Changes from version 0.4: + + Implement per collection search + + Register secret service errors as GDBus errors + + Cache default SecretService object, and provide a way to + 'disconnect' it. Also 'disconnect' if service goes away. + + Better use of aliases when storing passwords + + Rename functions that operate on a dbus object path + + Accept NULL as a SecretService parameter for many methods + + Make loading items for a collection optional + + More consistent use of schemas + + Able to unlock and load secrets while searching for items + + Cache the secret value on SecretItem + + Add vala bindings and tests + + Remove most varargs other than the simple password functions + + Add SECRET_SCHEMA_NOTE schema + + Lots of bug fixes + + Documentation fixes + + Testing fixes + + Build fixes +- Add vala BuildRequires: required to build the new bindings. + ------------------------------------------------------------------- Wed Jun 27 18:57:33 UTC 2012 - dimstar@opensuse.org diff --git a/libsecret.spec b/libsecret.spec index 813245a..c166a4a 100644 --- a/libsecret.spec +++ b/libsecret.spec @@ -15,32 +15,35 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define have_lang 0 +%define have_lang 1 Name: libsecret -Version: 0.3 +Version: 0.9 Release: 0 -Url: http://www.gnome.org/ +License: LGPL-2.1+ Summary: Library for accessing the Secret Service API -License: LGPL-2.0+ +Url: http://www.gnome.org/ Group: System/Libraries -Source0: http://download.gnome.org/sources/libsecret/0.3/%{name}-%{version}.tar.xz +Source0: http://download.gnome.org/sources/libsecret/0.9/%{name}-%{version}.tar.xz Source99: baselibs.conf +BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: gobject-introspection-devel >= 1.29 BuildRequires: intltool BuildRequires: libgcrypt-devel >= 1.2.2 BuildRequires: translation-update-upstream -BuildRequires: pkgconfig(glib-2.0) >= 2.31.0 +BuildRequires: vala +BuildRequires: xsltproc BuildRequires: pkgconfig(gio-2.0) >= 2.31.0 BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(glib-2.0) >= 2.31.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libsecret is a library for storing and retrieving passwords and other secrets. It communicates with the "Secret Service" using DBus. -%package -n libsecret-0-0 +%package -n libsecret-1-0 Summary: Library for accessing the Secret Service API Group: System/Libraries %if %{have_lang} @@ -49,15 +52,25 @@ Recommends: %{name}-lang Provides: %{name} = %{version} %endif -%description -n libsecret-0-0 +%description -n libsecret-1-0 libsecret is a library for storing and retrieving passwords and other secrets. It communicates with the "Secret Service" using DBus. -%package -n typelib-1_0-Secret-0 +%package -n typelib-1_0-Secret-1 Summary: Library for accessing the Secret Service API -- Introspection bindings Group: System/Libraries -%description -n typelib-1_0-Secret-0 +%description -n typelib-1_0-Secret-1 +libsecret is a library for storing and retrieving passwords and other +secrets. It communicates with the "Secret Service" using DBus. + +This package provides the GObject Introspection bindings for libsecret. + +%package -n typelib-1_0-SecretUnstable-0 +Summary: Library for accessing the Secret Service API -- Introspection bindings +Group: System/Libraries + +%description -n typelib-1_0-SecretUnstable-0 libsecret is a library for storing and retrieving passwords and other secrets. It communicates with the "Secret Service" using DBus. @@ -74,8 +87,9 @@ secrets. It communicates with the "Secret Service" using DBus. %package devel Summary: Library for accessing the Secret Service API -- Development Files Group: Development/Libraries/GNOME -Requires: libsecret-0-0 = %{version} -Requires: typelib-1_0-Secret-0 = %{version} +Requires: libsecret-1-0 = %{version} +Requires: typelib-1_0-Secret-1 = %{version} +Requires: typelib-1_0-SecretUnstable-0 = %{version} %description devel libsecret is a library for storing and retrieving passwords and other @@ -102,30 +116,43 @@ find %{buildroot} -type f -name "*.la" -delete -print %endif %fdupes %{buildroot} -%post -n libsecret-0-0 -p /sbin/ldconfig +%post -n libsecret-1-0 -p /sbin/ldconfig -%postun -n libsecret-0-0 -p /sbin/ldconfig +%postun -n libsecret-1-0 -p /sbin/ldconfig -%files -n libsecret-0-0 +%files -n libsecret-1-0 %defattr (-, root, root) %doc AUTHORS ChangeLog COPYING NEWS README -%{_libdir}/libsecret-0.so.* +%{_libdir}/libsecret-1.so.* -%files -n typelib-1_0-Secret-0 +%files -n typelib-1_0-Secret-1 %defattr(-,root,root) -%{_libdir}/girepository-1.0/Secret-0.typelib +%{_libdir}/girepository-1.0/Secret-1.typelib + +%files -n typelib-1_0-SecretUnstable-0 +%defattr(-,root,root) +%{_libdir}/girepository-1.0/SecretUnstable-0.typelib %files tools %defattr(-,root,root) %{_bindir}/secret-tool +%{_mandir}/man1/secret-tool.1%{?ext_man} %files devel %defattr (-, root, root) -%{_libdir}/libsecret-0.so -%{_libdir}/pkgconfig/libsecret-0.pc -%{_includedir}/secret-0/ -%{_datadir}/gir-1.0/Secret-0.gir -%doc %{_datadir}/gtk-doc/html/libsecret-0/ +%{_libdir}/libsecret-1.so +%{_libdir}/pkgconfig/libsecret-1.pc +%{_libdir}/pkgconfig/libsecret-unstable.pc +%{_includedir}/libsecret-1/ +%{_datadir}/gir-1.0/Secret-1.gir +%{_datadir}/gir-1.0/SecretUnstable-0.gir +%doc %{_datadir}/gtk-doc/html/libsecret-1/ +%dir %{_datadir}/vala/vapi +%{_datadir}/vala/vapi/libsecret-1.deps +%{_datadir}/vala/vapi/libsecret-1.vapi +%{_datadir}/vala/vapi/libsecret-unstable.deps +%{_datadir}/vala/vapi/libsecret-unstable.vapi +%{_datadir}/vala/vapi/mock-service-0.vapi %if %{have_lang} %files lang -f %{name}.lang