Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
scribus
scribus.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scribus.spec of Package scribus
# # spec file for package scribus (Version 1.3.3.13) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: scribus BuildRequires: cairo-devel cups cups-devel python-devel shared-mime-info BuildRequires: fontconfig-devel libtiff-devel libxml2-devel openssl-devel BuildRequires: gcc-c++ pkgconfig qt3-devel BuildRequires: cmake fdupes kde4-filesystem update-desktop-files %if %suse_version < 1010 BuildRequires: ghostscript-library libtiff-devel openssl-devel %endif License: GPL v2 or later Group: Productivity/Publishing/Other AutoReqProv: on Requires: tk python-imaging Suggests: AdobeICCProfiles Provides: scribus-short-words Obsoletes: scribus-i18n-de scribus-i18n-en scribus-i18n-fr scribus-short-words Version: 1.3.3.13 Release: 2 %define tar_version %version Source: %{name}-%{tar_version}.tar.bz2 Source1: vnd.%name.desktop Source2: %name.desktop Patch1: fix-implicit.patch Patch3: %{name}-1.3.3.10-doc-path.diff 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 commercial grade output in PDF and Postscript. It is primarily, though not exclusively,designed for Linux. 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. 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�pp <mr-ct@gmx.de> Alastair Robinson <blackfive@fakenhamweb.co.uk> Thomas Zastrow <webmaster@thomas-zastrow.de> Steve Callcott %prep %setup -q -n %name-%tar_version %patch1 %patch3 %build mkdir build cd build export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" export CFLAGS="$CXXFLAGS -fno-strict-aliasing" cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \ -DCMAKE_SKIP_RPATH=TRUE -DDOCDIR=%{_docdir} -DLIB_INSTALL_DIR=%{_libdir} \ -DLIB_SUFFIX=$(echo %_lib | cut -b4-) -DWANT_CAIRO=1 .. make VERBOSE=1 %install cd build %makeinstall cd .. mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name} install -m 644 -D $RPM_BUILD_ROOT/usr/share/scribus/icons/scribus.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/scribus.png rm -rf $RPM_BUILD_ROOT/usr/share/mimelnk install -m 644 -D %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications/vnd.scribus.desktop %suse_update_desktop_file -r vnd.%name Office WordProcessor install -m 644 -D scribus.xml $RPM_BUILD_ROOT%{_datadir}/mime/packages/scribus.xml %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) %doc %_defaultdocdir/%name %{_bindir}/* /usr/share/applications/vnd*.desktop /usr/share/man/man?/*.* /usr/share/man/*/man?/*.* %{_libdir}/scribus %{_prefix}/share/mime/packages/*.xml %{_prefix}/share/scribus /usr/share/icons/hicolor/48x48/apps/scribus.png %dir /usr/share/man/pl %dir /usr/share/man/pl/man1 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor