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