cvsdist aee74a9
%define pythonver 2.3
cvsdist af023e2
%define pythonsitedir %{_libdir}/python%{pythonver}/site-packages
cvsdist 884b658
%define pythonpkg python
cvsdist 884b658
%define minor .2
cvsdist 4f91b63
cvsdist 884b658
%define qtver 3.3.2
cvsdist 43c5478
%define qtpkg qt
cvsdist 4f91b63
cvsdist 884b658
%if "%{pythonver}" == "2.3"
cvsdist 884b658
%define pythonprog /usr/bin/python2.3
cvsdist 884b658
%else
cvsdist 884b658
%define pythonprog /usr/bin/python
cvsdist 884b658
%endif
cvsdist 884b658
cvsdist 49f66d1
Summary: SIP - Python/C++ Bindings Generator
cvsdist 49f66d1
Name: sip
cvsdist 884b658
Version: 3.10.2
cvsdist 6eb8b2c
Release: 2
cvsdist 49f66d1
License: GPL
cvsdist 49f66d1
Group: Development/Tools
cvsdist 4f91b63
Url: http://www.riverbankcomputing.co.uk/
cvsdist 49f66d1
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist 199f046
Source: http://www.riverbankcomputing.co.uk/download/sip/%{name}-%{version}.tar.gz
cvsdist 4f91b63
cvsdist 49f66d1
Prereq: /sbin/ldconfig
cvsdist 4f91b63
cvsdist 884b658
BuildPrereq: %{pythonpkg}-devel >= %{pythonver}%{minor}
cvsdist 43c5478
BuildPrereq: %{qtpkg}-devel >= %{qtver}
cvsdist af023e2
BuildPrereq: sed
cvsdist 4f91b63
cvsdist 4f91b63
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 4f91b63
Requires: %{name} = %{version}-%{release}
cvsdist 199f046
Requires: python-devel 
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 199f046
cvsdist 199f046
%setup -q
cvsdist 49f66d1
cvsdist 49f66d1
%build
cvsdist 49f66d1
QTDIR="" && source /etc/profile.d/qt.sh
cvsdist 49f66d1
cvsdist 199f046
%pythonprog configure.py -l qt-mt -d %{pythonsitedir}
cvsdist 460264a
cvsdist 3e556a4
make %{?_smp_mflags} 
cvsdist 49f66d1
cvsdist 49f66d1
%install
cvsdist 199f046
rm -rf %{buildroot}
cvsdist 199f046
cvsdist 199f046
make install DESTDIR=%{buildroot}
cvsdist 49f66d1
cvsdist 49f66d1
%clean
cvsdist 199f046
rm -rf %{buildroot}
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 199f046
%{pythonsitedir}/*
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 6eb8b2c
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 6eb8b2c
- rebuilt
cvsdist 6eb8b2c
cvsdist 884b658
* Thu May 27 2004 Than Ngo <than@redhat.com> 3.10.2-1
cvsdist 884b658
- update to 3.10.2
cvsdist 884b658
cvsdist 199f046
* Fri Mar 12 2004 Than Ngo <than@redhat.com> 3.10.1-1
cvsdist 199f046
- update to 3.10.1
cvsdist 199f046
cvsdist 199f046
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 199f046
- rebuilt
cvsdist 199f046
cvsdist 199f046
* Thu Feb 19 2004 Than Ngo <than@redhat.com> 3.10-6 
cvsdist 199f046
- fix Requires issue, bug #74004
cvsdist 199f046
cvsdist 199f046
* Thu Feb 19 2004 Than Ngo <than@redhat.com> 3.10-5
cvsdist 199f046
- fix lib64 issue
cvsdist 199f046
cvsdist 199f046
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 199f046
- rebuilt
cvsdist 199f046
cvsdist 199f046
* Thu Feb 12 2004 Than Ngo <than@redhat.com> 3.10-3
cvsdist 199f046
- use new method of building SIP
cvsdist 199f046
cvsdist 199f046
* Wed Feb 11 2004 Than Ngo <than@redhat.com> 3.10-2
cvsdist 199f046
- rebuilt against qt 3.3.0
cvsdist 199f046
cvsdist 199f046
* Wed Feb 04 2004 Than Ngo <than@redhat.com> 3.10-1
cvsdist 199f046
- 3.10
cvsdist 199f046
cvsdist aee74a9
* Thu Nov 27 2003 Than Ngo <than@redhat.com> 3.8-2
cvsdist aee74a9
- rebuild against python 2.3 and Qt 3.2.3
cvsdist aee74a9
cvsdist a488806
* Fri Sep 26 2003 Harald Hoyer <harald@redhat.de> 3.8-1
cvsdist a488806
- 3.8
cvsdist a488806
cvsdist a488806
* Mon Jul 21 2003 Than Ngo <than@redhat.com> 3.7-1
cvsdist a488806
- 3.7
cvsdist a488806
cvsdist a488806
* Tue Jun 24 2003 Than Ngo <than@redhat.com> 3.6-3
cvsdist a488806
- rebuilt
cvsdist a488806
cvsdist a488806
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist a488806
- rebuilt
cvsdist a488806
cvsdist a488806
* Tue May  6 2003 Than Ngo <than@redhat.com> 3.6-1.1
cvsdist a488806
- 3.6
cvsdist a488806
cvsdist a488806
* Tue Mar  4 2003 Than Ngo <than@redhat.com> 3.5.1-0.20030301.0
cvsdist a488806
- snapshot 20030301, support qt 3.1.2
cvsdist a488806
cvsdist 4f91b63
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 4f91b63
- rebuilt
cvsdist 4f91b63
cvsdist 4f91b63
* Tue Dec 11 2002 Than Ngo <than@redhat.com> 3.5-1
cvsdist 4f91b63
- 3.5 release
cvsdist 4f91b63
cvsdist 4f91b63
* Mon Nov 18 2002 Than Ngo <than@redhat.com> 3.5-0.20021114.1
cvsdist 4f91b63
- update RC, which supports qt 3.1.0
cvsdist 4f91b63
- fix dependency problem with python
cvsdist 4f91b63
cvsdist 4f91b63
* Thu Nov  7 2002 Than Ngo <than@redhat.com> 3.4-4
cvsdist 4f91b63
- update to 3.4
cvsdist 4f91b63
cvsdist af023e2
* Wed Aug 28 2002 Than Ngo <than@redhat.com> 3.3.2-4
cvsdist af023e2
- rpath issue
cvsdist af023e2
cvsdist 5fc1d35
* Mon Aug 26 2002 Than Ngo <than@redhat.com> 3.3.2-3
cvsdist 5fc1d35
- rebuild against new qt
cvsdist 5fc1d35
cvsdist 586aace
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
cvsdist 586aace
- rebuilt with gcc-3.2 (we hope)
cvsdist 586aace
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