From 3e556a40b2a17251bbf01fd23d08b05ae85e4875 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 12:24:59 +0000 Subject: auto-import changelog data from sip-3.1-1.src.rpm Fri Mar 29 2002 Than Ngo 3.1-1 - update 3.1 for qt 3.0.3 --- diff --git a/.cvsignore b/.cvsignore index 69ac24b..fa53466 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -sip-3.0.tar.gz +sip-3.1.tar.gz diff --git a/sip.spec b/sip.spec index 5b4fb5e..086c7b6 100644 --- a/sip.spec +++ b/sip.spec @@ -1,13 +1,13 @@ -%define pythonver 1.5.2 +%define pythonver 1.5 %define date 20011110 %define is_release 1 -%define qtver 3.0.2 +%define qtver 3.0.3 %define qtpkg qt Summary: SIP - Python/C++ Bindings Generator Name: sip -Version: 3.0 +Version: 3.1 %if %{is_release} -Release: 6 +Release: 1 %else Release: 1.%{date}.1 %endif @@ -24,13 +24,15 @@ Prereq: /sbin/ldconfig %if "%{pythonver}" == "2.2" %define pythonpkg python2 %define pythonprog /usr/bin/python2 +%define minor "" %else %define pythonpkg python %define pythonprog /usr/bin/python +%define minor .2 %endif -BuildPrereq: %{pythonpkg} == %{pythonver} +BuildPrereq: %{pythonpkg} == %{pythonver}%{minor} BuildPrereq: %{qtpkg}-devel >= %{qtver} -Requires: %{pythonpkg} == %{pythonver} +Requires: %{pythonpkg} == %{pythonver}%{minor} %description SIP is a tool for generating bindings for C++ classes so that they can be @@ -63,12 +65,12 @@ classes library. QTDIR="" && source /etc/profile.d/qt.sh %configure --with-python=%{pythonprog} -make +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -%makeinstall +make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT @@ -80,17 +82,19 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README AUTHORS COPYING ChangeLog NEWS TODO -%{_libdir}/*.so.* +%{_libdir}/python%{pythonver}/site-packages/*.so.* %{_bindir}/* %files devel %defattr(-,root,root) -%{_libdir}/*.a -%{_libdir}/*.la -%{_libdir}/*.so -%{_includedir}/sip +%{_libdir}/python%{pythonver}/site-packages/*.la +%{_libdir}/python%{pythonver}/site-packages/*.so +%{_includedir}/python%{pythonver}/* %changelog +* Fri Mar 29 2002 Than Ngo 3.1-1 +- update 3.1 for qt 3.0.3 + * Tue Mar 07 2002 Than Ngo 3.0-6 - rebuild against qt3 diff --git a/sources b/sources index 3515a9b..fafa7b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d55ffd4601a6c75b06c072b58e430bf9 sip-3.0.tar.gz +cd2dcf320e20b88ac97c946e709cd32d sip-3.1.tar.gz