diff --git a/.gitignore b/.gitignore index e69de29..ed19fe2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +/kaccounts-integration-15.03.90.tar.xz +/kaccounts-integration-15.03.95.tar.xz diff --git a/kaccounts-integration.spec b/kaccounts-integration.spec new file mode 100644 index 0000000..9ad0da4 --- /dev/null +++ b/kaccounts-integration.spec @@ -0,0 +1,98 @@ +Name: kaccounts-integration +Version: 15.03.95 +Release: 1%{?dist} +Summary: Small system to administer web accounts across the KDE desktop +License: GPLv2+ +URL: https://projects.kde.org/projects/kde/kdenetwork/kaccounts-integration + +%global revision %(echo %{version} | cut -d. -f3) +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz + +BuildRequires: extra-cmake-modules +BuildRequires: kf5-rpm-macros +BuildRequires: qt5-qtbase-devel + +BuildRequires: kf5-kcmutils-devel +BuildRequires: kf5-kio-devel +BuildRequires: kf5-ki18n-devel +BuildRequires: kf5-kwidgetsaddons-devel +BuildRequires: kf5-kcoreaddons-devel +BuildRequires: kf5-kiconthemes-devel +BuildRequires: kf5-kconfig-devel +BuildRequires: kf5-kwallet-devel +BuildRequires: kf5-kdbusaddons-devel + +BuildRequires: libaccounts-qt5-devel +BuildRequires: signon-devel + +Requires: signon +Requires: signon-plugin-oauth2 + +Obsoletes: kaccounts < 15.03 +Provides: kaccounts = %{version}-%{release} + +%description +Small system to administer web accounts for the sites and services +across the KDE desktop. + +%package devel +Summary: Development files for accounts-qt +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: qt5-qtbase-devel%{?_isa} +Requires: kf5-kcoreaddons-devel%{?_isa} +Requires: libaccounts-qt5-devel%{?_isa} +Requires: signon-devel%{?_isa} + +%description devel +Headers, development libraries and documentation for %{name}. + +%prep +%setup -q -n kaccounts-integration-%{version} + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake_kf5} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%doc README +%license COPYING +%{_kf5_qtplugindir}/kcm_kaccounts.so +%{_kf5_datadir}/kservices5/kcm_kaccounts.desktop +%{_kf5_qtplugindir}/kded_accounts.so +%{_kf5_datadir}/kservices5/kded/accounts.desktop +%{_kf5_libdir}/libkaccounts.so.* + +%files devel +%{_kf5_libdir}/libkaccounts.so +%{_kf5_libdir}/cmake/KAccounts +%{_includedir}/KAccounts + +%changelog +* Tue Mar 31 2015 Daniel Vrátil - 15.03.95-1 +- update to latest beta + +* Wed Mar 25 2015 Daniel Vrátil - 15.03.90-2 +- fix license +- fix summary +- fix typos in changelog +- use %%license + +* Tue Mar 17 2015 Daniel Vrátil - 15.03.90-1 +- Initial version diff --git a/sources b/sources index e69de29..7d3321b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0b5d08e3b9719248ed888496854c04ae kaccounts-integration-15.03.95.tar.xz