]> git.pld-linux.org Git - packages/python-pycairo.git/commitdiff
- from kiesyoo at o2 dot pl AC-branch AC-STABLE auto/ac/python-pycairo-1_2_6-1
authorhawk <hawk@pld-linux.org>
Tue, 13 Mar 2007 21:53:56 +0000 (21:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  - updated to 1.2.6
  - dropped obsolete pygtk and cairo.svg support
  - added without_numpy

Changed files:
    python-pycairo.spec -> 1.14.2.1

python-pycairo.spec

index 1b9be01b99953dac6454a82fd4887cacb885f6b8..111547b875938173b9153b7a3080e66e59faecbb 100644 (file)
@@ -1,31 +1,27 @@
 #
 # Conditional build
-%bcond_without pygtk   # for bootstrap without pygtk
+%bcond_without numpy
 #
 %define                pname pycairo
 Summary:       Python Cairo bindings
 Summary:       Dowi±zania Pythona dla Cairo
 Name:          python-%{pname}
-Version:       1.0.2
-Release:       2
+Version:       1.2.6
+Release:       1
 License:       LGPL v2.1 or MPL v1.1
 Group:         Libraries
 Source0:       http://cairographics.org/releases/%{pname}-%{version}.tar.gz
-# Source0-md5: 5bb6a202ebc3990712bced1da6dfb7a8
+# Source0-md5: 166b04c4800c01aba1a6c8b14e87e0bc
 URL:           http://cairographics.org/
-BuildRequires: autoconf >= 2.54
-BuildRequires: automake >= 1:1.7
-BuildRequires: cairo-devel >= 1.0.0
-BuildRequires: gtk+2-devel >= 2:2.2.0
-BuildRequires: libsvg-cairo-devel >= 0.1.6
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1:1.9
+BuildRequires: cairo-devel >= 1.2.6
 BuildRequires: libtool
-BuildRequires: python >= 2.3
-BuildRequires: python-numpy-devel
-%{?with_pygtk:BuildRequires:   python-pygtk-devel >= 2.2.0}
+BuildRequires: python-devel >= 2.3
+%{?with_numpy:BuildRequires:   python-numpy-devel}
 BuildRequires: rpm-pythonprov
 %pyrequires_eq python-libs
-Requires:      cairo >= 1.0.0
-Requires:      libsvg-cairo >= 0.1.6
+Requires:      cairo >= 1.2.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -77,7 +73,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-cp -ar examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 rm $RPM_BUILD_ROOT%{py_sitedir}/cairo/*.{la,py}
 
This page took 1.759677 seconds and 4 git commands to generate.