]> git.pld-linux.org Git - packages/abiword.git/commitdiff
- bcond for build with python 2.3 or 2.4 (default: 2.4)
authorsaq <saq@pld-linux.org>
Thu, 23 Dec 2004 12:44:36 +0000 (12:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 4

Changed files:
    abiword.spec -> 1.94

abiword.spec

index 7edfbfbdf2a0d148fa5e00cee9e8937fbecc3384..43eb6e80f678db9596034ea53fe4811a4b0104f2 100644 (file)
@@ -1,8 +1,12 @@
+#
+# Conditional build:
+%bcond_with    python23        # build for python 2.3
+
 Summary:       Multi-platform word processor
 Summary(pl):   Wieloplatformowy procesor tekstu
 Name:          abiword
 Version:       2.0.14
-Release:       3
+Release:       4
 Epoch:         1
 License:       GPL
 Group:         X11/Applications
@@ -11,6 +15,7 @@ Source0:      http://dl.sourceforge.net/abiword/%{name}-%{version}.tar.bz2
 Patch0:                %{name}-desktop.patch
 Patch1:                %{name}-home_etc.patch
 Patch2:                %{name}-gucharmap.patch
+Patch3:                %{name}-python24.patch
 URL:           http://www.abisource.com/
 BuildRequires: ImageMagick-c++-devel >= 5.4.0
 BuildRequires: aiksaurus-gtk-devel >= 1.0
@@ -40,7 +45,12 @@ BuildRequires:       libxml2-devel >= 2.4.20
 BuildRequires: nautilus-devel >= 2.0
 BuildRequires: ots-devel >= 0.4.1
 BuildRequires: psiconv-devel
+%if %{with python23}
 BuildRequires: python-devel >= 1:2.3
+BuildRequires: python-devel < 1:2.4
+%else
+BuildRequires: python-devel >= 1:2.4
+%endif
 BuildRequires: wv-devel >= 1.0.0
 BuildRequires: xft-devel >= 2.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -121,6 +131,9 @@ Jest to teczka clipart
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%if %{without python23}
+%patch3 -p1
+%endif
 
 %build
 cd abi
This page took 0.162814 seconds and 4 git commands to generate.