%ifarch %{ix86} %global without_sse %{!?_without_sse:0}%{?_without_sse:1} %endif %ifarch ia64 x86_64 %global without_sse 0 %endif %ifnarch %{ix86} ia64 x86_64 %global without_sse 1 %endif Summary: Audio/MIDI multi-track sequencer Name: qtractor Version: 0.9.19 Release: 4%{?dist} License: GPLv2+ URL: http://qtractor.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source20: qmake-qt5.sh Patch3: qtractor-0.6.4-secondary.patch BuildRequires: make BuildRequires: alsa-lib-devel BuildRequires: desktop-file-utils BuildRequires: dssi-devel BuildRequires: gcc-c++ # for plugin GUI support: BuildRequires: gtk2-devel BuildRequires: jack-audio-connection-kit-devel BuildRequires: ladspa-devel BuildRequires: liblo-devel BuildRequires: libmad-devel BuildRequires: libsamplerate-devel BuildRequires: libsndfile-devel BuildRequires: libvorbis-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-linguist BuildRequires: qt5-qtx11extras-devel BuildRequires: rubberband-devel BuildRequires: suil-devel BuildRequires: lilv-devel BuildRequires: autoconf BuildRequires: automake Requires: hicolor-icon-theme %description Qtractor is an Audio/MIDI multi-track sequencer application written in C++ around the Qt4 toolkit using Qt Designer. The initial target platform will be Linux, where the Jack Audio Connection Kit (JACK) for audio, and the Advanced Linux Sound Architecture (ALSA) for MIDI, are the main infrastructures to evolve as a fairly-featured Linux Desktop Audio Workstation GUI, specially dedicated to the personal home-studio. %prep %setup -q -n %{name}-%{version} #patch3 -p1 -b .second # configure hard-codes prepending searches of /usr (already implicit, causes problems), # and /usr/local (not needed here), so force it's non-use -- rex sed -i.ac_with_paths -e "s|^ac_with_paths=.*|ac_with_paths=|g" configure configure.ac # Fix odd permissions chmod -x src/qtractorMmcEvent.* %build autoreconf CFLAGS="%{optflags}"; export CFLAGS CXXFLAGS="%{optflags}"; export CXXFLAGS LDFLAGS="%{?__global_ldflags}"; export LDFLAGS # force use of custom/local qmake, to inject proper build flags (above) install -m755 -D %{SOURCE20} bin/qmake-qt5 PATH=`pwd`/bin:%{_qt5_bindir}:$PATH; export PATH %configure \ --enable-lilv --enable-suil \ %if %{without_sse} --enable-sse=no %endif make %{?_smp_mflags} QMAKE=`pwd`/bin/qmake-qt5 %install make install DESTDIR=%{buildroot} %find_lang %{name} --with-qt %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files -f %{name}.lang %doc AUTHORS ChangeLog README TODO %license COPYING %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/*/* %{_datadir}/mime/packages/%{name}.xml %{_bindir}/%{name} %{_libdir}/%{name} %{_datadir}/man/man1/%{name}* %{_datadir}/man/*/man1/%{name}* %{_datadir}/metainfo/%{name}.appdata.xml %changelog * Sat Jul 23 2022 Fedora Release Engineering - 0.9.19-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.9.19-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.9.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Feb 02 2021 Brendan Jones - 0.9.19-1 - Update to 0.9.19 * Wed Jan 27 2021 Fedora Release Engineering - 0.9.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.9.10-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.9.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.9.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Oct 14 2019 Brendan Jones - 0.9.10-1 - Update to 0.9.10 * Fri Jul 26 2019 Fedora Release Engineering - 0.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Sep 30 2018 Brendan Jones - 0.9.2-1 - Update to 0.9.2 * Sat Jul 14 2018 Fedora Release Engineering - 0.8.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.8.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 0.8.5-2 - Remove obsolete scriptlets * Sun Dec 24 2017 Brendan Jones - 0.8.5-1 - Update to 0.8.5 * Sun Oct 08 2017 Brendan Jones - 0.8.4-1 - Update to 0.8.4 * Thu Aug 03 2017 Fedora Release Engineering - 0.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 18 2017 Brendan Jones - 0.8.1-1 - Update to 0.8.1 * Sat Feb 11 2017 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Dec 28 2016 Orcan Ogetbil - 0.8.0-1 - Update to 0.8.0 - libmad support back in the main package - Enabled GTK2 plugin GUI support * Tue Sep 27 2016 Brendan Jones - 0.7.9-1 - Update to 0.7.9 * Tue Jun 28 2016 Brendan Jones - 0.7.8-1 - Update to 0.7.8 * Sat May 07 2016 Brendan Jones 0.7.7-1 - Update to 0.7.7 * Fri Apr 22 2016 Brendan Jones 0.7.6-1 - Update to 0.7.6 * Tue Feb 23 2016 Rex Dieter 0.7.4-2 - qtractor: FTBFS in rawhide (#1307974) * Tue Feb 23 2016 Brendan Jones 0.7.4-1 - Update to 0.7.4 * Thu Feb 04 2016 Fedora Release Engineering - 0.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Dec 14 2015 Brendan Jones 0.7.2-1 - Update to 0.7.2 * Tue Oct 27 2015 Brendan Jones 0.7.1-1 - Update to 0.7.1 * Mon Jun 29 2015 Brendan Jones 0.6.7-1 - Update to 0.6.7 * Thu Jun 18 2015 Fedora Release Engineering - 0.6.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Apr 01 2015 Brendan Jones 0.6.6-1 - Update to 0.6.6 * Tue Feb 03 2015 Brendan Jones 0.6.5-1 - Update to 0.6.5 * Tue Nov 25 2014 Brendan Jones 0.6.4-1 - Update to 0.6.4 - Refactor secondary patch * Thu Sep 25 2014 Brendan Jones 0.6.3-1 - Update to 0.6.3 * Sun Aug 17 2014 Fedora Release Engineering - 0.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Tue Aug 12 2014 Rex Dieter 0.6.2-2 - update mime scriptlet, BR: qt4-devel * Tue Jul 08 2014 Brendan Jones 0.6.2-1 - Update to 0.6.2 * Sun Jun 08 2014 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Apr 30 2014 Brendan Jones 0.6.1-1 - Update to 0.6.1 * Fri Mar 28 2014 Brendan Jones 0.6.0-1 - Update to 0.6.0 * Thu Mar 13 2014 Dan HorĂ¡k - 0.5.12-2 - fix build on non-x86 arches * Sat Jan 11 2014 Brendan Jones 0.5.12-1 - Update to 0.5.12 * Mon Oct 07 2013 Brendan Jones 0.5.11-1 - Update to 0.5.11 * Mon Aug 12 2013 Brendan Jones 0.5.10-3 - Arm is not supported upstream * Sun Aug 04 2013 Fedora Release Engineering - 0.5.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Jul 19 2013 Brendan Jones 0.5.10-1 - Update to 0.5.10 * Thu Jun 06 2013 Brendan Jones 0.5.9-1 - Update to 0.5.9 * Sun May 19 2013 Brendan Jones 0.5.8-2 - Remove no longer required sed on desktop file * Mon Apr 22 2013 Brendan Jones 0.5.8-1 - Update to 0.5.8 * Sat Jan 05 2013 Brendan Jones 0.5.7-1 - Update to 0.5.7 * Thu Oct 04 2012 Brendan Jones 0.5.6-1 - Update to 0.5.6 * Tue Jun 19 2012 Brendan Jones 0.5.5-1 - Update to 0.5.5, factor out libmad (thanks to oget) * Sat Mar 03 2012 Brendan Jones - 0.5.4-1 - Update to version 0.5.4 * Sun Feb 26 2012 Brendan Jones - 0.5.3-3 - Provide rpmfusion support, update comments * Wed Feb 22 2012 Brendan Jones - 0.5.3-2 - Copied from rpmfusion, add suil, lilv suppport as they replace the deprecated slv2 - Remove libmad from build (forbidden license) * Tue Jan 24 2012 Orcan Ogetbil - 0.5.3-1 - Update to 0.5.3 * Sun Dec 25 2011 Orcan Ogetbil - 0.5.2-1 - Update to 0.5.2 * Thu Nov 03 2011 Nicolas Chauvet - 0.5.1-2 - Rebuild for dist F-16 * Sat Oct 08 2011 Orcan Ogetbil - 0.5.1-1 - Update to 0.5.1 * Sat Jul 30 2011 Orcan Ogetbil - 0.5.0-1 - Update to 0.5.0 * Thu May 26 2011 Orcan Ogetbil - 0.4.9-1 - Update to 0.4.9 * Tue Jan 18 2011 Orcan Ogetbil - 0.4.8-1 - Update to 0.4.8 * Sat Oct 02 2010 Orcan Ogetbil - 0.4.7-1 - Update to 0.4.7 * Sat Aug 21 2010 Thorsten Leemhuis - 0.4.6-4 - rebuilt * Sun Aug 08 2010 Orcan Ogetbil - 0.4.6-3 - Rebuild against new liblo-0.26 on F-14 again * Tue Jul 20 2010 Orcan Ogetbil - 0.4.6-2 - Rebuild against new liblo-0.26 on F-14 * Sun May 23 2010 Orcan Ogetbil - 0.4.6-1 - Update to 0.4.6 - Drop upstreamed .desktop file modifications - Drop old documentation * Sun May 16 2010 Orcan Ogetbil - 0.4.6-0.1.1568svn1565 - Update to 0.4.6 rc (svn1565) * Sat Jan 30 2010 Orcan Ogetbil - 0.4.5-1 - updated to 0.4.5. * Fri Oct 23 2009 Orcan Ogetbil - 0.4.3-1 - updated to 0.4.3. * Fri Jun 05 2009 Orcan Ogetbil - 0.4.2-1 - updated to 0.4.2. * Wed May 27 2009 Orcan Ogetbil - 0.4.1-4 - Explicitly disable SSE optimizations on non-"%%{ix86} ia64 x86_64" architectures * Fri May 22 2009 Orcan Ogetbil - 0.4.1-3 - preserve timestamps * Thu May 21 2009 Orcan Ogetbil - 0.4.1-2 - ship odt documentation instead of the pdf * Sat Apr 4 2009 Orcan Ogetbil - 0.4.1-1 - updated to 0.4.1. * Tue Mar 24 2009 Orcan Ogetbil - 0.4.0-1 - updated to 0.4.0. * Fri Feb 20 2009 Orcan Ogetbil - 0.3.0-1 - updated to 0.3.0. SPEC file adapted from PlanetCCRMA. * Mon Oct 6 2008 Fernando Lopez-Lezcano - 0.2.2-1 - updated to 0.2.2 * Tue Sep 23 2008 Fernando Lopez-Lezcano - 0.2.1-1 - updated to 0.2.1 * Thu Jun 19 2008 Fernando Lopez-Lezcano - 0.1.3-1 - added patch for gcc43 build on fc9 (from gentoo). * Fri May 2 2008 Fernando Lopez-Lezcano - 0.1.3-1 - initial build - x86_64 build needs an explicit path for the qmake binary to be found