Группа :: Разработка/KDE и QT
Пакет: qscintilla
Главная Изменения Спек Патчи Загрузить Bugs and FR
%define qtdir %_libdir/qt3
%define subver 1.61
Summary: QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class.
Name: qscintilla
Version: 1.4
Release: alt0.M24.1
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 -f"
cd ..
cd designer
%{qtdir}/bin/qmake designer.pro -after DESTDIR=%buildroot/$QTDIR/plugins/designer/
%make MOVE="cp -f"
cd ..
%install
mkdir -p %buildroot%qtdir/include
mkdir -p %buildroot%qtdir/lib
mkdir -p %buildroot%qtdir/translations
mkdir -p %buildroot%qtdir/plugins/designer
mkdir -p %buildroot%_libdir
%__install -m644 qt/qextscintilla*.h %{buildroot}%{qtdir}/include
%__install -m644 qt/qscintilla*.qm %{buildroot}%{qtdir}/translations
%__install -m644 qt/libqscintilla.so* %{buildroot}%{qtdir}/lib
%__install -m644 designer/libqscintillaplugin.so %{buildroot}%{qtdir}/plugins/designer
cd %buildroot%_libdir
find -name *.so* -exec ln -s '{}' ./ ';'
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -n lib%name
%_libdir/*.so*
## %_libdir/*.so.5
%qtdir/lib/*.so*
%qtdir/translations/*.qm
%doc NEWS README LICENSE ChangeLog
%files -n lib%name-devel
%qtdir/include/*
%files -n lib%name-designer
%qtdir/plugins/designer/*
%files -n lib%name-doc
%doc doc/*
%changelog
…
Полный changelog можно просмотреть здесь
%define subver 1.61
Summary: QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class.
Name: qscintilla
Version: 1.4
Release: alt0.M24.1
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 -f"
cd ..
cd designer
%{qtdir}/bin/qmake designer.pro -after DESTDIR=%buildroot/$QTDIR/plugins/designer/
%make MOVE="cp -f"
cd ..
%install
mkdir -p %buildroot%qtdir/include
mkdir -p %buildroot%qtdir/lib
mkdir -p %buildroot%qtdir/translations
mkdir -p %buildroot%qtdir/plugins/designer
mkdir -p %buildroot%_libdir
%__install -m644 qt/qextscintilla*.h %{buildroot}%{qtdir}/include
%__install -m644 qt/qscintilla*.qm %{buildroot}%{qtdir}/translations
%__install -m644 qt/libqscintilla.so* %{buildroot}%{qtdir}/lib
%__install -m644 designer/libqscintillaplugin.so %{buildroot}%{qtdir}/plugins/designer
cd %buildroot%_libdir
find -name *.so* -exec ln -s '{}' ./ ';'
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files -n lib%name
%_libdir/*.so*
## %_libdir/*.so.5
%qtdir/lib/*.so*
%qtdir/translations/*.qm
%doc NEWS README LICENSE ChangeLog
%files -n lib%name-devel
%qtdir/include/*
%files -n lib%name-designer
%qtdir/plugins/designer/*
%files -n lib%name-doc
%doc doc/*
%changelog
…
Полный changelog можно просмотреть здесь