Summary: SIP - Python/C++ Bindings Generator
Name: sip
Version: 2.4
Release: 2
License: GPL
Group: Development/Tools
Source: http://www.river-bank.demon.co.uk/software/sip-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
URL: http://www.thekompany.com/projects
Prereq: /sbin/ldconfig
%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,
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.
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++
class library.
%package devel
Summary: Files needed to generate Python bindings for any C++ class library
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
This package contains files needed to generate Python bindings for any C++
classes library.
%prep
%setup -q
%build
QTDIR="" && source /etc/profile.d/qt.sh
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --with-python-includes=/usr/include/python1.5
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README AUTHORS COPYING ChangeLog NEWS TODO
%{_libdir}/*.so.*
%{_bindir}/*
%files devel
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_includedir}/sip
%changelog
* Mon Jul 16 2001 Trond Eivind Glomsrød <teg@redhat.com>
- s/Copyright/License/
- Make devel subpackage depend on main
* Mon Apr 23 2001 Than Ngo <than@redhat.com>
- update to 2.4
* Wed Feb 28 2001 Tim Powers <timp@redhat.com>
- rebuilt against new libmng
* Fri Feb 23 2001 Than Ngo <than@redhat.com>
- fix to use python1.5
* Thu Feb 22 2001 Than Ngo <than@redhat.com>
- update to 2.3 release
* Fri Feb 02 2001 Than Ngo <than@redhat.com>
- rebuild in new envoroment
* Tue Dec 26 2000 Than Ngo <than@redhat.com>
- rebuilt against qt-2.2.3
- update Url
* Mon Nov 20 2000 Tim Powers <timp@redhat.com>
- rebuilt to fix bad dir perms
* Wed Nov 8 2000 Than Ngo <than@redhat.com>
- update to 2.2
- don't apply the patch, since the gcc-2.96-62 works correct
* Mon Oct 23 2000 Than Ngo <than@redhat.com>
- update to 2.1
* Thu Aug 3 2000 Than Ngo <than@redhat.de>
- add ldconfig in %post, %postun and Prereq (Bug #15136)
* Thu Jul 27 2000 Than Ngo <than@redhat.de>
- don't hardcode Qt version
* Mon Jul 25 2000 Prospector <prospector@redhat.com>
- rebuilt
* Mon Jul 17 2000 Tim Powers <timp@redhat.com>
- added defattr to both packages
* Wed Jul 12 2000 Than Ngo <than@redhat.de>
- fix to built withe gcc-2.96
* Mon Jul 03 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Sat May 27 2000 Ngo Than <than@redhat.de>
- update 0.12 for 7.0
* Mon May 8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- 0.11.1
- Qt 2.1.0
* Wed Feb 2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- 0.10.1
- Qt 1.45
- handle RPM_OPT_FLAGS
* Tue Dec 21 1999 Ngo Than <than@redhat.de>
- updated 0.10
* Tue Dec 14 1999 Ngo Than <than@redhat.de>
- 0.10pre5
* Sun Nov 28 1999 Ngo Than <than@redhat.de>
- Initial packaging as RPM for powertools-6.2