]> git.pld-linux.org Git - packages/dillo.git/blame - dillo.spec
- rel 5; libpng fix
[packages/dillo.git] / dillo.spec
CommitLineData
96e9397c 1# TODO gettext support
6325dddc 2Summary: DILLO - The GTK+ Web Browser
dadeb955 3Summary(pl.UTF-8): DILLO - przeglądarka WWW
34d9e99b 4Name: dillo
049ee57a 5Version: 0.8.6
896c0fab 6Release: 5
adfe9e13 7License: GPL
8Group: X11/Applications/Networking
024b091e 9Source0: http://www.dillo.org/download/%{name}-%{version}.tar.bz2
049ee57a 10# Source0-md5: b65233d368bbd265a55effcf2c17f84b
b30c3b01 11Source1: %{name}.desktop
2b6193a5 12Source2: %{name}.png
546da44d 13Patch0: %{name}-gzip_fallback.patch
96e9397c 14Patch1: %{name}-0.7.0-alt-asp-charset-encodings-sysconfdir.patch
6f52b492 15Patch2: %{name}-ac.patch
896c0fab 16Patch3: %{name}-libpng.patch
024b091e 17URL: http://www.dillo.org/
b30c3b01 18BuildRequires: autoconf
19BuildRequires: automake
244ecbb6 20BuildRequires: gtk+-devel >= 1.2.0
0907bd94 21BuildRequires: libjpeg-devel
772f2928 22BuildRequires: libpng-devel >= 1.0.9
4db30c5d 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34d9e99b 24
b557b35b 25%define _sysconfdir /etc/dillo
34d9e99b 26
27%description
ba75c389 28Dillo is a small GTK+ based (GNOME is NOT required!) web browser.
5c3b6c8f 29Dillo aims to be a multi-platform browser alternative that's small,
ba75c389 30stable, developer-friendly, usable, fast, and extensible.
34d9e99b 31
90a4baa4
JR
32%description -l pl.UTF-8
33Dillo jest małą, opartą na bibliotece GTK+ (GNOME nie jest wymagany)
34przeglądarką WWW. Dillo ma być wieloplatformową alternatywną
35przeglądarką, która jest mała, stabilna, przyjazna dla developerów,
36użyteczna, szybka i rozszerzalna.
34d9e99b 37
38%prep
5e3b0486 39%setup -q
9ff97f08 40%patch0 -p1
546da44d 41%patch1 -p1
6f52b492 42%patch2 -p1
896c0fab 43%patch3 -p1
34d9e99b 44
34d9e99b 45%build
691507b2 46%{__aclocal}
14f4447c 47%{__autoconf}
48%{__automake}
f4817676 49%configure \
38e713ae 50 --enable-cookies \
049ee57a 51 --enable-ipv6 \
52 --disable-dlgui
adfe9e13 53%{__make}
34d9e99b 54
55%install
56rm -rf $RPM_BUILD_ROOT
f38cd22e 57install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_sysconfdir}}
adfe9e13 58
9e0fce9d
PG
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
34d9e99b 61
f38cd22e 62install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
2b6193a5 63install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
f38cd22e 64install encodings $RPM_BUILD_ROOT%{_sysconfdir}
b30c3b01 65
96e9397c 66#%%find_lang %{name}
0907bd94 67
34d9e99b 68%clean
69rm -rf $RPM_BUILD_ROOT
70
96e9397c 71#%%files -f %{name}.lang
72%files
34d9e99b 73%defattr(644,root,root,755)
801cb6ff 74%doc AUTHORS ChangeLog dillorc encodings doc/{*.txt,README}
f4817676 75%attr(755,root,root) %{_bindir}/*
b6e796d9 76%{_desktopdir}/*.desktop
2b6193a5 77%{_pixmapsdir}/*
f38cd22e
AA
78%dir %{_libdir}/dillo
79%attr(755,root,root) %{_libdir}/dillo/*
b557b35b 80%dir %{_sysconfdir}
5c3b6c8f 81%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
This page took 0.040585 seconds and 4 git commands to generate.