- Enable building with libsecret as backend additionally to kde
support - Run spec-cleaner OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-wallet?expand=0&rev=8
This commit is contained in:
parent
b591b2e044
commit
38028b81f1
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 13:11:41 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Enable building with libsecret as backend additionally to kde
|
||||
support
|
||||
- Run spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 10:25:19 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lxqt-wallet
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,9 +12,10 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define c_lib lib%{name}6_0_0
|
||||
%define srcname lxqt_wallet
|
||||
Name: lxqt-wallet
|
||||
@ -23,22 +24,23 @@ Release: 0
|
||||
Summary: Secure storage of information for LXQt
|
||||
License: BSD-2-Clause
|
||||
Group: System/GUI/LXQt
|
||||
Url: https://github.com/mhogomchungu/lxqt_wallet
|
||||
URL: https://github.com/mhogomchungu/lxqt_wallet
|
||||
Source0: https://github.com/mhogomchungu/lxqt_wallet/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
|
||||
BuildRequires: cmake >= 3.18
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: qt6-linguist-devel
|
||||
BuildRequires: pkgconfig
|
||||
# Uses internal storage system
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: qt6-linguist-devel
|
||||
BuildRequires: cmake(KF5Notifications)
|
||||
# Uses kwallet as backend
|
||||
BuildRequires: cmake(KF5Wallet)
|
||||
BuildRequires: cmake(KF5Notifications)
|
||||
# Could also use gnome secret service
|
||||
#BuildRequires: libsecret-devel
|
||||
BuildRequires: pkgconfig(Qt6Core)
|
||||
BuildRequires: pkgconfig(Qt6Gui)
|
||||
BuildRequires: pkgconfig(Qt6Widgets)
|
||||
# Use libsecret as backend
|
||||
BuildRequires: pkgconfig(libsecret-1)
|
||||
BuildRequires: pkgconfig(libsecret-unstable)
|
||||
Recommends: %{name}-lang
|
||||
|
||||
%description
|
||||
@ -68,11 +70,10 @@ use %{name}.
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DQT5=ON \
|
||||
-DNOKDESUPPORT=OFF \
|
||||
-DNOSECRETSUPPORT=ON
|
||||
-DNOKDESUPPORT=false \
|
||||
-DNOSECRETSUPPORT=false
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
@ -81,23 +82,19 @@ make %{?_smp_mflags}
|
||||
%postun -n %{c_lib} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README* changelog
|
||||
%license LICENSE
|
||||
%doc README* changelog
|
||||
%{_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.*
|
||||
|
||||
|
||||
%files lang
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/lxqt
|
||||
%dir %{_datadir}/lxqt/translations/
|
||||
%dir %{_datadir}/lxqt/translations/lxqt-wallet/
|
||||
|
Loading…
Reference in New Issue
Block a user