cvsdist 460264a
%define pythonver 2.2
cvsdist 460264a
%define beta_version rc4
cvsdist 43c5478
%define is_release 1
cvsdist 460264a
%define qtver 3.0.5
cvsdist 43c5478
%define qtpkg qt
cvsdist 49f66d1
Summary: SIP - Python/C++ Bindings Generator
cvsdist 49f66d1
Name: sip
cvsdist 460264a
Version: 3.3.2
cvsdist 43c5478
%if %{is_release}
cvsdist 460264a
Release: 1
cvsdist 43c5478
%else
cvsdist 460264a
Release: 1.%{beta_version}.1
cvsdist 43c5478
%endif
cvsdist 49f66d1
License: GPL
cvsdist 49f66d1
Group: Development/Tools
cvsdist 43c5478
%if %{is_release}
cvsdist 460264a
Source: http://www.riverbankcomputing.co.uk/download/sip/sip-%{version}.tar.gz
cvsdist 43c5478
%else
cvsdist 460264a
Source: http://www.riverbankcomputing.co.uk/download/sip/sip-%{version}%{beta_version}.tar.gz
cvsdist 43c5478
%endif
cvsdist 49f66d1
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist 460264a
Url: http://www.riverbankcomputing.co.uk/
cvsdist 49f66d1
Prereq: /sbin/ldconfig
cvsdist 43c5478
%if "%{pythonver}" == "2.2"
cvsdist 460264a
%define pythonpkg python
cvsdist 460264a
%define pythonprog /usr/bin/python2.2
cvsdist 460264a
%define minor .1
cvsdist 43c5478
%else
cvsdist 43c5478
%define pythonpkg python
cvsdist 43c5478
%define pythonprog /usr/bin/python
cvsdist 3e556a4
%define minor .2
cvsdist 43c5478
%endif
cvsdist 3e556a4
BuildPrereq: %{pythonpkg} == %{pythonver}%{minor}
cvsdist 43c5478
BuildPrereq: %{qtpkg}-devel >= %{qtver}
cvsdist 3e556a4
Requires: %{pythonpkg} == %{pythonver}%{minor}
cvsdist 49f66d1
cvsdist 49f66d1
%description
cvsdist 49f66d1
SIP is a tool for generating bindings for C++ classes so that they can be
cvsdist 43c5478
accessed as normal Python classes.  SIP takes many of its ideas from SWIG but,
cvsdist 49f66d1
because it is specifically designed for C++ and Python, is able to generate
cvsdist 43c5478
tighter bindings.  SIP is so called because it is a small SWIG.
cvsdist 49f66d1
cvsdist 49f66d1
SIP was originally designed to generate Python bindings for KDE and so has
cvsdist 49f66d1
explicit support for the signal slot mechanism used by the Qt/KDE class
cvsdist 43c5478
libraries.  However, SIP can be used to generate Python bindings for any C++
cvsdist 49f66d1
class library.
cvsdist 49f66d1
cvsdist 49f66d1
%package devel
cvsdist 49f66d1
Summary: Files needed to generate Python bindings for any C++ class library
cvsdist 49f66d1
Group: Development/Libraries
cvsdist 49f66d1
Requires: %{name} = %{version}
cvsdist 49f66d1
cvsdist 49f66d1
%description devel
cvsdist 49f66d1
This package contains files needed to generate Python bindings for any C++
cvsdist 49f66d1
classes library.
cvsdist 49f66d1
cvsdist 49f66d1
%prep
cvsdist 43c5478
%if %{is_release}
cvsdist 49f66d1
%setup -q
cvsdist 43c5478
%else
cvsdist 460264a
%setup -q -n %{name}-%{version}%{beta_version}
cvsdist 43c5478
%endif
cvsdist 49f66d1
cvsdist 49f66d1
%build
cvsdist 460264a
rm -rf $RPM_BUILD_ROOT
cvsdist 460264a
mkdir -p %{buildroot}%{_libdir}/python%{pythonver}/site-packages \
cvsdist 460264a
         %{buildroot}%{_bindir}
cvsdist 49f66d1
QTDIR="" && source /etc/profile.d/qt.sh
cvsdist 49f66d1
cvsdist 460264a
%pythonprog build.py \
cvsdist 460264a
  -l qt-mt \
cvsdist 460264a
  -b %{buildroot}%{_bindir} \
cvsdist 460264a
  -d %{buildroot}%{_libdir}/python%{pythonver}/site-packages/ \
