]> git.pld-linux.org Git - packages/uzbl.git/blob - uzbl.spec
- better location for scripts and data
[packages/uzbl.git] / uzbl.spec
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
26 find examples -type f | xargs sed -i 's,/examples/,/,g'
27
28 %build
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 %{__make} install \
35         DESTDIR=$RPM_BUILD_ROOT
36
37 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/* $RPM_BUILD_ROOT%{_datadir}/uzbl
38 rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
39
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
48 %dir %{_datadir}/uzbl/scripts
49 %attr(755,root,root) %{_datadir}/uzbl/scripts/*
50 %{_datadir}/uzbl/data
51 %{_datadir}/uzbl/configs
This page took 0.032763 seconds and 4 git commands to generate.