|
@@ -1,6 +1,6 @@
|
|
|
# -*- encoding: utf-8 -*-
|
|
|
Name: scribus
|
|
|
-Version: 1.3.6
|
|
|
+Version: 1.4.0
|
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
Summary: DeskTop Publishing application written in Qt
|
|
@@ -9,17 +9,7 @@ Group: Applications/Productivity
|
|
|
License: GPLv2+
|
|
|
URL: http://www.scribus.net/
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
-# https://bugzilla.redhat.com/show_bug.cgi?id=506074
|
|
|
-# http://bugs.scribus.net/view.php?id=8232
|
|
|
-Patch0: %{name}-1.3.5-system-hyphen.patch
|
|
|
-# fix version variable for buildsystem
|
|
|
-Patch1: %{name}-1.3.6-version.patch
|
|
|
-# fix QString initialization in Qt 4.7
|
|
|
-Patch2: %{name}-1.3.6-qstring.patch
|
|
|
-# fix linking with --no-add-needed
|
|
|
-Patch3: %{name}-1.3.6-linker.patch
|
|
|
-# fix build with podofo 0.8.0
|
|
|
-Patch4: %{name}-1.3.6-podofo-0.8.0.patch
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
BuildRequires: cmake
|
|
@@ -78,10 +68,7 @@ Header files for Scribus.
|
|
|
Summary: Documentation files for Scribus
|
|
|
Group: Development/Tools
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
-%if 0%{?fedora} > 9
|
|
|
BuildArch: noarch
|
|
|
-Obsoletes: %{name}-doc < 1.3.5-0.12.beta
|
|
|
-%endif
|
|
|
|
|
|
|
|
|
%description doc
|
|
@@ -89,11 +76,6 @@ Obsoletes: %{name}-doc < 1.3.5-0.12.beta
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
-%patch0 -p1 -b .system-hyphen
|
|
|
-%patch1 -p1 -b .version
|
|
|
-%patch2 -p1 -b .qstring
|
|
|
-%patch3 -p1 -b .linker
|
|
|
-%patch4 -p2 -b .podofo
|
|
|
|
|
|
# recode man page to UTF-8
|
|
|
pushd scribus/manpages
|
|
@@ -142,11 +124,10 @@ find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
|
|
# install the global desktop file
|
|
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/mimelnk/application/*scribus.desktop
|
|
|
-desktop-file-install --vendor="fedora" \
|
|
|
- --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
+desktop-file-install \
|
|
|
+ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
scribus.desktop
|
|
|
|
|
|
-
|
|
|
%clean
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
@@ -161,15 +142,10 @@ update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
-%doc %{_datadir}/doc/%{name}-%{version}/AUTHORS
|
|
|
-%doc %{_datadir}/doc/%{name}-%{version}/ChangeLog
|
|
|
-%doc %{_datadir}/doc/%{name}-%{version}/ChangeLogSVN
|
|
|
-%doc %{_datadir}/doc/%{name}-%{version}/COPYING
|
|
|
-%doc %{_datadir}/doc/%{name}-%{version}/README
|
|
|
-%doc %{_datadir}/doc/%{name}-%{version}/TODO
|
|
|
+%doc AUTHORS ChangeLog ChangeLogSVN COPYING README TODO
|
|
|
%{_bindir}/%{name}
|
|
|
%{_libdir}/%{name}
|
|
|
-%{_datadir}/applications/fedora-%{name}.desktop
|
|
|
+%{_datadir}/applications/%{name}.desktop
|
|
|
%{_datadir}/mime/packages/%{name}.xml
|
|
|
%{_datadir}/pixmaps/*
|
|
|
%{_datadir}/%{name}
|
|
@@ -186,21 +162,14 @@ update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
|
|
|
|
|
|
%files doc
|
|
|
%defattr(-,root,root,-)
|
|
|
-%dir %{_datadir}/doc/%{name}-%{version}
|
|
|
-%lang(cs) %{_datadir}/doc/%{name}-%{version}/cs
|
|
|
-%lang(de) %{_datadir}/doc/%{name}-%{version}/de
|
|
|
-%lang(en) %{_datadir}/doc/%{name}-%{version}/en
|
|
|
-%lang(fr) %{_datadir}/doc/%{name}-%{version}/fr
|
|
|
-%lang(pl) %{_datadir}/doc/%{name}-%{version}/pl
|
|
|
-%{_datadir}/doc/%{name}-%{version}/BUILDING
|
|
|
-%{_datadir}/doc/%{name}-%{version}/NEWS
|
|
|
-%{_datadir}/doc/%{name}-%{version}/README*
|
|
|
-%{_datadir}/doc/%{name}-%{version}/PACKAGING
|
|
|
-%{_datadir}/doc/%{name}-%{version}/LINKS
|
|
|
-%{_datadir}/doc/%{name}-%{version}/TRANSLATION
|
|
|
+%{_datadir}/doc/%{name}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
|
|
|
+- new upstream release
|
|
|
+- remove old patches
|
|
|
+
|
|
|
* Tue Jun 1 2010 IWAI, Masaharu <iwai@alib.jp> 1.3.6-1
|
|
|
- initial build for Vine Linux: based Fedora 1.3.6-4.fc14
|
|
|
|