]> git.pld-linux.org Git - packages/dillo.git/blob - dillo.spec
- cosmetics
[packages/dillo.git] / dillo.spec
1 # TODO gettext support
2 Summary:        DILLO - The GTK+ Web Browser
3 Summary(pl):    DILLO - przegl±darka WWW
4 Name:           dillo
5 Version:        0.8.3
6 Release:        0.1
7 License:        GPL
8 Group:          X11/Applications/Networking
9 Source0:        http://www.dillo.org/download/%{name}-%{version}.tar.bz2
10 # Source0-md5:  be772ec9361bcc01515ae0da61de9bda
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://www.dillo.org/
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 a small GTK+ based (GNOME is NOT required!) web browser.
27 Dillo aims to be a multi-platform browser alternative that's small, 
28 stable, developer-friendly, usable, fast, and extensible.
29
30 %description -l pl
31 Dillo jest ma³±, opart± na bibliotece GTK+ (GNOME nie jest wymagany)
32 przegl±dark± WWW. Dillo ma byæ wieloplatformow± alternatywn±
33 przegl±dark±, która jest ma³a, stabilna, przyjazna dla developerów,
34 u¿yteczna, szybka i rozszerzalna.
35
36 %prep
37 %setup -q
38 #%patch0 -p1
39 %patch1 -p1
40
41 %build
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure \
46         --enable-cookies \
47         --enable-ipv6
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_sysconfdir}}
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
58 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
59 install encodings  $RPM_BUILD_ROOT%{_sysconfdir}
60
61 #%%find_lang %{name}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 #%%files -f %{name}.lang
67 %files
68 %defattr(644,root,root,755)
69 %doc AUTHORS ChangeLog dillorc encodings doc/{*.txt,README}
70 %attr(755,root,root) %{_bindir}/*
71 %{_desktopdir}/*
72 %{_pixmapsdir}/*
73 %dir %{_libdir}/dillo
74 %attr(755,root,root) %{_libdir}/dillo/*
75 %dir %{_sysconfdir}
76 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
This page took 0.037204 seconds and 4 git commands to generate.