]> git.pld-linux.org Git - packages/dia.git/blobdiff - dia.spec
- x32 rebuild
[packages/dia.git] / dia.spec
index 35524bf86f59b3c49582c41817032de7ecfffaf8..71e92a3c7594b387dd24dcbeeb15a4ae85e99d3c 100644 (file)
--- a/dia.spec
+++ b/dia.spec
@@ -7,23 +7,23 @@ Summary(ru.UTF-8):    Программа для рисования диаграмм
 Summary(uk.UTF-8):     Програма для малювання діаграм
 Summary(zh_CN.UTF-8):  基于GTK+的流程图程序
 Name:          dia
-Version:       0.97
-Release:       1
+Version:       0.97.2
+Release:       8
 Epoch:         1
 License:       GPL v2+
 Group:         X11/Applications/Graphics
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/dia/0.97/%{name}-%{version}.tar.bz2
-# Source0-md5: 3d11f9aaa5a4923f0a5533962c87bdfb
+Source0:       http://ftp.gnome.org/pub/gnome/sources/dia/0.97/%{name}-%{version}.tar.xz
+# Source0-md5: 1e1180a513fb567709b09bc19f12105e
 Source1:       http://dia-installer.de/shapes/central_data_processing/central_data_processing.zip
 # Source1-md5: 103865b35609d2a0f8a0e034c49cf130
 Source2:       http://dia-installer.de/shapes/chemistry_lab/chemistry_lab.zip
-# Source2-md5: 988e4c992f0ca4452c9eb8e224b73adf
+# Source2-md5: ad752d7dfb733b6a9f8c54e05685223c
 Source3:       http://dia-installer.de/shapes/cmos/cmos.zip
 # Source3-md5: 65f319c9c0c15d0691f9e97fd034c005
 Source4:       http://dia-installer.de/shapes/digital/digital.zip
 # Source4-md5: 8eef8562b618254fc5ebd4ac3f4f15ed
 Source5:       http://dia-installer.de/shapes/edpc/edpc.zip
-# Source5-md5: 3cc6f6eb886715ea7ce1a09bd3a46a5e
+# Source5-md5: 6d62a586419b5ed616cc2a67f80a2e3d
 Source6:       http://dia-installer.de/shapes/electronic/electronic.zip
 # Source6-md5: ddeca421f725af66be41f14ab170b2b8
 Source7:       http://dia-installer.de/shapes/lst/lst.zip
@@ -37,12 +37,15 @@ Source10:   http://dia-installer.de/shapes/renewable_energy/renewable_energy.zip
 Source11:      http://dia-installer.de/shapes/scenegraph/scenegraph.zip
 # Source11-md5:        2bca8efa9bae10c13968ebacc9f1a00b
 Patch0:                %{name}-python.patch
-URL:           http://www.gnome.org/projects/dia/
+Patch1:                %{name}-wmf-cast.patch
+Patch2:                %{name}-glib2.patch
+Patch3:                %{name}-glib.patch
+URL:           https://live.gnome.org/Dia
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: cairo-devel >= 1.0.0
-BuildRequires: docbook-utils
-BuildRequires: gettext-devel
+BuildRequires: docbook-style-xsl
+BuildRequires: gettext-tools
 BuildRequires: gtk+2-devel >= 2:2.6.0
 BuildRequires: intltool >= 0.35.0
 BuildRequires: libEMF-devel
@@ -56,14 +59,15 @@ BuildRequires:      libxslt-devel
 BuildRequires: libxslt-progs
 BuildRequires: pkgconfig
 BuildRequires: python-devel >= 1:2.3
-BuildRequires: python-pygtk-devel
+BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(find_lang) >= 1.23
 BuildRequires: rpmbuild(macros) >= 1.311
-BuildRequires: rpm-pythonprov
+BuildRequires: scrollkeeper
 BuildRequires: sed >= 4.0
 BuildRequires: unzip
 BuildRequires: zlib-devel
 Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk-update-icon-cache
 Requires:      python-modules >= 1:2.3
 Requires:      python-pygtk-gtk
 # sr@Latn vs. sr@latin
@@ -127,6 +131,9 @@ PostScript(TM).
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %{__sed} -i -e s#sr@Latn#sr@latin# po/LINGUAS
 mv -f po/sr@{Latn,latin}.po
@@ -164,9 +171,6 @@ unzip -n -d $RPM_BUILD_ROOT%{_datadir}/%{name} %{SOURCE9}
 unzip -n -d $RPM_BUILD_ROOT%{_datadir}/%{name} %{SOURCE10}
 unzip -n -d $RPM_BUILD_ROOT%{_datadir}/%{name} %{SOURCE11}
 
-# Conflicts with Assorted/square.shape
-sed -i "s@Square@Square2@" $RPM_BUILD_ROOT%{_datadir}/%{name}/shapes/chemistry_lab/square.shape
-
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/dia/*.la
 %{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
 
This page took 0.056024 seconds and 4 git commands to generate.