]> git.pld-linux.org Git - packages/uzbl.git/commitdiff
- better location for scripts and data auto/th/uzbl-0-0_20090526_1
authorpawelz <pawelz@pld-linux.org>
Fri, 29 May 2009 18:20:45 +0000 (18:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- mark scripts as executables

Changed files:
    uzbl.spec -> 1.2

uzbl.spec

index db229db8b1af4060c5b978e700fb89f048e42c21..cfaed9cbea7a48ba607d9a7fce6664e0f9cc41cd 100644 (file)
--- a/uzbl.spec
+++ b/uzbl.spec
@@ -23,6 +23,8 @@ with modifier keys) browser based on Webkit.
 %prep
 %setup -q -n %{name}-%{gitdate}
 
+find examples -type f | xargs sed -i 's,/examples/,/,g'
+
 %build
 %{__make}
 
@@ -32,6 +34,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__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
 
@@ -40,4 +45,7 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.16836 seconds and 4 git commands to generate.