cvsdist 460264a
cvsdist 3e556a4
make %{?_smp_mflags} 
cvsdist 49f66d1
cvsdist 49f66d1
%install
cvsdist 460264a
mkdir -p %{buildroot}%{_includedir}/python%{pythonver}
cvsdist 460264a
install siplib/*.h %{buildroot}%{_includedir}/python%{pythonver}/
cvsdist 49f66d1
cvsdist 49f66d1
%clean
cvsdist 49f66d1
rm -rf $RPM_BUILD_ROOT
cvsdist 49f66d1
cvsdist 49f66d1
%post -p /sbin/ldconfig
cvsdist 49f66d1
cvsdist 49f66d1
%postun -p /sbin/ldconfig
cvsdist 49f66d1
cvsdist 49f66d1
%files
cvsdist 49f66d1
%defattr(-,root,root)
cvsdist 460264a
%doc ChangeLog LICENSE NEWS README THANKS
cvsdist 460264a
%{_libdir}/python%{pythonver}/site-packages/*.so*
cvsdist 49f66d1
%{_bindir}/*
cvsdist 49f66d1
cvsdist 49f66d1
%files devel
cvsdist 49f66d1
%defattr(-,root,root)
cvsdist 3e556a4
%{_includedir}/python%{pythonver}/*
cvsdist 49f66d1
cvsdist 49f66d1
%changelog
cvsdist 460264a
* Tue Jul 23 2002 Than Ngo <than@redhat.com> 3.3.2-1
cvsdist 460264a
- 3.3.2 release for qt 3.0.5
cvsdist 460264a
cvsdist 460264a
* Mon Jul  1 2002 Than Ngo <than@redhat.com> 3.2.4-4
cvsdist 460264a
- move python modul libsip.so into sip (bug #67640)
cvsdist 460264a
cvsdist 460264a
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 460264a
- automated rebuild
cvsdist 460264a
cvsdist 460264a
* Sun May 26 2002 Tim Powers <timp@redhat.com>
cvsdist 460264a
- automated rebuild
cvsdist 460264a
cvsdist 460264a
* Wed May 22 2002 Harald Hoyer <harald@redhat.de>
cvsdist 460264a
- updated to release 3.2.4
cvsdist 460264a
cvsdist 460264a
* Thu May 02 2002 Than Ngo <than@redhat.com> 3.2-0.rc4
cvsdist 460264a
- 3.2rc4
cvsdist 460264a
- build against python 2
cvsdist 460264a
cvsdist 460264a
* Tue Apr 16 2002 Than Ngo <than@redhat.com> 3.1-2
cvsdist 4bbdb7a
- rebuild
cvsdist 4bbdb7a
cvsdist 3e556a4
* Fri Mar 29 2002 Than  Ngo <than@redhat.com> 3.1-1
cvsdist 3e556a4
- update 3.1 for qt 3.0.3
cvsdist 3e556a4
cvsdist 43c5478
* Tue Mar  07 2002 Than Ngo <than@redhat.com> 3.0-6
cvsdist 43c5478
- rebuild against qt3
cvsdist 43c5478
cvsdist 43c5478
* Fri Feb 22 2002 Than Ngo <than@redhat.com> 3.0-5
cvsdist 43c5478
- build against python 1.5 and qt 2.3.2
cvsdist 43c5478
cvsdist 43c5478
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist 43c5478
- automated rebuild
cvsdist 43c5478
cvsdist 43c5478
* Tue Jan 08 2002 Than Ngo <than@redhat.com> 3.0-3
cvsdist 43c5478
- rebuild to get rid of libGL
cvsdist 43c5478
cvsdist 43c5478
* Mon Nov 19 2001 Than Ngo <than@redhat.com> 3.0-2
cvsdist 43c5478
- build against qt3
cvsdist 43c5478
cvsdist 43c5478
* Sun Nov 18 2001 Than Ngo <than@redhat.com> 3.0-1
cvsdist 43c5478
- update to 3.0
cvsdist 43c5478
cvsdist 43c5478
* Sun Nov 11 2001 Than Ngo <than@redhat.com> 3.0-0.20011110.1
cvsdist 43c5478
- snapshot
cvsdist 43c5478
cvsdist 43c5478
* Tue Aug 14 2001 Than Ngo <than@redhat.com> 2.5-1
cvsdist 43c5478
- update to 2.5
cvsdist 43c5478
- requires python 2
cvsdist 43c5478
- Updated URL
cvsdist 0f4da21
cvsdist f168f00
* Mon Jul 23 2001 Than Ngo <than@redhat.com>
cvsdist f168f00
- fix build dependency (bug #49698)
cvsdist f168f00
cvsdist 49f66d1
* Mon Jul 16 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 49f66d1
- s/Copyright/License/
cvsdist 49f66d1
- Make devel subpackage depend on main
cvsdist 49f66d1
cvsdist 49f66d1
* Mon Apr 23 2001 Than Ngo <than@redhat.com>
cvsdist 49f66d1
- update to 2.4
cvsdist 49f66d1
cvsdist 49f66d1
* Wed Feb 28 2001 Tim Powers <timp@redhat.com>
cvsdist 49f66d1
- rebuilt against new libmng
cvsdist 49f66d1
cvsdist 49f66d1
* Fri Feb 23 2001 Than Ngo <than@redhat.com>
cvsdist 49f66d1
- fix to use python1.5
cvsdist 49f66d1
cvsdist 49f66d1
* Thu Feb 22 2001 Than Ngo <than@redhat.com>
cvsdist 49f66d1
- update to 2.3 release
cvsdist 49f66d1
cvsdist 49f66d1
* Fri Feb 02 2001 Than Ngo <than@redhat.com>
cvsdist 49f66d1
- rebuild in new envoroment
cvsdist 49f66d1
cvsdist 49f66d1
* Tue Dec 26 2000 Than Ngo <than@redhat.com>
cvsdist 49f66d1
- rebuilt against qt-2.2.3
cvsdist 49f66d1
- update Url
cvsdist 49f66d1
cvsdist 49f66d1
* Mon Nov 20 2000 Tim Powers <timp@redhat.com>
cvsdist 49f66d1
- rebuilt to fix bad dir perms
cvsdist 49f66d1
cvsdist 49f66d1
* Wed Nov 8 2000 Than Ngo <than@redhat.com>
cvsdist 49f66d1
- update to 2.2
cvsdist 49f66d1
- don't apply the patch, since the gcc-2.96-62 works correct
cvsdist 49f66d1
cvsdist 49f66d1
* Mon Oct 23 2000 Than Ngo <than@redhat.com>
cvsdist 49f66d1
- update to 2.1
cvsdist 49f66d1
cvsdist 49f66d1
* Thu Aug 3 2000 Than Ngo <than@redhat.de>
cvsdist 49f66d1
- add ldconfig in %post, %postun and Prereq (Bug #15136)
cvsdist 49f66d1
cvsdist 49f66d1
* Thu Jul 27 2000 Than Ngo <than@redhat.de>
cvsdist 49f66d1
- don't hardcode Qt version
cvsdist 49f66d1
cvsdist 49f66d1
* Mon Jul 25 2000 Prospector <prospector@redhat.com>
cvsdist 49f66d1
- rebuilt
cvsdist 49f66d1
cvsdist 49f66d1
* Mon Jul 17 2000 Tim Powers <timp@redhat.com>
cvsdist 49f66d1
- added defattr to both packages
cvsdist 49f66d1
cvsdist 49f66d1
* Wed Jul 12 2000 Than Ngo <than@redhat.de>
cvsdist 49f66d1
- fix to built withe gcc-2.96
cvsdist 49f66d1
cvsdist 49f66d1
* Mon Jul 03 2000 Prospector <bugzilla@redhat.com>
cvsdist 49f66d1
- automatic rebuild
cvsdist 49f66d1
cvsdist 49f66d1
* Sat May 27 2000 Ngo Than <than@redhat.de>
cvsdist 49f66d1
- update 0.12 for 7.0
cvsdist 49f66d1
cvsdist 49f66d1
* Mon May  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 49f66d1
- 0.11.1
cvsdist 49f66d1
- Qt 2.1.0
cvsdist 49f66d1
cvsdist 49f66d1
* Wed Feb  2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 49f66d1
- 0.10.1
cvsdist 49f66d1
- Qt 1.45
cvsdist 49f66d1
- handle RPM_OPT_FLAGS
cvsdist 49f66d1
cvsdist 49f66d1
* Tue Dec 21 1999 Ngo Than <than@redhat.de>
cvsdist 49f66d1
- updated 0.10
cvsdist 49f66d1
cvsdist 49f66d1
* Tue Dec 14 1999 Ngo Than <than@redhat.de>
cvsdist 49f66d1
- 0.10pre5
cvsdist 49f66d1
cvsdist 49f66d1
* Sun Nov 28 1999 Ngo Than <than@redhat.de>
cvsdist 49f66d1
- Initial packaging as RPM for powertools-6.2