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 20090607
8 Summary: A keyboard controlled (modal vim-like bindings, or with modifier keys) browser based on Webkit
9 Summary(hu.UTF-8): Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok) böngésző Webkit alapokon
12 Release: 0.%{gitdate}.1
14 Group: X11/Applications/Networking
15 Source0: %{name}-%{gitdate}.tar.xz
16 # Source0-md5: 765305c15a96656b6f702673db821e8b
17 URL: http://www.uzbl.org/
18 BuildRequires: curl-devel
19 BuildRequires: gtk+2-devel
20 BuildRequires: gtk-webkit-devel
21 BuildRequires: libsoup-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The uzbl browser is a keyboard controlled (modal vim-like bindings, or
26 with modifier keys) browser based on Webkit.
28 %description -l hu.UTF-8
29 Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok)
30 böngésző Webkit alapokon.
33 Summary: Example config and scripts for uzbl
34 Summary(hu.UTF-8): Példa konfigurációs fájlok és szkriptek uzbl-hez
35 Summary(pl.UTF8): Przykładowa konfiguracja i skrypty dla uzbl
37 Requires: %{name} = %{epoch}:%{version}-%{release}
43 Example config files and scripts for uzbl. If you want just try uzbl
44 install this package and run:
46 uzbl -c %{_datadir}/uzbl/configs/sampleconfig
48 %description examples -l hu.UTF-8
49 Példa konfigurációs fájlok és szkriptek uzbl-hez. Ha ki akarod
50 próbálni az uzbl-lel, akkor telepítsd ezt a csomagot és a következő
51 paranccsal indíthatod:
53 uzbl -c %{_datadir}/uzbl/configs/sampleconfig
56 %setup -q -n %{name}-%{gitdate}
58 find examples -type f | xargs sed -i 's,/examples/,/,g'
64 rm -rf $RPM_BUILD_ROOT
67 DESTDIR=$RPM_BUILD_ROOT
69 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/* $RPM_BUILD_ROOT%{_datadir}/uzbl
70 rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
77 %doc AUTHORS README docs/*
78 %attr(755,root,root) %{_bindir}/uzbl
79 %attr(755,root,root) %{_bindir}/uzblctrl
82 %defattr(644,root,root,755)
84 %dir %{_datadir}/uzbl/scripts
85 %attr(755,root,root) %{_datadir}/uzbl/scripts/*
87 %{_datadir}/uzbl/configs