]>
Commit | Line | Data |
---|---|---|
240ac27e | 1 | # TODO: |
240ac27e | 2 | # - unbash example scripts |
cd79fd5b | 3 | |
c1cc759f | 4 | %define gitdate 20090703 |
cd79fd5b | 5 | |
6 | Summary: A keyboard controlled (modal vim-like bindings, or with modifier keys) browser based on Webkit | |
ad1f58d1 | 7 | Summary(hu.UTF-8): Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok) böngésző Webkit alapokon |
cd79fd5b | 8 | Name: uzbl |
9 | Version: 0 | |
28e3156c | 10 | Release: 0.%{gitdate}.1 |
cd79fd5b | 11 | License: GPL v3 |
12 | Group: X11/Applications/Networking | |
13 | Source0: %{name}-%{gitdate}.tar.xz | |
c1cc759f | 14 | # Source0-md5: e90ffe6b73747731a1d9d7c456e3e411 |
b3a8a931 | 15 | Patch0: uzbl-config.patch |
cd79fd5b | 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) | |
22 | ||
23 | %description | |
24 | The uzbl browser is a keyboard controlled (modal vim-like bindings, or | |
25 | with modifier keys) browser based on Webkit. | |
26 | ||
ad1f58d1 ZU |
27 | %description -l hu.UTF-8 |
28 | Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok) | |
29 | böngésző Webkit alapokon. | |
30 | ||
a14d321e | 31 | %package tabbed |
32 | Summary: Tabs for uzbl | |
31b3f0eb | 33 | Summary(hu.UTF-8): Tabok uzbl-hez |
a14d321e | 34 | Group: X11/Applications/Networking |
35 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
36 | ||
37 | %description tabbed | |
38 | Wrapper for uzbl that provides firefox-style tabs. | |
39 | ||
31b3f0eb ZU |
40 | %description tabbed -l hu.UTF-8 |
41 | Egy uzbl-wrapper, amely firefox-stílusú tabok használatát teszi lehetővé. | |
42 | ||
b3a8a931 | 43 | %package scripts |
44 | Summary: Scripts for uzbl | |
45 | Group: X11/Applications/Networking | |
46 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
47 | ||
48 | %description scripts | |
49 | Scripts for uzbl that handles cookies, downloads, history, etc. | |
50 | ||
240ac27e | 51 | %package examples |
b3a8a931 | 52 | Summary: Example configs |
31b3f0eb | 53 | Summary(hu.UTF-8): Példa konfigurációs fájlok |
b3a8a931 | 54 | Summary(pl.UTF8): Przykładowa konfiguracja dla uzbl |
240ac27e | 55 | Group: Documentation |
ad1f58d1 | 56 | Requires: %{name} = %{epoch}:%{version}-%{release} |
240ac27e | 57 | Requires: bash |
58 | Requires: dmenu | |
240ac27e | 59 | Requires: zenity |
60 | ||
61 | %description examples | |
b3a8a931 | 62 | Example config files for uzbl. If you want just try uzbl install this package |
63 | and run: | |
ad1f58d1 | 64 | |
b3a8a931 | 65 | uzbl -c %{_examplesdir}/%{name}-%{version}/config |
ad1f58d1 ZU |
66 | |
67 | %description examples -l hu.UTF-8 | |
31b3f0eb | 68 | Példa konfigurációs fájlok. Ha ki akarod |
ad1f58d1 | 69 | próbálni az uzbl-lel, akkor telepítsd ezt a csomagot és a következő |
31b3f0eb | 70 | paranccsal indítsd: |
240ac27e | 71 | |
b3a8a931 | 72 | uzbl -c %{_examplesdir}/%{name}-%{version}/config |
240ac27e | 73 | |
cd79fd5b | 74 | %prep |
75 | %setup -q -n %{name}-%{gitdate} | |
76 | ||
b3a8a931 | 77 | %patch0 -p0 |
6fe0ad73 | 78 | |
cd79fd5b | 79 | %build |
80 | %{__make} | |
81 | ||
82 | %install | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %{__make} install \ | |
86 | DESTDIR=$RPM_BUILD_ROOT | |
87 | ||
a14d321e | 88 | # tabbed |
89 | mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py $RPM_BUILD_ROOT%{_bindir}/uzbl_tabbed | |
90 | ||
b3a8a931 | 91 | # most important scripts |
92 | install -d $RPM_BUILD_ROOT%{_datadir}/uzbl/scripts | |
93 | mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts $RPM_BUILD_ROOT%{_datadir}/uzbl | |
94 | ||
95 | # example config | |
96 | install -d $RPM_BUILD_ROOT%{_examplesdir}/uzbl-%{version} | |
97 | mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/config/uzbl/config $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/config | |
98 | mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/forms $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/forms | |
6fe0ad73 | 99 | rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples} |
100 | ||
cd79fd5b | 101 | %clean |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
104 | %files | |
105 | %defattr(644,root,root,755) | |
106 | %doc AUTHORS README docs/* | |
107 | %attr(755,root,root) %{_bindir}/uzbl | |
108 | %attr(755,root,root) %{_bindir}/uzblctrl | |
b3a8a931 | 109 | %dir %{_datadir}/uzbl |
240ac27e | 110 | |
a14d321e | 111 | %files tabbed |
112 | %defattr(644,root,root,755) | |
113 | %attr(755,root,root) %{_bindir}/uzbl_tabbed | |
114 | ||
b3a8a931 | 115 | %files scripts |
116 | %dir %{_datadir}/uzbl/scripts | |
117 | %attr(755,root,root) %{_datadir}/uzbl/scripts/* | |
118 | ||
240ac27e | 119 | %files examples |
ad1f58d1 | 120 | %defattr(644,root,root,755) |
b3a8a931 | 121 | %{_examplesdir}/uzbl-%{version} |