2007-03-14 12:37:24 +01:00
|
|
|
#
|
2007-08-03 00:58:45 +02:00
|
|
|
# spec file for package python-sip (Version 4.7)
|
2007-03-14 12:37:24 +01:00
|
|
|
#
|
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: python-sip
|
2007-08-13 00:18:13 +02:00
|
|
|
BuildRequires: c++_compiler python python-devel
|
2007-08-03 00:58:45 +02:00
|
|
|
License: GPL v2 or later
|
2007-03-14 12:37:24 +01:00
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Summary: SIP tool to create python bindings
|
2007-08-03 00:58:45 +02:00
|
|
|
Version: 4.7
|
2007-08-17 19:00:19 +02:00
|
|
|
Release: 9
|
2007-03-14 12:37:24 +01:00
|
|
|
URL: http://www.riverbankcomputing.co.uk/sip/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Source0: sip-%{version}.tar.bz2
|
2007-04-12 18:15:15 +02:00
|
|
|
Patch0: disable-rpaths.diff
|
2007-08-12 11:44:10 +02:00
|
|
|
|
|
|
|
%py_requires
|
2007-03-14 12:37:24 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
SIP is a tool that makes it very easy to create Python bindings for C
|
|
|
|
and C++ libraries. It was originally developed to create PyQt, the
|
|
|
|
Python bindings for the Qt toolkit, but can be used to create bindings
|
|
|
|
for any C or C++ library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
RIVERBANK COMPUTING LIMITED
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n sip-%{version}
|
2007-04-12 18:15:15 +02:00
|
|
|
%patch0
|
2007-03-14 12:37:24 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
python configure.py
|
|
|
|
make %{?jobs:-j %jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/sip
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog README TODO
|
|
|
|
/usr/bin/sip
|
|
|
|
%{py_incdir}/sip.h
|
|
|
|
%{py_sitedir}/sip.so
|
|
|
|
%{py_sitedir}/sipconfig.py
|
|
|
|
%{py_sitedir}/sipdistutils.py
|
|
|
|
/usr/share/sip
|
|
|
|
|
2007-04-12 18:15:15 +02:00
|
|
|
%changelog
|
2007-08-17 19:00:19 +02:00
|
|
|
* Fri Aug 17 2007 - dmueller@suse.de
|
|
|
|
- remove conflict as it is now common base for qt 3.x
|
|
|
|
and qt 4.x (#300041)
|
2007-08-13 00:18:13 +02:00
|
|
|
* Sun Aug 12 2007 - dmueller@suse.de
|
|
|
|
- %%py_requires no longer has buildrequires
|
2007-08-12 11:44:10 +02:00
|
|
|
* Sat Aug 11 2007 - dmueller@suse.de
|
|
|
|
- add conflict against python-qt 3.x versions
|
2007-08-03 00:58:45 +02:00
|
|
|
* Fri Aug 03 2007 - dmueller@suse.de
|
|
|
|
- update to 4.7:
|
|
|
|
* Added %%PickleCode to allow handwritten code to pickle a wrapped C++
|
|
|
|
instance or C structure.
|
|
|
|
* Added %%CompositeModule to create modules that are composites of ordinary
|
|
|
|
modules.
|
|
|
|
* Added %%ConsolidatedModule (and the -p command line option) to create
|
|
|
|
modules that contain all the wrapper code on behalf of ordinary modules.
|
|
|
|
* Added the dump() function to the sip module.
|
|
|
|
* Added sipTransferBreak() to the SIP API.
|
|
|
|
* Added support for /Transfer/ as a function annotation.
|
2007-04-12 18:15:15 +02:00
|
|
|
* Wed Apr 11 2007 - dmueller@suse.de
|
|
|
|
- update to 4.6:
|
|
|
|
* Added support for wchar_t.
|
|
|
|
* The -g command line option releases the GIL whenever a call is made to the
|
|
|
|
* wrapped library.
|
|
|
|
* Added the /HoldGIL/ annotation to explicitly retain the GIL when calling a
|
|
|
|
particular function in the wrapped library.
|
|
|
|
* Added sipFindClass() and sipFindNamedEnum() to the public API.
|
|
|
|
*/TransferThis/ may be specified more than once.
|
|
|
|
* Added support for __truediv__ and __itruediv__.
|
2007-03-14 12:37:24 +01:00
|
|
|
* Fri Jan 26 2007 - dmueller@suse.de
|
|
|
|
- Initial package (4.5.2)
|