]> git.pld-linux.org Git - packages/dillo.git/blob - dillo.spec
- up to 3.0.5
[packages/dillo.git] / dillo.spec
1 # TODO: gettext support (there was a patch for some archaic version)
2 Summary:        DILLO - The FLTK Web Browser
3 Summary(pl.UTF-8):      DILLO - przeglądarka WWW
4 Name:           dillo
5 Version:        3.0.4
6 Release:        1
7 License:        GPL v3+
8 Group:          X11/Applications/Networking
9 Source0:        http://www.dillo.org/download/%{name}-%{version}.tar.bz2
10 # Source0-md5:  c85aab6b840527e1dd71b220a1dcfbab
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 # needs a review, disabled for now
14 Patch0:         %{name}-gzip_fallback.patch
15 Patch1:         libpng16.patch
16 URL:            http://www.dillo.org/
17 BuildRequires:  autoconf >= 2.50
18 BuildRequires:  automake
19 BuildRequires:  fltk-devel >= 1.3.0
20 BuildRequires:  libjpeg-devel
21 BuildRequires:  libpng-devel >= 2:1.6.0
22 BuildRequires:  libstdc++-devel
23 BuildRequires:  openssl-devel
24 BuildRequires:  zlib-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Dillo is a small FLTK based (GNOME is NOT required!) web browser.
29 Dillo aims to be a multi-platform browser alternative that's small,
30 stable, developer-friendly, usable, fast, and extensible.
31
32 %description -l pl.UTF-8
33 Dillo jest małą, opartą na bibliotece FLTK (GNOME nie jest wymagany)
34 przeglądarką WWW. Dillo ma być wieloplatformową alternatywną
35 przeglądarką, która jest mała, stabilna, przyjazna dla developerów,
36 użyteczna, szybka i rozszerzalna.
37
38 %prep
39 %setup -q
40 #%%patch0 -p1
41 %patch1 -p1
42
43 %build
44 %{__aclocal}
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48 %configure \
49         --enable-cookies \
50         --enable-ipv6 \
51         --enable-ssl
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 NEWS README
73 %attr(755,root,root) %{_bindir}/dillo
74 %attr(755,root,root) %{_bindir}/dillo-install-hyphenation
75 %attr(755,root,root) %{_bindir}/dpid
76 %attr(755,root,root) %{_bindir}/dpidc
77 %dir %{_libdir}/dillo
78 %dir %{_libdir}/dillo/dpi
79 %dir %{_libdir}/dillo/dpi/*
80 %attr(755,root,root) %{_libdir}/dillo/dpi/*/*.dpi
81 %dir %{_docdir}/dillo
82 %{_docdir}/dillo/user_help.html
83 %dir %{_sysconfdir}/dillo
84 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dillo/dillorc
85 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dillo/domainrc
86 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dillo/dpidrc
87 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dillo/keysrc
88 %{_desktopdir}/dillo.desktop
89 %{_pixmapsdir}/dillo.png
90 %{_mandir}/man1/dillo.1*
This page took 0.074486 seconds and 3 git commands to generate.