packages: uzbl/uzbl.spec - better location for scripts and data - mark scri...
pawelz
pawelz at pld-linux.org
Fri May 29 20:20:50 CEST 2009
Author: pawelz Date: Fri May 29 18:20:50 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- better location for scripts and data
- mark scripts as executables
---- Files affected:
packages/uzbl:
uzbl.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/uzbl/uzbl.spec
diff -u packages/uzbl/uzbl.spec:1.1 packages/uzbl/uzbl.spec:1.2
--- packages/uzbl/uzbl.spec:1.1 Fri May 29 19:12:57 2009
+++ packages/uzbl/uzbl.spec Fri May 29 20:20:45 2009
@@ -24,6 +24,8 @@
%prep
%setup -q -n %{name}-%{gitdate}
+find examples -type f | xargs sed -i 's,/examples/,/,g'
+
%build
%{__make}
@@ -33,6 +35,9 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/* $RPM_BUILD_ROOT%{_datadir}/uzbl
+rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -41,7 +46,10 @@
%doc AUTHORS README docs/*
%attr(755,root,root) %{_bindir}/uzbl
%attr(755,root,root) %{_bindir}/uzblctrl
-%{_datadir}/uzbl
+%dir %{_datadir}/uzbl/scripts
+%attr(755,root,root) %{_datadir}/uzbl/scripts/*
+%{_datadir}/uzbl/data
+%{_datadir}/uzbl/configs
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -49,6 +57,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2009/05/29 18:20:45 pawelz
+- better location for scripts and data
+- mark scripts as executables
+
Revision 1.1 2009/05/29 17:12:57 pawelz
- initial PLD release
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/uzbl/uzbl.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list