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