View Issue Details

IDProjectCategoryView StatusLast Update
0013341ScribusBuild Systempublic2016-12-06 22:31
Reporterwilliam Assigned Toplinnell 
Status assignedResolutionopen 
PlatformRedHat / CentOS / FedoraOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0013341: The Scribus source is missing an RPM spec file
DescriptionOn RedHat, CentOS, Fedora and other RPM-based distributions, it is easier to install applications like Scribus if they can be packaged in an RPM.

Building an RPM requires a "spec" file for rpmbuild.

Some people have posted Scribus RPMs, for example, at

Could a spec file be posted or added to the SVN source?
Spec files can test the OS distribution and version, so a single file might be able to support all RPM-based distributions.

The PACKAGING file has suggestions for making a spec file, but it mainly covers associating SLA files with Scribus rather than packaging a Scribus binary installation.

If Fedora or CentOS has the spec file that they used to make the scribus 1.4 RPMs in their distributions, is it legal to include that spec file in the Scribus SVN source?
Additional InformationExample of testing the OS in a spec file.

%if 0%{?rhel}
%if 0%{?rhel} >= 7
%define java_version 1.7.0-openjdk
%define java_version 1.6.0-openjdk

%if 0%{?fedora}
%if 0%{?fedora} >= 20
%define java_version 1.8.0-openjdk
%define java_version 1.7.0-openjdk

%if 0%{?sles_version}
%define java_version 1_7_0-openjdk

%if 0%{?suse_version} == 1210
%define java_version 1_6_0-openjdk

%if 0%{?suse_version} > 1210
%define java_version 1_7_0-openjdk

%if 0%{?centos_version}
%define java_version 1.6.0-openjdk

%if 0%{?mdkversion} || 0%{?pclinuxos}
%define java_version 1.8.0-sun

TagsNo tags attached.



2015-09-07 17:01

administrator   ~0036163 are the official ones. Peter is the RPM maintainer


2015-09-10 00:41


scribus.spec (20,479 bytes)


2015-09-10 01:09

updater   ~0036183

As far as I can tell, Peter's site has only Scribus 1.4 RPMs.
I might need to install Scribus 1.5 on a number of CentOS 7 systems, and the easiest way is through a CentOS 7 RPM.
I just posted a spec file that works on my CentOS 7 system.
I started with the spec file included in the CentOS 7 source RPM for Scribus 1.4 and updated it for Scribus 1.5 and added support for versioning.
I used the commands below.
Would it be possible to include a spec file in the Scribus source, either Peter's if he has one for 1.5.1 or mine?

mkdir -p ~/rpmbuild/{RPMS,SRPMS,BUILD,SOURCES,SPECS,tmp}
cd /u/work
if [ ! -d Scribus ] ; then svn co svn:// ; fi # First time
cd Scribus
svn update
svn info | grep Revision
cd ..
mv Scribus scribus-1.5.1.svn
tar cJf scribus-1.5.1.svn.tar.xz scribus-1.5.1.svn/* scribus-1.5.1.svn/.travis.yml
mv scribus-1.5.1.svn.tar.xz ~/rpmbuild/SOURCES/
mv scribus-1.5.1.svn Scribus
cd ~/rpmbuild/SPECS
edit scribus.spec
  Update the Release with <revision>.<YYYMMDD>
rpmbuild -bb scribus.spec
(or the command below if you want a log)
mv nohup.err nohup.err- ; nohup rpmbuild -bb scribus.spec > nohup.err 2>&1 & sleep 1 ; tail -f nohup.err


2015-09-17 17:50

manager   ~0036259

Reminder sent to: plinnell



2015-10-09 19:45

manager   ~0036587

2:38 PM <plinnell> Kunda: let me tackle that tonight


2016-04-18 14:51

manager   ~0040267

plinnel, ping


2016-12-06 22:31

manager   ~0042754

plinnell on IRC:
> i need to clean up the OBS spec file and add it

Issue History

Date Modified Username Field Change
2015-09-07 13:34 william New Issue
2015-09-07 17:01 cbradney Assigned To => plinnell
2015-09-07 17:01 cbradney Status new => assigned
2015-09-07 17:01 cbradney Note Added: 0036163
2015-09-10 00:41 william File Added: scribus.spec
2015-09-10 01:09 william Note Added: 0036183
2015-09-17 17:50 Kunda Note Added: 0036259
2015-10-09 19:45 Kunda Note Added: 0036587
2015-11-03 03:19 Kunda Note Added: 0037167
2016-04-18 14:51 Kunda Note Added: 0040267
2016-12-06 22:31 Kunda Note Added: 0042754