%global gittag 4.0.0-rc1 %global commit0 a6b4771ad5ae8019c57a0909454e793348b2a197 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: libprojectM Version: 4.0.0~rc1 Release: 1%{?dist} Summary: The libraries for the projectM music visualization plugin License: LGPLv2+ URL: https://github.com/projectM-visualizer/projectm #Source0: https://github.com/projectM-visualizer/projectm/archive/v%%{version}/libprojectM-%%{version}.tar.gz Source0: https://github.com/projectM-visualizer/projectm/archive/v%{gittag}/libprojectM-%{gittag}.tar.gz #Source0: https://github.com/projectM-visualizer/projectm/archive/%%{commit0}/%%{name}-%%{shortcommit0}.tar.gz BuildRequires: cmake >= 3.20 BuildRequires: gcc-c++ BuildRequires: libgomp BuildRequires: pkgconfig(glesv2) BuildRequires: glm-devel BuildRequires: pkgconfig(sdl2) BuildRequires: gmock-devel BuildRequires: gtest-devel #BuildRequires: llvm-devel %description projectM is an awesome music visualizer. There is nothing better in the world of Unix. projectM's greatness comes from the hard work of the community. Users like you can create presets that connect music with incredible visuals. projectM is an LGPL'ed reimplementation of Milkdrop under OpenGL. All projectM requires is a video card with 3D acceleration and your favorite music. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep #setup -q -n projectm-%%{commit0} %autosetup -n projectm-%{gittag} #autosetup -p1 -n projectm-%%{version} find -name "*.?pp" -type f -exec chmod -x {} ';' find -name "*.c" -exec chmod -x {} ';' find -name "*.h" -exec chmod -x {} ';' find -name "*inl" -exec chmod -x {} ';' %build %cmake \ -DBUILD_TESTING=ON \ -DBUILD_SHARED_LIBS=ON \ -DENABLE_GLES=ON \ -DENABLE_OPENMP=ON \ -DENABLE_SDL_UI=ON \ -DENABLE_THREADING=ON \ -DENABLE_SYSTEM_GLM=ON # -DENABLE_EMSCRIPTEN=ON Build for web with emscripten # -DENABLE_LLVM=ON Support for JIT using LLVM %cmake_build %install %cmake_install %check %ctest %files %doc AUTHORS.txt README.md %license src/libprojectM/COPYING %{_libdir}/libprojectM.so.4{,.*} %{_libdir}/libprojectM_playlist.so.4{,.*} %files devel %{_includedir}/libprojectM %{_libdir}/libprojectM.so %{_libdir}/libprojectM_playlist.so %{_libdir}/cmake/libprojectM/ %{_libdir}/cmake/libprojectMPlaylist/ %changelog * Wed Feb 22 2023 Yaakov Selkowitz - 4.0.0~rc1-1 - Update to 4.0.0~rc1 * Thu Jan 19 2023 Fedora Release Engineering - 3.1.12-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 3.1.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 3.1.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Sep 15 2021 Sérgio Basto - 3.1.12-3 - Build libprojectM_qt as shared lib instead static lib - Readd subpackge qt (which will have the dependencies on Qt alone) - Add subpackage SDL - Use bitstream-vera-sans-fonts instead dejavu-sans-fonts * Thu Jul 22 2021 Fedora Release Engineering - 3.1.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Feb 21 2021 Fedora Release Monitoring - 3.1.12-1 - Update to 3.1.12 (#1931164) * Sun Feb 14 2021 Fedora Release Monitoring - 3.1.11-1 - Update to 3.1.11 (#1928290) * Tue Jan 26 2021 Fedora Release Engineering - 3.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Dec 27 2020 Fedora Release Monitoring - 3.1.8-1 - Update to 3.1.8 (#1911013) * Wed Sep 23 2020 Sérgio Basto - 3.1.7-1 - Update libprojectM to 3.1.7 * Tue Jul 28 2020 Fedora Release Engineering - 3.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Apr 27 2020 Sérgio Basto - 3.1.3-1 - New version 3.1.3 * Wed Jan 29 2020 Fedora Release Engineering - 3.1.1-0.9.rc7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Dec 31 2019 Sérgio Basto - 3.1.1-0.8.rc7 - v3.1.1-rc7 * Thu Jul 25 2019 Fedora Release Engineering - 3.1.1-0.7.rc4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 13 2019 Sérgio Basto - 3.1.1-0.6.rc4 - Update to rc4 final * Wed Apr 24 2019 Sérgio Basto - 3.1.1-0.5.rc3 - Desktop improvments more drop SDL * Sun Mar 17 2019 Sérgio Basto - 3.1.1-0.4.rc3 - Minor improvements and try to build on i686 * Thu Mar 14 2019 Sérgio Basto - 3.1.1-0.3.rc3 - Add Provides/Obsoletes for libprojectM-qt and projectM-libvisual * Wed Mar 13 2019 Sérgio Basto - 3.1.1-0.2.rc3 - Can't workaround FTBFS on i686 - Minor fix in desktop file * Wed Mar 13 2019 Sérgio Basto - 3.1.1-0.1.rc3 - Update to 3.1.1-rc3 * Fri Feb 01 2019 Fedora Release Engineering - 2.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Aug 23 2018 Nicolas Chauvet - 2.1.0-9 - Rebuilt for glew 2.1.0 * Fri Jul 13 2018 Fedora Release Engineering - 2.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 2.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 2.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 10 2017 Orion Poplawski - 2.1.0-3 - Rebuild for glew 2.0.0 * Sat Mar 19 2016 Sérgio Basto - 2.1.0-2 - On epel (6 and 7) disable projectM-libvisual. * Wed Mar 16 2016 Sérgio Basto - 2.1.0-1 - Update to 2.1.0 . - deleted: 01-change-texture-size.patch, upstreamed. - deleted: 04-change-preset-duration.patch, upstreamed. - deleted: libprojectM-USE_THREADS.patch, configurable. - deleted: libprojectM-soname.patch, configurable. - deleted: libprojectM-fonts.patch, configurable. - deleted: libprojectM-freetype25.patch, it is build well with freetype. - Add patch to fix FTBFS with GCC6, courtesy of Ralf Corsepius. - Add as sub packages: libprojectM-qt, libprojectM-qt-devel, projectM-jack, projectM-libvisual and projectM-pulseaudio. - Also checked that remove_pulse_browser_h.patch, projectM-pulseaudio-stat.patch and projectM-libvisual-gcc46.patch are upstreamed. - Add libprojectM-2.1.0-paths.patch and libprojectM-qt-2.1.0-paths.patch, to fix _libdir paths - Using fedora-review fixed: mix tabs and spaces, unused-direct-shlib-dependency, wrong-script-end-of-line-encoding and spurious-executable-perm. * Thu Feb 04 2016 Fedora Release Engineering - 2.0.1-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jan 14 2016 Adam Jackson - 2.0.1-27 - Rebuild for glew 1.13 * Wed Jun 17 2015 Fedora Release Engineering - 2.0.1-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 2.0.1-25 - Rebuilt for GCC 5 C++11 ABI change * Sun Aug 17 2014 Fedora Release Engineering - 2.0.1-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jun 30 2014 Yaakov Selkowitz - 2.0.1-23 - Fix FTBFS with freetype-2.5 (#1106066) * Sat Jun 07 2014 Fedora Release Engineering - 2.0.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Nov 18 2013 Dave Airlie - 2.0.1-21 - rebuilt for GLEW 1.10 * Sat Aug 03 2013 Fedora Release Engineering - 2.0.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 2.0.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Dec 13 2012 Adam Jackson - 2.0.1-18 - Rebuild for glew 1.9.0 * Thu Jul 26 2012 Rex Dieter 2.0.1-17 - rebuild (glew) * Thu Jul 19 2012 Fedora Release Engineering - 2.0.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 1 2012 Michael Schwendt - 2.0.1-15 - Enhancement of the patch in 2.0.1-11: also override invalid font paths passed in by applications as these lead to an immediate crash. (#664088) - Make -devel base pkg dep arch-specific. * Tue Feb 28 2012 Fedora Release Engineering - 2.0.1-14 - Rebuilt for c++ ABI breakage * Fri Jan 13 2012 Fedora Release Engineering - 2.0.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 ajax@redhat.com - 2.0.1-12 - Rebuild for new glew soname * Sat May 7 2011 Michael Schwendt - 2.0.1-11 - Also BuildRequires the desired font packages for the safety-checks. - Drop obsolete README.fedora file since users need not modify their config file manually anymore to prevent projectM from crashing. - Revise fonts patch: check that user's configured font files exist, fall back to our defaults, add safety-check in spec file, replace font paths in prep section. (#698404, #698381) * Mon Apr 25 2011 Jameson Pugh - 2.0.1-10 - Fixed fonts patch * Wed Mar 23 2011 Jameson Pugh - 2.0.1-9 - Correct typo in requirements * Tue Mar 15 2011 Jameson Pugh - 2.0.1-8 - Replace obsolete bitstream-vera font requirements with dejavu * Sat Jul 17 2010 Jameson Pugh (imntreal@gmail.com) - 2.0.1-7 - Updated font patch with Orcan's changes * Sat Jul 10 2010 Jameson Pugh (imntreal@gmail.com) - 2.0.1-6 - Added patches so clementine can be built against it * Fri May 21 2010 Jameson Pugh (imntreal@gmail.com) - 2.0.1-5 - Don't create fonts directory - Add a README.fedora for instructions on upgrading from -3 * Mon Apr 05 2010 Jameson Pugh (imntreal@gmail.com) - 2.0.1-4 - Got rid of font symlinks * Mon Feb 08 2010 Jameson Pugh (imntreal@gmail.com) - 2.0.1-3 - Patch to remove the USE_THREADS option pending an update from upstream * Sun Jan 10 2010 Jameson Pugh (imntreal@gmail.com) - 2.0.1-2 - Made needed soname bump * Sun Dec 13 2009 Jameson Pugh (imntreal@gmail.com) - 2.0.1-1 - New release * Mon Oct 12 2009 Jameson Pugh (imntreal@gmail.com) - 1.2.0r1300-1 - SVN Release to prepare for v2 * Wed Feb 25 2009 Jameson Pugh (imntreal@gmail.com) - 1.2.0-9 - Aparently stdio.h didn't need to be included in BuiltinParams.cpp before, but is now * Tue Feb 24 2009 Jameson Pugh (imntreal@gmail.com) - 1.2.0-8 - Font packages renamed * Fri Jan 02 2009 Jameson Pugh (imntreal@gmail.com) - 1.2.0-7 - Per recommendation, switched font packages from bitstream to dejavu * Mon Dec 22 2008 Jameson Pugh (imntreal@gmail.com) - 1.2.0-6 - Updated font package names * Tue Nov 04 2008 Jameson Pugh (imntreal@gmail.com) - 1.2.0-5 - Moved sed command from prep to install - Correct libprojectM.pc patch * Thu Oct 30 2008 Jameson Pugh (imntreal@gmail.com) - 1.2.0-4 - Removed patch for ChangeLog, and used sed command in the spec - Added VERBOSE=1 to the make line - Added patch to correct libprojectM.pc * Wed Oct 29 2008 Jameson Pugh (imntreal@gmail.com) - 1.2.0-3 - Added a patch to correct ChangeLog EOL encoding - Cleaned up all Requires and BuildRequires - Corrected ownership of include/libprojectM and data/projectM - Removed unnecessary cmake arguments * Wed Sep 24 2008 Jameson Pugh (imntreal@gmail.com) - 1.2.0-2 - Removed fonts from package - Added symlinks to the fonts due to hard coded programing * Tue Sep 02 2008 Jameson Pugh (imntreal@gmail.com) - 1.2.0-1 - New release - 64-bit patch no longer needed * Mon Mar 31 2008 Jameson Pugh (imntreal@gmail.com) - 1.1-1 - New release * Wed Dec 05 2007 Jameson Pugh - 1.01-1 - Initial public release of the package