Blame zam-plugins.spec

bc217af
%global gittag 4.2
30b6161
%global dpf DPF
30b6161
3f7096e
# Disable lto
3f7096e
%define _lto_cflags %{nil}
3f7096e
1f83ba2
# DPF git submodule
bc217af
%global commit1 63dfb7610bc37dee69f4a303f3e3362529d95f24
30b6161
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
30b6161
c34c169
# pugl git submodule
bc217af
%global commit2 2e98e220b5b860c1c8cd5809fad61baf27380a37
c34c169
%global shortcommit2 %(c=%{commit2}; echo ${c:0:7})
c34c169
30b6161
Name:           zam-plugins
30b6161
Version:        %{gittag}
0d01a55
Release:        2%{?dist}
30b6161
Summary:        A collection of LV2/LADSPA/JACK audio plugins
30b6161
30b6161
License:        GPLv2+ and ISC
30b6161
URL:            http://www.zamaudio.com/
30b6161
Source0:        https://github.com/zamaudio/%{name}/archive/%{gittag}/%{name}-%{version}.tar.gz
30b6161
Source1:        https://github.com/DISTRHO/DPF/archive/%{commit1}/%{dpf}-%{shortcommit1}.tar.gz
c34c169
Source2:        https://github.com/DISTRHO/pugl/archive/%{commit2}/pugl-%{shortcommit2}.tar.gz
30b6161
30b6161
BuildRequires:  gcc
30b6161
BuildRequires:  gcc-c++
5e52005
BuildRequires:  make
30b6161
BuildRequires:  jack-audio-connection-kit-devel
30b6161
BuildRequires:  libX11-devel
30b6161
BuildRequires:  mesa-libGL-devel
30b6161
BuildRequires:  liblo-devel
30b6161
BuildRequires:  lv2-devel >= 1.8.1
30b6161
BuildRequires:  ladspa-devel
30b6161
BuildRequires:  fftw-devel >= 3.3.5
30b6161
BuildRequires:  libsamplerate-devel
9f51648
BuildRequires:  zita-convolver-devel >= 4.0.0
30b6161
30b6161
%package -n lv2-zam-plugins
30b6161
Summary:        A collection of LV2/LADSPA/JACK audio plugins. LV2 version
30b6161
Requires:       lv2 >= 1.8.1
30b6161
30b6161
%package -n ladspa-zam-plugins
30b6161
Summary:        A collection of LV2/LADSPA/JACK audio plugins. LADSPA version
30b6161
Requires:       ladspa
30b6161
30b6161
%description
30b6161
zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins
30b6161
for sound processing developed in-house at ZamAudio.
30b6161
30b6161
%description -n lv2-zam-plugins
30b6161
zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins
30b6161
for sound processing developed in-house at ZamAudio.
30b6161
This is the LV2 version.
30b6161
30b6161
%description -n ladspa-zam-plugins
30b6161
zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins
30b6161
for sound processing developed in-house at ZamAudio.
30b6161
This is the LADSPA version.
30b6161
30b6161
%prep
c34c169
%setup -q -a 1
c34c169
%setup -q -T -D -a 2
30b6161
# Move submodule DPF to main source directory
30b6161
rmdir dpf
30b6161
mv %{dpf}-%{commit1} dpf
c34c169
# Move submodule pugl to main source directory
c34c169
rmdir dpf/dgl/src/pugl-upstream
c34c169
mv pugl-%{commit2} dpf/dgl/src/pugl-upstream
30b6161
30b6161
%build
30b6161
%set_build_flags
3f7096e
%make_build VERBOSE=true PREFIX=%{_prefix} LIBDIR=%{_lib} USE_SYSTEM_LIBS=1 SKIP_STRIPPING=true
30b6161
30b6161
%install
3f7096e
%make_install VERBOSE=true PREFIX=%{_prefix} LIBDIR=%{_lib} USE_SYSTEM_LIBS=1
c34c169
# We don't need VST and for the moment CLAP
c34c169
rm -rf %{buildroot}%{_libdir}/vst %{buildroot}%{_libdir}/vst3 %{buildroot}%{_libdir}/clap
3f7096e
# Remove executable bit from .ttl files
3f7096e
chmod -x %{buildroot}%{_libdir}/lv2/*.lv2/*.ttl
30b6161
30b6161
%files
30b6161
%{_bindir}/*
9f51648
%license COPYING
30b6161
%doc README.md
30b6161
30b6161
%files -n lv2-zam-plugins
30b6161
%{_libdir}/lv2/*
9f51648
%license COPYING
30b6161
%doc README.md
30b6161
30b6161
%files -n ladspa-zam-plugins
30b6161
%{_libdir}/ladspa/*
9f51648
%license COPYING
30b6161
%doc README.md
30b6161
30b6161
%changelog
0d01a55
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.2-2
0d01a55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
0d01a55
bc217af
* Mon Nov 20 2023 Guido Aulisi <guido.aulisi@gmail.com> - 4.2-1
bc217af
- Version 4.2
bc217af
1ce09fa
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-3
1ce09fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
1ce09fa
0918db2
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-2
0918db2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
0918db2
cf6462a
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-5
cf6462a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
cf6462a
9803290
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-4
9803290
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
9803290
ff16ff5
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-3
ff16ff5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
ff16ff5
cbcf939
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.14-2
cbcf939
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
cbcf939
5e52005
* Mon Dec 21 11:03:20 CET 2020 Guido Aulisi <guido.aulisi@gmail.com> - 3.14-1
5e52005
- Version 3.14
5e52005
- Add BR make
5e52005
3f7096e
* Wed Aug 05 2020 Guido Aulisi <guido.aulisi@gmail.com> - 3.13-2
3f7096e
- Fix FTBFS on f33
3f7096e
- Disable lto
3f7096e
- Some spec cleanup
3f7096e
2deae85
* Fri Jul 31 2020 Guido Aulisi <guido.aulisi@gmail.com> - 3.13-1
2deae85
- Version 3.13
2deae85
c0cc613
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.12-3
c0cc613
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c0cc613
897ac97
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.12-2
897ac97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
897ac97
1f83ba2
* Fri Dec 20 2019 Guido Aulisi <guido.aulisi@gmail.com> - 3.12-1
1f83ba2
- Version 3.12
1f83ba2
20c438d
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-2
20c438d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
20c438d
9f51648
* Thu Jun 13 2019 Guido Aulisi <guido.aulisi@gmail.com> - 3.11-1
9f51648
- Version 3.11
9f51648
a42c40f
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.10-5
a42c40f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a42c40f
519a31f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.10-4
519a31f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
519a31f
ded0166
* Tue May 15 2018 Guido Aulisi <guido.aulisi@gmail.com> - 3.10-3
ded0166
- Escape macros in changelog
ded0166
30b6161
* Sun May 13 2018 Guido Aulisi <guido.aulisi@gmail.com> - 3.10-2
ded0166
- Use set_build_flags macro
30b6161
- Document Patch0
30b6161
30b6161
* Wed May 9 2018 Guido Aulisi <guido.aulisi@gmail.com> - 3.10-1
30b6161
- Version 3.10