File python-qscintilla.spec of Package qscintilla
#
# spec file for package python-qscintilla (Version 2.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: python-qscintilla
BuildRequires: -libqscintilla2-2 libqscintilla-devel python-devel
%if %suse_version > 1000
BuildRequires: libdrm-devel python-qt4 python-sip
%endif
Url: http://www.riverbankcomputing.co.uk/qscintilla
License: GPL v2 or later
Group: Development/Libraries/C and C++
Summary: Python Bindings for the C++ Editor Class Library
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 2.3
Release: 2
%define scintilla_version 2.3
Source: QScintilla-gpl-%scintilla_version.tar.bz2
Requires: python-qt4 >= %( echo `rpm -q --queryformat '%{VERSION}' python-qt4`)
%py_requires
%description
QScintilla is a Qt port of Neil Hodgson's Scintilla C++ editor class.
This is a Qt port from the original Scintilla class
(http://www.scintilla.org/).
This package is mainly used by eric, the Python IDE.
Authors:
--------
Riverbank Computing Limited <info@riverbankcomputing.co.uk>
%prep
%setup -q -n QScintilla-gpl-%scintilla_version
%build
pushd Python
python configure.py
make %{?jobs:-j %jobs}
popd
%install
pushd Python
%makeinstall
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc NEWS README ChangeLog LICENSE.GPL2 LICENSE.GPL3
%py_sitedir/PyQt4/Qsci.so
/usr/share/sip/PyQt4/Qsci
/usr/share/qt4/qsci/api/python/QScintilla2.api
%changelog
* Wed Oct 22 2008 stbinner@suse.de
- debug_package_requires depend also on %%release
* Fri Oct 10 2008 dmueller@suse.de
- update to 2.3 (bnc#432385):
* Licensing update: Dual licensed GPLv2/v3
* The new QsciAbstractAPIs class allows applications to replace the default
implementation of the language APIs used for auto-completion lists and call
tips.
* Added QsciScintilla::apiContext() to allow applications to determine the
context used for auto-completion and call tips.
* Added the QsciLexerFortran, QsciLexerFortran77, QsciLexerPascal,
QsciLexerPostScript, QsciLexerTCL, QsciLexerXML and QsciLexerYAML classes.
* QsciScintilla::setFolding() will now accept an optional margin number.
* A lexer's default colour, paper and font are now written to and read from
the settings.
* Windows64 is now supported.
* The signature of the QsciScintillaBase::SCN_MACRORECORD() signal has
changed slightly.
* Tue Sep 04 2007 dmueller@suse.de
- break buildcycle
* Sun Aug 12 2007 dmueller@suse.de
- install Qt4 version of libraries
- build python bindings
- rename package to comply to Shared Library Policy
* Mon Aug 06 2007 dmueller@suse.de
- update to 1.73 (scintilla 2.1) (#297650)
* A revised API, incompatible with QScintilla v1.
* Hugely improved autocompletion and call tips support.
* Supports both Qt v3 and Qt v4.
* Includes Python bindings.
* Mon Jun 05 2006 stbinner@suse.de
- fix build for < 10.1
* Thu May 18 2006 dmueller@suse.de
- split into devel package (#165234)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Sep 19 2005 joe@suse.de
- update to version 1.6 (Scintilla 1.65 based)
* Wed Sep 29 2004 joe@suse.de
- update to version 1.4 (Scintilla 1.61 based); if I don't get
it wrong the naming scheme used by SUSE has been wrong, with
Scintilla and qscintilla versions being mixed up.
* Tue May 11 2004 adrian@suse.de
- update to version 1.60 (Scintilla 1.3 based)
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Sun Aug 17 2003 adrian@suse.de
- update to version 1.54 (Scintilla 1.2 based now)
* Wed May 28 2003 adrian@suse.de
- fix symlink
* Mon May 26 2003 adrian@suse.de
- update to version 1.53 (Scintilla 1.1 based now)
* Fri May 23 2003 adrian@suse.de
- fix symlink
* Fri May 02 2003 adrian@suse.de
- update to version 1.52
* Mon Mar 10 2003 ro@suse.de
- fix build on lib64 for real
* Mon Feb 24 2003 ro@suse.de
- fix lib64 issue
* Fri Jan 31 2003 adrian@suse.de
- initial package, version 1.49