[Bug 1723013] Review Request: mne-cpp - A Framework for Electrophysiology

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1723013



--- Comment #10 from Robert-André Mauchin 🐧 <zebob.m@xxxxxxxxx> ---
# CentOS/RedHat needs Qt 5.10 to be downloaded and built (no rpm for install)
%if 0%{?rhel}
echo in_setup_for_RedHat
curl -s https://raw.githubusercontent.com/jcfr/qt-easy-build/5.10.0/Build-qt.sh
-o Build-qt.sh
chmod 755 Build-qt.sh
./Build-qt.sh -y -c -j4 -q $HOME/qt
%endif
pwd


If Qt > 5.10 is required then you can't support RHEL < 7. You can target RHEL 8
(not sure of Qt's version here, please check).

 - Secondly you need to use nacros:

%build
PATH=/usr/lib64/qt5/bin:$PATH
qmake --version
qmake -makefile -recursive
make

→

%{qmake_qt5}
%make_build

 - Do not install in /usr/local, use %{_prefix} macro which is /usr

 - No idea what you are trying to do here:

%install
# echo %{buildroot}
# copy over subdirs from build
mkdir -p %{buildroot}/%{_prefix}/mne-cpp
tar cpf - ./bin ./lib ./doc | (cd %{buildroot}/%{_prefix}/mne-cpp; tar xpf -)

 - Also

Source0:        https://github.com/mne-tools/mne-cpp/archive/master.zip

you can't just pount to master like this, you need to d/l a specific release,
if not are provided, then target a specific commit. It seems 0.1.4 is the
latest release.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux