|
|
@@ -32,8 +32,11 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [EVAL]
|
|
|
Group: Editor
|
|
|
License: GPL
|
|
|
-Version: 1.1.1
|
|
|
-Release: 20031004
|
|
|
+Version: 1.1.2
|
|
|
+Release: 20031103
|
|
|
+
|
|
|
+# package options
|
|
|
+%option with_python no
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://web2.altmuehlnet.de/fschmid/scribus-%{version}.tar.gz
|
|
|
@@ -46,6 +49,10 @@ BuildPreReq: OpenPKG, openpkg >= 20030103, qt, freetype, libart
|
|
|
BuildPreReq: ghostscript, png, jpeg, tiff, zlib, pkgconfig
|
|
|
PreReq: OpenPKG, openpkg >= 20030103, qt, freetype, libart
|
|
|
PreReq: ghostscript, png, jpeg, tiff, zlib
|
|
|
+%if "%{with_python}" == "yes"
|
|
|
+BuildPreReq: python
|
|
|
+PreReq: python
|
|
|
+%endif
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -69,6 +76,12 @@ AutoReqProv: no
|
|
|
-e 's;u_int\([0-9]*\)_t;uint\1_t;g' \
|
|
|
scribus/*.cpp \
|
|
|
scribus/*.h
|
|
|
+%if "%{with_python}" == "yes"
|
|
|
+%else
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;^\(SUBDIRS =.*\) scriptplugin\(.*\)$;\1\2;' \
|
|
|
+ scribus/plugins/Makefile.in
|
|
|
+%endif
|
|
|
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|