- Update to use Qt5 now instead of Qt4

epel9
Helio Chissini de Castro 10 years ago
parent 2ba6d6bb16
commit 23a047f39b

@ -2,7 +2,7 @@
Name: transmission
Version: 2.84
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A lightweight GTK+ BitTorrent client
Group: Applications/Internet
@ -21,7 +21,7 @@ BuildRequires: dbus-glib-devel >= 0.70
BuildRequires: libevent-devel >= 2.0.10
BuildRequires: desktop-file-utils
BuildRequires: gettext intltool
BuildRequires: qt4-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: systemd-devel
Requires: transmission-cli
Requires: transmission-gtk
@ -75,7 +75,7 @@ GTK graphical interface of Transmission BitTorrent client.
Summary: Transmission Qt interface
Group: Applications/Internet
Requires: transmission-common
%{?_qt4_version:Requires: qt4 >= %{_qt4_version}}
%description qt
Qt graphical interface of Transmission BitTorrent client.
@ -107,8 +107,8 @@ CXXFLAGS="%{optflags} -fPIC"
make %{?_smp_mflags}
pushd qt
qmake-qt4 QMAKE_LFLAGS="$RPM_LD_FLAGS" QMAKE_CXXFLAGS="$CXXFLAGS -std=c++11" qtr.pro
make %{?_smp_mflags}
%{qmake_qt5} qtr.pro
make %{?_smp_mflags}
popd
%install
@ -195,6 +195,9 @@ fi
%doc %{_mandir}/man1/transmission-qt.*
%changelog
* Thu Mar 12 2015 Helio Chissini de Castro <helio@kde.org> - 2.83-3
- Compile with Qt5 now
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.84-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

Loading…
Cancel
Save