428daa8
%global srcname         wallpapers
428daa8
428daa8
Name:           elementary-wallpapers
428daa8
Summary:        Collection of wallpapers from the elementary project
428daa8
Version:        5.0
428daa8
Release:        1%{?dist}
428daa8
428daa8
# License breakdown is available in debian/copyright
428daa8
License:        Public Domain
428daa8
428daa8
URL:            https://github.com/elementary/%{srcname}
428daa8
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
428daa8
428daa8
# background settings file for gnome-control-center
428daa8
Source1:        %{name}.xml
428daa8
428daa8
BuildRequires:  coreutils
428daa8
428daa8
BuildArch:      noarch
428daa8
428daa8
Provides:       pandora-wallpapers = %{version}-%{release}
428daa8
Obsoletes:      pandora-wallpapers < 0.1.8-2
428daa8
428daa8
428daa8
%description
428daa8
This is the official collection of wallpapers from the elementary
428daa8
project.
428daa8
428daa8
428daa8
%package        gnome
428daa8
Summary:        Collection of wallpapers from elementary (GNOME settings)
428daa8
Requires:       %{name} = %{version}-%{release}
428daa8
%description    gnome
428daa8
This is the official collection of wallpapers from the elementary
428daa8
project. This package contains the settings file that will make the
428daa8
wallpapers show up in gnome-control-center.
428daa8
428daa8
428daa8
%prep
428daa8
%autosetup -n %{srcname}-%{version}
428daa8
428daa8
428daa8
%build
428daa8
# Nothing to do
428daa8
428daa8
428daa8
%install
428daa8
mkdir -p %{buildroot}/%{_datadir}/backgrounds/elementary
428daa8
cp -pav *.jpg %{buildroot}/%{_datadir}/backgrounds/elementary/
428daa8
428daa8
mkdir -p %{buildroot}/%{_datadir}/gnome-background-properties
428daa8
cp %{SOURCE1} %{buildroot}/%{_datadir}/gnome-background-properties/
428daa8
428daa8
428daa8
%files
428daa8
%license debian/copyright
428daa8
%doc README.md
428daa8
428daa8
%{_datadir}/backgrounds/elementary/
428daa8
428daa8
%files gnome
428daa8
%{_datadir}/gnome-background-properties/elementary-wallpapers.xml
428daa8
428daa8
428daa8
%changelog
428daa8
* Sun Jan 21 2018 Fabio Valentini <decathorpe@gmail.com> - 5.0-1
428daa8
- Initial package obsoleting pandora-wallpapers.
428daa8
428daa8