enable qtenginio, fix pyuic5 wrapper, use %license

This commit is contained in:
Rex Dieter 2015-10-27 14:28:46 -05:00
parent 3bc70985ec
commit 458ca52d74

View File

@ -38,7 +38,8 @@ BuildRequires: findutils
BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-python) BuildRequires: pkgconfig(dbus-python)
BuildRequires: pkgconfig(phonon4qt5) BuildRequires: pkgconfig(phonon4qt5)
BuildRequires: pkgconfig(Qt5Core) >= 5.3 BuildRequires: pkgconfig(Qt5Core) >= 5.5
BuildRequires: pkgconfig(Enginio)
BuildRequires: pkgconfig(Qt5Bluetooth) BuildRequires: pkgconfig(Qt5Bluetooth)
BuildRequires: pkgconfig(Qt5DBus) pkgconfig(Qt5Declarative) BuildRequires: pkgconfig(Qt5DBus) pkgconfig(Qt5Declarative)
BuildRequires: pkgconfig(Qt5Designer) BuildRequires: pkgconfig(Qt5Designer)
@ -194,7 +195,7 @@ sed -i \
-e "s|@@EVR@@|%{?epoch:%{epoch:}}%{version}-%{release}|g" \ -e "s|@@EVR@@|%{?epoch:%{epoch:}}%{version}-%{release}|g" \
%{buildroot}%{rpm_macros_dir}/macros.pyqt5 %{buildroot}%{rpm_macros_dir}/macros.pyqt5
%if 0%{?_with_python3} %if 0%{?with_python3}
# install pyuic5 wrapper to handle both/either python2/python3 # install pyuic5 wrapper to handle both/either python2/python3
rm -fv %{buildroot}%{_bindir}/pyuic5 rm -fv %{buildroot}%{_bindir}/pyuic5
install -p -m755 -D %{SOURCE2} \ install -p -m755 -D %{SOURCE2} \
@ -209,7 +210,7 @@ sed -i \
%if 0%{?with_python2} %if 0%{?with_python2}
%files %files
%doc NEWS README %doc NEWS README
%doc LICENSE %license LICENSE
%{rpm_macros_dir}/macros.pyqt5 %{rpm_macros_dir}/macros.pyqt5
%{python2_dbus_dir}/pyqt5.so %{python2_dbus_dir}/pyqt5.so
%{_qt5_plugindir}/PyQt5/ %{_qt5_plugindir}/PyQt5/
@ -262,7 +263,7 @@ sed -i \
%if 0%{?with_python3} %if 0%{?with_python3}
%files -n python3-qt5 %files -n python3-qt5
%doc NEWS README %doc NEWS README
%doc LICENSE %license LICENSE
%{rpm_macros_dir}/macros.pyqt5 %{rpm_macros_dir}/macros.pyqt5
%{python3_dbus_dir}/pyqt5.so %{python3_dbus_dir}/pyqt5.so
%dir %{python3_sitearch}/PyQt5/ %dir %{python3_sitearch}/PyQt5/
@ -324,6 +325,7 @@ sed -i \
%changelog %changelog
* Mon Oct 26 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-1 * Mon Oct 26 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.1-1
- 5.5.1 - 5.5.1
- enable qtenginio, fix pyuic5 wrapper, use %%license
* Mon Oct 12 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5-2 * Mon Oct 12 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5-2
- rebuild (qt5) - rebuild (qt5)