Summary: QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class Name: qscintilla2 Version: 2.3 Release: alt1 License: GPL Group: Development/KDE and QT Source: qscintilla-gpl-%version.tar.gz Patch: qscintilla-2.2-alt-allinone.patch Packager: Gennady Kovalev URL: http://www.riverbankcomputing.co.uk/software/qscintilla/ # Automatically added by buildreq on Sat Oct 11 2008 BuildRequires: gcc-c++ libqt3-devel libqt4-devel %description Qscintilla is a free source code editing component. It comes with complete source code and a license that permits use in any free project or commercial product. As well as features found in standard text editing components, Scintilla includes features especially useful when editing and debugging source code. These include support for syntax styling, error indicators, code completion and call tips. The selection margin can contain markers like those used in debuggers to indicate breakpoints and the current line. Styling choices are more open than with many editors, allowing the use of proportional fonts, bold and italics, multiple foreground and background colours and multiple fonts. %package -n lib%name-qt3 Summary: QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class. e Group: Development/KDE and QT Conflicts: libqscintilla %description -n lib%name-qt3 Qscintilla is a free source code editing component. It comes with complete source code and a license that permits use in any free project or commercial product. As well as features found in standard text editing components, Scintilla includes features especially useful when editing and debugging source code. These include support for syntax styling, error indicators, code completion and call tips. The selection margin can contain markers like those used in debuggers to indicate breakpoints and the current line. Styling choices are more open than with many editors, allowing the use of proportional fonts, bold and italics, multiple foreground and background colours and multiple fonts. %package -n lib%name-qt4 Summary: QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class. e Group: Development/KDE and QT %description -n lib%name-qt4 Qscintilla is a free source code editing component. It comes with complete source code and a license that permits use in any free project or commercial product. As well as features found in standard text editing components, Scintilla includes features especially useful when editing and debugging source code. These include support for syntax styling, error indicators, code completion and call tips. The selection margin can contain markers like those used in debuggers to indicate breakpoints and the current line. Styling choices are more open than with many editors, allowing the use of proportional fonts, bold and italics, multiple foreground and background colours and multiple fonts. %package -n lib%name-qt3-devel Requires: lib%name-qt3 = %version-%release Summary: Header files for %name Group: Development/KDE and QT %description -n lib%name-qt3-devel Header files for %name %package -n lib%name-qt4-devel Requires: lib%name-qt4 = %version-%release Summary: Header files for %name Group: Development/KDE and QT %description -n lib%name-qt4-devel Header files for %name %package -n lib%name-qt3-designer Requires: lib%name = %version-%release Summary: QScintilla designer plugin Group: Development/KDE and QT %description -n lib%name-qt3-designer QScintillla designer plugin. %package -n lib%name-qt4-designer Requires: lib%name = %version-%release Summary: QScintilla designer plugin Group: Development/KDE and QT %description -n lib%name-qt4-designer QScintillla designer plugin. %package -n lib%name-doc Requires: lib%name = %version-%release Summary: Documentation for %name Group: Development/KDE and QT %description -n lib%name-doc Documentation for %name %prep %setup -n QScintilla-gpl-%version %patch0 -p1 %build # Qt3 pushd Qt3 %_qt3dir/bin/qmake qscintilla.pro %make_build popd # Designer for Qt3 pushd designer-Qt3 %_qt3dir/bin/qmake designer.pro %make_build popd # Qt4 pushd Qt4 %_qt4dir/bin/qmake qscintilla.pro %make_build popd # Designer for Qt4 pushd designer-Qt4; %_qt4dir/bin/qmake designer.pro %make_build popd %install mkdir -p %_libdir mkdir -p %buildroot%_includedir/qt3/Qsci mkdir -p %buildroot%_libdir/qt3/{lib,translations,plugins/designer} mkdir -p %buildroot%_includedir/qt4/Qsci mkdir -p %buildroot%_libdir/qt4/{lib,translations,plugins/designer} # Qt3 library install Qt3/lib%name.* %buildroot%_qt3dir/lib install Qt3/*.qm %buildroot%_qt3dir/translations # Qt4 library install Qt4/lib%name.* %buildroot%_qt4dir/lib install Qt4/*.qm %buildroot%_qt4dir/translations # Qt3 designer install designer-Qt3/libqscintillaplugin.so %buildroot%_qt3dir/plugins/designer # Qt4 designer install designer-Qt4/libqscintillaplugin.so %buildroot%_qt4dir/plugins/designer # Qt3 headers install Qt3/*.h %buildroot%_includedir/qt3 install Qt3/Qsci/*.h %buildroot%_includedir/qt3/Qsci # Qt4 headers install Qt4/*.h %buildroot%_includedir/qt4 install Qt4/Qsci/*.h %buildroot%_includedir/qt4/Qsci # docs mkdir -p %buildroot%_datadir/doc/lib%name-%version cp -a doc/Scintilla %buildroot%_datadir/doc/lib%name-%version cp -a doc/html-Qt3 %buildroot%_datadir/doc/lib%name-%version cp -a doc/html-Qt4 %buildroot%_datadir/doc/lib%name-%version %post -n lib%name-qt3 %post_ldconfig %post -n lib%name-qt4 %post_ldconfig %postun -n lib%name-qt4 %postun_ldconfig %postun -n lib%name-qt3 %postun_ldconfig %files -n lib%name-qt3 %_qt3dir/lib/*.so.* %_qt3dir/translations/* %files -n lib%name-qt4 %_qt4dir/lib/*.so.* %_qt4dir/translations/* %files -n lib%name-qt3-devel %_includedir/qt3/*.h %_includedir/qt3/Qsci %_qt3dir/lib/*.so %files -n lib%name-qt4-devel %_includedir/qt4/*.h %_includedir/qt4/Qsci %_qt4dir/lib/*.so %files -n lib%name-qt3-designer %_qt3dir/plugins/designer/*.so %files -n lib%name-qt4-designer %_qt4dir/plugins/designer/*.so %files -n lib%name-doc %_datadir/doc/lib%name-%version %changelog * Sat Oct 11 2008 Boris Savelev 2.3-alt1 - new version - remove Python bindings * Fri May 02 2008 Gennady Kovalev 2.2-alt2 - Version 2.2 * Fri Jan 04 2008 Gennady Kovalev 2-alt1.20080103 - Version 2, 20080103 snapshot + fixed python dependency + fixed RPATH bug during build * Wed Jan 02 2008 Gennady Kovalev 2-alt2.20071223 - Fixed symlinks in lib * Mon Dec 31 2007 Gennady Kovalev 2-alt1.20071223 - Version 2, 20071223 snapshot * Wed Jan 11 2006 Ivan Fedorov 1.6-alt1 - 1.6 * Sat Mar 12 2005 Ivan Fedorov 1.5.1-alt1 - 1.5.1 * Mon Feb 21 2005 Ivan Fedorov 1.5-alt1 - 1.5 * Tue Jan 18 2005 ALT QA Team Robot 1.4-alt1.1 - Rebuilt with libstdc++.so.6. * Tue Sep 21 2004 Eugene V. Horohorin 1.4-alt1 - new release - spec clean up - Rex Dieter's patch for qt-designer plugin: don't require an already installed qscintilla-devel * Tue May 18 2004 Serge V. Sergeev 1.3-alt1 - new release - appropriate spec changes * Thu Dec 11 2003 Serge V. Sergeev 1.2-alt1 - new release * Tue Jul 08 2003 Serge Sergeev 1.1-alt1 - new release - add define subver - some minor changes * Thu Apr 10 2003 Serge Sergeev 0.4-alt0.1 - New release from snapshot * Mon Dec 23 2002 Serge Sergeev 0.3-alt1.2 - fixed install section * Fri Dec 20 2002 Serge Sergeev 0.3-alt1.1 - build from snapshot (corrects encodings) * Tue Dec 17 2002 Serge Sergeev 0.3-alt1 - Initial release