packages: calibre/calibre.spec - fix install of xdg stuff, files need updating

baggins baggins at pld-linux.org
Sat Jun 30 22:50:50 CEST 2012


Author: baggins                      Date: Sat Jun 30 20:50:50 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix install of xdg stuff, files need updating

---- Files affected:
packages/calibre:
   calibre.spec (1.144 -> 1.145) 

---- Diffs:

================================================================
Index: packages/calibre/calibre.spec
diff -u packages/calibre/calibre.spec:1.144 packages/calibre/calibre.spec:1.145
--- packages/calibre/calibre.spec:1.144	Thu Jun 21 14:49:26 2012
+++ packages/calibre/calibre.spec	Sat Jun 30 22:50:45 2012
@@ -139,7 +139,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+# create directories for xdg-utils
+install -d $RPM_BUILD_ROOT%{_datadir}/{icons/hicolor,packages,mime/packages,applications,desktop-directories}
 
+XDG_DATA_DIRS="$RPM_BUILD_ROOT%{_datadir}" \
+XDG_UTILS_INSTALL_MODE="system" \
+LIBPATH="%{_libdir}" \
 %{__python} setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--libdir="%{_libdir}"
@@ -218,6 +223,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.145  2012/06/30 20:50:45  baggins
+- fix install of xdg stuff, files need updating
+
 Revision 1.144  2012/06/21 12:49:26  baggins
 - release 5 (by relup.sh)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/calibre/calibre.spec?r1=1.144&r2=1.145



More information about the pld-cvs-commit mailing list