2007-01-16 00:36:27 +01:00
|
|
|
|
#
|
2007-06-20 01:31:11 +02:00
|
|
|
|
# spec file for package scribus (Version 1.3.3.9)
|
2007-01-16 00:36:27 +01:00
|
|
|
|
#
|
2007-01-28 23:09:07 +01:00
|
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:36:27 +01:00
|
|
|
|
# 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: scribus
|
|
|
|
|
BuildRequires: cairo-devel cups cups-devel kdelibs3-devel python-devel shared-mime-info
|
|
|
|
|
%if %suse_version < 1000
|
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
|
%endif
|
|
|
|
|
%if %suse_version < 1010
|
|
|
|
|
BuildRequires: -ghostscript-library libtiff-devel openssl-devel
|
|
|
|
|
%endif
|
2007-01-28 23:09:07 +01:00
|
|
|
|
License: GNU General Public License (GPL)
|
2007-01-16 00:36:27 +01:00
|
|
|
|
Group: Productivity/Publishing/Other
|
|
|
|
|
Autoreqprov: on
|
|
|
|
|
Requires: tk python-imaging
|
|
|
|
|
%if %suse_version > 1000
|
|
|
|
|
Suggests: AdobeICCProfiles
|
|
|
|
|
%endif
|
|
|
|
|
Provides: scribus-short-words
|
|
|
|
|
Obsoletes: scribus-i18n-de scribus-i18n-en scribus-i18n-fr scribus-short-words
|
2007-06-20 01:31:11 +02:00
|
|
|
|
Version: 1.3.3.9
|
|
|
|
|
Release: 1
|
2007-01-16 00:36:27 +01:00
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-03-12 12:02:26 +01:00
|
|
|
|
Patch2: %{name}-%{version}_string-literal-comparsion-b.patch
|
2007-01-16 00:36:27 +01:00
|
|
|
|
URL: http://www.scribus.net/
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
Summary: Open Source Page Layout and Desktop Publishing (DTP)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Scribus is a desktop open source page layout program with the aim of
|
|
|
|
|
producing commerical grade output in PDF and Postscript, primarily,
|
|
|
|
|
though not exclusively, for Linux.
|
|
|
|
|
|
|
|
|
|
While the goals of the program are ease of use and simple
|
|
|
|
|
easy-to-understand tools, Scribus offers support for professional
|
|
|
|
|
publishing features, such as CMYK colors, easy PDF creation,
|
|
|
|
|
Encapsulated Postscript import and export, and creation of color
|
|
|
|
|
separations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Franz Schmid <Franz.Schmid@altmuehlnet.de>
|
|
|
|
|
Paul F. Johnson <paul@all-the-johnsons.co.uk>
|
|
|
|
|
Craig Bradney <cbradney@zip.com.au>
|
|
|
|
|
Peter Linnell <mrdocs@scribus.info>
|
|
|
|
|
Petr Vaněk <petr@yarpen.cz>
|
|
|
|
|
Riku Leino <tsoots@welho.com>
|
|
|
|
|
Craig Ringer <craig@postnewspapers.com.au>
|
|
|
|
|
Alessandro Rimoldi http://ideale.ch/contact
|
|
|
|
|
Jean-Jacques Sarton <jj.sarton@t-online.de>
|
|
|
|
|
Christian T<EFBFBD>pp <mr-ct@gmx.de>
|
|
|
|
|
Alastair Robinson <blackfive@fakenhamweb.co.uk>
|
|
|
|
|
Thomas Zastrow <webmaster@thomas-zastrow.de>
|
|
|
|
|
Steve Callcott
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Open Source Page Layout / Desktop Publishing (DTP)
|
|
|
|
|
Group: Productivity/Publishing/Other
|
|
|
|
|
Requires: %{name} = %{version} freetype2-devel zlib-devel libstdc++-devel glibc-devel
|
|
|
|
|
Autoreqprov: on
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Scribus is an desktop open source page layout program with the aim of
|
|
|
|
|
producing commerical grade output in PDF and Postscript, primarily,
|
|
|
|
|
though not exclusively for Linux.
|
|
|
|
|
|
|
|
|
|
While the goals of the program are for ease of use and simple easy to
|
|
|
|
|
understand tools, Scribus offers support for professional publishing
|
|
|
|
|
features, such as CMYK colors, easy PDF creation, Encapsulated
|
|
|
|
|
Postscript import/export and creation of color separations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Franz Schmid <Franz.Schmid@altmuehlnet.de>
|
|
|
|
|
Paul F. Johnson <paul@all-the-johnsons.co.uk>
|
|
|
|
|
Craig Bradney <cbradney@zip.com.au>
|
|
|
|
|
Peter Linnell <mrdocs@scribus.info>
|
|
|
|
|
Petr Vaněk <petr@yarpen.cz>
|
|
|
|
|
Riku Leino <tsoots@welho.com>
|
|
|
|
|
Craig Ringer <craig@postnewspapers.com.au>
|
|
|
|
|
Alessandro Rimoldi http://ideale.ch/contact
|
|
|
|
|
Jean-Jacques Sarton <jj.sarton@t-online.de>
|
|
|
|
|
Christian T<EFBFBD>pp <mr-ct@gmx.de>
|
|
|
|
|
Alastair Robinson <blackfive@fakenhamweb.co.uk>
|
|
|
|
|
Thomas Zastrow <webmaster@thomas-zastrow.de>
|
|
|
|
|
Steve Callcott
|
|
|
|
|
|
|
|
|
|
%define prefix /usr
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
2007-03-12 12:02:26 +01:00
|
|
|
|
%patch2
|
2007-01-16 00:36:27 +01:00
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
. /etc/opt/kde3/common_options
|
|
|
|
|
update_admin --no-unsermake
|
|
|
|
|
#autoconf
|
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2007-03-12 12:02:26 +01:00
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
2007-01-16 00:36:27 +01:00
|
|
|
|
./configure \
|
|
|
|
|
--prefix=%{prefix} \
|
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
|
--infodir=%{_infodir} \
|
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
|
--with-qt-libraries=/usr/%_lib/qt3/%_lib \
|
2007-04-23 12:24:27 +02:00
|
|
|
|
--with-docdir=%{_docdir}/%{name} \
|
2007-01-16 00:36:27 +01:00
|
|
|
|
%ifarch x86_64 ppc64 s390x
|
|
|
|
|
--enable-libsuffix=64 \
|
|
|
|
|
%endif
|
|
|
|
|
--with-pythondir=%{_libdir}/python \
|
|
|
|
|
--with-xinerama
|
|
|
|
|
make %{?jobs:-j %jobs}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
#. /etc/opt/kde3/common_options
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2007-04-23 12:24:27 +02:00
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
|
|
|
cp AUTHORS COPYING ChangeLog NEWS README PACKAGING TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
|
2007-01-16 00:36:27 +01:00
|
|
|
|
#suse_update_desktop_file -i %name Office WordProcessor
|
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/scribus/plugins/*.*a $RPM_BUILD_ROOT%{_libdir}/scribus/plugins/*/*.*a
|
|
|
|
|
install -d $RPM_BUILD_ROOT%{_datadir}/applications
|
|
|
|
|
install scribus.desktop $RPM_BUILD_ROOT%{_datadir}/applications/
|
|
|
|
|
install -d $RPM_BUILD_ROOT%{_datadir}/mime/packages
|
|
|
|
|
install scribus.xml $RPM_BUILD_ROOT%{_datadir}/mime/packages/scribus.xml
|
|
|
|
|
%suse_update_desktop_file scribus
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
if [ -f /usr/bin/update-mime-database ]; then
|
|
|
|
|
/usr/bin/update-mime-database /usr/share/mime > /dev/null
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
if [ -f /usr/bin/update-mime-database ]; then
|
|
|
|
|
/usr/bin/update-mime-database /usr/share/mime > /dev/null
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-, root, root)
|
2007-04-23 12:24:27 +02:00
|
|
|
|
%doc %{_docdir}/%{name}
|
2007-01-16 00:36:27 +01:00
|
|
|
|
%{_bindir}/*
|
|
|
|
|
/usr/share/applications/*.desktop
|
|
|
|
|
/usr/share/man/man?/*.*
|
|
|
|
|
/usr/share/man/*/man?/*.*
|
|
|
|
|
/usr/share/pixmaps/*
|
|
|
|
|
%{_libdir}/scribus
|
|
|
|
|
%{_prefix}/share/mime/packages/*.xml
|
|
|
|
|
%{_prefix}/share/scribus
|
|
|
|
|
%{_prefix}/share/doc/scribus-%{version}
|
|
|
|
|
# This should be owned by filesystem or man, but there are only scribus files:
|
|
|
|
|
%lang(pl) %dir /usr/share/man/pl
|
|
|
|
|
%lang(pl) %dir /usr/share/man/pl/man1
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
%{_prefix}/include/scribus
|
|
|
|
|
|
2007-03-08 17:58:55 +01:00
|
|
|
|
%changelog
|
2007-06-20 01:31:11 +02:00
|
|
|
|
* Wed Jun 13 2007 - ltinkl@suse.cz
|
|
|
|
|
- update to 1.3.3.9 bugfix release
|
|
|
|
|
- many bugfixes
|
|
|
|
|
- more translation updates
|
|
|
|
|
- improvements to the SVG importer
|
|
|
|
|
- improvements to PDF forms
|
|
|
|
|
- update to 1.3.3.8
|
|
|
|
|
- many bugfixes
|
|
|
|
|
- more translation updates
|
|
|
|
|
- improvements to the SVG importer
|
|
|
|
|
- improvements to the Open Document Draw importer
|
|
|
|
|
- improvements to PDF forms
|
2007-04-23 12:24:27 +02:00
|
|
|
|
* Mon Apr 23 2007 - pgajdos@suse.cz
|
|
|
|
|
- fixed doc paths in spec file
|
2007-03-12 12:02:26 +01:00
|
|
|
|
* Mon Mar 12 2007 - pgajdos@suse.cz
|
|
|
|
|
- fixed gcc warnings in beta version:
|
|
|
|
|
* program uses possibly exploitable format strings
|
|
|
|
|
(format-not-literal.patch)
|
|
|
|
|
* program compares a char* pointer with string literal
|
|
|
|
|
(string-literal-comparsion.patch)
|
|
|
|
|
* added CFLAG -fno-strict-aliasing inside scribus.spec
|
2007-03-08 17:58:55 +01:00
|
|
|
|
* Thu Mar 08 2007 - pgajdos@suse.cz
|
|
|
|
|
- fixed 'warning: comparsion with string literal' (#233016, #228963)
|
|
|
|
|
- string-literal-comparsion.patch
|
2007-01-28 23:09:07 +01:00
|
|
|
|
* Sun Jan 28 2007 - stbinner@suse.de
|
|
|
|
|
- Updated to bugfix release 1.3.3.7
|
2007-01-16 00:36:27 +01:00
|
|
|
|
* Thu Nov 09 2006 - sbrabec@suse.cz
|
|
|
|
|
- Fixed python detection (#213668).
|
|
|
|
|
* Sat Nov 04 2006 - stbinner@suse.de
|
|
|
|
|
- fix build for < 10.1
|
|
|
|
|
* Wed Oct 18 2006 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.3.3.4:
|
|
|
|
|
* Purely a bug fix release.
|
|
|
|
|
* Translations updated.
|
|
|
|
|
* Tue Aug 08 2006 - stbinner@suse.de
|
|
|
|
|
- update to version 1.3.3.3 "stable usable development version"
|
|
|
|
|
* Fix borked color names and wrong Bitstream Vera rendering
|
|
|
|
|
* Many crash und other minor bug fixes
|
|
|
|
|
* Several translation updates
|
|
|
|
|
* Thu Jul 13 2006 - stbinner@suse.de
|
|
|
|
|
- fix build for <10.1
|
|
|
|
|
* Wed May 31 2006 - adrian@suse.de
|
|
|
|
|
- update to version 1.3.3.2 "stable usable development version"
|
|
|
|
|
* more than 200 bugs and feature requests got implemented
|
|
|
|
|
* fix for pdf export using Adobe Reader 7.x
|
|
|
|
|
* new language translations
|
|
|
|
|
* Mon May 29 2006 - schwab@suse.de
|
|
|
|
|
- Don't strip binaries.
|
|
|
|
|
* Mon Feb 20 2006 - sbrabec@suse.cz
|
|
|
|
|
- Export dynamic symbols from scribus binary (#148279).
|
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
|
* Fri Jan 20 2006 - schwab@suse.de
|
|
|
|
|
- Don't strip binaries.
|
|
|
|
|
* Tue Jan 10 2006 - sbrabec@suse.cz
|
|
|
|
|
- Re-enabled desktop file translation.
|
|
|
|
|
* Fri Jan 06 2006 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.2.4.1.
|
|
|
|
|
* Thu Jan 05 2006 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.2.4.
|
|
|
|
|
* Tue Jan 03 2006 - sbrabec@suse.cz
|
|
|
|
|
- Suggest AdobeICCProfiles.
|
|
|
|
|
* Wed Dec 07 2005 - sbrabec@suse.cz
|
|
|
|
|
- Search for ICC profiles in subdirectories.
|
|
|
|
|
http://bugs.scribus.net/view.php?id=2882
|
|
|
|
|
* Fri Nov 25 2005 - sbrabec@suse.cz
|
|
|
|
|
- Fixed devel splitting (#117811).
|
|
|
|
|
- Resource /usr/local/share/color/icc.
|
|
|
|
|
http://bugs.scribus.net/view.php?id=2864
|
|
|
|
|
- Enabled parallel build.
|
|
|
|
|
* Tue Oct 25 2005 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.2.3.
|
|
|
|
|
- Install MIME info files.
|
|
|
|
|
* Wed Jul 27 2005 - sbrabec@suse.cz
|
|
|
|
|
- Provide and obsolete scribus-short-words.
|
|
|
|
|
* Wed Jul 13 2005 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.2.2.1.
|
|
|
|
|
- Removed unneeded static modules and .la files for modules.
|
|
|
|
|
* Wed Jan 26 2005 - sbrabec@suse.cz
|
|
|
|
|
- Obsoleted old documentation packages.
|
|
|
|
|
* Tue Jan 11 2005 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.2.1.
|
|
|
|
|
* Thu Dec 16 2004 - coolo@suse.de
|
|
|
|
|
- fix unsermake install
|
|
|
|
|
* Wed Sep 15 2004 - sbrabec@suse.cz
|
|
|
|
|
- Worked-around bi-arch bugs by forcing /usr/lib (#44961).
|
|
|
|
|
http://bugs.scribus.net/bug_view_advanced_page.php?bug_id=0001057
|
|
|
|
|
* Sun Sep 05 2004 - coolo@suse.de
|
|
|
|
|
- fixing build requires
|
|
|
|
|
* Tue Aug 31 2004 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.2.
|
|
|
|
|
* Fri Aug 27 2004 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.2RC1.
|
|
|
|
|
* Thu Apr 01 2004 - ro@suse.de
|
|
|
|
|
- run update_admin to get current libtool macros
|
|
|
|
|
- some more configure hackery to adapt to updated kde-macros
|
|
|
|
|
to finally find python on lib64 platforms
|
|
|
|
|
* Wed Mar 31 2004 - sf@suse.de
|
|
|
|
|
- add scribus-1.1.5-c++.diff (#37208)
|
|
|
|
|
* Tue Mar 30 2004 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.1.6.
|
|
|
|
|
* Thu Mar 04 2004 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.1.5.
|
|
|
|
|
* Mon Feb 23 2004 - sbrabec@suse.cz
|
|
|
|
|
- Fixed and turned on CUPS support.
|
|
|
|
|
* Sat Jan 10 2004 - adrian@suse.de
|
|
|
|
|
- build as user
|
|
|
|
|
* Fri Aug 22 2003 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.0.1.
|
|
|
|
|
* Fri Aug 15 2003 - adrian@suse.de
|
|
|
|
|
- install desktop file
|
|
|
|
|
* Thu Aug 14 2003 - ro@suse.de
|
|
|
|
|
- run update_admin (autoreconf in kde-style)
|
|
|
|
|
- change prefix/lib to libdir in all Makefile.am
|
|
|
|
|
* Tue Aug 12 2003 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 1.0.
|
|
|
|
|
* Thu Jun 12 2003 - ro@suse.de
|
|
|
|
|
- add doc-dir to filelist
|
|
|
|
|
* Mon Mar 31 2003 - ro@suse.de
|
|
|
|
|
- fix build on lib64
|
|
|
|
|
* Mon Feb 10 2003 - sbrabec@suse.cz
|
|
|
|
|
- Fix Qt path for biarch.
|
|
|
|
|
* Mon Feb 10 2003 - sbrabec@suse.cz
|
|
|
|
|
- Updated to version 0.9.7.
|
|
|
|
|
* Wed Nov 20 2002 - sbrabec@suse.cz
|
|
|
|
|
- Added new package.
|
|
|
|
|
- FHS fixes.
|
|
|
|
|
- Aufoconf fixes.
|
|
|
|
|
- KDE autoconf fixes.
|