SHA256
1
0
forked from pool/scribus
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

View File

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