SHA256
1
0
forked from pool/scribus
OBS User mrdocs 2018-04-29 03:00:40 +00:00 committed by Git OBS Bridge
parent 1c1112d505
commit 591e72d346

View File

@ -31,8 +31,7 @@ Source3: %{name}-icon64.png
Source4: %{name}-icon128.png
Source5: %{name}-icon256.png
Source6: %{name}.appdata.xml
# PATCH-FIX-OPENSUSE
#Patch: hunspell-1.6.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel
@ -56,7 +55,7 @@ BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: shared-mime-info
BuildRequires: update-desktop-files
##BuildRequires: libMagick++-devel
%if 0%{?suse_version}
Requires: ghostscript-library
@ -66,8 +65,6 @@ Suggests: AdobeICCProfiles
Suggests: Uniconvertor
%endif
Provides: scribus-templates > 1.2
Obsoletes: scribus-templates =< 1.2
%description
Scribus is a open source page layout program which
@ -91,14 +88,12 @@ Requires: zlib-devel
%description devel
This package provides the development headers for scribus. It is most useful
for developing scribus plugins.
%prep
%setup -q
#patch -p1
%build
# Delete non-free colour swatches (bnc#763586)
@ -142,15 +137,10 @@ install -D -m 0644 %{S:5} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{n
%if 0%{?suse_version}
%suse_update_desktop_file -r -i %{name} Qt Office Publishing WordProcessor
# hi-res icons are already installed in hicolor-icon-theme directory
# mkdir %{buildroot}%{_datadir}/pixmaps
# install -m 644 %{buildroot}%{_datadir}/%{name}/icons/%{name}.png %{buildroot}%{_datadir}/pixmaps/
%endif
%fdupes -s %{buildroot}%{_includedir}/%{name}/
%fdupes -s %{buildroot}%{_datadir}
# INSTALL APPSTREAM METAINFO (SOURCE6)
install -Dm0644 %{S:6} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
@ -177,7 +167,6 @@ install -Dm0644 %{S:6} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/scribus
%{_datadir}/doc/scribus
%{_datadir}/applications/%{name}.desktop
#%%{_datadir}/pixmaps/%%{name}.png
# This should be owned by filesystem or man, but there are only scribus files:
%lang(pl) %dir %{_mandir}/pl
%lang(pl) %{_mandir}/pl/man1