]> git.pld-linux.org Git - packages/dillo.git/blobdiff - dillo.spec
- release 3
[packages/dillo.git] / dillo.spec
index 6163d8d98b2b8c2ae9e761a96587e1729fadcf6d..32f802ce180f7236c98378ffddc4853f3a786f8d 100644 (file)
@@ -1,13 +1,15 @@
 Summary:       DILLO - The GTK Web Browser
 Summary(pl):   DILLO - przeglĀ±darka web
 Name:          dillo
-Version:       0.6.5
-Release:       1
+Version:       0.6.6
+Release:       3
 License:       GPL
 Group:         X11/Applications/Networking
 Source0:       http://dillo.cipsga.org.br/download/%{name}-%{version}.tar.gz
 Source1:       %{name}.desktop
 Source2:       %{name}.png
+Patch0:                %{name}-gzip_fallback.patch
+Patch1:                http://matzar.republika.pl/stuff/%{name}-gettext.patch.gz
 URL:           http://dillo.cipsga.org.br/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -27,13 +29,18 @@ sieci.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 rm -f missing
 aclocal
-autoconf
-automake -a -c -f
-%configure
+%{__autoconf}
+%{__automake}
+if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
+       CPPFLAGS="`pkg-config libpng12 --cflags`"
+fi
+%configure CPPFLAGS="$CPPFLAGS"
 %{__make}
 
 %install
@@ -45,14 +52,12 @@ install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/WWW,%{_pixmapsdir}}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
-gzip -9nf doc/{*.txt,README} AUTHORS ChangeLog dillorc
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz doc/*.gz
+%doc AUTHORS ChangeLog dillorc doc/{*.txt,README}
 %attr(755,root,root) %{_bindir}/dillo
 %{_applnkdir}/Network/WWW/*
 %{_pixmapsdir}/*
This page took 0.025366 seconds and 4 git commands to generate.