From 13abcd6b3e1b17708b4d85041cbc02fe39c3a63e8c06ec88bf612a23d52e9a43 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 9 Aug 2007 23:06:25 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dia?expand=0&rev=4 --- dia.changes | 10 ++++++++++ dia.spec | 16 +++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/dia.changes b/dia.changes index 2a95b77..145bdcb 100644 --- a/dia.changes +++ b/dia.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Aug 9 19:21:24 CEST 2007 - maw@suse.de + +- Fix the -lang subpackage. + +------------------------------------------------------------------- +Tue Aug 7 20:38:01 CEST 2007 - mauro@suse.de + +- Split out a -lang subpackage + ------------------------------------------------------------------- Fri Jul 27 19:50:50 CEST 2007 - maw@suse.de diff --git a/dia.spec b/dia.spec index db590d3..783ff24 100644 --- a/dia.spec +++ b/dia.spec @@ -23,7 +23,7 @@ Requires: ghostscript-fonts-std python-gtk python-numeric Autoreqprov: on Summary: A Diagram Creation Program Version: 0.95 -Release: 83 +Release: 90 Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{version}.tar.bz2 Source1: font-test-japanese.dia Source2: font-test-czech.dia @@ -39,6 +39,9 @@ Patch14: dia-python2.5.patch Patch15: fix-desktop-file.diff URL: http://live.gnome.org/Dia BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %suse_version > 1020 +Requires: %{name}-lang = %{version} +%endif %description Dia is designed to be much like the commercial program 'Visio.' It can @@ -60,6 +63,7 @@ Authors: James Henstridge Alexander Larsson +%lang_package %prep %setup -q gnome-patch-translation-prepare @@ -91,7 +95,7 @@ make docdir=%{_docdir}/%{name} %{?jobs:-j%jobs} %install %makeinstall docdir=%{_docdir}/%{name} %suse_update_desktop_file -r -C "" -G "Diagram Editor" dia Office FlowChart GNOME -%find_lang dia +%find_lang %{name} 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 @@ -103,7 +107,7 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/mime-info %clean rm -rf $RPM_BUILD_ROOT -%files -f dia.lang +%files %defattr(-,root,root) %doc %{_docdir}/%{name} %{_bindir}/* @@ -113,7 +117,13 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pixmaps/* %doc %{_mandir}/man1/*.* +%files lang -f %{name}.lang + %changelog +* Thu Aug 09 2007 - maw@suse.de +- Fix the -lang subpackage. +* Tue Aug 07 2007 - mauro@suse.de +- Split out a -lang subpackage * Fri Jul 27 2007 - maw@suse.de - Add %%fdupes stuff * Mon Jan 22 2007 - sbrabec@suse.cz