guitarix2/guitarix2.spec

140 lines
4.2 KiB
RPMSpec
Raw Normal View History

Name: guitarix2
Version: 0.34.0
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: http://guitarix.sourceforge.net/
Source: http://downloads.sourceforge.net/project/guitarix/guitarix/guitarix2-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libatkmm-devel
BuildRequires: libavahi-devel
BuildRequires: libavahi-glib-devel
BuildRequires: libbluetooth-devel
BuildRequires: libboost-devel
BuildRequires: libcairo-devel
BuildRequires: libcairomm-devel
BuildRequires: libfftw-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglibmm-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtkmm2-devel
BuildRequires: libjack-devel
BuildRequires: liblilv-devel
BuildRequires: liblrdf-devel
BuildRequires: libpango-devel
BuildRequires: libpangomm-devel
BuildRequires: libserd-devel
BuildRequires: libsigc++-devel
BuildRequires: libsndfile-devel
BuildRequires: libsord-devel
BuildRequires: libsratom-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: eigen3-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: guitarix
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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}
## note: you can add this requirement if .pc files are provided by this package
#Requires: pkg-config
%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}
%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
%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
* 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