LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File rave-cube-wallpaper-collection-x1.spec of Package rave-cube-wallpaper-collection-x1 (Project home:Pival81)

Name:		     rave-cube-wallpaper-collection-x1
Version:	     1
Release:	     1
Summary:	     RAVE Cube Wallpaper Collection X1

Group:		     User Interface/Desktops
License:	     GPLv3+
URL:		     http://www.ravefinity.com/p/rave-cube-wallpaper-collection-x1.html
Source0:	     RAVE-Cube-Wallpaper-Collection-X1.zip
Source1:         rave-cube.xml
BuildArch:	     noarch
BuildRequires:   unzip

%description
RAVE Cube Wallpaper Collection is a vivid, vibrant and bold modern wallpaper set by RAVEfinity.

%prep
%autosetup -n RAVE-Cube-Wallpaper-Collection-X1

%build

%install
%if 0%{?suse_version}
wallpaperdir="wallpapers"
%else
wallpaperdir="backgrounds"
%endif

 mkdir -p $RPM_BUILD_ROOT%{_datadir}/$wallpaperdir/images/rave-cube/
 cp -a * $RPM_BUILD_ROOT%{_datadir}/$wallpaperdir/images/rave-cube/
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome-background-properties
 cp %_sourcedir/rave-cube.xml $RPM_BUILD_ROOT%{_datadir}/gnome-background-properties/
 
%post
echo "to see your wallpapers, log out and log in again from your session."

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_datadir}/*

%changelog
* Sun May 29 2016 Valerio Pizzi(Pival81) <pival81@yahoo.com> - 1
- Added the xml file for gnome, to make the wallpapers visible.
* Fri May 27 2016 Valerio Pizzi(Pival81) <pival81@yahoo.com> - 1
- Initial package for Fedora