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 20090703
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: e90ffe6b73747731a1d9d7c456e3e411
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: Tabs for uzbl
35 Group: X11/Applications/Networking
36 Requires: %{name} = %{epoch}:%{version}-%{release}
39 Wrapper for uzbl that provides firefox-style tabs.
42 Summary: Example config and scripts for uzbl
43 Summary(hu.UTF-8): Példa konfigurációs fájlok és szkriptek uzbl-hez
44 Summary(pl.UTF8): Przykładowa konfiguracja i skrypty dla uzbl
46 Requires: %{name} = %{epoch}:%{version}-%{release}
52 Example config files and scripts for uzbl. If you want just try uzbl
53 install this package and run:
55 uzbl -c %{_datadir}/uzbl/configs/sampleconfig
57 %description examples -l hu.UTF-8
58 Példa konfigurációs fájlok és szkriptek uzbl-hez. Ha ki akarod
59 próbálni az uzbl-lel, akkor telepítsd ezt a csomagot és a következő
60 paranccsal indíthatod:
62 uzbl -c %{_datadir}/uzbl/configs/sampleconfig
65 %setup -q -n %{name}-%{gitdate}
67 find examples -type f | xargs sed -i 's,/examples/,/,g'
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
79 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py $RPM_BUILD_ROOT%{_bindir}/uzbl_tabbed
82 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/* $RPM_BUILD_ROOT%{_datadir}/uzbl
83 rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
86 rm -rf $RPM_BUILD_ROOT
89 %defattr(644,root,root,755)
90 %doc AUTHORS README docs/*
91 %attr(755,root,root) %{_bindir}/uzbl
92 %attr(755,root,root) %{_bindir}/uzblctrl
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_bindir}/uzbl_tabbed
99 %defattr(644,root,root,755)
100 %dir %{_datadir}/uzbl
101 %dir %{_datadir}/uzbl/data
102 %dir %{_datadir}/uzbl/data/uzbl
103 %dir %{_datadir}/uzbl/data/uzbl/scripts
104 %attr(755,root,root) %{_datadir}/uzbl/data/uzbl/scripts/*
105 %{_datadir}/uzbl/data/uzbl/forms
106 %{_datadir}/uzbl/data/uzbl/bookmarks
107 %{_datadir}/uzbl/data/uzbl/*.*
108 %{_datadir}/uzbl/config