]> git.pld-linux.org Git - packages/uzbl.git/blame - uzbl.spec
- up to 20090607
[packages/uzbl.git] / uzbl.spec
CommitLineData
240ac27e 1# TODO:
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
cd79fd5b 5
28e3156c 6%define gitdate 20090607
cd79fd5b 7
8Summary: A keyboard controlled (modal vim-like bindings, or with modifier keys) browser based on Webkit
9Name: uzbl
10Version: 0
28e3156c 11Release: 0.%{gitdate}.1
cd79fd5b 12License: GPL v3
13Group: X11/Applications/Networking
14Source0: %{name}-%{gitdate}.tar.xz
28e3156c 15# Source0-md5: 765305c15a96656b6f702673db821e8b
cd79fd5b 16URL: http://www.uzbl.org/
17BuildRequires: curl-devel
18BuildRequires: gtk+2-devel
19BuildRequires: gtk-webkit-devel
20BuildRequires: libsoup-devel
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24The uzbl browser is a keyboard controlled (modal vim-like bindings, or
25with modifier keys) browser based on Webkit.
26
240ac27e 27%package examples
28Summary: Example config and scripts for uzbl
29Summary(pl.UTF8): Przykładowa konfiguracja i skrypty dla uzbl
30Group: Documentation
31Requires: bash
32Requires: dmenu
33Requires: %{name} = %{epoch}:%{version}-%{release}
34Requires: zenity
35
36%description examples
37Example config files and scripts for uzbl. If you want just try uzbl install
38this package and run:
39
40uzbl -c %{_datadir}/uzbl/configs/sampleconfig
41
cd79fd5b 42%prep
43%setup -q -n %{name}-%{gitdate}
44
6fe0ad73 45find examples -type f | xargs sed -i 's,/examples/,/,g'
46
cd79fd5b 47%build
48%{__make}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
6fe0ad73 56mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/* $RPM_BUILD_ROOT%{_datadir}/uzbl
57rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
58
cd79fd5b 59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc AUTHORS README docs/*
65%attr(755,root,root) %{_bindir}/uzbl
66%attr(755,root,root) %{_bindir}/uzblctrl
240ac27e 67
68%files examples
c5452c35 69%dir %{_datadir}/uzbl
6fe0ad73 70%dir %{_datadir}/uzbl/scripts
71%attr(755,root,root) %{_datadir}/uzbl/scripts/*
72%{_datadir}/uzbl/data
73%{_datadir}/uzbl/configs
This page took 0.057616 seconds and 4 git commands to generate.