]> git.pld-linux.org Git - packages/dillo.git/blob - dillo.spec
- BR: fltk-devel
[packages/dillo.git] / dillo.spec
1 # TODO gettext support
2 Summary:        DILLO - The GTK+ Web Browser
3 Summary(pl.UTF-8):      DILLO - przeglądarka WWW
4 Name:           dillo
5 Version:        0.8.6
6 Release:        5
7 License:        GPL
8 Group:          X11/Applications/Networking
9 Source0:        http://www.dillo.org/download/%{name}-%{version}.tar.bz2
10 # Source0-md5:  b65233d368bbd265a55effcf2c17f84b
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 Patch2:         %{name}-ac.patch
16 Patch3:         %{name}-libpng.patch
17 URL:            http://www.dillo.org/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  fltk-devel
21 BuildRequires:  gtk+-devel >= 1.2.0
22 BuildRequires:  libjpeg-devel
23 BuildRequires:  libpng-devel >= 1.0.9
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _sysconfdir     /etc/dillo
27
28 %description
29 Dillo is a small GTK+ based (GNOME is NOT required!) web browser.
30 Dillo aims to be a multi-platform browser alternative that's small,
31 stable, developer-friendly, usable, fast, and extensible.
32
33 %description -l pl.UTF-8
34 Dillo jest małą, opartą na bibliotece GTK+ (GNOME nie jest wymagany)
35 przeglądarką WWW. Dillo ma być wieloplatformową alternatywną
36 przeglądarką, która jest mała, stabilna, przyjazna dla developerów,
37 użyteczna, szybka i rozszerzalna.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42 %patch1 -p1
43 %patch2 -p1
44 %patch3 -p1
45
46 %build
47 %{__aclocal}
48 %{__autoconf}
49 %{__automake}
50 %configure \
51         --enable-cookies \
52         --enable-ipv6 \
53         --disable-dlgui
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_sysconfdir}}
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
64 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
65 install encodings  $RPM_BUILD_ROOT%{_sysconfdir}
66
67 #%%find_lang %{name}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 #%%files -f %{name}.lang
73 %files
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog dillorc encodings doc/{*.txt,README}
76 %attr(755,root,root) %{_bindir}/*
77 %{_desktopdir}/*.desktop
78 %{_pixmapsdir}/*
79 %dir %{_libdir}/dillo
80 %attr(755,root,root) %{_libdir}/dillo/*
81 %dir %{_sysconfdir}
82 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
This page took 0.055638 seconds and 3 git commands to generate.