]>
Commit | Line | Data |
---|---|---|
cd79fd5b | 1 | |
2 | %define gitdate 20090526 | |
3 | ||
4 | Summary: A keyboard controlled (modal vim-like bindings, or with modifier keys) browser based on Webkit | |
5 | Name: uzbl | |
6 | Version: 0 | |
7 | Release: 0.%{gitdate}.1 | |
8 | License: GPL v3 | |
9 | Group: X11/Applications/Networking | |
10 | Source0: %{name}-%{gitdate}.tar.xz | |
11 | # Source0-md5: 58a2ccd187b6de901f64b2968c36802d | |
12 | URL: http://www.uzbl.org/ | |
13 | BuildRequires: curl-devel | |
14 | BuildRequires: gtk+2-devel | |
15 | BuildRequires: gtk-webkit-devel | |
16 | BuildRequires: libsoup-devel | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | The uzbl browser is a keyboard controlled (modal vim-like bindings, or | |
21 | with modifier keys) browser based on Webkit. | |
22 | ||
23 | %prep | |
24 | %setup -q -n %{name}-%{gitdate} | |
25 | ||
6fe0ad73 | 26 | find examples -type f | xargs sed -i 's,/examples/,/,g' |
27 | ||
cd79fd5b | 28 | %build |
29 | %{__make} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | %{__make} install \ | |
35 | DESTDIR=$RPM_BUILD_ROOT | |
36 | ||
6fe0ad73 | 37 | mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/* $RPM_BUILD_ROOT%{_datadir}/uzbl |
38 | rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples} | |
39 | ||
cd79fd5b | 40 | %clean |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc AUTHORS README docs/* | |
46 | %attr(755,root,root) %{_bindir}/uzbl | |
47 | %attr(755,root,root) %{_bindir}/uzblctrl | |
6fe0ad73 | 48 | %dir %{_datadir}/uzbl/scripts |
49 | %attr(755,root,root) %{_datadir}/uzbl/scripts/* | |
50 | %{_datadir}/uzbl/data | |
51 | %{_datadir}/uzbl/configs |