]> git.pld-linux.org Git - packages/uzbl.git/blob - uzbl.spec
- up to git:refs/tags/2009.07.18
[packages/uzbl.git] / uzbl.spec
1 # TODO:
2 # - unbash example scripts
3
4 %define         gitdate 20090718
5
6 Summary:        A keyboard controlled (modal vim-like bindings, or with modifier keys) browser based on Webkit
7 Summary(hu.UTF-8):      Egy billentyűzettel irányítható (vim-szerű vagy módosító kódok) böngésző Webkit alapokon
8 Name:           uzbl
9 Version:        0
10 Release:        0.%{gitdate}.1
11 License:        GPL v3
12 Group:          X11/Applications/Networking
13 # git://github.com/Dieterbe/uzbl.git
14 Source0:        %{name}-%{gitdate}.tar.bz2
15 # Source0-md5:  f5018ec67508bd35a018471a64575d65
16 Patch0:         uzbl-config.patch
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 tabbed
33 Summary:        Tabs for uzbl
34 Summary(hu.UTF-8):      Tabok uzbl-hez
35 Group:          X11/Applications/Networking
36 Requires:       %{name} = %{epoch}:%{version}-%{release}
37
38 %description tabbed
39 Wrapper for uzbl that provides firefox-style tabs.
40
41 %description tabbed -l hu.UTF-8
42 Egy uzbl-wrapper, amely firefox-stílusú tabok használatát teszi lehetővé.
43
44 %package scripts
45 Summary:        Scripts for uzbl
46 Group:          X11/Applications/Networking
47 Requires:       %{name} = %{epoch}:%{version}-%{release}
48
49 %description scripts
50 Scripts for uzbl that handles cookies, downloads, history, etc.
51
52 %package examples
53 Summary:        Example configs
54 Summary(hu.UTF-8):      Példa konfigurációs fájlok 
55 Summary(pl.UTF8):       Przykładowa konfiguracja dla uzbl
56 Group:          Documentation
57 Requires:       %{name} = %{epoch}:%{version}-%{release}
58 Requires:       bash
59 Requires:       dmenu
60 Requires:       zenity
61
62 %description examples
63 Example config files for uzbl. If you want just try uzbl install this package
64 and run:
65
66 uzbl -c %{_examplesdir}/%{name}-%{version}/config
67
68 %description examples -l hu.UTF-8
69 Példa konfigurációs fájlok. Ha ki akarod
70 próbálni az uzbl-lel, akkor telepítsd ezt a csomagot és a következő
71 paranccsal indítsd:
72
73 uzbl -c %{_examplesdir}/%{name}-%{version}/config
74
75 %prep
76 %setup -q -n %{name}-%{gitdate}
77
78 %patch0 -p1
79
80 %build
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 # tabbed
90 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts/uzbl_tabbed.py $RPM_BUILD_ROOT%{_bindir}/uzbl_tabbed
91
92 # most important scripts
93 install -d $RPM_BUILD_ROOT%{_datadir}/uzbl/scripts
94 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/scripts $RPM_BUILD_ROOT%{_datadir}/uzbl
95
96 # example config
97 install -d $RPM_BUILD_ROOT%{_examplesdir}/uzbl-%{version}
98 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/config/uzbl/config $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/config
99 mv $RPM_BUILD_ROOT%{_datadir}/uzbl/examples/data/uzbl/forms $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/forms
100 rm -r $RPM_BUILD_ROOT%{_datadir}/uzbl/{docs,examples}
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %files
106 %defattr(644,root,root,755)
107 %doc AUTHORS README docs/*
108 %attr(755,root,root) %{_bindir}/uzbl
109 %attr(755,root,root) %{_bindir}/uzblctrl
110 %dir %{_datadir}/uzbl
111
112 %files tabbed
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_bindir}/uzbl_tabbed
115
116 %files scripts
117 %dir %{_datadir}/uzbl/scripts
118 %attr(755,root,root) %{_datadir}/uzbl/scripts/*
119
120 %files examples
121 %defattr(644,root,root,755)
122 %{_examplesdir}/uzbl-%{version}
This page took 0.053519 seconds and 4 git commands to generate.