diff --git a/dia.changes b/dia.changes index b973ca2..2a95b77 100644 --- a/dia.changes +++ b/dia.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 27 19:50:50 CEST 2007 - maw@suse.de + +- Add %fdupes stuff + ------------------------------------------------------------------- Mon Jan 22 15:38:58 CET 2007 - sbrabec@suse.cz diff --git a/dia.spec b/dia.spec index 36000aa..db590d3 100644 --- a/dia.spec +++ b/dia.spec @@ -11,14 +11,19 @@ # norootforbuild Name: dia -BuildRequires: docbook-toys docbook-xsl-stylesheets gcc-c++ gnome-patch-translation intltool libgnomeprint-devel libgnomeui-devel libxslt-devel python-devel python-gtk-devel scrollkeeper sgml-skel update-desktop-files -License: GNU General Public License (GPL) +BuildRequires: docbook-toys docbook-xsl-stylesheets fdupes gcc-c++ gnome-patch-translation intltool libgnomeprint-devel libgnomeui-devel libxslt-devel python-devel python-gtk-devel scrollkeeper sgml-skel update-desktop-files +License: GPL v2 or later Group: Productivity/Graphics/Other Requires: ghostscript-fonts-std python-gtk python-numeric +# Ugh. I guess there should be a -devel subpackage split out +# Warning: Missing "Requires: libpng-devel" in dependency chain (/usr/lib/dia/libdia.la from dia requires /usr/lib/libpng.la). +# Warning: Missing "Requires: glibc-devel" in dependency chain (/usr/lib/dia/libdia.la from dia requires /usr/lib/libm.so). +# Warning: Missing "Requires: zlib-devel" in dependency chain (/usr/lib/dia/libdia.la from dia requires /usr/lib/libz.so). +# Requires: glibc-devel libpng-devel zlib-devel Autoreqprov: on Summary: A Diagram Creation Program Version: 0.95 -Release: 38 +Release: 83 Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{version}.tar.bz2 Source1: font-test-japanese.dia Source2: font-test-czech.dia @@ -32,7 +37,7 @@ Patch12: dia-cve-2006-2453.patch Patch13: dia-64bit-clean.patch Patch14: dia-python2.5.patch Patch15: fix-desktop-file.diff -URL: http://www.gnome.org/projects/dia/ +URL: http://live.gnome.org/Dia BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -90,6 +95,10 @@ make docdir=%{_docdir}/%{name} %{?jobs:-j%jobs} cp -a AUTHORS COPYING ChangeLog INSTALL KNOWN_BUGS NEWS README TODO samples/*.dia font-test*dia $RPM_BUILD_ROOT%{_docdir}/%{name}/ # No need for mime-info-to-mime, application/x-dia-diagram is defined in freedesktop.org.xml rm -r $RPM_BUILD_ROOT%{_datadir}/mime-info +%if %suse_version > 1020 + +%fdupes -s $RPM_BUILD_ROOT +%endif %clean rm -rf $RPM_BUILD_ROOT @@ -104,7 +113,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pixmaps/* %doc %{_mandir}/man1/*.* -%changelog -n dia +%changelog +* Fri Jul 27 2007 - maw@suse.de +- Add %%fdupes stuff * Mon Jan 22 2007 - sbrabec@suse.cz - Prefix changed to /usr. - Spec file cleanup.