]> git.pld-linux.org Git - packages/dillo.git/blob - dillo.spec
9ff16fb062e043272fa448174dba5f303854a24c
[packages/dillo.git] / dillo.spec
1 # TODO gettext support
2 Summary:        DILLO - The GTK Web Browser
3 Summary(pl):    DILLO - przegl±darka web
4 Name:           dillo
5 Version:        0.7.2
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Networking
9 Source0:        http://dillo.auriga.wearlab.de/download/%{name}-%{version}.tar.bz2
10 # Source0-md5:  8072ff85bde54f9e421ddadd642d6722
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-gzip_fallback.patch
14 Patch1:         %{name}-0.7.0-alt-asp-charset-encodings-sysconfdir.patch
15 URL:            http://dillo.auriga.wearlab.de/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gtk+-devel >= 1.2.0
19 BuildRequires:  libjpeg-devel
20 Buildrequires:  libpng-devel >= 1.0.9
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _sysconfdir     /etc/dillo
24
25 %description
26 Dillo is small, fast, based on GTK+ library web browser written in C.
27
28 %description -l pl
29 Dillo jest ma³±, szybk±, bazuj±c± na bibliotece GTK+ przegl±dark±
30 sieci.
31
32 %prep
33 %setup  -q 
34 %patch0 -p1
35 %patch1 -p1
36
37 %build
38 rm -f missing
39 %{__aclocal}
40 %{__autoconf}
41 %{__automake}
42 %configure \
43         --enable-cookies \
44         --enable-ipv6
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/WWW,%{_pixmapsdir},%{_sysconfdir}}
50
51 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
54 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
55
56 #%%find_lang %{name}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 #%%files -f %{name}.lang
62 %files
63 %defattr(644,root,root,755)
64 %doc AUTHORS ChangeLog dillorc encodings doc/{*.txt,README}
65 %attr(755,root,root) %{_bindir}/*
66 %{_applnkdir}/Network/WWW/*
67 %{_pixmapsdir}/*
68 %dir %{_sysconfdir}
69 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
This page took 0.066242 seconds and 2 git commands to generate.