]> git.pld-linux.org Git - packages/qscintilla2.git/blame - qscintilla2.spec
- fixed python-install patch
[packages/qscintilla2.git] / qscintilla2.spec
CommitLineData
9ee0f3af 1#
47f45644 2# TODO:
a9a3cc91 3# - fix building with qscintilla2(-devel) installed, remove BC
d86befc1 4# - how to successfully prepend -I../Qt4Qt5 before system qt include in qmake?
47f45644 5# - QScintilla2 for Qt3 (does it make any sense nowadays?)
9ee0f3af 6#
d86befc1
JB
7# Conditonal build:
8%bcond_without python2 # CPython 2.x module
9%bcond_without python3 # CPython 3.x module
10%bcond_without qt4 # Qt4 library and modules
11%bcond_without qt5 # Qt5 library and modules
12
13%define scintilla_ver 3.3.6
14%define sip_ver 4.16
d7dc8e14
JB
15%define pyqt4_ver 4.8.2
16%define pyqt5_ver 5.0
9ee0f3af 17Summary: QScintilla2 - a port to Qt of the Scintilla editing component
0bd4b1b2 18Summary(pl.UTF-8): QScintilla2 - port komponentu edytora Scintilla dla biblioteki Qt
9ee0f3af 19Name: qscintilla2
c333e7e3 20Version: 2.9.1
acc8386d 21Release: 3
c333e7e3 22License: GPL v3
9ee0f3af 23Group: X11/Libraries
69587943 24Source0: http://downloads.sourceforge.net/pyqt/QScintilla-gpl-%{version}.tar.gz
c333e7e3 25# Source0-md5: 38e6248cb970adf6d05aea7d94f1288e
9b858b8d 26Patch0: %{name}-internal_build.patch
d86befc1
JB
27Patch1: %{name}-multiqt.patch
28Patch2: %{name}-make.patch
29Patch3: %{name}-outoftree.patch
d7dc8e14 30Patch4: %{name}-qt5.patch
c333e7e3 31Patch5: %{name}-link.patch
0279988b 32Patch6: python-install.patch
9b858b8d 33URL: http://www.riverbankcomputing.co.uk/software/qscintilla/
d86befc1 34%if %{with python2}
d86befc1
JB
35BuildRequires: python-sip-devel >= 2:%{sip_ver}
36%endif
37%if %{with python3}
d86befc1
JB
38BuildRequires: python3-sip-devel >= 2:%{sip_ver}
39%endif
9ee0f3af 40BuildRequires: rpm-pythonprov
2b7936b6 41BuildRequires: rpmbuild(macros) >= 1.558
d86befc1
JB
42%if %{with qt4}
43BuildRequires: QtDesigner-devel >= 4.8
44BuildRequires: QtGui-devel >= 4.8
45BuildRequires: qt4-build >= 4.8
46BuildRequires: qt4-qmake >= 4.8
d7dc8e14
JB
47BuildRequires: sip-PyQt4 >= %{pyqt4_ver}
48%if %{with python2}
49BuildRequires: python-PyQt4 >= %{pyqt4_ver}
50%endif
51%if %{with python3}
52BuildRequires: python3-PyQt4 >= %{pyqt4_ver}
53%endif
d86befc1
JB
54%endif
55%if %{with qt5}
56BuildRequires: Qt5Designer-devel >= 5
57BuildRequires: Qt5Gui-devel >= 5
d7dc8e14 58BuildRequires: Qt5PrintSupport-devel >= 5
0279988b 59BuildRequires: Qt5UiTools-devel >= 5
d7dc8e14 60BuildRequires: Qt5Widgets-devel >= 5
d86befc1
JB
61BuildRequires: qt5-build >= 5
62BuildRequires: qt5-qmake >= 5
d7dc8e14
JB
63BuildRequires: sip-PyQt5 >= %{pyqt5_ver}
64%if %{with python2}
65BuildRequires: python-PyQt5 >= %{pyqt5_ver}
66%endif
67%if %{with python3}
68BuildRequires: python3-PyQt5 >= %{pyqt5_ver}
69%endif
d86befc1 70%endif
1dd6bff8
JB
71BuildConflicts: qscintilla2-devel < %{version}
72%{?with_qt4:BuildConflicts: qscintilla2-qt4-devel < %{version}}
73%{?with_qt5:BuildConflicts: qscintilla2-qt5-devel < %{version}}
9ee0f3af
KK
74BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
75
76%define _sipfilesdir %{_datadir}/sip
77
78%description
79QScintilla2 is a port to Qt of the Scintilla editing component.
80This version of QScintilla is based on Scintilla v%{scintilla_ver}.
81
d2b29e31 82%description -l pl.UTF-8
23949924
JB
83QScintilla2 to port komponentu edytora Scintilla dla biblioteki Qt.
84Ta wersja QScintilli jest oparta na Scintilli %{scintilla_ver}.
85
d7dc8e14
JB
86%package apidocs
87Summary: QScintilla2 API documentation
88Summary(pl.UTF-8): Dokumentacja API biblioteki QScintilla2
89Group: Documentation
95bdea1a
ER
90%if "%{_rpmversion}" >= "5"
91BuildArch: noarch
92%endif
d7dc8e14
JB
93
94%description apidocs
95QScintilla2 API documentation.
96
97%description apidocs -l pl.UTF-8
98Dokumentacja API biblioteki QScintilla2.
99
100%package qt4
101Summary: QScintilla2 - a port to Qt 4 of the Scintilla editing component
102Summary(pl.UTF-8): QScintilla2 - port komponentu edytora Scintilla dla biblioteki Qt 4
103Group: X11/Libraries
d7dc8e14
JB
104%ifarch %{x8664} ppc64 s390x sparc64
105Provides: libqscintilla2.so.11()(64bit)
106%else
107Provides: libqscintilla2.so.11
108%endif
109Obsoletes: qscintilla2 < 2.8.4
110
111%description qt4
112QScintilla2 is a port to Qt of the Scintilla editing component.
113This version of QScintilla is based on Scintilla v%{scintilla_ver}.
114
115This package contains the Qt 4 port.
116
117%description qt4 -l pl.UTF-8
118QScintilla2 to port komponentu edytora Scintilla dla biblioteki Qt.
119Ta wersja QScintilli jest oparta na Scintilli %{scintilla_ver}.
120
121Ten pakiet zawiera port Qt 4.
122
123%package qt4-devel
124Summary: Development files for the QScintilla2 Qt 4 library
125Summary(pl.UTF-8): Pliki nagłówkowe biblioteki QScintilla2 dla Qt 4
9ee0f3af 126Group: X11/Development/Libraries
d7dc8e14
JB
127Requires: %{name}-qt4 = %{version}-%{release}
128Requires: QtGui-devel >= 4
129Obsoletes: qscintilla2-devel < 2.8.4
9ee0f3af 130
d7dc8e14 131%description qt4-devel
9ee0f3af 132This package contains the header files necessary to develop
d7dc8e14 133applications using QScintilla2 for Qt 4.
9ee0f3af 134
d7dc8e14 135%description qt4-devel -l pl.UTF-8
d2b29e31 136Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów z
d7dc8e14 137użyciem komponentu QScintilla2 dla Qt 4.
23949924 138
9ee0f3af
KK
139%package -n QtDesigner-plugin-%{name}
140Summary: QScintilla2 plugin for Qt Designer
0bd4b1b2 141Summary(pl.UTF-8): Wtyczka QScintilla2 dla Qt Designera
9ee0f3af 142Group: X11/Development/Libraries
d7dc8e14
JB
143Requires: %{name}-qt4 = %{version}-%{release}
144Requires: QtDesigner >= 4
9ee0f3af
KK
145
146%description -n QtDesigner-plugin-%{name}
147QScintilla2 plugin for Qt Designer that allows QScintilla instances
148to be included in GUI designs just like any other Qt widget.
149
d7dc8e14
JB
150This package contains the Qt 4 version.
151
d2b29e31
JR
152%description -n QtDesigner-plugin-%{name} -l pl.UTF-8
153Wtyczka WScintilla2 dla Qt Designera pozwalająca na włączanie
154instancji QScintilli w projekty GUI w ten sam sposób, co inne widgety
23949924
JB
155Qt.
156
d7dc8e14
JB
157Ten pakiet zawiera wersję dla Qt 4.
158
159%package -n sip-PyQt4-%{name}
160Summary: Python bindings for the QScintilla2 - SIP development files
161Summary(pl.UTF-8): Wiązania Pythona dla komponentu QScintilla2 - pliki programistyczne SIP
162Group: Development/Languages/Python
163Requires: sip-PyQt4 >= %{pyqt4_ver}
164Obsoletes: python-qscintilla2-devel < 2.8.4
165
166%description -n sip-PyQt4-%{name}
167Python bindings for the QScintilla2 - SIP development files.
168
169%description -n sip-PyQt4-%{name} -l pl.UTF-8
170Wiązania Pythona dla komponentu QScintilla2 - pliki programistyczne
171SIP.
172
173%package -n python-PyQt4-%{name}
174Summary: Python 2 bindings for the QScintilla2 (PyQt4 version)
175Summary(pl.UTF-8): Wiązania Pythona 2 dla komponentu QScintilla2 (wersja dla PyQt4)
9ee0f3af 176Group: Libraries/Python
d7dc8e14 177Requires: %{name}-qt4 = %{version}-%{release}
d86befc1 178%requires_ge python-PyQt4
d7dc8e14
JB
179Obsoletes: python-qscintilla2 < 2.8.4
180
181%description -n python-PyQt4-%{name}
182Python 2 bindings for the QScintilla2 (PyQt4 version).
183
184%description -n python-PyQt4-%{name} -l pl.UTF-8
185Wiązania Pythona 2 dla komponentu QScintilla2 (wersja dla PyQt4).
186
187%package -n python3-PyQt4-%{name}
188Summary: Python 3 bindings for the QScintilla2 (PyQt4 version)
189Summary(pl.UTF-8): Wiązania Pythona 3 dla komponentu QScintilla2 (wersja dla PyQt4)
190Group: Libraries/Python
191Requires: %{name}-qt4 = %{version}-%{release}
192%requires_ge python3-PyQt4
193
194%description -n python3-PyQt4-%{name}
195Python 3 bindings for the QScintilla2 (PyQt4 version).
196
197%description -n python3-PyQt4-%{name} -l pl.UTF-8
198Wiązania Pythona 3 dla komponentu QScintilla2 (wersja dla PyQt4).
199
200%package qt5
201Summary: QScintilla2 - a port to Qt 5 of the Scintilla editing component
202Summary(pl.UTF-8): QScintilla2 - port komponentu edytora Scintilla dla biblioteki Qt 5
203Group: X11/Libraries
d7dc8e14
JB
204
205%description qt5
206QScintilla2 is a port to Qt of the Scintilla editing component.
207This version of QScintilla is based on Scintilla v%{scintilla_ver}.
208
209This package contains the Qt 5 port.
210
211%description qt5 -l pl.UTF-8
212QScintilla2 to port komponentu edytora Scintilla dla biblioteki Qt.
213Ta wersja QScintilli jest oparta na Scintilli %{scintilla_ver}.
214
215Ten pakiet zawiera port Qt 5.
216
217%package qt5-devel
218Summary: Development files for the QScintilla2 Qt 5 library
219Summary(pl.UTF-8): Pliki nagłówkowe biblioteki QScintilla2 dla Qt 5
220Group: X11/Development/Libraries
221Requires: %{name}-qt5 = %{version}-%{release}
222Requires: Qt5Gui-devel >= 5
223Obsoletes: qscintilla2-devel < 2.8.4
224
225%description qt5-devel
226This package contains the header files necessary to develop
227applications using QScintilla2 for Qt 5.
228
229%description qt5-devel -l pl.UTF-8
230Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów z
231użyciem komponentu QScintilla2 dla Qt 5.
232
233%package -n Qt5Designer-plugin-%{name}
234Summary: QScintilla2 plugin for Qt Designer
235Summary(pl.UTF-8): Wtyczka QScintilla2 dla Qt Designera
236Group: X11/Development/Libraries
237Requires: %{name}-qt5 = %{version}-%{release}
238Requires: Qt5Designer >= 5
239
240%description -n Qt5Designer-plugin-%{name}
241QScintilla2 plugin for Qt Designer that allows QScintilla instances
242to be included in GUI designs just like any other Qt widget.
243
244This package contains the Qt 5 version.
9ee0f3af 245
d7dc8e14
JB
246%description -n Qt5Designer-plugin-%{name} -l pl.UTF-8
247Wtyczka WScintilla2 dla Qt Designera pozwalająca na włączanie
248instancji QScintilli w projekty GUI w ten sam sposób, co inne widgety
249Qt.
9ee0f3af 250
d7dc8e14 251Ten pakiet zawiera wersję dla Qt 5.
23949924 252
d7dc8e14
JB
253%package -n sip-PyQt5-%{name}
254Summary: Python bindings for the QScintilla2 - SIP development files
255Summary(pl.UTF-8): Wiązania Pythona dla komponentu QScintilla2 - pliki programistyczne SIP
9ee0f3af 256Group: Development/Languages/Python
d7dc8e14
JB
257Requires: sip-PyQt5 >= %{pyqt5_ver}
258
259%description -n sip-PyQt5-%{name}
260Python bindings for the QScintilla2 - SIP development files.
9ee0f3af 261
d7dc8e14
JB
262%description -n sip-PyQt5-%{name} -l pl.UTF-8
263Wiązania Pythona dla komponentu QScintilla2 - pliki programistyczne
264SIP.
9ee0f3af 265
d7dc8e14
JB
266%package -n python-PyQt5-%{name}
267Summary: Python 2 bindings for the QScintilla2 (PyQt5 version)
268Summary(pl.UTF-8): Wiązania Pythona 2 dla komponentu QScintilla2 (wersja dla PyQt5)
269Group: Libraries/Python
270Requires: %{name}-qt5 = %{version}-%{release}
271%requires_ge python-PyQt5
272
273%description -n python-PyQt5-%{name}
274Python 2 bindings for the QScintilla2 (PyQt5 version).
275
276%description -n python-PyQt5-%{name} -l pl.UTF-8
277Wiązania Pythona 2 dla komponentu QScintilla2 (wersja dla PyQt5).
278
279%package -n python3-PyQt5-%{name}
280Summary: Python 3 bindings for the QScintilla2 (PyQt5 version)
281Summary(pl.UTF-8): Wiązania Pythona 3 dla komponentu QScintilla2 (wersja dla PyQt5)
282Group: Libraries/Python
283Requires: %{name}-qt5 = %{version}-%{release}
284%requires_ge python3-PyQt5
285
286%description -n python3-PyQt5-%{name}
287Python 3 bindings for the QScintilla2 (PyQt5 version).
288
289%description -n python3-PyQt5-%{name} -l pl.UTF-8
290Wiązania Pythona 3 dla komponentu QScintilla2 (wersja dla PyQt5).
23949924 291
9ee0f3af 292%prep
db7bb55a 293%setup -q -n QScintilla-gpl-%{version}
9ee0f3af 294%patch0 -p1
d86befc1
JB
295%patch1 -p1
296%patch2 -p1
297%patch3 -p1
d7dc8e14 298%patch4 -p1
1dd6bff8 299%patch5 -p1
0279988b 300%patch6 -p1
9ee0f3af
KK
301
302%build
d86befc1
JB
303for qt in %{?with_qt4:qt4} %{?with_qt5:qt5} ; do
304install -d build-${qt}/{Qt4Qt5,designer-Qt4Qt5,Python2,Python3}
305cd build-${qt}/Qt4Qt5
1dd6bff8
JB
306qmake-${qt} ../../Qt4Qt5/qscintilla.pro \
307 $(test "$qt" = "qt4" || echo QMAKE_MKSPECS=%{_libdir}/$qt/mkspecs)
439a2c93 308%{__make}
d86befc1
JB
309cd ../designer-Qt4Qt5
310qmake-${qt} ../../designer-Qt4Qt5/designer.pro
9ee0f3af 311%{__make}
d86befc1 312cd ..
9ee0f3af 313
d86befc1
JB
314%if %{with python2}
315cd Python2
47f45644
JB
316# setup PATH to get proper qmake
317# pass --apidir because configure.py default is inconsistent with sources (no /qsci subdir)
d86befc1
JB
318PATH=%{_libdir}/${qt}/bin:$PATH \
319%{__python} ../../Python/configure.py \
320 --verbose \
9ee0f3af 321 -c -j 3 \
d86befc1 322 -n ../../Qt4Qt5 \
47f45644 323 -o ../Qt4Qt5 \
d7dc8e14
JB
324 --apidir=%{_datadir}/${qt}/qsci \
325 --pyqt=PyQt${qt#qt}
9ee0f3af 326%{__make}
d86befc1
JB
327cd ..
328%endif
329%if %{with python3}
330cd Python3
331PATH=%{_libdir}/${qt}/bin:$PATH \
332%{__python3} ../../Python/configure.py \
333 --verbose \
334 -c -j 3 \
335 -n ../../Qt4Qt5 \
336 -o ../Qt4Qt5 \
d7dc8e14
JB
337 --apidir=%{_datadir}/${qt}/qsci \
338 --pyqt=PyQt${qt#qt}
d86befc1
JB
339%{__make}
340cd ..
341%endif
342cd ..
343done
9ee0f3af
KK
344
345%install
346rm -rf $RPM_BUILD_ROOT
347
d86befc1
JB
348for qt in %{?with_qt4:qt4} %{?with_qt5:qt5} ; do
349%{__make} -C build-${qt}/Qt4Qt5 install \
9ee0f3af 350 INSTALL_ROOT=$RPM_BUILD_ROOT
d86befc1 351%{__make} -C build-${qt}/designer-Qt4Qt5 install \
9ee0f3af 352 INSTALL_ROOT=$RPM_BUILD_ROOT
d86befc1
JB
353%if %{with python3}
354%{__make} -C build-${qt}/Python3 install \
47f45644 355 INSTALL_ROOT=$RPM_BUILD_ROOT
d86befc1
JB
356%endif
357%if %{with python2}
358%{__make} -C build-${qt}/Python2 install \
359 INSTALL_ROOT=$RPM_BUILD_ROOT
360%endif
361done
9ee0f3af 362
d7dc8e14 363# unnecessary symlink
c333e7e3 364%{__rm} $RPM_BUILD_ROOT%{_libdir}/libqscintilla2*.so.12.0
d7dc8e14
JB
365
366%if %{with qt4}
367# move Qt4 translations to PLD-specific directory scheme
9ee0f3af
KK
368for file in $RPM_BUILD_ROOT%{_datadir}/locale/*.qm
369do
23949924
JB
370 lang=`echo $file | sed -r 's:.*/[a-zA-Z]*_(.*).qm:\1:'`
371 [ "$lang" == "pt_br" ] && lang=pt_BR
372 install -d $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES
c333e7e3 373 %{__mv} $file $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES/qscintilla2.qm
9ee0f3af
KK
374done
375
d7dc8e14
JB
376# compatibility symlinks
377ln -sf $(basename $RPM_BUILD_ROOT%{_libdir}/libqscintilla2-qt4.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libqscintilla2.so.11
378ln -sf $(basename $RPM_BUILD_ROOT%{_libdir}/libqscintilla2-qt4.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libqscintilla2.so
379%endif
47f45644 380
9ee0f3af
KK
381%clean
382rm -rf $RPM_BUILD_ROOT
383
d7dc8e14
JB
384%post qt4 -p /sbin/ldconfig
385%postun qt4 -p /sbin/ldconfig
386
387%post qt5 -p /sbin/ldconfig
388%postun qt5 -p /sbin/ldconfig
9ee0f3af 389
d7dc8e14
JB
390%files apidocs
391%defattr(644,root,root,755)
392%doc doc/{Scintilla,html-Qt4Qt5}
393
394%if %{with qt4}
395%files qt4
9ee0f3af 396%defattr(644,root,root,755)
c333e7e3 397%doc NEWS README
d7dc8e14 398%attr(755,root,root) %{_libdir}/libqscintilla2-qt4.so.*.*.*
c333e7e3 399%attr(755,root,root) %ghost %{_libdir}/libqscintilla2-qt4.so.12
d7dc8e14
JB
400# compatibility symlink
401%attr(755,root,root) %{_libdir}/libqscintilla2.so.11
739c851d 402%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/qscintilla2.qm
9ee0f3af 403%lang(de) %{_datadir}/locale/de/LC_MESSAGES/qscintilla2.qm
12a74d0d 404%lang(es) %{_datadir}/locale/es/LC_MESSAGES/qscintilla2.qm
9ee0f3af
KK
405%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/qscintilla2.qm
406%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/qscintilla2.qm
82fa3613
KK
407%dir %{_datadir}/qt4/qsci
408%dir %{_datadir}/qt4/qsci/api
d7dc8e14
JB
409%dir %{_datadir}/qt4/qsci/api/python
410%{_datadir}/qt4/qsci/api/python/Python-*.api
411%{_datadir}/qt4/qsci/api/python/QScintilla2.api
9ee0f3af 412
d7dc8e14 413%files qt4-devel
9ee0f3af 414%defattr(644,root,root,755)
d7dc8e14
JB
415%attr(755,root,root) %{_libdir}/libqscintilla2-qt4.so
416# compatibility symlink
9ee0f3af
KK
417%attr(755,root,root) %{_libdir}/libqscintilla2.so
418%{_includedir}/qt4/Qsci
d86befc1 419%{_datadir}/qt4/mkspecs/features/qscintilla2.prf
9ee0f3af
KK
420
421%files -n QtDesigner-plugin-%{name}
9a281e92 422%defattr(644,root,root,755)
ece58d84 423%attr(755,root,root) %{_libdir}/qt4/plugins/designer/libqscintillaplugin.so
9ee0f3af 424
d7dc8e14
JB
425%files -n sip-PyQt4-%{name}
426%defattr(644,root,root,755)
427%{_sipfilesdir}/PyQt4/Qsci
428
429%if %{with python2}
430%files -n python-PyQt4-%{name}
9ee0f3af 431%defattr(644,root,root,755)
ece58d84 432%attr(755,root,root) %{py_sitedir}/PyQt4/Qsci.so
d7dc8e14 433%endif
9ee0f3af 434
d7dc8e14
JB
435%if %{with python3}
436%files -n python3-PyQt4-%{name}
9ee0f3af 437%defattr(644,root,root,755)
d7dc8e14
JB
438%attr(755,root,root) %{py3_sitedir}/PyQt4/Qsci.so
439%endif
440%endif
441
442%if %{with qt5}
443%files qt5
444%defattr(644,root,root,755)
c333e7e3 445%doc NEWS README
d7dc8e14 446%attr(755,root,root) %{_libdir}/libqscintilla2-qt5.so.*.*.*
c333e7e3 447%attr(755,root,root) %ghost %{_libdir}/libqscintilla2-qt5.so.12
d7dc8e14
JB
448%lang(cs) %{_datadir}/qt5/translations/qscintilla_cs.qm
449%lang(de) %{_datadir}/qt5/translations/qscintilla_de.qm
450%lang(es) %{_datadir}/qt5/translations/qscintilla_es.qm
451%lang(fr) %{_datadir}/qt5/translations/qscintilla_fr.qm
452%lang(pt_BR) %{_datadir}/qt5/translations/qscintilla_pt_br.qm
453%dir %{_datadir}/qt5/qsci
454%dir %{_datadir}/qt5/qsci/api
455%dir %{_datadir}/qt5/qsci/api/python
456%{_datadir}/qt5/qsci/api/python/Python-*.api
457%{_datadir}/qt5/qsci/api/python/QScintilla2.api
458
459%files qt5-devel
460%defattr(644,root,root,755)
461%attr(755,root,root) %{_libdir}/libqscintilla2-qt5.so
462%{_includedir}/qt5/Qsci
1dd6bff8 463%{_libdir}/qt5/mkspecs/features/qscintilla2.prf
d7dc8e14
JB
464
465%files -n Qt5Designer-plugin-%{name}
466%defattr(644,root,root,755)
467%attr(755,root,root) %{_libdir}/qt5/plugins/designer/libqscintillaplugin.so
468
469%files -n sip-PyQt5-%{name}
470%defattr(644,root,root,755)
471%{_sipfilesdir}/PyQt5/Qsci
472
473%if %{with python2}
474%files -n python-PyQt5-%{name}
475%defattr(644,root,root,755)
476%attr(755,root,root) %{py_sitedir}/PyQt5/Qsci.so
477%endif
478
479%if %{with python3}
480%files -n python3-PyQt5-%{name}
481%defattr(644,root,root,755)
482%attr(755,root,root) %{py3_sitedir}/PyQt5/Qsci.so
483%endif
484%endif
This page took 0.164663 seconds and 4 git commands to generate.