]> git.pld-linux.org Git - packages/dillo.git/blob - dillo.spec
- added missing dir (/etc/dillo)
[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.7.1.2
6 Release:        0.1
7 License:        GPL
8 Group:          X11/Applications/Networking
9 Source0:        http://dillo.auriga.wearlab.de/download/%{name}-%{version}.tar.gz
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
12 Patch0:         %{name}-gzip_fallback.patch
13 Patch1:         %{name}-0.7.0-alt-asp-charset-encodings-sysconfdir.patch
14 URL:            http://dillo.auriga.wearlab.de/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gtk+-devel >= 1.2.0
18 BuildRequires:  libjpeg-devel
19 Buildrequires:  libpng-devel >= 1.0.9
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _sysconfdir     /etc/dillo
23
24 %description
25 Dillo is small, fast, based on GTK+ library web browser written in C.
26
27 %description -l pl
28 Dillo jest ma³±, szybk±, bazuj±c± na bibliotece GTK+ przegl±dark±
29 sieci.
30
31 %prep
32 %setup  -q -n %{name}-0.7.1
33 %patch0 -p1
34 %patch1 -p1
35
36 %build
37 rm -f missing
38 %{__aclocal}
39 %{__autoconf}
40 %{__automake}
41 %configure \
42         --enable-cookies
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/WWW,%{_pixmapsdir},%{_sysconfdir}}
48
49 %{__make} install DESTDIR=$RPM_BUILD_ROOT
50
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
52 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
53
54 #%%find_lang %{name}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 #%%files -f %{name}.lang
60 %files
61 %defattr(644,root,root,755)
62 %doc AUTHORS ChangeLog dillorc encodings doc/{*.txt,README}
63 %attr(755,root,root) %{_bindir}/*
64 %{_applnkdir}/Network/WWW/*
65 %{_pixmapsdir}/*
66 %dir %{_sysconfdir}
67 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
This page took 0.042693 seconds and 4 git commands to generate.