Группа :: Разработка/KDE и QT
Пакет: qscintilla
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define qtdir %_libdir/qt3
%define subver 1.62
Summary: QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class
Name: qscintilla
Version: 1.5.1
Release: alt1
License: GPL
Group: Development/KDE and QT
Source: %name-%subver-gpl-%version.tar.gz
URL: http://www.riverbankcomputing.co.uk/qscintilla/
Patch0: qscintilla-1.61-gpl-1.4-designer-incpath.patch
# Automatically added by buildreq on Tue Sep 21 2004
BuildRequires: XFree86-devel gcc-c++ libqt3-devel libstdc++-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
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
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-devel
Requires: lib%name = %version-%release
Summary: Header files for %name
Group:Development/KDE and QT
%description -n lib%name-devel
Header files for %name
%package -n lib%name-designer
Requires: lib%name = %version-%release
Summary: QScintilla designer plugin
Group:Development/KDE and QT
%description -n lib%name-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 %name-%subver-gpl-%version
%patch -p1
%build
unset QTDIR || : ; . /etc/profile.d/qt3dir.sh
cd qt
%qtdir/bin/qmake qscintilla.pro -after DESTDIR=%buildroot/$QTDIR/lib
%make MOVE="cp -af"
cd ..
cd designer
%qtdir/bin/qmake designer.pro -after DESTDIR=%buildroot/$QTDIR/plugins/designer/
%make MOVE="cp -af"
cd ..
%install
%__mkdir_p %buildroot%qtdir/{include,translations,plugins/designer}
%__mkdir_p %buildroot{%_libdir,%_datadir/doc/lib%name-doc-%version/{html,Scintilla}}
%__install -m644 doc/html/* %buildroot%_datadir/doc/lib%name-doc-%version/html/
%__install -m644 doc/Scintilla/* %buildroot%_datadir/doc/lib%name-doc-%version/Scintilla/
%__install -m644 qt/qextscintilla*.h %buildroot%qtdir/include
%__install -m644 qt/qscintilla*.qm %buildroot%qtdir/translations
%__install qt/libqscintilla.so.*.*.* %buildroot%_libdir
%__install designer/libqscintillaplugin.so %buildroot%qtdir/plugins/designer
cd %buildroot%_libdir
%__ln_s libqscintilla.so.*.*.* `ls libqscintilla.so.*.*.* | sed s/\.[0-9]$//`
%__ln_s libqscintilla.so.*.*.* `ls libqscintilla.so.*.*.* | sed s/\.[0-9]\.[0-9]$//`
%__ln_s libqscintilla.so.*.*.* `ls libqscintilla.so.*.*.* | sed s/\.[0-9]\.[0-9]\.[0-9]$//`
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -n lib%name
%_libdir/*.so*
%exclude %_libdir/*.so
%qtdir/translations/*.qm
%doc NEWS README LICENSE ChangeLog
%files -n lib%name-devel
%_libdir/*.so
%qtdir/include/*
%files -n lib%name-designer
%qtdir/plugins/designer/*
%files -n lib%name-doc
%dir %_datadir/doc/lib%name-doc-%version/html
%_datadir/doc/lib%name-doc-%version/html/*
%dir %_datadir/doc/lib%name-doc-%version/Scintilla
%_datadir/doc/lib%name-doc-%version/Scintilla/*
%changelog
…
Полный changelog можно просмотреть здесь
%define subver 1.62
Summary: QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class
Name: qscintilla
Version: 1.5.1
Release: alt1
License: GPL
Group: Development/KDE and QT
Source: %name-%subver-gpl-%version.tar.gz
URL: http://www.riverbankcomputing.co.uk/qscintilla/
Patch0: qscintilla-1.61-gpl-1.4-designer-incpath.patch
# Automatically added by buildreq on Tue Sep 21 2004
BuildRequires: XFree86-devel gcc-c++ libqt3-devel libstdc++-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
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
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-devel
Requires: lib%name = %version-%release
Summary: Header files for %name
Group:Development/KDE and QT
%description -n lib%name-devel
Header files for %name
%package -n lib%name-designer
Requires: lib%name = %version-%release
Summary: QScintilla designer plugin
Group:Development/KDE and QT
%description -n lib%name-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 %name-%subver-gpl-%version
%patch -p1
%build
unset QTDIR || : ; . /etc/profile.d/qt3dir.sh
cd qt
%qtdir/bin/qmake qscintilla.pro -after DESTDIR=%buildroot/$QTDIR/lib
%make MOVE="cp -af"
cd ..
cd designer
%qtdir/bin/qmake designer.pro -after DESTDIR=%buildroot/$QTDIR/plugins/designer/
%make MOVE="cp -af"
cd ..
%install
%__mkdir_p %buildroot%qtdir/{include,translations,plugins/designer}
%__mkdir_p %buildroot{%_libdir,%_datadir/doc/lib%name-doc-%version/{html,Scintilla}}
%__install -m644 doc/html/* %buildroot%_datadir/doc/lib%name-doc-%version/html/
%__install -m644 doc/Scintilla/* %buildroot%_datadir/doc/lib%name-doc-%version/Scintilla/
%__install -m644 qt/qextscintilla*.h %buildroot%qtdir/include
%__install -m644 qt/qscintilla*.qm %buildroot%qtdir/translations
%__install qt/libqscintilla.so.*.*.* %buildroot%_libdir
%__install designer/libqscintillaplugin.so %buildroot%qtdir/plugins/designer
cd %buildroot%_libdir
%__ln_s libqscintilla.so.*.*.* `ls libqscintilla.so.*.*.* | sed s/\.[0-9]$//`
%__ln_s libqscintilla.so.*.*.* `ls libqscintilla.so.*.*.* | sed s/\.[0-9]\.[0-9]$//`
%__ln_s libqscintilla.so.*.*.* `ls libqscintilla.so.*.*.* | sed s/\.[0-9]\.[0-9]\.[0-9]$//`
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -n lib%name
%_libdir/*.so*
%exclude %_libdir/*.so
%qtdir/translations/*.qm
%doc NEWS README LICENSE ChangeLog
%files -n lib%name-devel
%_libdir/*.so
%qtdir/include/*
%files -n lib%name-designer
%qtdir/plugins/designer/*
%files -n lib%name-doc
%dir %_datadir/doc/lib%name-doc-%version/html
%_datadir/doc/lib%name-doc-%version/html/*
%dir %_datadir/doc/lib%name-doc-%version/Scintilla
%_datadir/doc/lib%name-doc-%version/Scintilla/*
%changelog
…
Полный changelog можно просмотреть здесь