You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
2.6 KiB
99 lines
2.6 KiB
10 years ago
|
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 <dvratil@redhat.com> - 15.03.95-1
|
||
|
- update to latest beta
|
||
|
|
||
|
* Wed Mar 25 2015 Daniel Vrátil <dvratil@redhat.com> - 15.03.90-2
|
||
|
- fix license
|
||
|
- fix summary
|
||
|
- fix typos in changelog
|
||
|
- use %%license
|
||
|
|
||
|
* Tue Mar 17 2015 Daniel Vrátil <dvratil@redhat.com> - 15.03.90-1
|
||
|
- Initial version
|