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