Browse Source

upgrading package: scribus 1.1.1 -> 1.1.2

Michael Schloh von Bennewitz 22 years ago
parent
commit
f00088d19a
2 changed files with 1134 additions and 4 deletions
  1. 1119 2
      scribus/scribus.patch
  2. 15 2
      scribus/scribus.spec

File diff suppressed because it is too large
+ 1119 - 2
scribus/scribus.patch


+ 15 - 2
scribus/scribus.spec

@@ -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}" \