[packages/xfce4-artwork] install backgrounds in _datadir/backgrounds/xfce (like xfdesktop)

sls sls at pld-linux.org
Mon Oct 20 13:34:54 CEST 2014


commit 2e3dd5eb054e4206eba9667b82e72d4797015300
Author: Szymon Siwek <sls at pld-linux.org>
Date:   Mon Oct 20 13:26:15 2014 +0200

    install backgrounds in _datadir/backgrounds/xfce (like xfdesktop)

 xfce4-artwork.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/xfce4-artwork.spec b/xfce4-artwork.spec
index da75370..9f4a6fb 100644
--- a/xfce4-artwork.spec
+++ b/xfce4-artwork.spec
@@ -12,6 +12,8 @@ URL:		http://xfce-goodies.berlios.de/
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		bgdir	%{_datadir}/backgrounds/xfce
+
 %description
 Additional artwork (backgrounds...) for the Xfce desktop environment.
 
@@ -30,6 +32,7 @@ Dodatkowe ozdobniki (tapety...) dla środowiska Xfce.
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
+	backdropsdir=$RPM_BUILD_ROOT%{bgdir}
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -38,5 +41,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README 
-%dir %{_datadir}/xfce4/backdrops
-%{_datadir}/xfce4/backdrops/*
+%{bgdir}/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xfce4-artwork.git/commitdiff/817a92706cbac080c13f66cb4bc4de9af35147d8



More information about the pld-cvs-commit mailing list