guitarix2/guitarix2.spec

157 lines
4.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: guitarix2
Version: 0.44.1
Release: 1mamba
Summary: A simple mono amplifier to be used in a 'JACKified' environment
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://guitarix.org/
Source: http://downloads.sourceforge.net/project/guitarix/guitarix/guitarix2-%{version}.tar.xz
Patch0: guitarix2-0.42.1-gcc-11.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libatk-devel
BuildRequires: libatkmm1-devel
BuildRequires: libavahi-devel
BuildRequires: libavahi-glib-devel
BuildRequires: libbluetooth-devel
BuildRequires: libboost-devel
BuildRequires: libcairo-devel
BuildRequires: libcairomm10-devel
BuildRequires: libcurl-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglibmm24-devel
BuildRequires: libgtk3-devel
BuildRequires: libgtkmm3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjack-devel
BuildRequires: liblilv-devel
BuildRequires: liblo-devel
BuildRequires: liblrdf-devel
BuildRequires: libpango-devel
BuildRequires: libpangomm1-devel
BuildRequires: libserd-devel
BuildRequires: libsigc++2-devel
BuildRequires: libsndfile-devel
BuildRequires: libsord-devel
BuildRequires: libsratom-devel
BuildRequires: libstdc++6-devel
BuildRequires: libzita-convolver-devel
BuildRequires: libzita-resampler-devel
## AUTOBUILDREQ-END
BuildRequires: eigen3-devel
BuildRequires: faust
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: guitarix
%description
Guitarix is a simple mono amplifier to be used in a 'JACKified' environment, i.e. a system using the JACK Audio Connection Kit, a professionally-capable audio/MIDI server and master transport control
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n guitarix-%{version}
#%patch0 -p1
%build
./waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir}
./waf build %{_smp_mflags}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./waf install --destdir=%{buildroot}
%find_lang guitarix || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f guitarix.lang
%defattr(-,root,root)
%{_bindir}/guitarix
%{_datadir}/applications/guitarix.desktop
%{_datadir}/metainfo/org.guitarix.guitarix.metainfo.xml
%dir %{_datadir}/gx_head
%dir %{_datadir}/gx_head/builder
%{_datadir}/gx_head/builder/*
%dir %{_datadir}/gx_head/factorysettings
%{_datadir}/gx_head/factorysettings/*
%dir %{_datadir}/gx_head/skins
%{_datadir}/gx_head/skins/*
%dir %dir %{_datadir}/gx_head/sounds
%dir %{_datadir}/gx_head/sounds/amps
%{_datadir}/gx_head/sounds/amps/*.wav
%{_datadir}/gx_head/sounds/amps/LICENSE
%dir %{_datadir}/gx_head/sounds/bands
%{_datadir}/gx_head/sounds/bands/*.wav
%{_datadir}/gx_head/sounds/bands/LICENSE
%{_datadir}/gx_head/sounds/greathall.wav
#%{_datadir}/ladspa/rdf/guitarix.rdf
#%{_datadir}/ladspa/rdf/guitarix_amp.rdf
%{_datadir}/pixmaps/*.png
%doc COPYING
%files -n lib%{name}
%defattr(-,root,root)
#%{_libdir}/ladspa/guitarix*.so
#%{_libdir}/ladspa/ladspa_guitarix.so
%{_libdir}/libgxw.so
%{_libdir}/libgxw.so.*
%{_libdir}/libgxwmm.so
%{_libdir}/libgxwmm.so.*
%{_libdir}/lv2/*
#%files -n lib%{name}-devel
#%defattr(-,root,root)
#%doc README README.developers
%changelog
* Tue May 03 2022 Automatic Build System <autodist@mambasoft.it> 0.44.1-1mamba
- automatic version update by autodist
* Tue Dec 14 2021 Automatic Build System <autodist@mambasoft.it> 0.43.1-1mamba
- automatic version update by autodist
* Tue Dec 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.43.0-1mamba
- update to 0.43.0
* Tue May 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.42.1-1mamba
- update to 0.42.1
* Fri Jan 01 2016 Automatic Build System <autodist@mambasoft.it> 0.34.0-1mamba
- automatic version update by autodist
* Mon Aug 03 2015 Automatic Build System <autodist@mambasoft.it> 0.33.0-1mamba
- automatic version update by autodist
* Thu Mar 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.32.3-1mamba
- package created using the webbuild interface