diff --git a/.gitignore b/.gitignore index e69de29..5d398e9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/kaccounts-providers-15.03.95.tar.xz diff --git a/kaccounts-providers.spec b/kaccounts-providers.spec new file mode 100644 index 0000000..d912568 --- /dev/null +++ b/kaccounts-providers.spec @@ -0,0 +1,57 @@ +Name: kaccounts-providers +Version: 15.03.95 +Release: 1%{?dist} +Summary: Additional service providers for KAccounts framework +License: GPLv2 +URL: https://projects.kde.org/projects/kde/kdenetwork/kaccounts-providers +BuildArch: noarch + +%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: intltool +BuildRequires: libaccounts-glib-devel + +Requires: sigon-ui + +%description +%{summary}. + +%prep +%setup -q -n kaccounts-providers-%{version} + + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + +%files +%license COPYING +%{_datadir}/accounts/providers/*.provider +%config %{_sysconfdir}/signon-ui/webkit-options.d/* + +%changelog +* Tue Mar 21 2015 Daniel Vrátil - 15.03.95-1 +- update to latest beta +- fix license + +* Wed Mar 25 2015 Daniel Vrátil - 15.03.90-2 +- use %%config +- use %%license instead of %%doc + +* Tue Mar 17 2015 Daniel Vrátil - 15.03.90-1 +- Initial version diff --git a/sources b/sources index e69de29..85c2da6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ef5d2e40fabd04728e4898a99f15de30 kaccounts-providers-15.03.95.tar.xz