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 Patch0: uzbl-config.patch
19 URL: http://www.uzbl.org/
20 BuildRequires: curl-devel
21 BuildRequires: gtk+2-devel
22 BuildRequires: gtk-webkit-devel
23 BuildRequires: libsoup-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 The uzbl browser is a keyboard controlled (modal vim-like bindings, or
28 with modifier keys) browser based on Webkit.
30 %description -l hu.UTF-8
31 Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok)
32 böngésző Webkit alapokon.
35 Summary: Tabs for uzbl
36 Summary(hu.UTF-8): Tabok uzbl-hez
37 Group: X11/Applications/Networking
38 Requires: %{name} = %{epoch}:%{version}-%{release}
41 Wrapper for uzbl that provides firefox-style tabs.
43 %description tabbed -l hu.UTF-8
44 Egy uzbl-wrapper, amely firefox-stílusú tabok használatát teszi lehetővé.
47 Summary: Scripts for uzbl
48 Group: X11/Applications/Networking
49 Requires: %{name} = %{epoch}:%{version}-%{release}
52 Scripts for uzbl that handles cookies, downloads, history, etc.
55 Summary: Example configs
56 Summary(hu.UTF-8): Példa konfigurációs fájlok
57 Summary(pl.UTF8): Przykładowa konfiguracja dla uzbl
59 Requires: %{name} = %{epoch}:%{version}-%{release}
65 Example config files for uzbl. If you want just try uzbl install this package
68 uzbl -c %{_examplesdir}/%{name}-%{version}/config
70 %description examples -l hu.UTF-8
71 Példa konfigurációs fájlok. Ha ki akarod
72 próbálni az uzbl-lel, akkor telepítsd ezt a csomagot és a következő
75 uzbl -c %{_examplesdir}/%{name}-%{version}/config
78 %setup -q -n %{name}-%{gitdate}
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT
92 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py $RPM_BUILD_ROOT%{_bindir}/uzbl_tabbed
94 # most important scripts
95 install -d $RPM_BUILD_ROOT%{_datadir}/uzbl/scripts
96 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts $RPM_BUILD_ROOT%{_datadir}/uzbl
99 install -d $RPM_BUILD_ROOT%{_examplesdir}/uzbl-%{version}
100 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/config/uzbl/config $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/config
101 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/forms $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/forms
102 rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
105 rm -rf $RPM_BUILD_ROOT
108 %defattr(644,root,root,755)
109 %doc AUTHORS README docs/*
110 %attr(755,root,root) %{_bindir}/uzbl
111 %attr(755,root,root) %{_bindir}/uzblctrl
112 %dir %{_datadir}/uzbl
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/uzbl_tabbed
119 %dir %{_datadir}/uzbl/scripts
120 %attr(755,root,root) %{_datadir}/uzbl/scripts/*
123 %defattr(644,root,root,755)
124 %{_examplesdir}/uzbl-%{version}