2007-01-16 00:36:27 +01:00
|
|
|
|
#
|
2010-04-06 01:22:40 +02:00
|
|
|
|
# spec file for package scribus (Version 1.3.3.14)
|
2007-01-16 00:36:27 +01:00
|
|
|
|
#
|
2010-04-06 01:22:40 +02:00
|
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:36:27 +01:00
|
|
|
|
#
|
2008-10-09 12:10:06 +02:00
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2007-01-16 00:36:27 +01:00
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
2008-04-14 21:57:20 +02:00
|
|
|
|
|
2007-01-16 00:36:27 +01:00
|
|
|
|
Name: scribus
|
2008-04-14 21:57:20 +02:00
|
|
|
|
BuildRequires: cairo-devel cups cups-devel python-devel shared-mime-info
|
|
|
|
|
BuildRequires: fontconfig-devel libtiff-devel libxml2-devel openssl-devel
|
2008-04-16 18:26:16 +02:00
|
|
|
|
BuildRequires: gcc-c++ pkgconfig qt3-devel
|
2008-10-09 12:10:06 +02:00
|
|
|
|
BuildRequires: cmake fdupes kde4-filesystem update-desktop-files
|
2007-01-16 00:36:27 +01:00
|
|
|
|
%if %suse_version < 1010
|
2009-07-31 01:09:24 +02:00
|
|
|
|
BuildRequires: ghostscript-library libtiff-devel openssl-devel
|
2007-01-16 00:36:27 +01:00
|
|
|
|
%endif
|
2010-04-06 01:22:40 +02:00
|
|
|
|
License: GPLv2+
|
2007-01-16 00:36:27 +01:00
|
|
|
|
Group: Productivity/Publishing/Other
|
2008-01-10 03:06:57 +01:00
|
|
|
|
AutoReqProv: on
|
2007-01-16 00:36:27 +01:00
|
|
|
|
Requires: tk python-imaging
|
2008-01-10 03:06:57 +01:00
|
|
|
|
Suggests: AdobeICCProfiles
|
2007-01-16 00:36:27 +01:00
|
|
|
|
Provides: scribus-short-words
|
|
|
|
|
Obsoletes: scribus-i18n-de scribus-i18n-en scribus-i18n-fr scribus-short-words
|
2010-04-06 01:22:40 +02:00
|
|
|
|
Version: 1.3.3.14
|
|
|
|
|
Release: 1
|
2008-12-08 19:47:51 +01:00
|
|
|
|
%define tar_version %version
|
2008-04-16 18:26:16 +02:00
|
|
|
|
Source: %{name}-%{tar_version}.tar.bz2
|
2009-07-31 01:09:24 +02:00
|
|
|
|
Source1: vnd.%name.desktop
|
|
|
|
|
Source2: %name.desktop
|
2010-04-06 01:22:40 +02:00
|
|
|
|
#Patch1: fix-implicit.patch
|
2008-01-14 12:37:19 +01:00
|
|
|
|
Patch3: %{name}-1.3.3.10-doc-path.diff
|
2008-01-10 03:06:57 +01:00
|
|
|
|
Url: http://www.scribus.net/
|
2007-01-16 00:36:27 +01:00
|
|
|
|
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
|
2008-01-10 03:06:57 +01:00
|
|
|
|
producing commercial grade output in PDF and Postscript. It is
|
|
|
|
|
primarily, though not exclusively,designed for Linux.
|
2007-01-16 00:36:27 +01:00
|
|
|
|
|
2008-01-10 03:06:57 +01:00
|
|
|
|
While the goals of the program are ease of use and user-friendly
|
|
|
|
|
tools, Scribus offers support for the following professional
|
|
|
|
|
publishing features: * CMYK colors
|
|
|
|
|
|
|
|
|
|
* Easy PDF creation
|
|
|
|
|
|
|
|
|
|
* Encapsulated Postscript import and export
|
|
|
|
|
|
|
|
|
|
* Creation of color separations.
|
2007-01-16 00:36:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>
|
2009-07-31 01:09:24 +02:00
|
|
|
|
Christian T<EFBFBD>pp <mr-ct@gmx.de>
|
2007-01-16 00:36:27 +01:00
|
|
|
|
Alastair Robinson <blackfive@fakenhamweb.co.uk>
|
|
|
|
|
Thomas Zastrow <webmaster@thomas-zastrow.de>
|
|
|
|
|
Steve Callcott
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-04-16 18:26:16 +02:00
|
|
|
|
%setup -q -n %name-%tar_version
|
2010-04-06 01:22:40 +02:00
|
|
|
|
#%patch1
|
2007-06-28 19:41:05 +02:00
|
|
|
|
%patch3
|
2007-01-16 00:36:27 +01:00
|
|
|
|
|
|
|
|
|
%build
|
2007-06-28 19:41:05 +02:00
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
2008-06-03 01:14:53 +02:00
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
|
export CFLAGS="$CXXFLAGS -fno-strict-aliasing"
|
2007-06-28 19:41:05 +02:00
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \
|
|
|
|
|
-DCMAKE_SKIP_RPATH=TRUE -DDOCDIR=%{_docdir} -DLIB_INSTALL_DIR=%{_libdir} \
|
2009-07-31 21:25:06 +02:00
|
|
|
|
-DLIB_SUFFIX=$(echo %_lib | cut -b4-) -DWANT_CAIRO=1 ..
|
2009-07-31 01:09:24 +02:00
|
|
|
|
make VERBOSE=1
|
2007-01-16 00:36:27 +01:00
|
|
|
|
|
|
|
|
|
%install
|
2007-06-28 19:41:05 +02:00
|
|
|
|
cd build
|
|
|
|
|
%makeinstall
|
|
|
|
|
cd ..
|
2007-04-23 12:24:27 +02:00
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
|
2009-07-31 01:09:24 +02:00
|
|
|
|
install -m 644 -D $RPM_BUILD_ROOT/usr/share/scribus/icons/scribus.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/scribus.png
|
2008-04-16 18:26:16 +02:00
|
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/mimelnk
|
2009-07-31 01:09:24 +02:00
|
|
|
|
install -m 644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications/vnd.scribus.desktop
|
|
|
|
|
%suse_update_desktop_file -r vnd.%name Office WordProcessor
|
2007-06-28 19:41:05 +02:00
|
|
|
|
install -m 644 -D scribus.xml $RPM_BUILD_ROOT%{_datadir}/mime/packages/scribus.xml
|
2007-01-16 00:36:27 +01:00
|
|
|
|
|
|
|
|
|
%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)
|
2008-04-16 18:26:16 +02:00
|
|
|
|
%doc %_defaultdocdir/%name
|
2007-01-16 00:36:27 +01:00
|
|
|
|
%{_bindir}/*
|
2009-07-31 01:09:24 +02:00
|
|
|
|
/usr/share/applications/vnd*.desktop
|
2007-01-16 00:36:27 +01:00
|
|
|
|
/usr/share/man/man?/*.*
|
|
|
|
|
/usr/share/man/*/man?/*.*
|
|
|
|
|
%{_libdir}/scribus
|
|
|
|
|
%{_prefix}/share/mime/packages/*.xml
|
|
|
|
|
%{_prefix}/share/scribus
|
2009-07-31 01:09:24 +02:00
|
|
|
|
/usr/share/icons/hicolor/48x48/apps/scribus.png
|
2007-06-28 19:41:05 +02:00
|
|
|
|
%dir /usr/share/man/pl
|
|
|
|
|
%dir /usr/share/man/pl/man1
|
2007-01-16 00:36:27 +01:00
|
|
|
|
|
2007-03-08 17:58:55 +01:00
|
|
|
|
%changelog
|