From 43c547876c09ce87d27fe66a1000f2b20707dd3d Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 12:24:56 +0000 Subject: auto-import changelog data from sip-3.0-6.src.rpm Thu Mar 07 2002 Than Ngo 3.0-6 - rebuild against qt3 Fri Feb 22 2002 Than Ngo 3.0-5 - build against python 1.5 and qt 2.3.2 Wed Jan 09 2002 Tim Powers - automated rebuild Tue Jan 08 2002 Than Ngo 3.0-3 - rebuild to get rid of libGL Mon Nov 19 2001 Than Ngo 3.0-2 - build against qt3 Sun Nov 18 2001 Than Ngo 3.0-1 - update to 3.0 Sun Nov 11 2001 Than Ngo 3.0-0.20011110.1 - snapshot --- diff --git a/.cvsignore b/.cvsignore index 0315502..69ac24b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -sip-2.4.tar.gz +sip-3.0.tar.gz diff --git a/sip.spec b/sip.spec index e7d381c..5b4fb5e 100644 --- a/sip.spec +++ b/sip.spec @@ -1,24 +1,46 @@ +%define pythonver 1.5.2 +%define date 20011110 +%define is_release 1 +%define qtver 3.0.2 +%define qtpkg qt Summary: SIP - Python/C++ Bindings Generator Name: sip -Version: 2.4 -Release: 4 +Version: 3.0 +%if %{is_release} +Release: 6 +%else +Release: 1.%{date}.1 +%endif License: GPL Group: Development/Tools -Source: http://www.river-bank.demon.co.uk/software/sip-%{version}.tar.gz +%if %{is_release} +Source: ftp://ftp.rygannon.com/pub/sip/sip-%{version}.tar.gz +%else +Source: ftp://ftp.rygannon.com/pub/sip/sip-%{version}-%{date}.tar.gz +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-root -URL: http://www.thekompany.com/projects +Url: http://www.thekompany.com/projects Prereq: /sbin/ldconfig -BuildPrereq: python-devel +%if "%{pythonver}" == "2.2" +%define pythonpkg python2 +%define pythonprog /usr/bin/python2 +%else +%define pythonpkg python +%define pythonprog /usr/bin/python +%endif +BuildPrereq: %{pythonpkg} == %{pythonver} +BuildPrereq: %{qtpkg}-devel >= %{qtver} +Requires: %{pythonpkg} == %{pythonver} %description SIP is a tool for generating bindings for C++ classes so that they can be -accessed as normal Python classes. SIP takes many of its ideas from SWIG but, +accessed as normal Python classes. SIP takes many of its ideas from SWIG but, because it is specifically designed for C++ and Python, is able to generate -tighter bindings. SIP is so called because it is a small SWIG. +tighter bindings. SIP is so called because it is a small SWIG. SIP was originally designed to generate Python bindings for KDE and so has explicit support for the signal slot mechanism used by the Qt/KDE class -libraries. However, SIP can be used to generate Python bindings for any C++ +libraries. However, SIP can be used to generate Python bindings for any C++ class library. %package devel @@ -31,18 +53,22 @@ This package contains files needed to generate Python bindings for any C++ classes library. %prep +%if %{is_release} %setup -q +%else +%setup -q -n %{name} +%endif %build QTDIR="" && source /etc/profile.d/qt.sh -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --with-python-includes=/usr/include/python1.5 +%configure --with-python=%{pythonprog} make %install rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install +%makeinstall %clean rm -rf $RPM_BUILD_ROOT @@ -65,8 +91,31 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/sip %changelog -* Wed Sep 12 2001 Tim Powers -- rebuild with new gcc and binutils +* Tue Mar 07 2002 Than Ngo 3.0-6 +- rebuild against qt3 + +* Fri Feb 22 2002 Than Ngo 3.0-5 +- build against python 1.5 and qt 2.3.2 + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Tue Jan 08 2002 Than Ngo 3.0-3 +- rebuild to get rid of libGL + +* Mon Nov 19 2001 Than Ngo 3.0-2 +- build against qt3 + +* Sun Nov 18 2001 Than Ngo 3.0-1 +- update to 3.0 + +* Sun Nov 11 2001 Than Ngo 3.0-0.20011110.1 +- snapshot + +* Tue Aug 14 2001 Than Ngo 2.5-1 +- update to 2.5 +- requires python 2 +- Updated URL * Mon Jul 23 2001 Than Ngo - fix build dependency (bug #49698) diff --git a/sources b/sources index 28e8629..3515a9b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -281a1a18fdd126a8e8722ee97c808729 sip-2.4.tar.gz +d55ffd4601a6c75b06c072b58e430bf9 sip-3.0.tar.gz