OBS User unknown
2007-08-17 16:46:49 +00:00
committed by Git OBS Bridge
parent 13abcd6b3e
commit 63767b8a2c
10 changed files with 124 additions and 313 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package dia (Version 0.95)
# spec file for package dia (Version 0.96.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,7 +11,7 @@
# norootforbuild
Name: dia
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
BuildRequires: docbook-toys docbook-xsl-stylesheets fdupes gcc-c++ 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
@@ -22,8 +22,8 @@ Requires: ghostscript-fonts-std python-gtk python-numeric
# Requires: glibc-devel libpng-devel zlib-devel
Autoreqprov: on
Summary: A Diagram Creation Program
Version: 0.95
Release: 90
Version: 0.96.1
Release: 1
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,11 +32,8 @@ Patch: %name-0.92.2-callbrowser.diff
Patch3: dia-0.92.2-no-strict-aliasing.diff
Patch5: dia_bugfixes.diff
Patch8: dia-group-props-size.patch
Patch11: dia-cve-2006-2480.patch
Patch12: dia-cve-2006-2453.patch
Patch13: dia-64bit-clean.patch
Patch14: dia-python2.5.patch
Patch15: fix-desktop-file.diff
Patch14: dia-python-acinclude.patch
URL: http://live.gnome.org/Dia
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %suse_version > 1020
@@ -66,20 +63,15 @@ Authors:
%lang_package
%prep
%setup -q
gnome-patch-translation-prepare
%patch -p1
%patch3
%patch5 -p1
%patch8
%patch11
%patch12
%patch13
%patch14
%patch15
# Work around gettext bug #186174
LANG=en_US.UTF-8 msgconv po/ko.po -o po/ko.po.new
mv po/ko.po.new po/ko.po
gnome-patch-translation-update
cp $RPM_SOURCE_DIR/font-test*dia .
%build
@@ -94,7 +86,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
%suse_update_desktop_file -r -N Dia -C "" -G "Diagram Editor" dia Office FlowChart GNOME
%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
@@ -120,6 +112,34 @@ rm -rf $RPM_BUILD_ROOT
%files lang -f %{name}.lang
%changelog
* Thu Aug 16 2007 - jpr@suse.de
- Update to 0.96.1
* Empty initial lines in shapes crashes Dia (BGO #421250).
* several Python fixes, including a Doxygen import filter.
* Text-line rendering in SVG export.
* Keyboard shortcuts for tools now use shift-alt.
* Improvement in autogaps for some objects.
* .desktop file now has current version.
* Change in zoom levels in menus.
* Check that windows are within bounds before opening.
* Various compilation-time improvements.
* UML class improvements on comment and wrapped underlined names.
* Text rendering is now based on the TextLine objects
* Visio VXD files can now be imported and exported
* Renderer API change: Added function draw_text_line.
* Object API change: can_parent replaced by flags field.
* Dia menus now based on GtkAction framework.
* A number of new keyboard shortcuts.
* Layer visibility is now undoable.
* New sheets for Business Process Modelling
* The initial diagram will now be filled with opened diagram if
unchanged, like Gnumeric.
* Pasted objects now no longer land on top of each other.
* Fix of bug BGO #339562 (page margins restriction), BGO #338336
("query" in umloperation_offsets), and BGO #334771 (ungroup
crashes)
- Improved SVG export (#283773)
- Remove upstreamed patches
* Thu Aug 09 2007 - maw@suse.de
- Fix the -lang subpackage.
* Tue Aug 07 2007 - mauro@suse.de