]> git.pld-linux.org Git - packages/uzbl.git/blob - uzbl.spec
- up to 20090620
[packages/uzbl.git] / uzbl.spec
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
5 # - ... rewrite example config and scripts from scratch.
6
7 %define         gitdate 20090620
8
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
11 Name:           uzbl
12 Version:        0
13 Release:        0.%{gitdate}.1
14 License:        GPL v3
15 Group:          X11/Applications/Networking
16 Source0:        %{name}-%{gitdate}.tar.xz
17 # Source0-md5:  314bbf2d41bfa2aab9644dd6bced5184
18 URL:            http://www.uzbl.org/
19 BuildRequires:  curl-devel
20 BuildRequires:  gtk+2-devel
21 BuildRequires:  gtk-webkit-devel
22 BuildRequires:  libsoup-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 The uzbl browser is a keyboard controlled (modal vim-like bindings, or
27 with modifier keys) browser based on Webkit.
28
29 %description -l hu.UTF-8
30 Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok)
31 böngésző Webkit alapokon.
32
33 %package examples
34 Summary:        Example config and scripts for uzbl
35 Summary(hu.UTF-8):      Példa konfigurációs fájlok és szkriptek uzbl-hez
36 Summary(pl.UTF8):       Przykładowa konfiguracja i skrypty dla uzbl
37 Group:          Documentation
38 Requires:       %{name} = %{epoch}:%{version}-%{release}
39 Requires:       bash
40 Requires:       dmenu
41 Requires:       zenity
42
43 %description examples
44 Example config files and scripts for uzbl. If you want just try uzbl
45 install this package and run:
46
47 uzbl -c %{_datadir}/uzbl/configs/sampleconfig
48
49 %description examples -l hu.UTF-8
50 Példa konfigurációs fájlok és szkriptek uzbl-hez. Ha ki akarod
51 próbálni az uzbl-lel, akkor telepítsd ezt a csomagot és a következő
52 paranccsal indíthatod:
53
54 uzbl -c %{_datadir}/uzbl/configs/sampleconfig
55
56 %prep
57 %setup -q -n %{name}-%{gitdate}
58
59 find examples -type f | xargs sed -i 's,/examples/,/,g'
60
61 %build
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/* $RPM_BUILD_ROOT%{_datadir}/uzbl
71 rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc AUTHORS README docs/*
79 %attr(755,root,root) %{_bindir}/uzbl
80 %attr(755,root,root) %{_bindir}/uzblctrl
81
82 %files examples
83 %defattr(644,root,root,755)
84 %dir %{_datadir}/uzbl
85 %dir %{_datadir}/uzbl/data
86 %dir %{_datadir}/uzbl/data/uzbl
87 %dir %{_datadir}/uzbl/data/uzbl/scripts
88 %attr(755,root,root) %{_datadir}/uzbl/data/uzbl/scripts/*
89 %{_datadir}/uzbl/data/uzbl/forms
90 %{_datadir}/uzbl/data/uzbl/bookmarks
91 %{_datadir}/uzbl/data/uzbl/*.*
92 %{_datadir}/uzbl/config
This page took 0.058342 seconds and 3 git commands to generate.