]> git.pld-linux.org Git - packages/dillo.git/blob - dillo.spec
- release 3 (by relup.sh)
[packages/dillo.git] / dillo.spec
1 # TODO gettext support
2 Summary:        DILLO - The FLTK Web Browser
3 Summary(pl.UTF-8):      DILLO - przeglądarka WWW
4 Name:           dillo
5 Version:        3.0.2
6 Release:        3
7 License:        GPL
8 Group:          X11/Applications/Networking
9 Source0:        http://www.dillo.org/download/%{name}-%{version}.tar.bz2
10 # Source0-md5:  81b82112cefcc7d54fe2972a21f42930
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 # needs a review, disabled for now
14 Patch0:         %{name}-gzip_fallback.patch
15 Patch1:         %{name}-ac.patch
16 #Patch2:                %{name}-libpng.patch
17 URL:            http://www.dillo.org/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  fltk-devel >= 1.3.0
21 BuildRequires:  libjpeg-devel
22 BuildRequires:  libpng-devel >= 1.0.9
23 BuildRequires:  zlib-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _sysconfdir     /etc/dillo
27
28 %description
29 Dillo is a small FLTK 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 FLTK (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
44 %build
45 %{__aclocal}
46 %{__autoconf}
47 %{__automake}
48 %configure \
49         --enable-cookies \
50         --enable-ipv6 
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_sysconfdir}}
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
61 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
62
63 #%%find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 #%%files -f %{name}.lang
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog dillorc NEWS README
72 %attr(755,root,root) %{_bindir}/*
73 %{_desktopdir}/*.desktop
74 %{_pixmapsdir}/*
75 %dir %{_libdir}/dillo
76 %attr(755,root,root) %{_libdir}/dillo/*
77 %dir %{_sysconfdir}
78 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
79 %{_mandir}/man1/dillo.1*
This page took 0.03881 seconds and 4 git commands to generate.