Compare commits

...

32 Commits

Author SHA1 Message Date
Fedora Release Engineering
d72b919a11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 22:57:27 +00:00
Fedora Release Engineering
7d4050f9f9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 15:00:46 +00:00
Igor Gnatenko
4c38001334 Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-29 06:17:24 +01:00
Igor Gnatenko
cd2ad6a361 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:49 +01:00
Caolán McNamara
9ae3a3207d rebuild for hunspell-1.7.0 2018-11-13 15:28:52 +00:00
Michael J Gruber
a79cb5539b fix EPS import
bz #1628943
gs bz #699780

This is a hotfix - patch will be submitted with scribus upstream.

Helped-by: Ken Sharp <ken.sharp@artifex.com>
2018-09-17 16:21:46 +02:00
Fedora Release Engineering
66f14893f9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 05:52:44 +00:00
Sandro Mani
aae23661b9 Rebuild (podofo) 2018-07-11 12:57:10 +02:00
Iryna Shcherbina
62c83b0e2d Update Python 2 dependency declarations to new packaging standards 2018-02-12 10:01:19 +01:00
Fedora Release Engineering
f9f6377177 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 16:22:18 +00:00
Fedora Release Engineering
f02f0c1bdc - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 08:16:16 +00:00
Fedora Release Engineering
02008e9c49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 18:20:07 +00:00
Igor Gnatenko
161bf13488 Rebuild due to bug in RPM (RHBZ #1468476)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-07-07 13:11:43 +02:00
Yaakov Selkowitz
5ac98b7622 Detect hunspell 1.5 and 1.6 too 2017-04-06 20:54:30 -05:00
Yaakov Selkowitz
8eb41b5ac3 Fix detection of hunspell-1.4 for spell-checking support (#1425305) 2017-04-06 20:25:23 -05:00
Kalev Lember
3cb1a9a151 Rebuilt for Boost 1.63 2017-02-06 22:00:33 +01:00
Sandro Mani
8a4002715b Rebuild (podofo) 2017-02-03 00:56:47 +01:00
Jonathan Wakely
d3028407c8 Rebuilt for Boost 1.63 2017-01-27 11:45:47 +00:00
Jon Ciesla
78fd35f5ac podofo rebuild. 2016-09-23 16:27:40 -05:00
Jon Ciesla
1ae2332172 1.4.6 2016-05-24 21:06:55 -05:00
Fedora Release Engineering
4723a1553a - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 23:46:29 +00:00
Jonathan Wakely
5371f1fb26 Rebuilt for Boost 1.60 2016-01-15 21:51:11 +00:00
Tom Callaway
6a4429cf3c fix non-free patch to resolve missing file issues 2016-01-12 17:42:03 -05:00
Tom Callaway
82a9df5151 remove non-free swatches, update license tag 2016-01-12 16:42:06 -05:00
Richard Hughes
dc60afa6aa Use a bigger resolution application icon 2015-09-18 14:03:36 +01:00
Jonathan Wakely
004274614d Rebuilt for Boost 1.59 2015-08-27 20:16:47 +01:00
Dennis Gilmore
d153a35cfb - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 2015-07-29 13:14:59 -05:00
David Tardon
0417bb9b46 rebuild for Boost 1.58 2015-07-22 19:27:40 +02:00
Dennis Gilmore
76e87981ee - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 00:31:47 +00:00
Tom Callaway
2da6d4cb52 update to 1.4.5, resolve legal issues 2015-05-07 16:54:06 -04:00
Richard Hughes
3e88f2bd16 Add an AppData file for the software center 2015-03-26 16:42:58 +00:00
Petr Machata
66ef18481c Rebuild for boost 1.57.0 2015-01-27 14:52:08 +01:00
9 changed files with 229 additions and 32 deletions

2
.gitignore vendored
View File

@ -7,3 +7,5 @@ scribus-1.3.8.tar.bz2
/scribus-1.4.2-free.tar.xz
/scribus-1.4.3-free.tar.xz
/scribus-1.4.4-free.tar.xz
/scribus-1.4.5-free.tar.xz
/scribus-1.4.6-free.tar.xz

View File

@ -11,11 +11,11 @@ nv=scribus-${version}
archive=${nv}.tar.xz
freearchive=${nv}-free.tar.xz
[ -f ${archive} ] || curl -O http://downloads.sourceforge.net/scribus/scribus-${version}.tar.xz
[ -f ${archive} ] || curl -OL http://downloads.sourceforge.net/scribus/scribus-${version}.tar.xz
echo "Extracting sources ..."
rm -rf ${nv}
xzcat $archive | tar xf -
tar -xJf $archive
pushd ${nv}
@ -29,6 +29,11 @@ rm scribus/profiles/{sRGB.icm,srgb.license}
rm resources/swatches/*.eps
rm resources/swatches/dtp-studio-free-palettes-license.rtf
rm resources/swatches/Galaxy_*
rm resources/swatches/Resene_*
rm resources/swatches/COPYING_RESENE.txt
rm resources/swatches/NAA*
rm resources/swatches/GiveLife_Color_System_*.xml
rm resources/swatches/givelife_colors_license.rtf
@ -37,6 +42,12 @@ rm resources/swatches/Federal_Identity_Program.xml
# Remove non-free (CC-BY-SA-NC) dot files
rm resources/editorconfig/dot.*
# Remove non-free dic files
rm resources/dicts/hyph_fi.dic
# Remove license unknown dic files
rm resources/dicts/hyph_ia.dic resources/dicts/hyph_sv.dic
popd
echo "Creating sources ..."

View File

@ -46,3 +46,15 @@ diff -up scribus-1.4.4/resources/editorconfig/CMakeLists.txt.no-dot scribus-1.4.
500_povray.xml
povray_32.png
diff -up scribus-1.4.5/resources/swatches/CMakeLists.txt.nonfree scribus-1.4.5/resources/swatches/CMakeLists.txt
--- scribus-1.4.5/resources/swatches/CMakeLists.txt.nonfree 2016-01-12 17:41:12.379774049 -0500
+++ scribus-1.4.5/resources/swatches/CMakeLists.txt 2016-01-12 17:41:22.219677148 -0500
@@ -8,7 +8,7 @@ FILE( GLOB EPS_PALETTES *.eps )
FILE( GLOB RTF_LICENSES *.rtf )
#Avoid CMakeLists.txt
-SET(TXT_LICENSES "${CMAKE_CURRENT_SOURCE_DIR}/COPYING_RESENE.txt" "${CMAKE_CURRENT_SOURCE_DIR}/Japanese_Traditional_README.txt")
+SET(TXT_LICENSES "${CMAKE_CURRENT_SOURCE_DIR}/Japanese_Traditional_README.txt")
INSTALL(FILES ${GIMP_STYLE_PALETTES} ${XML_PALETTES} ${EPS_PALETTES} ${RTF_LICENSES} ${TXT_LICENSES}
DESTINATION ${SHAREDIR}swatches

View File

@ -0,0 +1,36 @@
diff -up scribus-1.4.5/resources/dicts/README_hyph_da_DK.txt.lppl scribus-1.4.5/resources/dicts/README_hyph_da_DK.txt
--- scribus-1.4.5/resources/dicts/README_hyph_da_DK.txt.lppl 2015-05-07 16:50:30.664715518 -0400
+++ scribus-1.4.5/resources/dicts/README_hyph_da_DK.txt 2015-05-07 16:50:53.288550546 -0400
@@ -3,6 +3,9 @@ Hyphenation dictionary
Language: Danish (da DK).
Origin: Based on the TeX hyphenation tables
+ http://www.ctan.org/tex-archive/language/hyphenation/dkhyphn/dkhyphn.tex
+ The TeX hyphenation tables are released under the LaTeX Project
+ Public License (LPPL)
License: GNU LGPL license.
Author: conversion author is Marco Huggenberger<marco@by-night.ch>
diff -up scribus-1.4.5/resources/dicts/README_is_IS.txt.lppl scribus-1.4.5/resources/dicts/README_is_IS.txt
--- scribus-1.4.5/resources/dicts/README_is_IS.txt.lppl 2015-05-07 16:51:32.623263721 -0400
+++ scribus-1.4.5/resources/dicts/README_is_IS.txt 2015-05-07 16:51:53.072114610 -0400
@@ -2,15 +2,14 @@ Hyphenation dictionary
----------------------
Language: Icelandic (Iceland) (is IS).
-Origin: Based on the TeX hyphenation tables
+Origin: Based on the TeX hyphenation tables by J�rgen Pind (1987).
+ http://www.ctan.org/tex-archive/language/hyphenation/dkhyphn/dkhyphn.tex
+ The TeX hyphenation tables are released under the LaTeX Project
+ Public License (LPPL)
License: LGPL/SISSL license, 2003
Author: akig@hi.is (Áki G. Karlsson)
HYPH is IS hyph_is_IS
-
-
- These patterns were converted from TeX hyphenation patterns by Jörgen Pind
- (1987).
--
Áki G. Karlsson

View File

@ -0,0 +1,10 @@
--- scribus-1.4.6-orig/scribus/plugins/import/ps/import.prolog 2009-05-08 21:04:32.000000000 +0200
+++ scribus-1.4.6/scribus/plugins/import/ps/import.prolog 2018-09-17 16:05:24.988900385 +0200
@@ -75,6 +75,7 @@
//doimage exec
} .forceput
end
+/.currentopacityalpha {//.currentopacityalpha} bind def
setglobal
.bindnow

View File

@ -0,0 +1,12 @@
--- a/cmake/modules/FindHUNSPELL.cmake
+++ b/cmake/modules/FindHUNSPELL.cmake
@@ -9,7 +9,7 @@
#Based on examples at http://www.vtk.org/Wiki/CMake:How_To_Find_Libraries
FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2 PATHS /opt/local/lib /usr/local/lib /usr/lib )
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.7 hunspell-1.6 hunspell-1.5 hunspell-1.4 hunspell-1.3 hunspell-1.2 PATHS /opt/local/lib /usr/local/lib /usr/lib )
INCLUDE(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE

BIN
scribus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -1,22 +1,25 @@
Name: scribus
Version: 1.4.4
Release: 5%{?dist}
Version: 1.4.6
Release: 17%{?dist}
Summary: DeskTop Publishing application written in Qt
Group: Applications/Productivity
License: GPLv2+
# swatches bring in the fun licenses
License: GPLv2+ and OGL and CC0 and CC-BY and CC-BY-SA and Public Domain and ASL 2.0 and LGPLv2+
URL: http://www.scribus.net/
# ./make-free-archive %{version}
Source0: %{name}-%{version}-free.tar.xz
#Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
#Source1: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz.asc
Source2: scribus.png
Patch1: %{name}-1.4.4-qreal_double.patch
# fix build with non-free content removed
Patch2: %{name}-1.4.2-nonfree.patch
# Fix necessary LPPL attribution
Patch3: %{name}-1.4.5-lppl-fixes.patch
# Fix detection of hunspell-1.4+
Patch4: %{name}-1.4.6-hunspell.patch
Patch5: %{name}-1.4.6-gs-9.24.patch
BuildRequires: cmake
BuildRequires: cups-devel
BuildRequires: desktop-file-utils
BuildRequires: lcms2-devel
@ -26,8 +29,8 @@ BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: libxml2-devel
BuildRequires: openssl-devel
BuildRequires: python-devel
BuildRequires: python-imaging-devel
BuildRequires: python2-devel
BuildRequires: python2-imaging-devel
BuildRequires: qt4-devel
BuildRequires: zlib-devel
BuildRequires: freetype-devel
@ -38,9 +41,9 @@ BuildRequires: boost-devel
BuildRequires: podofo-devel
BuildRequires: hyphen-devel
Requires: ghostscript
Requires: python
Requires: python-imaging
Requires: tkinter
Requires: python2
Requires: python2-imaging
Requires: python2-tkinter
Requires: shared-mime-info
Obsoletes: %{name}-doc < %{version}-%{release}
Obsoletes: %{name}-devel < %{version}-%{release}
@ -64,6 +67,9 @@ import/export and creation of color separations.
%setup -q
%patch1 -p1 -b .double
%patch2 -p1 -b .nonfree
%patch3 -p1
%patch4 -p1
%patch5 -p1
# recode man page to UTF-8
pushd scribus/manpages
@ -98,7 +104,7 @@ pushd build
make install DESTDIR=$RPM_BUILD_ROOT
popd
install -p -D -m0644 ${RPM_BUILD_ROOT}%{_datadir}/scribus/icons/scribus.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/scribus.png
install -p -D -m0644 %SOURCE2 ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/scribus.png
install -p -D -m0644 ${RPM_BUILD_ROOT}%{_datadir}/scribus/icons/scribusdoc.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/x-scribus.png
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
@ -115,27 +121,48 @@ desktop-file-install \
# remove unwanted stuff
rm -rf ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}
%post
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
update-desktop-database &> /dev/null || :
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
fi
%posttrans
update-desktop-database &> /dev/null || :
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
# Register as an application to be visible in the software center
#
# NOTE: It would be *awesome* if this file was maintained by the upstream
# project, translated and installed into the right place during `make install`.
#
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
#
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<!--
BugReportURL: http://bugs.scribus.net/view.php?id=12708
SentUpstream: 2014-09-18
-->
<application>
<id type="desktop">scribus.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<description>
<p>
Scribus is a desktop publishing application that allows you to create posters,
magazines and books ready to send off to a printing house.
It supports professional publishing features, such color separations, CMYK and
spot colors, ICC color management, and versatile PDF creation.
</p>
<!-- FIXME: Probably needs another paragraph or two -->
</description>
<url type="homepage">http://scribus.net/</url>
<screenshots>
<screenshot type="default">http://upload.wikimedia.org/wikipedia/commons/f/f4/Scribus-1.3-Linux.png</screenshot>
</screenshots>
<!-- FIXME: change this to an upstream email address for spec updates
<updatecontact>someone_who_cares@upstream_project.org</updatecontact>
-->
</application>
EOF
%files
%doc AUTHORS ChangeLog COPYING LINKS README
%{_bindir}/%{name}
%{_libdir}/%{name}/
%{_datadir}/appdata/*%{name}.appdata.xml
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/mime/packages/%{name}.xml
%{_datadir}/pixmaps/*
@ -148,6 +175,93 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%changelog
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Nov 13 2018 Caolán McNamara <caolanm@redhat.com> - 1.4.6-15
- rebuild for hunspell-1.7.0
* Mon Sep 17 2018 Michael J Gruber <mjg@fedoraproject.org> - 1.4.6-14
- fix EPS import (bz #1628943)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jul 11 2018 Sandro Mani <manisandro@gmail.com> - 1.4.6-12
- Rebuild (podofo)
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.4.6-11
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.4.6-7
- Rebuild due to bug in RPM (RHBZ #1468476)
* Fri Apr 07 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 1.4.6-6
- Fix detection of latest hunspell for spell-checking support (#1425305)
* Mon Feb 06 2017 Kalev Lember <klember@redhat.com> - 1.4.6-5
- Rebuilt for Boost 1.63
* Thu Feb 02 2017 Sandro Mani <manisandro@gmail.com> - 1.4.6-4
- Rebuild (podofo)
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 1.4.6-3
- Rebuilt for Boost 1.63
* Fri Sep 23 2016 Jon Ciesla <limburgher@gmail.com> - 1.4.6-2
- podofo rebuild.
* Tue May 24 2016 Jon Ciesla <limburgher@gmail.com> - 1.4.6-1
- 1.4.6
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 1.4.5-8
- Rebuilt for Boost 1.60
* Tue Jan 12 2016 Tom Callaway <spot@fedoraproject.org> - 1.4.5-7
- fix license tag, remove found non-free swatches (bz 1297262)
* Fri Sep 18 2015 Richard Hughes <rhughes@redhat.com> - 1.4.5-6
- Use a bigger resolution application icon
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 1.4.5-5
- Rebuilt for Boost 1.59
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-4
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1.4.5-3
- rebuild for Boost 1.58
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu May 7 2015 Tom Callaway <spot@fedoraproject.org> 1.4.5-1
- update to 1.4.5
- drop non-free and questionable hyphen dic files (bz 1219415)
- fix necessary LPPL attributions
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 1.4.4-7
- Add an AppData file for the software center
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 1.4.4-6
- Rebuild for boost 1.57.0
* Thu Aug 28 2014 Dan Horák <dan[at]danny.cz> - 1.4.4-5
- switch to Debian patch for the qreal vs double conflict on ARM (fixes #1076885)

View File

@ -1 +1 @@
1373e797409c1d6477a1f3cb9d061d0e scribus-1.4.4-free.tar.xz
106b2b55bfb87cab65d2d952dbaf7fea scribus-1.4.6-free.tar.xz