From abbc05a247a830e792da2aa2fee0d1509cf5ec76d6f1cd3e1ebe2cc1fbc9782f Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 25 Jul 2009 16:58:06 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sip?expand=0&rev=19 --- python-sip.changes | 5 ++ python-sip.spec | 119 +++++++++++++-------------------------------- 2 files changed, 38 insertions(+), 86 deletions(-) diff --git a/python-sip.changes b/python-sip.changes index c8b083c..fc65f60 100644 --- a/python-sip.changes +++ b/python-sip.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 06 12:24:01 CEST 2009 - hpj@urpla.net + +- create a separated -devel package and include the nice documentation + ------------------------------------------------------------------- Wed Jun 17 11:37:39 CEST 2009 - dmueller@suse.de diff --git a/python-sip.spec b/python-sip.spec index 8b3e3b1..08877cc 100644 --- a/python-sip.spec +++ b/python-sip.spec @@ -22,11 +22,11 @@ Name: python-sip BuildRequires: c++_compiler python python-devel License: GPL v2 or later Group: Development/Libraries/Python -Summary: SIP tool to create python bindings +Summary: SIP tool to use python sip bindings Version: 4.8.1 -Release: 1 +Release: 2 %define rversion %version -Url: http://www.riverbankcomputing.co.uk/software/sip/intro +Url: http://www.riverbankcomputing.com/software/sip/intro BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: sip-%{rversion}.tar.bz2 Patch0: disable-rpaths.diff @@ -42,7 +42,29 @@ for any C or C++ library. Authors: -------- - RIVERBANK COMPUTING LIMITED + Riverbank Computing Limited + + +%package devel +License: GPL v2 or later +Group: Development/Libraries/Python +Summary: SIP tool to create python bindings +Requires: %name = %version + +%description devel +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. + +This package contains all the developer tools you need to create your +own sip bindings. + + +Authors: +-------- + Riverbank Computing Limited + %prep %setup -q -n sip-%{rversion} @@ -57,98 +79,23 @@ make %{?jobs:-j %jobs} %install make DESTDIR=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT/usr/share/sip +sed -i 's/"doc" directory/"doc" directory of package %{name}-devel/' README %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc ChangeLog README +%doc README +%{py_sitedir}/sip.so + +%files devel +%defattr(-,root,root) +%doc NEWS ChangeLog LICENSE doc /usr/bin/sip %{py_incdir}/sip.h -%{py_sitedir}/sip.so %{py_sitedir}/sipconfig.py %{py_sitedir}/sipdistutils.py /usr/share/sip %changelog -* Wed Jun 17 2009 dmueller@suse.de -- update to 4.8.1: - - Added support for defining a private assignment operator to suppress the - possible generation of an assignment helper. -* Mon Jun 08 2009 beineri@opensuse.org -- update to 4.8 release: - * support for Python v3 - * the ability to supply alternate super-types and meta-types - for wrapped objects - * documentation built using Sphinx -* Wed Jun 03 2009 dmueller@suse.de -- update to 20090601 snapshot fixing nested template handling -* Sun May 17 2009 beineri@opensuse.org -- update to 4.8 snapshot as of 20090430 -* 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. -* 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 -* Tue May 27 2008 dmueller@suse.de -- update to 4.7.6: - * generator fixes for being able to bind Qt 4.4 -* 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 -- 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. -* Mon Oct 01 2007 stbinner@suse.de -- update to 4.7.1: minor bugfixes -* Fri Aug 17 2007 dmueller@suse.de -- remove conflict as it is now common base for qt 3.x - and qt 4.x (#300041) -* Sun Aug 12 2007 dmueller@suse.de -- %%py_requires no longer has buildrequires -* Sat Aug 11 2007 dmueller@suse.de -- add conflict against python-qt 3.x versions -* 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. -* 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__. -* Fri Jan 26 2007 dmueller@suse.de -- Initial package (4.5.2)