cvsdist 49f66d1
Summary: SIP - Python/C++ Bindings Generator
cvsdist 49f66d1
Name: sip
cvsdist 49f66d1
Version: 2.4
cvsdist f168f00
Release: 3
cvsdist 49f66d1
License: GPL
cvsdist 49f66d1
Group: Development/Tools
cvsdist 49f66d1
Source: http://www.river-bank.demon.co.uk/software/sip-%{version}.tar.gz
cvsdist 49f66d1
BuildRoot: %{_tmppath}/%{name}-%{version}-root
cvsdist 49f66d1
URL: http://www.thekompany.com/projects
cvsdist 49f66d1
Prereq: /sbin/ldconfig
cvsdist f168f00
BuildPrereq: python-devel
cvsdist 49f66d1
cvsdist 49f66d1
%description
cvsdist 49f66d1
SIP is a tool for generating bindings for C++ classes so that they can be
cvsdist 49f66d1
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 49f66d1
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 49f66d1
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 49f66d1
%setup -q
cvsdist 49f66d1
cvsdist 49f66d1
%build
cvsdist 49f66d1
QTDIR="" && source /etc/profile.d/qt.sh
cvsdist 49f66d1
cvsdist 49f66d1
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --with-python-includes=/usr/include/python1.5
cvsdist 49f66d1
make 
cvsdist 49f66d1
cvsdist 49f66d1
%install
cvsdist 49f66d1
rm -rf $RPM_BUILD_ROOT
cvsdist 49f66d1
cvsdist 49f66d1
make DESTDIR=$RPM_BUILD_ROOT install
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 49f66d1
%doc README AUTHORS COPYING ChangeLog NEWS TODO
cvsdist 49f66d1
%{_libdir}/*.so.*
cvsdist 49f66d1
%{_bindir}/*
cvsdist 49f66d1
cvsdist 49f66d1
%files devel
cvsdist 49f66d1
%defattr(-,root,root)
cvsdist 49f66d1
%{_libdir}/*.a
cvsdist 49f66d1
%{_libdir}/*.la
cvsdist 49f66d1
%{_libdir}/*.so
cvsdist 49f66d1
%{_includedir}/sip
cvsdist 49f66d1
cvsdist 49f66d1
%changelog
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