260 lines
7.8 KiB
RPMSpec
260 lines
7.8 KiB
RPMSpec
|
#
|
||
|
# spec file for package inkscape (Version 0.44.1)
|
||
|
#
|
||
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: inkscape
|
||
|
BuildRequires: cairomm docbook-toys gcc-c++ gtkmm24-devel intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel liblcms-devel libwnck-devel libxslt-devel loudmouth-devel mDNSResponder-devel perl-XML-Parser python-devel python-gtk-devel sgml-skel update-desktop-files
|
||
|
%define prefix /opt/gnome
|
||
|
License: GNU General Public License (GPL)
|
||
|
Group: Productivity/Graphics/Vector Editors
|
||
|
Requires: cairomm ghostscript-fonts-std python-gtk python-numeric pstoedit libwmf gzip skencil /usr/bin/gs
|
||
|
Autoreqprov: on
|
||
|
Summary: Inkscape Vector Illustration Program
|
||
|
Version: 0.44.1
|
||
|
Release: 35
|
||
|
Provides: sodipodi
|
||
|
Obsoletes: sodipodi
|
||
|
PreReq: /bin/rm /bin/ln /bin/sh /usr/bin/perl
|
||
|
Source: inkscape-%{version}.tar.bz2
|
||
|
Source1: gc6.4.tar.bz2
|
||
|
Patch: inkscape-boehm-gc.patch
|
||
|
Patch4: inkscape-swigfix.patch
|
||
|
Patch6: inkscape-invalid-conversion.patch
|
||
|
Patch7: inkscape-bug-189159.patch
|
||
|
Patch8: inkscape-configure.patch
|
||
|
Patch9: inkscape-siox-max.patch
|
||
|
Patch10: gc6.4.dif
|
||
|
Patch11: inkscape-enable-perl.patch
|
||
|
URL: http://www.inkscape.org/
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
Inkscape is a vector illustration program for the GNOME desktop.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Alexander Clausen
|
||
|
John Bintz
|
||
|
Arpad Biro
|
||
|
Daniel Borgmann
|
||
|
Hans Breuer
|
||
|
Bulia Byak
|
||
|
Chema Celorio
|
||
|
Johan Ceuppens
|
||
|
Zbigniew Chyla
|
||
|
John Cliff
|
||
|
Kees Cook
|
||
|
Robert Crosbie
|
||
|
Jon Cruz
|
||
|
Danilo Egan
|
||
|
Frank Felfe
|
||
|
Fred
|
||
|
Ted Gould
|
||
|
Bryce Harrington
|
||
|
Carl Hetherington
|
||
|
Nathan Hurst
|
||
|
Thomas Ingham
|
||
|
Bob Jamison
|
||
|
Lauris Kaplinski
|
||
|
Lynn Kerby
|
||
|
Petr Kovar
|
||
|
Raph Levien
|
||
|
Vitaly Lipatov
|
||
|
Dmitry G. Mastrukov
|
||
|
Michael Meeks
|
||
|
Federico Mena
|
||
|
MenTaLguY
|
||
|
Peter Moulder
|
||
|
Yukihiro Nakai
|
||
|
Christian Neumair
|
||
|
Mitsuru Oka
|
||
|
Jon Phillips
|
||
|
Christian Schaller
|
||
|
Tom von Schwerdtner
|
||
|
Pat Suwalski
|
||
|
Adib Taraben
|
||
|
Daniel Yacob
|
||
|
Masatake Yamato
|
||
|
|
||
|
%prep
|
||
|
%setup -b 1
|
||
|
%patch
|
||
|
%patch4
|
||
|
%patch6
|
||
|
%patch7
|
||
|
%patch8
|
||
|
%patch9
|
||
|
%patch11
|
||
|
pushd ../gc*
|
||
|
%patch10
|
||
|
popd
|
||
|
patch <<EOF
|
||
|
--- configure.ac
|
||
|
+++ configure.ac
|
||
|
@@ -612,1 +612,1 @@
|
||
|
-AC_DEFINE_UNQUOTED([INKSCAPE_LIBDIR], "\${prefix}/lib",
|
||
|
+AC_DEFINE_UNQUOTED([INKSCAPE_LIBDIR], "\${prefix}/%_lib",
|
||
|
EOF
|
||
|
chmod -x README.ca.txt
|
||
|
|
||
|
%build
|
||
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||
|
pushd ../gc*
|
||
|
autoreconf --force --install
|
||
|
export CFLAGS="$CFLAGS -fPIC -fno-strict-aliasing"
|
||
|
export CXXFLAGS="$CFLAGS"
|
||
|
./configure --prefix=/usr --disable-shared
|
||
|
make
|
||
|
make install DESTDIR=$RPM_BUILD_DIR/gc_install
|
||
|
popd
|
||
|
aclocal
|
||
|
automake
|
||
|
autoconf
|
||
|
./configure --prefix=%prefix \
|
||
|
--mandir=%_mandir \
|
||
|
--libdir=%prefix/%_lib \
|
||
|
--datadir=%prefix/share \
|
||
|
--enable-db2html \
|
||
|
--enable-gnome \
|
||
|
--with-python \
|
||
|
--with-perl \
|
||
|
--with-gnome-print \
|
||
|
--enable-inkboard \
|
||
|
--with-gc=$RPM_BUILD_DIR/gc_install/usr
|
||
|
make %{?jobs:-j%jobs}
|
||
|
|
||
|
%install
|
||
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||
|
%suse_update_desktop_file -N "Inkscape" -G "SVG Vector Illustrator" inkscape Office FlowChart
|
||
|
%find_lang %{name}
|
||
|
mkdir -p $RPM_BUILD_ROOT/opt/gnome/share/inkscape/extensions-optional
|
||
|
cp $RPM_BUILD_ROOT/opt/gnome/share/inkscape/extensions/dia.inx $RPM_BUILD_ROOT/opt/gnome/share/inkscape/extensions-optional
|
||
|
|
||
|
%triggerin -- dia
|
||
|
ln -f opt/gnome/share/inkscape/extensions-optional/dia.inx opt/gnome/share/inkscape/extensions/dia.inx
|
||
|
|
||
|
%triggerpostun -- dia
|
||
|
if [ ! -x /opt/gnome/bin/dia ] ; then
|
||
|
rm opt/gnome/share/inkscape/extensions/dia.inx
|
||
|
fi
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files -f %{name}.lang
|
||
|
%defattr(-,root,root)
|
||
|
%doc AUTHORS COPYING COPYING.LIB ChangeLog HACKING* INSTALL NEWS README* TRANSLATORS
|
||
|
/opt/gnome/bin/*
|
||
|
/opt/gnome/share/applications/inkscape.desktop
|
||
|
%doc /usr/share/man/man?/*.*
|
||
|
%doc /usr/share/man/??/man?/*.*
|
||
|
%dir /opt/gnome/share/inkscape
|
||
|
/opt/gnome/share/inkscape/[a-df-z]*
|
||
|
/opt/gnome/share/inkscape/exa*
|
||
|
/opt/gnome/share/inkscape/extensions-optional
|
||
|
%dir /opt/gnome/share/inkscape/extensions
|
||
|
/opt/gnome/share/inkscape/extensions/[a-ce-zA-Z]*
|
||
|
/opt/gnome/share/inkscape/extensions/dia2*
|
||
|
/opt/gnome/share/inkscape/extensions/dots*
|
||
|
#/opt/gnome/share/inkscape/extensions/dr*
|
||
|
/opt/gnome/share/inkscape/extensions/dx*
|
||
|
%ghost /opt/gnome/share/inkscape/extensions/dia.inx
|
||
|
/opt/gnome/share/pixmaps/inkscape.png
|
||
|
%dir /usr/share/man/fr/man1
|
||
|
|
||
|
%changelog -n inkscape
|
||
|
* Thu Jan 04 2007 - prusnak@suse.cz
|
||
|
- fixed illegal comparison (siox-max.patch) [#231224]
|
||
|
* Mon Nov 06 2006 - jhargadon@suse.de
|
||
|
- applied a patch that fixes a problem where the package would not
|
||
|
compile with the --with-perl option.
|
||
|
* Sat Oct 21 2006 - schwab@suse.de
|
||
|
- Don't use obsolete macro.
|
||
|
* Fri Oct 13 2006 - danw@suse.de
|
||
|
- Remove dead patches
|
||
|
* Thu Oct 05 2006 - jhargadon@suse.de
|
||
|
- added --datadir=%%prefix/share as a configuration option. This
|
||
|
is a work around for bug #204719
|
||
|
* Fri Sep 29 2006 - jhargadon@suse.de
|
||
|
- update to version 0.44.1
|
||
|
- Layers dialog
|
||
|
- Outline mode, many performance improvements
|
||
|
- Native PDF export with transparency
|
||
|
- Clipping and masking support
|
||
|
- Configurable keyboard shortcuts
|
||
|
- Docked color palette in the editing window
|
||
|
- Interactive indicator of the style of selection in the statusbar
|
||
|
- Innovative "node sculpting" and other improvements in Node tool
|
||
|
- Better SVG support: <switch> element, ICC color profiles for images
|
||
|
- Persistent rotation centers, Paste Size command
|
||
|
- many bug fixes
|
||
|
- removed the --with-perl option from configuration in the specfile
|
||
|
* Sat Sep 09 2006 - meissner@suse.de
|
||
|
- use RPM_OPT_FLAGS.
|
||
|
* Wed Aug 16 2006 - cthiel@suse.de
|
||
|
- buildrequire python-gtk-devel instead of python-gtk
|
||
|
* Fri Jul 07 2006 - jpr@suse.de
|
||
|
- add patch to not use freetype2 internals
|
||
|
* Sat Feb 18 2006 - stbinner@suse.de
|
||
|
- fix typo .desktop file
|
||
|
* Sat Feb 18 2006 - gekker@suse.de
|
||
|
- fixup .desktop file for UI team
|
||
|
* Tue Jan 31 2006 - ro@suse.de
|
||
|
- take fix from swig to swig-generated source file
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Wed Nov 23 2005 - sbrabec@suse.cz
|
||
|
- Updated to version 0.43 (#134655).
|
||
|
- Enabled Inkboard Collaborative Editing.
|
||
|
* Mon Nov 07 2005 - sbrabec@suse.cz
|
||
|
- Fixed qualification and type conversion errors.
|
||
|
* Thu Aug 25 2005 - nadvornik@suse.cz
|
||
|
- updated to bugfix release 0.42.2 [#112918]
|
||
|
* Mon Aug 01 2005 - ro@suse.de
|
||
|
- added dir to filelist /usr/share/man/fr/man1
|
||
|
* Fri Jul 29 2005 - sbrabec@suse.cz
|
||
|
- Updated to version 0.42.
|
||
|
* Tue May 31 2005 - schwab@suse.de
|
||
|
- Fix more invalid casts.
|
||
|
* Wed May 18 2005 - ro@suse.de
|
||
|
- fix build with current pkgconfig
|
||
|
* Thu Apr 28 2005 - sbrabec@suse.cz
|
||
|
- Build boehm-gc with -fPIC and -fno-strict-aliasing.
|
||
|
* Wed Apr 27 2005 - ro@suse.de
|
||
|
- remove boehm-gc from nfb (dropped)
|
||
|
- use private copy of gc6.4
|
||
|
* Tue Apr 26 2005 - sbrabec@suse.cz
|
||
|
- Install missing translation files.
|
||
|
* Mon Apr 11 2005 - sbrabec@suse.cz
|
||
|
- Fixed invalid casts.
|
||
|
* Mon Mar 21 2005 - sbrabec@suse.cz
|
||
|
- Bi-arch fix (#66780).
|
||
|
- Require skencil needed for PS/EPS input (#66780).
|
||
|
* Mon Feb 28 2005 - sbrabec@suse.cz
|
||
|
- Added needed Requires and triggers for optional extensions
|
||
|
(#66780).
|
||
|
- Turned on perl, python and gnome-print support.
|
||
|
* Mon Feb 21 2005 - sbrabec@suse.cz
|
||
|
- Updated to version 0.41.
|
||
|
- Worked around problems with boehm-gc detection.
|
||
|
* Fri Feb 11 2005 - sbrabec@suse.cz
|
||
|
- Updated to version 0.40.
|
||
|
* Fri Feb 11 2005 - ro@suse.de
|
||
|
- change to libsigc++12 in neededforbuild
|
||
|
* Tue Nov 02 2004 - mmj@suse.de
|
||
|
- Locale rename: no -> nb
|
||
|
* Thu Aug 12 2004 - hhetter@suse.de
|
||
|
- Obsolete and Provide sodipodi
|
||
|
* Mon Aug 02 2004 - hhetter@suse.de
|
||
|
- initial SuSE package
|