]> git.pld-linux.org Git - packages/uzbl.git/blob - uzbl.spec
- hu update
[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 20090703
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:  e90ffe6b73747731a1d9d7c456e3e411
18 Patch0:         uzbl-config.patch
19 URL:            http://www.uzbl.org/
20 BuildRequires:  curl-devel
21 BuildRequires:  gtk+2-devel
22 BuildRequires:  gtk-webkit-devel
23 BuildRequires:  libsoup-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 The uzbl browser is a keyboard controlled (modal vim-like bindings, or
28 with modifier keys) browser based on Webkit.
29
30 %description -l hu.UTF-8
31 Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok)
32 böngésző Webkit alapokon.
33
34 %package tabbed
35 Summary:        Tabs for uzbl
36 Summary(hu.UTF-8):      Tabok uzbl-hez
37 Group:          X11/Applications/Networking
38 Requires:       %{name} = %{epoch}:%{version}-%{release}
39
40 %description tabbed
41 Wrapper for uzbl that provides firefox-style tabs.
42
43 %description tabbed -l hu.UTF-8
44 Egy uzbl-wrapper, amely firefox-stílusú tabok használatát teszi lehetővé.
45
46 %package scripts
47 Summary:        Scripts for uzbl
48 Group:          X11/Applications/Networking
49 Requires:       %{name} = %{epoch}:%{version}-%{release}
50
51 %description scripts
52 Scripts for uzbl that handles cookies, downloads, history, etc.
53
54 %package examples
55 Summary:        Example configs
56 Summary(hu.UTF-8):      Példa konfigurációs fájlok 
57 Summary(pl.UTF8):       Przykładowa konfiguracja dla uzbl
58 Group:          Documentation
59 Requires:       %{name} = %{epoch}:%{version}-%{release}
60 Requires:       bash
61 Requires:       dmenu
62 Requires:       zenity
63
64 %description examples
65 Example config files for uzbl. If you want just try uzbl install this package
66 and run:
67
68 uzbl -c %{_examplesdir}/%{name}-%{version}/config
69
70 %description examples -l hu.UTF-8
71 Példa konfigurációs fájlok. Ha ki akarod
72 próbálni az uzbl-lel, akkor telepítsd ezt a csomagot és a következő
73 paranccsal indítsd:
74
75 uzbl -c %{_examplesdir}/%{name}-%{version}/config
76
77 %prep
78 %setup -q -n %{name}-%{gitdate}
79
80 %patch0 -p0
81
82 %build
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 # tabbed
92 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py $RPM_BUILD_ROOT%{_bindir}/uzbl_tabbed
93
94 # most important scripts
95 install -d $RPM_BUILD_ROOT%{_datadir}/uzbl/scripts
96 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts $RPM_BUILD_ROOT%{_datadir}/uzbl
97
98 # example config
99 install -d $RPM_BUILD_ROOT%{_examplesdir}/uzbl-%{version}
100 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/config/uzbl/config $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/config
101 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/forms $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/forms
102 rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %files
108 %defattr(644,root,root,755)
109 %doc AUTHORS README docs/*
110 %attr(755,root,root) %{_bindir}/uzbl
111 %attr(755,root,root) %{_bindir}/uzblctrl
112 %dir %{_datadir}/uzbl
113
114 %files tabbed
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/uzbl_tabbed
117
118 %files scripts
119 %dir %{_datadir}/uzbl/scripts
120 %attr(755,root,root) %{_datadir}/uzbl/scripts/*
121
122 %files examples
123 %defattr(644,root,root,755)
124 %{_examplesdir}/uzbl-%{version}
This page took 0.064004 seconds and 4 git commands to generate.