Dan Vrátil 9aa5656
%global framework kwallet
Dan Vrátil 2f74809
Dan Vrátil 2f74809
Name:           kf5-%{framework}
Dan Vrátil ad5c69b
Version:        5.8.0
Dan Vrátil ad5c69b
Release:        1%{?dist}
Dan Vrátil 2f74809
Summary:        KDE Frameworks 5 Tier 3 solution for password management
Dan Vrátil 2f74809
Dan Vrátil 2f74809
License:        LGPLv2+
Dan Vrátil 2f74809
URL:            http://www.kde.org
Dan Vrátil 557acd6
Dan Vrátil 15bcb39
%global versiondir %(echo %{version} | cut -d. -f1-2)
Dan Vrátil 557acd6
%global revision %(echo %{version} | cut -d. -f3)
Dan Vrátil 557acd6
%if %{revision} >= 50
Dan Vrátil 557acd6
%global stable unstable
Dan Vrátil 557acd6
%else
Dan Vrátil 557acd6
%global stable stable
Dan Vrátil 557acd6
%endif
Dan Vrátil 15bcb39
Source0:        http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
Dan Vrátil 2f74809
Dan Vrátil 2f74809
BuildRequires:  libgcrypt-devel
Dan Vrátil 2f74809
BuildRequires:  kf5-rpm-macros
Dan Vrátil 2f74809
BuildRequires:  extra-cmake-modules
Dan Vrátil 2f74809
BuildRequires:  qt5-qtbase-devel
Dan Vrátil 2f74809
Dan Vrátil 2f74809
BuildRequires:  kf5-kconfig-devel
Dan Vrátil 2f74809
BuildRequires:  kf5-kwindowsystem-devel
Dan Vrátil 2f74809
BuildRequires:  kf5-kcoreaddons-devel
Dan Vrátil 2f74809
BuildRequires:  kf5-kdbusaddons-devel
Dan Vrátil 2f74809
BuildRequires:  kf5-ki18n-devel
Dan Vrátil 2f74809
BuildRequires:  kf5-kiconthemes-devel
Dan Vrátil 2f74809
BuildRequires:  kf5-knotifications-devel
Dan Vrátil 2f74809
BuildRequires:  kf5-kservice-devel
Dan Vrátil 2f74809
BuildRequires:  kf5-kwidgetsaddons-devel
Dan Vrátil 2f74809
Dan Vrátil 2f74809
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
Dan Vrátil 2f74809
Requires:       %{name}-runtime%{?_isa} = %{version}-%{release}
Dan Vrátil 2f74809
Dan Vrátil 2f74809
%description
Dan Vrátil 2f74809
KWallet is a secure and unified container for user passwords.
Dan Vrátil 2f74809
Dan Vrátil 2f74809
%package        libs
Dan Vrátil 2f74809
Summary:        KWallet framework libraries
Dan Vrátil 2f74809
Requires:       kf5-filesystem
Dan Vrátil 2f74809
%description    libs
Dan Vrátil 2f74809
Provides API to access KWallet data from applications.
Dan Vrátil 2f74809
Dan Vrátil 2f74809
%package        runtime
Dan Vrátil 2f74809
Summary:        KWallet runtime deamon
Dan Vrátil 2f74809
Dan Vrátil 2f74809
%description    runtime
Dan Vrátil 2f74809
Provides a runtime deamon that stores passwords.
Dan Vrátil 2f74809
Dan Vrátil 2f74809
# FIXME: -devel can only depend on -api, otherwise we get circular  dependency
Dan Vrátil 2f74809
# problem, because -runtime depends on kf5-kded, which is not compiled at this point
Dan Vrátil 2f74809
# (kf5-kio requires kf5-kwallet, but kf5-kded requires kf5-kinit, which requires kf5-kio)
Dan Vrátil 2f74809
%package        devel
Dan Vrátil 2f74809
Summary:        Development files for %{name}
Dan Vrátil 2f74809
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
Dan Vrátil 2f74809
Requires:       kf5-kconfig-devel
Dan Vrátil 2f74809
Requires:       kf5-kwindowsystem-devel
Dan Vrátil 12e98e6
Requires:       qt5-qtbase-devel
Dan Vrátil 2f74809
Dan Vrátil 2f74809
%description    devel
Dan Vrátil 2f74809
The %{name}-devel package contains libraries and header files for
Dan Vrátil 2f74809
developing applications that use %{name}.
Dan Vrátil 2f74809
Dan Vrátil 557acd6
Dan Vrátil 2f74809
%prep
Dan Vrátil 2f74809
%setup -q -n %{framework}-%{version}
Dan Vrátil 2f74809
Dan Vrátil 2f74809
%build
Dan Vrátil 2f74809
mkdir -p %{_target_platform}
Dan Vrátil 2f74809
pushd %{_target_platform}
Dan Vrátil 2f74809
%{cmake_kf5} ..
Dan Vrátil 2f74809
popd
Dan Vrátil 2f74809
Dan Vrátil 2f74809
make %{?_smp_mflags} -C %{_target_platform}
Dan Vrátil 2f74809
Dan Vrátil 2f74809
%install
Dan Vrátil 9d18fd4
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
Dan Vrátil d0e2fb5
%find_lang kwalletd5_qt --with-qt --all-name
Dan Vrátil 2f74809
Dan Vrátil 2f74809
Dan Vrátil 2f74809
%files
Dan Vrátil 2f74809
%doc COPYING.LIB README.md
Dan Vrátil 2f74809
Dan Vrátil 557acd6
%post libs -p /sbin/ldconfig
Dan Vrátil 557acd6
%postun libs -p /sbin/ldconfig
Dan Vrátil 557acd6
Dan Vrátil 2f74809
%files libs
Dan Vrátil 2f74809
%{_kf5_libdir}/libKF5Wallet.so.*
Dan Vrátil 2f74809
%{_kf5_libdir}/libkwalletbackend5.so.*
Dan Vrátil 2f74809
Dan Vrátil fed3267
%files runtime -f kwalletd5_qt.lang
Dan Vrátil 2f74809
%{_kf5_datadir}/dbus-1/services/org.kde.kwalletd5.service
Dan Vrátil 1d3bade
%{_kf5_datadir}/dbus-1/services/org.kde.kwalletd.service
Dan Vrátil 2f74809
%{_kf5_bindir}/kwalletd5
Dan Vrátil 2f74809
%{_kf5_datadir}/kservices5/kwalletd5.desktop
Dan Vrátil 2f74809
%{_kf5_datadir}/knotifications5/kwalletd.notifyrc
Dan Vrátil 2f74809
Dan Vrátil 2f74809
%files devel
Dan Vrátil 2f74809
%{_kf5_datadir}/dbus-1/interfaces/kf5_org.kde.KWallet.xml
Dan Vrátil 2f74809
%{_kf5_includedir}/kwallet_version.h
Dan Vrátil 2f74809
%{_kf5_includedir}/KWallet
Dan Vrátil 2f74809
%{_kf5_libdir}/cmake/KF5Wallet
Dan Vrátil 2f74809
%{_kf5_libdir}/libKF5Wallet.so
Dan Vrátil 2f74809
%{_kf5_libdir}/libkwalletbackend5.so
Dan Vrátil 2f74809
%{_kf5_archdatadir}/mkspecs/modules/qt_KWallet.pri
Dan Vrátil 2f74809
Dan Vrátil 557acd6
Dan Vrátil 2f74809
%changelog
Dan Vrátil ad5c69b
* Mon Mar 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.8.0-1
Dan Vrátil ad5c69b
- KDE Frameworks 5.8.0
Dan Vrátil ad5c69b
Dan Vrátil 0f25433
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-2
Dan Vrátil 0f25433
- Rebuild (GCC 5)
Dan Vrátil 0f25433
Dan Vrátil 12e98e6
* Mon Feb 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil 12e98e6
- KDE Frameworks 5.7.0
Dan Vrátil 12e98e6
Dan Vrátil 12e98e6
* Mon Feb 09 2015 Daniel Vrátil <dvratil@redhat.com> - 5.7.0-1
Dan Vrátil 12e98e6
- KDE Frameworks 5.7.0
Dan Vrátil 12e98e6
Dan Vrátil 000209f
* Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
Dan Vrátil 000209f
- KDE Frameworks 5.6.0
Dan Vrátil 000209f
Dan Vrátil 15bcb39
* Mon Dec 08 2014 Daniel Vrátil <dvratil@redhat.com> - 5.5.0-1
Dan Vrátil 15bcb39
- KDE Frameworks 5.5.0
Dan Vrátil 15bcb39
Dan Vrátil e1fd527
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
Dan Vrátil e1fd527
- KDE Frameworks 5.4.0
Dan Vrátil e1fd527
Dan Vrátil d3e3bf4
* Tue Oct 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
Dan Vrátil d3e3bf4
- KDE Frameworks 5.3.0
Dan Vrátil d3e3bf4
Dan Vrátil 5310ef7
* Mon Sep 15 2014 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
Dan Vrátil 5310ef7
- KDE Frameworks 5.2.0
Dan Vrátil 5310ef7
2bc10d3
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.0-2
2bc10d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2bc10d3
Dan Vrátil 8d5a6d2
* Wed Aug 06 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
Dan Vrátil 8d5a6d2
- KDE Frameworks 5.1.0
Dan Vrátil 8d5a6d2
Dan Vrátil 53c9c6d
* Wed Jul 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
Dan Vrátil 53c9c6d
- KDE Frameworks 5.0.0
Dan Vrátil 53c9c6d
Dan Vrátil 2f74809
* Tue Jun 24 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-2
Dan Vrátil 2f74809
- Fix %%post and %%postun
Dan Vrátil 2f74809
- Removed kf5-kded from Requires to avoid circular dependency
Dan Vrátil 2f74809
Dan Vrátil 2f74809
* Tue Jun 03 2014 Daniel Vrátil <dvratil@redhat.com> - 4.100.0-1
Dan Vrátil 2f74809
- KDE Frameworks 4.100.0
Dan Vrátil 2f74809
Dan Vrátil 2f74809
* Wed May 14 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0-3
Dan Vrátil 2f74809
- Fix Provides/Obsoletes
Dan Vrátil 2f74809
Dan Vrátil 2f74809
* Mon May 05 2014 Daniel Vrátil <dvratil@redhat.com> - 4.99.0-1
Dan Vrátil 2f74809
- KDE Frameworks 4.99.0
Dan Vrátil 2f74809
Dan Vrátil 2f74809
* Tue Apr 22 2014 dvratil <dvratil@redhat.com> - 4.98.0-3.20140422git388f0660
Dan Vrátil 2f74809
- rename -api to -libs to follow naming conventions
Dan Vrátil 2f74809
- libkwalletbackend5 belongs to -libs, not -runtime
Dan Vrátil 2f74809
Dan Vrátil 2f74809
* Tue Apr 22 2014 dvratil <dvratil@redhat.com> - 4.98.0-2.20140422git388f0660
Dan Vrátil 2f74809
- -devel can only Require -api, otherwise we have circular dependency problem
Dan Vrátil 2f74809
Dan Vrátil 2f74809
* Mon Mar 31 2014 Jan Grulich <jgrulich@redhat.com> 4.98.0-1
Dan Vrátil 2f74809
- Update to KDE Frameworks 5 Beta 1 (4.98.0)
Dan Vrátil 2f74809
Dan Vrátil 2f74809
* Wed Mar 05 2014 Jan Grulich <jgrulich@redhat.com> 4.97.0-1
Dan Vrátil 2f74809
- Update to KDE Frameworks 5 Alpha 1 (4.97.0)
Dan Vrátil 2f74809
Dan Vrátil 2f74809
* Wed Feb 12 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-1
Dan Vrátil 2f74809
- Update to KDE Frameworks 5 Alpha 1 (4.96.0)
Dan Vrátil 2f74809
Dan Vrátil 2f74809
* Wed Feb 05 2014 Daniel Vrátil <dvratil@redhat.com> 4.96.0-0.1.20140205git
Dan Vrátil 2f74809
- Update to pre-relase snapshot of 4.96.0
Dan Vrátil 2f74809
Dan Vrátil 2f74809
* Thu Jan 09 2014 Daniel Vrátil <dvratil@redhat.com> 4.95.0-1
Dan Vrátil 2f74809
- Update to KDE Frameworks 5 TP1 (4.95.0)
Dan Vrátil 2f74809
Dan Vrátil 2f74809
* Sat Jan  4 2014 Daniel Vrátil <dvratil@redhat.com>
Dan Vrátil 2f74809
- initial version