Name: GoldenCheetah Version: 4.0 Release: 0.6.20200614git5c84f7f%{?dist} Summary: Cycling Performance Software License: GPLv2 URL: http://www.goldencheetah.org/ # The source for this package was pulled from upstream's vcs. Use the # following commands to generate the tarball: # git clone https://github.com/GoldenCheetah/GoldenCheetah.git # cd GoldenCheetah # git reset --hard 5c84f7f7894f63074c8b78fcfeba8855cf3ae5e9 # cd .. # zip -r GoldenCheetah_20200614git5c84f7f.zip GoldenCheetah Source0: %{name}_20200614git5c84f7f.zip Source1: %{name}.desktop Source2: GoldenCheetah16x16.png Source3: GoldenCheetah32x32.png Source4: GoldenCheetah64x64.png Source5: GoldenCheetah128x128.png Source6: GoldenCheetah256x256.png Patch0: %{name}_20200614git5c84f7f.patch BuildRequires: flex BuildRequires: bison BuildRequires: libusb-devel BuildRequires: mesa-libGL-devel BuildRequires: openssl-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: qt5-qtmultimedia-devel BuildRequires: qt5-qtscript-devel BuildRequires: qt5-qtserialport-devel BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qttools-devel BuildRequires: qt5-qtwebkit-devel BuildRequires: qt5-qtconnectivity-devel BuildRequires: unzip BuildRequires: xz BuildRequires: zlib BuildRequires: zlib-devel BuildRequires: desktop-file-utils BuildRequires: libical-devel BuildRequires: libsamplerate-devel BuildRequires: R-core-devel BuildRequires: R-Rcpp-devel BuildRequires: R-RInside-devel BuildRequires: libkml-devel BuildRequires: lmfit-devel BuildRequires: qt5-qtcharts BuildRequires: qt5-qtcharts-devel BuildRequires: qt5-qtwebengine-devel BuildRequires: qt5-qtwebchannel-devel BuildRequires: qt5-qtlocation-devel BuildRequires: gsl-devel # BuildRequires: python3-devel # BuildRequires: python3-sip-devel # BuildRequires: boost-devel %description Golden Cheetah is a program for cyclists: - download and import activities from most popular bike computers from CycleOps, SRM, Polar, Garmin and others; - analyze, track and review performance data and metrics; - train indoors with realtime monitoring supporting trainers from Racermate, Tacx and any ANT+ device; - Golden Cheetah is free software and distributed under the GPL. %global debug_package %{nil} %prep %setup -n %{name} -q %patch -P 0 -p1 %build %{_qt5_qmake} make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT mkdir -p %{buildroot}%{_bindir}/ cp -p %{_builddir}/%{buildsubdir}/src/GoldenCheetah %{buildroot}%{_bindir}/ desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1} mkdir -p %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/ mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/ mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/ mkdir -p %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/ mkdir -p %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/ cp %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/goldencheetah.png cp %{SOURCE3} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/goldencheetah.png cp %{SOURCE4} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/goldencheetah.png cp %{SOURCE5} %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/goldencheetah.png cp %{SOURCE6} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/goldencheetah.png %files %{_bindir}/GoldenCheetah %{_datadir}/applications/GoldenCheetah.desktop %{_datadir}/icons/hicolor/16x16/apps/goldencheetah.png %{_datadir}/icons/hicolor/32x32/apps/goldencheetah.png %{_datadir}/icons/hicolor/64x64/apps/goldencheetah.png %{_datadir}/icons/hicolor/128x128/apps/goldencheetah.png %{_datadir}/icons/hicolor/256x256/apps/goldencheetah.png %doc %changelog