]> git.pld-linux.org Git - packages/dillo.git/blob - dillo.spec
- added missing LC_MESSAGES files and localedir patch - now locales work
[packages/dillo.git] / dillo.spec
1 Summary:        DILLO - The GTK Web Browser
2 Summary(pl):    DILLO - przegl±darka web
3 Name:           dillo
4 Version:        0.6.6
5 Release:        5
6 License:        GPL
7 Group:          X11/Applications/Networking
8 Source0:        http://dillo.cipsga.org.br/download/%{name}-%{version}.tar.gz
9 Source1:        %{name}.desktop
10 Source2:        %{name}.png
11 Patch0:         %{name}-gzip_fallback.patch
12 Patch1:         http://matzar.republika.pl/stuff/%{name}-gettext.patch.gz
13 Patch2:         http://bobuk.ipost.ru/packages/dillo/files/%{name}-%{version}-charset.patch
14 Patch3:         %{name}-encodings.patch
15 Patch4:         %{name}-localedir.patch
16 URL:            http://dillo.cipsga.org.br/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gtk+-devel >= 1.2.0
20 BuildRequires:  libjpeg-devel
21 Buildrequires:  libpng-devel >= 1.0.9
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _prefix         /usr/X11R6
25
26 %description
27 Dillo is small, fast, based on GTK+ library web browser written in C.
28
29 %description -l pl
30 Dillo jest ma³±, szybk±, bazuj±c± na bibliotece GTK+ przegl±dark±
31 sieci.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36 %patch1 -p1
37 %patch2 -p1
38 %patch3 -p1
39 %patch4 -p1
40
41 %build
42 rm -f missing
43 aclocal
44 %{__autoconf}
45 %{__automake}
46 %configure --enable-cookies
47
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/WWW,%{_pixmapsdir}}
53
54 %{__make} install DESTDIR=$RPM_BUILD_ROOT
55
56 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
57 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
58
59 %find_lang %{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files -f %{name}.lang
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}/*
This page took 0.056929 seconds and 3 git commands to generate.