|
|
|
@ -7,40 +7,40 @@
|
|
|
|
|
%global tests 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Version: 5.47.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 3 solution for password management
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 3 solution for password management
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
|
|
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
|
%if %{revision} >= 50
|
|
|
|
|
%global stable unstable
|
|
|
|
|
%else
|
|
|
|
|
%global stable stable
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
## upstream patches
|
|
|
|
|
|
|
|
|
|
## upstreamable patches
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
|
BuildRequires: kf5-kconfig-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kconfigwidgets-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kdbusaddons-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kdoctools-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-ki18n-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kiconthemes-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-knotifications-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kservice-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kwindowsystem-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kconfig-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kconfigwidgets-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kdbusaddons-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kdoctools-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-ki18n-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kiconthemes-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-knotifications-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kservice-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kwidgetsaddons-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kwindowsystem-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
@ -48,10 +48,6 @@ BuildRequires: libgcrypt-devel
|
|
|
|
|
# gpgme suppot
|
|
|
|
|
BuildRequires: cmake(Gpgmepp)
|
|
|
|
|
|
|
|
|
|
Obsoletes: kf5-kwallet-runtime < 5.8.0-2
|
|
|
|
|
Provides: kf5-kwallet-runtime = %{version}-%{release}
|
|
|
|
|
Provides: kf5-kwallet-runtime%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
# gpg support ui
|
|
|
|
@ -91,7 +87,7 @@ pushd %{_target_platform}
|
|
|
|
|
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
%make-build -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -119,8 +115,7 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||:
|
|
|
|
|
%{_kf5_bindir}/kwallet-query
|
|
|
|
|
%{_mandir}/man1/kwallet-query.1*
|
|
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
%{_kf5_libdir}/libKF5Wallet.so.*
|
|
|
|
@ -137,6 +132,9 @@ make test ARGS="--output-on-failure --timeout 30" -C %{_target_platform} ||:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-2
|
|
|
|
|
- cleanup, use %%majmin %make_build %%ldconfig_scriptlets, drop old Obsoletes
|
|
|
|
|
|
|
|
|
|
* Sat Jun 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-1
|
|
|
|
|
- 5.47.0
|
|
|
|
|
|
|
|
|
|