]> git.pld-linux.org Git - packages/dillo.git/blob - dillo.spec
9bd44b8ae3dfebabaa23e929327c4c3e30488ed5
[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.0
6 Release:        0.5
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}-gettext.patch
14 #Patch2:                http://bobuk.ipost.ru/packages/dillo/files/%{name}-0.6.6-charset.patch
15 #Patch3:                %{name}-encodings.patch
16 #Patch4:                %{name}-localedir.patch
17 Patch1:         %{name}-0.7.0-alt-asp-charset-encodings-sysconfdir.patch
18 URL:            http://dillo.auriga.wearlab.de/
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  gtk+-devel >= 1.2.0
22 BuildRequires:  libjpeg-devel
23 Buildrequires:  libpng-devel >= 1.0.9
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define _sysconfdir /etc/dillo
27
28 %description
29 Dillo is small, fast, based on GTK+ library web browser written in C.
30
31 %description -l pl
32 Dillo jest ma³±, szybk±, bazuj±c± na bibliotece GTK+ przegl±dark±
33 sieci.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39
40 %build
41 rm -f missing
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure --enable-cookies
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/WWW,%{_pixmapsdir},%{_sysconfdir}}
52
53 %{__make} install DESTDIR=$RPM_BUILD_ROOT
54
55 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
56 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
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}/dillo
68 %{_applnkdir}/Network/WWW/*
69 %{_pixmapsdir}/*
70 %{_sysconfdir}/*
This page took 0.045054 seconds and 2 git commands to generate.