Name: libprojectM Version: 3.1.7 Release: 1mamba Summary: An advanced MilkDrop-compatible music visualization library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://projectm.sourceforge.net/ Source: https://github.com/projectM-visualizer/projectm.git/v%{version}/projectm-%{version}.tar.bz2 #Source: http://downloads.sourceforge.net/project/projectm/%{version}/projectM-complete-%{version}-Source.tar.gz Patch0: libprojectM-2.0.1-soname.patch Patch1: libprojectM-2.0.1-USE_THREADS.patch # patches for clementine Patch2: 01-change-texture-size.patch Patch3: 04-change-preset-duration.patch Patch4: 05-fix-windows-crashes.patch Patch5: 06-fix-numeric-locale.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libGL-devel BuildRequires: libSDL2-devel BuildRequires: libgcc BuildRequires: libjack-devel BuildRequires: libpulseaudio-devel BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake Requires: %{name}-common = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description projectM is an OpenGL based advanced music visualization program for Linux, Mac OSX, and Windows. It is backward compatible with all the features of Milkdrop 1.x, but has many new toys and enhancements. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel projectM is an OpenGL based advanced music visualization program for Linux, Mac OSX, and Windows. It is backward compatible with all the features of Milkdrop 1.x, but has many new toys and enhancements. This package contains static libraries and header files needed for development. %package common Group: System/Libraries Summary: Common files provided with %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description common projectM is an OpenGL based advanced music visualization program for Linux, Mac OSX, and Windows. It is backward compatible with all the features of Milkdrop 1.x, but has many new toys and enhancements. This package contains the common files provided with %{name}. %package qt Group: System/Libraries Summary: An advanced MilkDrop-compatible music visualization library for Qt Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description qt projectM is an OpenGL based advanced music visualization program for Linux, Mac OSX, and Windows. It is backward compatible with all the features of Milkdrop 1.x, but has many new toys and enhancements. This package contains the Qt library. %package qt-devel Group: Development/Libraries Summary: Static libraries and headers for %{name}-qt Requires: %{name}-qt = %{?epoch:%epoch:}%{version}-%{release} %description qt-devel projectM is an OpenGL based advanced music visualization program for Linux, Mac OSX, and Windows. It is backward compatible with all the features of Milkdrop 1.x, but has many new toys and enhancements. This package contains static libraries and header files needed for development. %package -n projectM-pulseaudio Group: Applications/Multimedia Summary: Pulseaudio tool for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n projectM-pulseaudio projectM is an OpenGL based advanced music visualization program for Linux, Mac OSX, and Windows. It is backward compatible with all the features of Milkdrop 1.x, but has many new toys and enhancements. This package contains the Pulseaudio tool for %{name}. %package -n projectM-jack Group: Applications/Multimedia Summary: Jack tool for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n projectM-jack projectM is an OpenGL based advanced music visualization program for Linux, Mac OSX, and Windows. It is backward compatible with all the features of Milkdrop 1.x, but has many new toys and enhancements. This package contains the Pulseaudio tool for %{name}. %debug_package %prep %setup -q -n projectm-%{version} #-D -T #:<< _EOF ./autogen.sh %build #:<< _EOF %configure \ --enable-qt \ --enable-pulseaudio \ --enable-jack \ %ifarch arm aarch64 --enable-gles %endif %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post qt -p /sbin/ldconfig %postun qt -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libprojectM.so.* %files common %defattr(-,root,root) %{_bindir}/projectMSDL %dir %{_datadir}/projectM %{_datadir}/projectM/config.inp %dir %{_datadir}/projectM/fonts %{_datadir}/projectM/fonts/*.ttf %{_datadir}/projectM/presets %{_datadir}/icons/hicolor/scalable/apps/projectM.svg %files devel %defattr(-,root,root) %{_bindir}/projectM-unittest %dir %{_includedir}/libprojectM %{_includedir}/libprojectM/*.hpp %{_includedir}/libprojectM/*.h %{_libdir}/libprojectM.a %{_libdir}/libprojectM.la %{_libdir}/libprojectM.so %{_libdir}/pkgconfig/libprojectM.pc %files -n projectM-pulseaudio %defattr(-,root,root) %{_bindir}/projectM-pulseaudio %{_datadir}/applications/projectM-pulseaudio.desktop %{_mandir}/man1/projectM-pulseaudio.1* %files -n projectM-jack %defattr(-,root,root) %{_bindir}/projectM-jack %{_datadir}/applications/projectM-jack.desktop %{_mandir}/man1/projectM-jack.1* %changelog * Wed Jan 27 2021 Silvan Calarco 3.1.7-1mamba - update to 3.1.7 * Wed Jan 27 2021 Silvan Calarco 2.2.1-1mamba - update to 2.2.1 * Sat Dec 08 2012 Automatic Build System 2.1.0-1mamba - update to 2.1.0 * Wed Sep 22 2010 gil 2.0.1-2mamba - added clementine patches * Mon Jul 05 2010 gil 2.0.1-1mamba - update to 2.0.1 * Tue Sep 02 2008 gil 1.2.0-1mamba - package created by autospec