Dominique Leuenberger 2018-06-02 10:14:47 +00:00 committed by Git OBS Bridge
commit d03534e82f
2 changed files with 23 additions and 22 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed May 30 08:03:23 UTC 2018 - jengelh@inai.de
- Trim marketing filler wording from description.
- Replace duplicate -fno-strict-aliasing.
- Run fdupes over more files. (Do it with hardlinks;
symlinks upset the documentation system.)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 1 21:29:52 UTC 2018 - wbauer@tmo.at Tue May 1 21:29:52 UTC 2018 - wbauer@tmo.at

View File

@ -20,8 +20,8 @@
Name: scribus Name: scribus
Version: 1.4.7 Version: 1.4.7
Release: 0 Release: 0
Summary: Open Source Page Layout and Desktop Publishing (DTP) Summary: Page Layout and Desktop Publishing (DTP)
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Productivity/Publishing/Other Group: Productivity/Publishing/Other
Url: http://www.scribus.net/ Url: http://www.scribus.net/
Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.xz Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.xz
@ -58,7 +58,6 @@ BuildRequires: python-devel
BuildRequires: shared-mime-info BuildRequires: shared-mime-info
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
%if 0%{?suse_version} %if 0%{?suse_version}
Requires: ghostscript-library Requires: ghostscript-library
Requires: python-imaging Requires: python-imaging
@ -67,20 +66,16 @@ Suggests: AdobeICCProfiles
Suggests: Uniconvertor Suggests: Uniconvertor
%endif %endif
%description %description
Scribus is a open source page layout program which Scribus is a page layout program which produces output in PDF and
produces commercial grade output in PDF and Postscript, primarily, Postscript.
though not exclusively, for Linux.
While the goals of the program are ease of use and simple Scribus supports publishing features such as CMYK and spot colors,
easy-to-understand tools, Scribus support for professional PDF creation, Encapsulated Postscript import and export and creation
publishing features, such as CMYK and spot colors, easy PDF creation, of color separations.
Encapsulated Postscript import and export and creation of color
separations.
%package devel %package devel
Summary: Open Source Page Layout / Desktop Publishing (DTP) Summary: Development files for Scribus
Group: Development/Libraries/Other Group: Development/Libraries/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: freetype2-devel Requires: freetype2-devel
@ -89,9 +84,8 @@ Requires: libstdc++-devel
Requires: zlib-devel Requires: zlib-devel
%description devel %description devel
This package provides the development headers for Scribus, used for
This package provides the development headers for scribus. It is most useful developing Scribus plugins.
for developing scribus plugins.
%prep %prep
@ -107,7 +101,7 @@ rm resources/swatches/*.eps
rm resources/swatches/dtp-studio-free-palettes-license.rtf rm resources/swatches/dtp-studio-free-palettes-license.rtf
export CXXFLAGS="%{optflags} -fno-strict-aliasing" export CXXFLAGS="%{optflags} -fno-strict-aliasing"
export CFLAGS="$CXXFLAGS -fno-strict-aliasing" export CFLAGS="$CXXFLAGS"
mkdir build mkdir build
pushd build pushd build
@ -127,8 +121,7 @@ make %{_smp_mflags}
%install %install
pushd build pushd build
make install DESTDIR=%{buildroot} %make_install
popd popd
# install hi-res icons for better appearance on gnome-shell # install hi-res icons for better appearance on gnome-shell
@ -143,7 +136,7 @@ install -D -m 0644 %{S:5} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{n
%endif %endif
%fdupes -s %{buildroot}%{_includedir}/%{name}/ %fdupes %{buildroot}/%{_prefix}
# INSTALL APPSTREAM METAINFO (SOURCE6) # INSTALL APPSTREAM METAINFO (SOURCE6)
install -Dm0644 %{S:6} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml install -Dm0644 %{S:6} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml