diff --git a/README.md b/README.md index f39574c..4ff9775 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # projectm3 +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. + diff --git a/projectm3.spec b/projectm3.spec new file mode 100644 index 0000000..dce4ee6 --- /dev/null +++ b/projectm3.spec @@ -0,0 +1,177 @@ +Name: projectm3 +Version: 3.1.12 +Release: 2mamba +Summary: An advanced MilkDrop-compatible music visualization library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/projectM-visualizer/projectm +Source: https://github.com/projectM-visualizer/projectm.git/v%{version}/projectm-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libSDL2-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libjack-devel +BuildRequires: libpulseaudio-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: libprojectM-common < 3.1.12-2mamba + +%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 -n lib%{name} +Group: System/Libraries +Summary: Shared libraries provided with %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name} +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 shared libraries provided with %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-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: lib%{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 pulseaudio +Group: Applications/Multimedia +Summary: Pulseaudio tool for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: libprojectM-pulseaudio < 3.1.12-2mamba + +%description 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 jack +Group: Applications/Multimedia +Summary: Jack tool for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: libprojectM-jack < 3.1.12-2mamba + +%description 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 -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%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 -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libprojectM.so.* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_bindir}/projectM-unittest +%dir %{_includedir}/libprojectM +%{_includedir}/libprojectM/*.hpp +%{_includedir}/libprojectM/*.h +%{_libdir}/libprojectM.a +%{_libdir}/libprojectM.so +%{_libdir}/pkgconfig/libprojectM.pc + +%files pulseaudio +%defattr(-,root,root) +%{_bindir}/projectM-pulseaudio +%{_datadir}/applications/projectM-pulseaudio.desktop +%{_mandir}/man1/projectM-pulseaudio.1* + +%files jack +%defattr(-,root,root) +%{_bindir}/projectM-jack +%{_datadir}/applications/projectM-jack.desktop +%{_mandir}/man1/projectM-jack.1* + +%changelog +* Mon Mar 04 2024 Silvan Calarco 3.1.12-2mamba +- legacy package + +* Sun Feb 21 2021 Automatic Build System 3.1.12-1mamba +- automatic version update by autodist + +* Wed Feb 17 2021 Automatic Build System 3.1.11-1mamba +- automatic version update by autodist + +* Sun Feb 07 2021 Automatic Build System 3.1.8-1mamba +- automatic version update by autodist + +* 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