From 7059d413aff20800a6ccc9dfce2b3fb2da4ab926d4b4a976d4a35d8c6792e711 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 2 Aug 2016 11:32:28 +0000 Subject: [PATCH] - Update to 3.0.0: * Major backwards incompatible changes to the API to make it more aligned to official LXQt project name * Biggest change is the namespace change from "LxQt" to "LXQt" - Create new subpackage liblxqt-wallet for library - Update Summary - Add information about storage backends that can be used OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-wallet?expand=0&rev=2 --- lxqt-wallet.changes | 10 +++++++++ lxqt-wallet.spec | 45 ++++++++++++++++++++++++++++++---------- lxqt_wallet-2.2.0.tar.gz | 3 --- lxqt_wallet-3.0.0.tar.gz | 3 +++ 4 files changed, 47 insertions(+), 14 deletions(-) delete mode 100644 lxqt_wallet-2.2.0.tar.gz create mode 100644 lxqt_wallet-3.0.0.tar.gz diff --git a/lxqt-wallet.changes b/lxqt-wallet.changes index 4302f3f..c62a80a 100644 --- a/lxqt-wallet.changes +++ b/lxqt-wallet.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Aug 2 11:23:27 UTC 2016 - mvetter@suse.com + +- Update to 3.0.0: + * Major backwards incompatible changes to the API to make it more aligned to official LXQt project name + * Biggest change is the namespace change from "LxQt" to "LXQt" +- Create new subpackage liblxqt-wallet for library +- Update Summary +- Add information about storage backends that can be used + ------------------------------------------------------------------- Sat Mar 17 12:17:51 UTC 2016 - avvissu@yandex.ru diff --git a/lxqt-wallet.spec b/lxqt-wallet.spec index a3a927c..a590afb 100644 --- a/lxqt-wallet.spec +++ b/lxqt-wallet.spec @@ -15,37 +15,50 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - +%define c_lib lib%{name}3_0_0 %define srcname lxqt_wallet Name: lxqt-wallet -Version: 2.2.0 +Version: 3.0.0 Release: 0 -Summary: Secure storage of information for lxqt +Summary: Secure storage of information for LXQt License: BSD-2-Clause Group: System/GUI/LXQt Url: https://github.com/mhogomchungu/lxqt_wallet Source0: https://github.com/mhogomchungu/lxqt_wallet/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ +BuildRequires: libqt5-linguist-devel BuildRequires: pkgconfig +# Uses internal storage system +BuildRequires: libgcrypt-devel +# Uses kwallet as backend +BuildRequires: cmake(KF5Wallet) +BuildRequires: cmake(KF5Notifications) +# Could also use gnome secret service +#BuildRequires: libsecret-devel BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: cmake(KF5Notifications) -BuildRequires: cmake(KF5Wallet) -BuildRequires: libgcrypt-devel Recommends: %{name}-lang %description Secure storage of information in kwallet that can be presented in key-values pair like user names-passwords pairs. +%package -n %{c_lib} +Summary: Library for %{name} +Group: Development/Libraries/C and C++ + +%description -n %{c_lib} +This package contains the library files for %{name}. + %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ +Requires: %{c_lib} = %{version} %description devel -This package contains the header files needed to develop application that +This package contains the header files needed to develop application that use %{name}. %lang_package @@ -64,19 +77,29 @@ make %{?_smp_mflags} %install %cmake_install +%post -n %{c_lib} -p /sbin/ldconfig +%postun -n %{c_lib} -p /sbin/ldconfig + %files %defattr(-,root,root) %doc LICENSE README* changelog -%{_bindir}/%{srcname}* +%{_bindir}/lxqt_wallet-cli %files devel %defattr(-,root,root) %{_includedir}/lxqt/ +%{_libdir}/pkgconfig/lxqt-wallet.pc +%{_libdir}/liblxqt-wallet.so + +%files -n %{c_lib} +%defattr(-,root,root) +%{_libdir}/liblxqt-wallet.so.3.0.0 %files lang %defattr(-,root,root) -%dir %{_datadir}/%{srcname} -%dir %{_datadir}/%{srcname}/translations* -%{_datadir}/%{srcname}/translations*/*.qm +%dir %{_datadir}/lxqt +%dir %{_datadir}/lxqt/translations/ +%dir %{_datadir}/lxqt/translations/lxqt-wallet/ +%{_datadir}/lxqt/translations/lxqt-wallet/*.qm %changelog diff --git a/lxqt_wallet-2.2.0.tar.gz b/lxqt_wallet-2.2.0.tar.gz deleted file mode 100644 index 548b9a6..0000000 --- a/lxqt_wallet-2.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:242446338ed2508b79b4d906473cca241325b720f3fa77fb96db93afb2d12ef7 -size 270505 diff --git a/lxqt_wallet-3.0.0.tar.gz b/lxqt_wallet-3.0.0.tar.gz new file mode 100644 index 0000000..464a9a4 --- /dev/null +++ b/lxqt_wallet-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47c19a3d70e28df9e783aabaa85ca38c497f18d1577c2c2fe5ca9afe45e5bdbe +size 264342