diff --git a/.gitignore b/.gitignore index bfd802d..f431d2e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -/kde-wallpapers-15.04.1.tar.xz -/kde-wallpapers-15.04.2.tar.xz -/kde-wallpapers-15.08.0.tar.xz +/kde-wallpapers-15.08.3.tar.xz diff --git a/kde-wallpapers.spec b/kde-wallpapers.spec index 004844b..1af3507 100644 --- a/kde-wallpapers.spec +++ b/kde-wallpapers.spec @@ -1,12 +1,18 @@ Summary: KDE Wallpapers Name: kde-wallpapers -Version: 15.08.0 +Version: 15.08.3 Release: 1%{?dist} License: LGPLv3 URL: http://www.kde.org/ -Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kde-wallpapers-%{version}.tar.xz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +%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 + BuildArch: noarch BuildRequires: kdelibs4-devel >= 4.14 @@ -28,7 +34,7 @@ Provides: kdebase-workspace-wallpapers = %{version}-%{release} %build -mkdir -p %{_target_platform} +mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd @@ -41,7 +47,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %files -%doc LICENSE +%license LICENSE %{_kde4_datadir}/wallpapers/Auros/ %{_kde4_datadir}/wallpapers/Ariya/ %{_kde4_datadir}/wallpapers/Autumn/ @@ -60,6 +66,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Wed Dec 02 2015 Rex Dieter 15.08.3-1 +- 15.08.3, .spec cosmetics + * Thu Aug 20 2015 Than Ngo - 15.08.0-1 - 15.08.0 diff --git a/sources b/sources index e377a81..7b0d872 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -397139f7a31173b6b499acc9d5b84f86 kde-wallpapers-15.08.0.tar.xz +58a6714f58d3edb2181e5ca4cbcfa28e kde-wallpapers-15.08.3.tar.xz