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
5 # - ... rewrite example config and scripts from scratch.
7 %define gitdate 20090620
9 Summary: A keyboard controlled (modal vim-like bindings, or with modifier keys) browser based on Webkit
10 Summary(hu.UTF-8): Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok) böngésző Webkit alapokon
13 Release: 0.%{gitdate}.1
15 Group: X11/Applications/Networking
16 Source0: %{name}-%{gitdate}.tar.xz
17 # Source0-md5: 314bbf2d41bfa2aab9644dd6bced5184
18 URL: http://www.uzbl.org/
19 BuildRequires: curl-devel
20 BuildRequires: gtk+2-devel
21 BuildRequires: gtk-webkit-devel
22 BuildRequires: libsoup-devel
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 The uzbl browser is a keyboard controlled (modal vim-like bindings, or
27 with modifier keys) browser based on Webkit.
29 %description -l hu.UTF-8
30 Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok)
31 böngésző Webkit alapokon.
34 Summary: Example config and scripts for uzbl
35 Summary(hu.UTF-8): Példa konfigurációs fájlok és szkriptek uzbl-hez
36 Summary(pl.UTF8): Przykładowa konfiguracja i skrypty dla uzbl
38 Requires: %{name} = %{epoch}:%{version}-%{release}
44 Example config files and scripts for uzbl. If you want just try uzbl
45 install this package and run:
47 uzbl -c %{_datadir}/uzbl/configs/sampleconfig
49 %description examples -l hu.UTF-8
50 Példa konfigurációs fájlok és szkriptek uzbl-hez. Ha ki akarod
51 próbálni az uzbl-lel, akkor telepítsd ezt a csomagot és a következő
52 paranccsal indíthatod:
54 uzbl -c %{_datadir}/uzbl/configs/sampleconfig
57 %setup -q -n %{name}-%{gitdate}
59 find examples -type f | xargs sed -i 's,/examples/,/,g'
65 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT
70 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/* $RPM_BUILD_ROOT%{_datadir}/uzbl
71 rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
78 %doc AUTHORS README docs/*
79 %attr(755,root,root) %{_bindir}/uzbl
80 %attr(755,root,root) %{_bindir}/uzblctrl
83 %defattr(644,root,root,755)
85 %dir %{_datadir}/uzbl/data
86 %dir %{_datadir}/uzbl/data/uzbl
87 %dir %{_datadir}/uzbl/data/uzbl/scripts
88 %attr(755,root,root) %{_datadir}/uzbl/data/uzbl/scripts/*
89 %{_datadir}/uzbl/data/uzbl/forms
90 %{_datadir}/uzbl/data/uzbl/bookmarks
91 %{_datadir}/uzbl/data/uzbl/*.*
92 %{_datadir}/uzbl/config