- 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>
|
Thu Oct 24 10:25:19 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lxqt-wallet
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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 c_lib lib%{name}6_0_0
|
||||||
%define srcname lxqt_wallet
|
%define srcname lxqt_wallet
|
||||||
Name: lxqt-wallet
|
Name: lxqt-wallet
|
||||||
@ -23,22 +24,23 @@ Release: 0
|
|||||||
Summary: Secure storage of information for LXQt
|
Summary: Secure storage of information for LXQt
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: System/GUI/LXQt
|
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
|
Source0: https://github.com/mhogomchungu/lxqt_wallet/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
|
||||||
BuildRequires: cmake >= 3.18
|
BuildRequires: cmake >= 3.18
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: qt6-linguist-devel
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
# Uses internal storage system
|
# Uses internal storage system
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgcrypt-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: qt6-linguist-devel
|
||||||
|
BuildRequires: cmake(KF5Notifications)
|
||||||
# Uses kwallet as backend
|
# Uses kwallet as backend
|
||||||
BuildRequires: cmake(KF5Wallet)
|
BuildRequires: cmake(KF5Wallet)
|
||||||
BuildRequires: cmake(KF5Notifications)
|
|
||||||
# Could also use gnome secret service
|
|
||||||
#BuildRequires: libsecret-devel
|
|
||||||
BuildRequires: pkgconfig(Qt6Core)
|
BuildRequires: pkgconfig(Qt6Core)
|
||||||
BuildRequires: pkgconfig(Qt6Gui)
|
BuildRequires: pkgconfig(Qt6Gui)
|
||||||
BuildRequires: pkgconfig(Qt6Widgets)
|
BuildRequires: pkgconfig(Qt6Widgets)
|
||||||
|
# Use libsecret as backend
|
||||||
|
BuildRequires: pkgconfig(libsecret-1)
|
||||||
|
BuildRequires: pkgconfig(libsecret-unstable)
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -68,11 +70,10 @@ use %{name}.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
-DQT5=ON \
|
-DNOKDESUPPORT=false \
|
||||||
-DNOKDESUPPORT=OFF \
|
-DNOSECRETSUPPORT=false
|
||||||
-DNOSECRETSUPPORT=ON
|
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
@ -81,23 +82,19 @@ make %{?_smp_mflags}
|
|||||||
%postun -n %{c_lib} -p /sbin/ldconfig
|
%postun -n %{c_lib} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc LICENSE README* changelog
|
%doc README* changelog
|
||||||
%{_bindir}/lxqt_wallet-cli
|
%{_bindir}/lxqt_wallet-cli
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/lxqt/
|
%{_includedir}/lxqt/
|
||||||
%{_libdir}/pkgconfig/lxqt-wallet.pc
|
%{_libdir}/pkgconfig/lxqt-wallet.pc
|
||||||
%{_libdir}/liblxqt-wallet.so
|
%{_libdir}/liblxqt-wallet.so
|
||||||
|
|
||||||
%files -n %{c_lib}
|
%files -n %{c_lib}
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/liblxqt-wallet.so.*
|
%{_libdir}/liblxqt-wallet.so.*
|
||||||
|
|
||||||
|
|
||||||
%files lang
|
%files lang
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_datadir}/lxqt
|
%dir %{_datadir}/lxqt
|
||||||
%dir %{_datadir}/lxqt/translations/
|
%dir %{_datadir}/lxqt/translations/
|
||||||
%dir %{_datadir}/lxqt/translations/lxqt-wallet/
|
%dir %{_datadir}/lxqt/translations/lxqt-wallet/
|
||||||
|
Loading…
Reference in New Issue
Block a user