|
|
eb13e70 |
|
|
|
9dcc4f0 |
%define scintilla_ver 1.78
|
|
|
45c2b57 |
|
|
|
eb13e70 |
# bootstrapping -python
|
|
|
eb13e70 |
%define python 1
|
|
|
eb13e70 |
|
|
|
8a612c4 |
Name: qscintilla
|
|
|
a69f411 |
Version: 2.4.4
|
|
|
f7a9cd2 |
Release: 1%{?dist}
|
|
|
8a612c4 |
Summary: A Scintilla port to Qt
|
|
|
f3ee1c3 |
# matches up (pretty much) with qt4
|
|
|
8a612c4 |
License: GPLv3 or GPLv2 with exceptions
|
|
|
8a612c4 |
Group: Development/Tools
|
|
|
8a612c4 |
Url: http://www.riverbankcomputing.com/software/qscintilla/
|
|
|
8a612c4 |
Source0: http://www.riverbankcomputing.com/static/Downloads/QScintilla2/QScintilla-gpl-%{version}.tar.gz
|
|
|
8a612c4 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
45c2b57 |
|
|
|
116d9a3 |
## Upstreamable patches
|
|
|
116d9a3 |
# posted to upstream ml, not in archive yet
|
|
|
116d9a3 |
Patch50: QScintilla-gpl-2.4-qt4_designer_incpath.patch
|
|
|
3e866c7 |
|
|
|
98b78a1 |
Obsoletes: qscintilla-designer < 2.4-3
|
|
|
98b78a1 |
Provides: qscintilla-designer = %{version}-%{release}
|
|
|
55c64ff |
%{?_isa:Provides: qscintilla-designer%{_isa} = %{version}-%{release}}
|
|
|
98b78a1 |
|
|
|
59a478e |
BuildRequires: qt4-devel
|
|
|
eb13e70 |
|
|
|
abedb03 |
# for -python
|
|
|
eb13e70 |
%if 0%{?python}
|
|
|
eb13e70 |
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
f7a9cd2 |
%global pyqt4_version 4.7
|
|
|
9dcc4f0 |
BuildRequires: PyQt4-devel >= %{pyqt4_version}
|
|
|
a993199 |
BuildRequires: sip-devel
|
|
|
abedb03 |
BuildRequires: chrpath
|
|
|
eb13e70 |
%endif
|
|
|
abedb03 |
|
|
|
45c2b57 |
|
|
|
45c2b57 |
%description
|
|
|
3e866c7 |
QScintilla is a port of Scintilla to the Qt GUI toolkit.
|
|
|
45c2b57 |
|
|
|
8a612c4 |
%{?scintilla_ver:This version of QScintilla is based on Scintilla v%{scintilla_ver}.}
|
|
|
45c2b57 |
|
|
|
45c2b57 |
%package devel
|
|
|
8a612c4 |
Summary: QScintilla Development Files
|
|
|
8a612c4 |
Group: Development/Libraries
|
|
|
a69f411 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
8a612c4 |
Requires: qt4-devel
|
|
|
45c2b57 |
%description devel
|
|
|
3e866c7 |
%{summary}.
|
|
|
45c2b57 |
|
|
|
59a478e |
%package python
|
|
|
8a612c4 |
Summary: QScintilla PyQt4 bindings
|
|
|
8a612c4 |
Group: Development/Libraries
|
|
|
8a612c4 |
Requires: %{name} = %{version}-%{release}
|
|
|
9dcc4f0 |
Requires: PyQt4 >= %{pyqt4_version}
|
|
|
a993199 |
%{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}}
|
|
|
59a478e |
%description python
|
|
|
59a478e |
%{summary}.
|
|
|
45c2b57 |
|
|
|
abedb03 |
%package python-devel
|
|
|
8a612c4 |
Summary: Development files for QScintilla PyQt4 bindings
|
|
|
8a612c4 |
Group: Development/Libraries
|
|
|
8a612c4 |
Requires: PyQt4-devel
|
|
|
a993199 |
Requires: sip-devel
|
|
|
a69f411 |
%if 0%{?fedora} > 9
|
|
|
62c3df5 |
BuildArch: noarch
|
|
|
62c3df5 |
# when noarch landed
|
|
|
62c3df5 |
Obsoletes: qscintilla-python-devel < 2.4-4
|
|
|
62c3df5 |
%endif
|
|
|
62c3df5 |
|
|
|
abedb03 |
%description python-devel
|
|
|
abedb03 |
%{summary}.
|
|
|
abedb03 |
|
|
|
abedb03 |
|
|
|
45c2b57 |
%prep
|
|
|
f3ee1c3 |
%setup -q -n QScintilla-gpl-%{version}
|
|
|
3e866c7 |
|
|
|
116d9a3 |
%patch50 -p1 -b .qt4_designer_incpath
|
|
|
3e866c7 |
|
|
|
45c2b57 |
# fix permissions on doc files
|
|
|
59a478e |
find doc example-Qt4 -type f -exec chmod 0644 {} ';'
|
|
|
59a478e |
find src include -type f -exec chmod 0644 {} ';'
|
|
|
45c2b57 |
|
|
|
f3ee1c3 |
# fix line endings in license file(s)
|
|
|
f3ee1c3 |
sed -i 's/\r//' LICENSE.GPL2 GPL_EXCEPTION_ADDENDUM.TXT
|
|
|
45c2b57 |
|
|
|
abedb03 |
|
|
|
45c2b57 |
%build
|
|
|
59a478e |
pushd Qt4
|
|
|
b867b06 |
%{_qt4_qmake} qscintilla.pro
|
|
|
59a478e |
make %{?_smp_mflags}
|
|
|
45c2b57 |
popd
|
|
|
45c2b57 |
|
|
|
59a478e |
pushd designer-Qt4
|
|
|
b867b06 |
%{_qt4_qmake} designer.pro
|
|
|
59a478e |
make %{?_smp_mflags}
|
|
|
45c2b57 |
popd
|
|
|
45c2b57 |
|
|
|
eb13e70 |
%if 0%{?python}
|
|
|
59a478e |
pushd Python
|
|
|
116d9a3 |
%{__python} \
|
|
|
116d9a3 |
configure.py \
|
|
|
116d9a3 |
-c -j 3 \
|
|
|
116d9a3 |
-n ../Qt4 \
|
|
|
116d9a3 |
-o ../Qt4
|
|
|
59a478e |
make %{?_smp_mflags}
|
|
|
59a478e |
popd
|
|
|
eb13e70 |
%endif
|
|
|
45c2b57 |
|
|
|
abedb03 |
|
|
|
45c2b57 |
%install
|
|
|
f3ee1c3 |
rm -rf %{buildroot}
|
|
|
f3ee1c3 |
|
|
|
f3ee1c3 |
make -C Qt4 install INSTALL_ROOT=%{buildroot}
|
|
|
f3ee1c3 |
make -C designer-Qt4 install INSTALL_ROOT=%{buildroot}
|
|
|
eb13e70 |
%if 0%{?python}
|
|
|
f3ee1c3 |
make -C Python install DESTDIR=%{buildroot}
|
|
|
f3ee1c3 |
|
|
|
cdfb494 |
chrpath --list %{buildroot}%{python_sitearch}/PyQt4/Qsci.so && \
|
|
|
cdfb494 |
chrpath --delete %{buildroot}%{python_sitearch}/PyQt4/Qsci.so ||:
|
|
|
eb13e70 |
%endif
|
|
|
45c2b57 |
|
|
|
abedb03 |
|
|
|
45c2b57 |
%clean
|
|
|
f3ee1c3 |
rm -rf %{buildroot}
|
|
|
45c2b57 |
|
|
|
45c2b57 |
|
|
|
45c2b57 |
%post -p /sbin/ldconfig
|
|
|
3e866c7 |
|
|
|
45c2b57 |
%postun -p /sbin/ldconfig
|
|
|
45c2b57 |
|
|
|
45c2b57 |
|
|
|
45c2b57 |
%files
|
|
|
45c2b57 |
%defattr(-,root,root,-)
|
|
|
cfe8669 |
%doc NEWS README
|
|
|
cfe8669 |
%doc LICENSE.GPL3 LICENSE.GPL2
|
|
|
cfe8669 |
%doc GPL_EXCEPTION.TXT GPL_EXCEPTION_ADDENDUM.TXT
|
|
|
3492107 |
%{_qt4_libdir}/libqscintilla2.so.5*
|
|
|
98b78a1 |
%{_qt4_plugindir}/designer/libqscintillaplugin.so
|
|
|
abedb03 |
%{_qt4_translationdir}/*
|
|
|
f3ee1c3 |
%{_qt4_prefix}/qsci/
|
|
|
45c2b57 |
|
|
|
45c2b57 |
%files devel
|
|
|
45c2b57 |
%defattr(-,root,root,-)
|
|
|
59a478e |
%doc doc/html-Qt4 doc/Scintilla example-Qt4
|
|
|
c6606b8 |
%{_qt4_headerdir}/Qsci/
|
|
|
8a612c4 |
%{_qt4_libdir}/libqscintilla2.so
|
|
|
59a478e |
|
|
|
eb13e70 |
%if 0%{?python}
|
|
|
59a478e |
%files python
|
|
|
59a478e |
%defattr(-,root,root,-)
|
|
|
59a478e |
%{python_sitearch}/PyQt4/Qsci.so
|
|
|
abedb03 |
|
|
|
abedb03 |
%files python-devel
|
|
|
abedb03 |
%defattr(-,root,root,-)
|
|
|
59a478e |
%{_datadir}/sip/PyQt4/Qsci/
|
|
|
eb13e70 |
%endif
|
|
|
45c2b57 |
|
|
|
45c2b57 |
|
|
|
45c2b57 |
%changelog
|
|
|
a69f411 |
* Wed Jul 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.4.4-1
|
|
|
a69f411 |
- 2.4.4
|
|
|
a69f411 |
|
|
|
246ca01 |
* Thu Mar 18 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.4.3-1
|
|
|
246ca01 |
- 2.4.3
|
|
|
246ca01 |
|
|
|
7b8cce2 |
* Thu Jan 21 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.4.2-1
|
|
|
7b8cce2 |
- 2.4.2
|
|
|
7b8cce2 |
|
|
|
f7a9cd2 |
* Fri Jan 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.4.1-1
|
|
|
f7a9cd2 |
- 2.4.1
|
|
|
f7a9cd2 |
- pyqt4_version 4.7
|
|
|
f7a9cd2 |
|
|
|
55bbb8d |
* Thu Jan 07 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.4-10
|
|
|
55bbb8d |
- rebuild (sip)
|
|
|
55bbb8d |
|
|
|
a993199 |
* Fri Nov 27 2009 Rex Dieter <rdieter@fedoraproject.org> - 2.4-9
|
|
|
a993199 |
- -python: Requires: sip-api(%%_sip_api_major) >= %%_sip_api
|
|
|
a993199 |
- -python-devel: Requires: sip-devel
|
|
|
a993199 |
|
|
|
d1c665b |
* Mon Nov 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 2.4-8
|
|
|
d1c665b |
- rebuild (for qt-4.6.0-rc1, f13+)
|
|
|
d1c665b |
|
|
|
4146ab5 |
* Wed Nov 11 2009 Rex Dieter <rdieter@fedoraproject.org> - 2.4-7
|
|
|
4146ab5 |
- pyqt4_version 4.6.1
|
|
|
4146ab5 |
|
|
|
116d9a3 |
* Wed Oct 21 2009 Rex Dieter <rdieter@fedoraproject.org> - 2.4-6
|
|
|
116d9a3 |
- autocomplete_popup patch
|
|
|
116d9a3 |
|
|
|
9c2f438 |
* Fri Oct 16 2009 Rex Dieter <rdieter@fedoraproject.org> - 2.4-5
|
|
|
9c2f438 |
- rebuild (PyQt4)
|
|
|
9c2f438 |
|
|
|
62c3df5 |
* Tue Aug 11 2009 Rex Dieter <rdieter@fedoraproject.org> - 2.4-4
|
|
|
62c3df5 |
- -python-devel: make noarch, drop dep on -python
|
|
|
62c3df5 |
|
|
|
98b78a1 |
* Sat Aug 08 2009 Rex Dieter
|
|
|
98b78a1 |
- include designer plugin in main pkg, Obsoletes: qscintilla-designer
|
|
|
98b78a1 |
|
|
|
29d21b8 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
|
|
|
29d21b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
29d21b8 |
|
|
|
9dcc4f0 |
* Wed Jun 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 2.4-1
|
|
|
9dcc4f0 |
- QScintilla-gpl-2.4
|
|
|
9dcc4f0 |
|
|
|
bcbbfa5 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-3
|
|
|
bcbbfa5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
bcbbfa5 |
|
|
|
1892ebb |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.3.2-2
|
|
|
1892ebb |
- Rebuild for Python 2.6
|
|
|
1892ebb |
|
|
|
7949b07 |
* Mon Nov 17 2008 Rex Dieter <rdieter@fedoraproject.org> - 2.3.2-1
|
|
|
7949b07 |
- Qscintilla-gpl-2.3.2
|
|
|
3492107 |
- soname bump 4->5
|
|
|
7949b07 |
|
|
|
7949b07 |
* Mon Nov 10 2008 Rex Dieter <rdieter@fedoraproject.org> - 2.3.1-1
|
|
|
7949b07 |
- Qscintilla-gpl-2.3.1
|
|
|
7949b07 |
|
|
|
8a612c4 |
* Mon Sep 22 2008 Rex Dieter <rdieter@fedoraproject.org> - 2.3-1
|
|
|
8a612c4 |
- Qscintilla-gpl-2.3
|
|
|
8a612c4 |
- scintilla_ver is missing (#461777)
|
|
|
8a612c4 |
|
|
|
31b1916 |
* Fri Jul 18 2008 Dennis Gilmore <dennis@ausil.us> - 2.2-3
|
|
|
31b1916 |
- rebuild for newer PyQT4
|
|
|
31b1916 |
- fix #449423 properly
|
|
|
31b1916 |
|
|
|
c74858a |
* Fri Jul 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 2.2-2
|
|
|
c74858a |
- fix build (#449423)
|
|
|
c74858a |
|
|
|
f3ee1c3 |
* Mon May 05 2008 Rex Dieter <rdieter@fedoraproject.org> - 2.2-1
|
|
|
f3ee1c3 |
- Qscintilla-gpl-2.2
|
|
|
f3ee1c3 |
- License: GPLv3 or GPLv2 with exceptions
|
|
|
f3ee1c3 |
|
|
|
abedb03 |
* Thu Feb 14 2008 Rex Dieter <rdieter@fedoraproject.org> - 2.1-4
|
|
|
abedb03 |
- use %%_qt4_* macros (preparing for qt4 possibly moving %%_qt4_datadir)
|
|
|
abedb03 |
- -python: fix Requires
|
|
|
abedb03 |
- -python-devel: new pkg
|
|
|
abedb03 |
- omit Obsoletes: PyQt-qscintilla
|
|
|
abedb03 |
(leave that to PyQt, that can get the versioning right)
|
|
|
abedb03 |
|
|
|
0a74709 |
* Mon Jan 28 2008 Dennis Gilmore <dennis@ausil.us> - 2.1-3
|
|
|
0a74709 |
- fix typo in Obsoletes: on python package
|
|
|
0a74709 |
|
|
|
32333f0 |
* Mon Jan 28 2008 Dennis Gilmore <dennis@ausil.us> - 2.1-2
|
|
|
32333f0 |
- remove dumb require on di from qscintilla-python
|
|
|
32333f0 |
|
|
|
32333f0 |
* Mon Jan 28 2008 Dennis Gilmore <dennis@ausil.us> - 2.1-1
|
|
|
59a478e |
- update to 2.1 branch
|
|
|
59a478e |
|
|
|
048c899 |
* Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.7.1-3
|
|
|
048c899 |
- respin (BuildID)
|
|
|
048c899 |
|
|
|
aa86f8f |
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.7.1-2
|
|
|
aa86f8f |
- License: GPLv2+
|
|
|
aa86f8f |
|
|
|
827bd02 |
* Mon Dec 11 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.7.1-1
|
|
|
827bd02 |
- QScintilla-1.71-gpl-1.7.1
|
|
|
827bd02 |
|
|
|
3e866c7 |
* Thu Nov 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.7-1
|
|
|
dee782e |
- QScintilla1-1.71-gpl-1.7 (#214192)
|
|
|
3e866c7 |
|
|
|
145da2a |
* Sun Sep 03 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.6-3.3
|
|
|
145da2a |
- FC6 rebuild.
|
|
|
145da2a |
- Export flags.
|
|
|
145da2a |
|
|
|
1e38019 |
* Mon Feb 13 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.6-3.2
|
|
|
1e38019 |
- FC5 Rebuild.
|
|
|
1e38019 |
|
|
|
6f8cb72 |
* Tue Jan 31 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.6-3.1
|
|
|
6f8cb72 |
- Rebuild for FC5.
|
|
|
6f8cb72 |
|
|
|
45c2b57 |
* Wed Sep 14 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 1.6-3
|
|
|
45c2b57 |
- Fix permissions in prep, not in install.
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Tue Sep 13 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 1.6-2
|
|
|
45c2b57 |
- Fix permissions on doc files to be 0644.
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Sun Sep 11 2005 Konstantin Ryabitsev <icon@linux.duke.edu> 1.6-1
|
|
|
45c2b57 |
- Update to 1.65-gpl-1.6
|
|
|
45c2b57 |
- Use the patch from Aurelien Bompard to build sanely in buildroot
|
|
|
45c2b57 |
- Include docs and examples for the -devel package
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Sat Aug 27 2005 Konstantin Ryabitsev <icon@linux.duke.edu> 1.5.1-1
|
|
|
45c2b57 |
- Adapt for Fedora Extras
|
|
|
45c2b57 |
- Drop 0-Epoch
|
|
|
45c2b57 |
- Make specfile simpler
|
|
|
45c2b57 |
- Move .so to devel
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Mon Mar 09 2005 Rex Dieter 0:1.5.1-0.0.kde
|
|
|
45c2b57 |
- 1.5.1
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Thu Sep 16 2004 Rex Dieter <rexdieter at sf.net> 0:1.4-0.1.kde
|
|
|
45c2b57 |
- updated designer-incpath patch: don't require an already installed
|
|
|
45c2b57 |
qscintilla-devel
|
|
|
45c2b57 |
- BuildConflicts: qscintilla-devel != %%version
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Thu Sep 16 2004 Rex Dieter <rexdieter at sf.net> 0:1.4-0.0.kde
|
|
|
45c2b57 |
- 1.4
|
|
|
45c2b57 |
- include designer plugin
|
|
|
45c2b57 |
- Prereq: %%qtdir
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Fri May 28 2004 Rex Dieter <rexdieter at sf.net> 0:1.3-0.fdr.0
|
|
|
45c2b57 |
- 1.3
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Thu Mar 11 2004 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.6
|
|
|
45c2b57 |
- dynamically determine version for qt dependancy.
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Wed Mar 10 2004 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.5
|
|
|
45c2b57 |
- (re)build against qt-3.3.1
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Wed Dec 03 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.4
|
|
|
45c2b57 |
- remove extraneous macros
|
|
|
45c2b57 |
- (re)build against qt-3.2.3
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Mon Nov 10 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.3
|
|
|
45c2b57 |
- (re)build against qt-3.2.2
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Wed Sep 17 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.2
|
|
|
45c2b57 |
- use Epoch's in Requires
|
|
|
45c2b57 |
|
|
|
45c2b57 |
* Tue Aug 19 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.1
|
|
|
45c2b57 |
- 1.2
|
|
|
45c2b57 |
|