]> git.pld-linux.org Git - packages/dillo.git/blob - dillo.spec
- applnkdir -> desktopdir, files fixes
[packages/dillo.git] / dillo.spec
1 # TODO gettext support
2 Summary:        DILLO - The GTK Web Browser
3 Summary(pl):    DILLO - przegl±darka web
4 Name:           dillo
5 Version:        0.8.0
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Networking
9 Source0:        http://www.dillo.org/download/%{name}-%{version}.tar.bz2
10 # Source0-md5:  fa4bdedcd7e76135257d70104efb13db
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 URL:            http://www.dillo.org/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gtk+-devel >= 1.2.0
19 BuildRequires:  libjpeg-devel
20 BuildRequires:  libpng-devel >= 1.0.9
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _sysconfdir     /etc/dillo
24
25 %description
26 Dillo is small, fast, based on GTK+ library web browser written in C.
27
28 %description -l pl
29 Dillo jest ma³±, szybk±, bazuj±c± na bibliotece GTK+ przegl±dark±
30 sieci.
31
32 %prep
33 %setup  -q
34 %patch0 -p1
35 %patch1 -p1
36
37 %build
38 rm -f missing
39 %{__aclocal}
40 %{__autoconf}
41 %{__automake}
42 %configure \
43         --enable-cookies \
44         --enable-ipv6
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_sysconfdir}}
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
56 install encodings  $RPM_BUILD_ROOT%{_sysconfdir}
57
58 #%%find_lang %{name}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 #%%files -f %{name}.lang
64 %files
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog dillorc encodings doc/{*.txt,README}
67 %attr(755,root,root) %{_bindir}/*
68 %{_desktopdir}/*
69 %{_pixmapsdir}/*
70 %dir %{_libdir}/dillo
71 %attr(755,root,root) %{_libdir}/dillo/*
72 %dir %{_sysconfdir}
73 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
This page took 0.077053 seconds and 3 git commands to generate.