diff --git a/README.md b/README.md index 2dca19c..a47136a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # guitarix2 +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 + diff --git a/guitarix2.spec b/guitarix2.spec new file mode 100644 index 0000000..d5f24ff --- /dev/null +++ b/guitarix2.spec @@ -0,0 +1,133 @@ +Name: guitarix2 +Version: 0.32.3 +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 +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 +* Thu Mar 26 2015 Silvan Calarco 0.32.3-1mamba +- package created using the webbuild interface