%define _empty_manifest_terminate_build 0 Summary: An old-school polyphonic additive synthesizer Name: padthv1 Version: 1.3.0 Release: 1 License: GPLv2+ Group: Sound/Midi URL: https://padthv1.sourceforge.io Source0: http://sourceforge.net/projects/padthv1/files/padthv1/%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: cmake(Qt6) BuildRequires: qmake-qt6 BuildRequires: cmake(Qt6LinguistTools) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6Xml) BuildRequires: qt6-qtbase-theme-gtk3 BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(liblo) BuildRequires: pkgconfig(lv2) BuildRequires: pkgconfig(vulkan) BuildRequires: pkgconfig(xkbcommon) %description padthv1 is an old-school polyphonic additive synthesizer with stereo fx. padthv1 is based on the PADsynth algorithm by Paul Nasca, as a special variant of additive synthesis. Features: * a pure stand-alone JACK client with JACK-session, NSM (Non Session management) and both JACK MIDI and ALSA MIDI input support. * a LV2 instrument plug-in. URI: http://padthv1.sourceforge.net/lv2 %files %doc ChangeLog README %{_bindir}/%{name}_jack %{_datadir}/applications/org.rncbc.padthv1.desktop %{_datadir}/metainfo/org.rncbc.padthv1.metainfo.xml %{_datadir}/padthv1/palette/ %{_iconsdir}/hicolor/32x32/apps/org.rncbc.padthv1.png %{_iconsdir}/hicolor/32x32/mimetypes/org.rncbc.padthv1.application-x-padthv1-preset.png %{_iconsdir}/hicolor/scalable/apps/org.rncbc.padthv1.svg %{_iconsdir}/hicolor/scalable/mimetypes/org.rncbc.padthv1.application-x-padthv1-preset.svg %{_datadir}/mime/packages/org.rncbc.padthv1.xml %{_mandir}/man1/%{name}*.1* %{_mandir}/fr/man1/padthv1.1.* #-------------------------------------------------------------------- %define lv2name lv2-%{name} %package -n %{lv2name} Summary: Synthesizer LV2 plugin for %{name} Group: Sound/Midi Requires: %{name} = %{version} %description -n %{lv2name} padthv1 is an old-school polyphonic additive synthesizer with stereo fx. padthv1 is based on the PADsynth algorithm by Paul Nasca, as a special variant of additive synthesis. %files -n %{lv2name} %{_libdir}/lv2/%{name}.lv2/ #-------------------------------------------------------------------- %prep %autosetup -p1 %build %cmake -DCONFIG_QT6=yes %make_build %install %make_install -C build #menu desktop-file-install \ --remove-key="X-SuSE-translate" \ --remove-key="Version" \ --add-category="X-MandrivaLinux-CrossDesktop" \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/org.rncbc.padthv1.desktop