2007-03-14 12:37:24 +01:00
|
|
|
#
|
2008-12-05 15:59:49 +01:00
|
|
|
# spec file for package python-sip (Version 4.7.9)
|
2007-03-14 12:37:24 +01:00
|
|
|
#
|
2008-02-15 01:39:15 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-03-14 12:37:24 +01:00
|
|
|
#
|
2008-08-10 23:37:59 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-03-14 12:37:24 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-15 01:39:15 +01:00
|
|
|
|
2007-03-14 12:37:24 +01:00
|
|
|
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
|
2008-12-05 15:59:49 +01:00
|
|
|
Version: 4.7.9
|
2008-08-10 23:37:59 +02:00
|
|
|
Release: 1
|
2007-10-03 01:09:03 +02:00
|
|
|
Url: http://www.riverbankcomputing.co.uk/sip/
|
2007-03-14 12:37:24 +01:00
|
|
|
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-12-13 20:23:56 +01:00
|
|
|
|
2007-04-12 18:15:15 +02:00
|
|
|
%changelog
|
2008-12-05 15:59:49 +01:00
|
|
|
* Fri Dec 05 2008 dmueller@suse.de
|
|
|
|
- update to 4.7.9:
|
|
|
|
- Added the /Deprecated/ class and function annotation (based on a patch from
|
|
|
|
Lorenzo Berni).
|
|
|
|
- Templates now support instance variables and enums.
|
|
|
|
- A Python int object can now be used whenever an enum is expected without
|
|
|
|
needing to explicitly cast it using the enum's constructor. The
|
|
|
|
/Constrained/ argument annotation can be used to suppress this behaviour.
|
|
|
|
- typedef type names are now used in string representations of types (e.g. in
|
|
|
|
the names of mapped types) to reflect what the programmer sees rather than
|
|
|
|
what the compiler sees. The /NoTypeName/ typedef annotation can be used to
|
|
|
|
suppress this behaviour.
|
|
|
|
- The new handling of the typedef names was correctly using the real types for
|
|
|
|
virtual handler arguments but not the return values.
|
2008-08-10 23:37:59 +02:00
|
|
|
* Sun Aug 10 2008 dmueller@suse.de
|
|
|
|
- update to 4.7.7:
|
|
|
|
* C++ structs are now properly handled as a class with
|
|
|
|
a default public section
|
|
|
|
* sip.dump() now includes the objects first child wrapper
|
2008-06-03 01:08:27 +02:00
|
|
|
* Tue May 27 2008 dmueller@suse.de
|
|
|
|
- update to 4.7.6:
|
|
|
|
* generator fixes for being able to bind Qt 4.4
|
2008-02-15 01:39:15 +01:00
|
|
|
* Wed Feb 13 2008 dmueller@suse.de
|
|
|
|
- update to 4.7.4:
|
|
|
|
* The build system handles the directory structure used by Leopard's Python
|
|
|
|
installation.
|
|
|
|
* Added support for /Transfer/ as a constructor ann
|
|
|
|
* Thu Dec 13 2007 dmueller@suse.de
|
2007-12-13 20:23:56 +01:00
|
|
|
- update to 4.7.3:
|
|
|
|
* Added support for automatically generating missing complementary
|
|
|
|
comparision operators. Note that this introduces a potential compatibility
|
|
|
|
problem - see the documentation for details.
|
|
|
|
* Added the SingleShot argument annotation.
|
|
|
|
* Added the TransferThis function annotation.
|
2008-02-15 01:39:15 +01:00
|
|
|
* Mon Oct 01 2007 stbinner@suse.de
|
2007-10-03 01:09:03 +02:00
|
|
|
- update to 4.7.1: minor bugfixes
|
2008-02-15 01:39:15 +01:00
|
|
|
* Fri Aug 17 2007 dmueller@suse.de
|
2007-08-17 19:00:19 +02:00
|
|
|
- remove conflict as it is now common base for qt 3.x
|
|
|
|
and qt 4.x (#300041)
|
2008-02-15 01:39:15 +01:00
|
|
|
* Sun Aug 12 2007 dmueller@suse.de
|
2007-08-13 00:18:13 +02:00
|
|
|
- %%py_requires no longer has buildrequires
|
2008-02-15 01:39:15 +01:00
|
|
|
* Sat Aug 11 2007 dmueller@suse.de
|
2007-08-12 11:44:10 +02:00
|
|
|
- add conflict against python-qt 3.x versions
|
2008-12-05 15:59:49 +01:00
|
|
|
* Thu Aug 02 2007 dmueller@suse.de
|
2007-08-03 00:58:45 +02:00
|
|
|
- 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.
|
2008-02-15 01:39:15 +01:00
|
|
|
* Wed Apr 11 2007 dmueller@suse.de
|
2007-04-12 18:15:15 +02:00
|
|
|
- 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__.
|
2008-02-15 01:39:15 +01:00
|
|
|
* Fri Jan 26 2007 dmueller@suse.de
|
2007-03-14 12:37:24 +01:00
|
|
|
- Initial package (4.5.2)
|