2 # - Where to place example config files and scripts?
3 # - unbash example scripts
4 # - example scripts should use $XDG_DATA_HOME, not tmp nor /usr/share
6 %define gitdate 20090526
8 Summary: A keyboard controlled (modal vim-like bindings, or with modifier keys) browser based on Webkit
11 Release: 0.%{gitdate}.2
13 Group: X11/Applications/Networking
14 Source0: %{name}-%{gitdate}.tar.xz
15 # Source0-md5: 58a2ccd187b6de901f64b2968c36802d
16 URL: http://www.uzbl.org/
17 BuildRequires: curl-devel
18 BuildRequires: gtk+2-devel
19 BuildRequires: gtk-webkit-devel
20 BuildRequires: libsoup-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The uzbl browser is a keyboard controlled (modal vim-like bindings, or
25 with modifier keys) browser based on Webkit.
28 Summary: Example config and scripts for uzbl
29 Summary(pl.UTF8): Przykładowa konfiguracja i skrypty dla uzbl
33 Requires: %{name} = %{epoch}:%{version}-%{release}
37 Example config files and scripts for uzbl. If you want just try uzbl install
40 uzbl -c %{_datadir}/uzbl/configs/sampleconfig
43 %setup -q -n %{name}-%{gitdate}
45 find examples -type f | xargs sed -i 's,/examples/,/,g'
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
56 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/* $RPM_BUILD_ROOT%{_datadir}/uzbl
57 rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc AUTHORS README docs/*
65 %attr(755,root,root) %{_bindir}/uzbl
66 %attr(755,root,root) %{_bindir}/uzblctrl
70 %dir %{_datadir}/uzbl/scripts
71 %attr(755,root,root) %{_datadir}/uzbl/scripts/*
73 %{_datadir}/uzbl/configs