Name: tuxguitar Version: 1.3.2 Release: 1mamba Summary: A Multitrack tablature editor and player Group: Graphical Desktop/Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://tuxguitar.herac.com.ar/ Source: http://downloads.sourceforge.net/project/tuxguitar/TuxGuitar/TuxGuitar-%{version}/tuxguitar-%{version}-src.tar.gz Patch0: %{name}-1.2-buildfile_fix.patch Patch1: tuxguitar-1.3-x86_64-lib64.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: fluidsynth-devel BuildRequires: glibc-devel BuildRequires: libalsa-devel BuildRequires: libgcc BuildRequires: libgcj4-devel BuildRequires: libjack-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libgcj-devel >= 5.2 #BuildRequires: libgcj-devel <= 5.2.255 BuildRequires: eclipse-swt BuildRequires: java-gcj-compat BuildRequires: libjack-devel BuildRequires: fluidsynth-devel Requires: eclipse-swt Requires: java-gcj-compat-runtime BuildRoot: %{_tmppath}/%{name}-%{version}-root %description With TuxGuitar, you will be able to compose music using the following features: * Tablature editor * Score Viewer * Multitrack display * Autoscroll while playing * Note duration management * Various effects (bend, slide, vibrato, hammer-on/pull-off) * Support for triplets (5,6,7,9,10,11,12) * Repeat open and close * Time signature management * Tempo management * Imports and exports gp3,gp4 and gp5 files %debug_package %prep %setup -q -n tuxguitar-%{version}-src #-D -T #:<< _EOF %ifarch x86_64 %patch1 -p1 %endif %build #:<< _EOF cd build-scripts/tuxguitar-linux-gcj rm -rf target/tuxguitar-%{version}-linux-gcj # Passing GCJ_FLAGS="-fPIC"" fails make GCJ="gcj -fPIC" \ PREFIX=%{_prefix} \ TG_LIBRATH_PATH=%{_libdir} \ TG_LIBRARY_PATH_EXT=%{_libdir}/ext \ TG_LIBRARY_PATH_JNI=%{_libdir}/jni ## workaround for builddir dynamic linking #mkdir -p tuxguitar-1.2-linux-x86-gcj #ln -s usr/lib tuxguitar-1.2-linux-x86-gcj/lib #%ifarch x86_64 #export TG_LIBRARY_PATH_JNI=%{_libdir}/jni #%endif #sh ./build_gcj.sh #rm tuxguitar-1.2-linux-x86-gcj/lib %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" cd build-scripts/tuxguitar-linux-gcj install -d %{buildroot} cp -a target/tuxguitar-%{version}-linux-gcj/* %{buildroot}/ #install -d -m0755 %{buildroot}%{_prefix} %ifarch x86_64 mv %{buildroot}/usr/lib/libtuxguitar* %{buildroot}/%{_libdir}/ rm -rf %{buildroot}/usr/lib %endif #cp -a tuxguitar-%{version}-linux-x86-gcj/* %{buildroot} rm -f %{buildroot}/usr/tuxguitar.sh install -d -m0755 %{buildroot}%{_bindir} cat > %{buildroot}%{_bindir}/tuxguitar << _EOF LD_LIBRARY_PATH=%{_libdir}/eclipse tuxguitar.bin _EOF chmod 0755 %{buildroot}%{_bindir}/tuxguitar install -d -m0755 %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Encoding=UTF-8 Name=TuxGuitar GenericName=A Multitrack tablature editor and player Exec=tuxguitar Icon=%{_datadir}/tuxguitar/skins/blue_serious/icon-64x64.png StartupNotify=true Terminal=false Type=Application Categories=Applications;AudioVideo; MimeType=audio/x-tuxguitar;audio/x-gtp;audio/x-ptb;audio/midi; EOF %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/tuxguitar %{_bindir}/tuxguitar.bin %{_datadir}/applications/%{name}.desktop %{_libdir}/jni/libtuxguitar-alsa-jni.so %{_libdir}/jni/libtuxguitar-fluidsynth-jni.so %{_libdir}/jni/libtuxguitar-jack-jni.so %{_libdir}/jni/libtuxguitar-oss-jni.so %{_libdir}/libtuxguitar.so %{_libdir}/libtuxguitar-lib.so %{_libdir}/ext/libtuxguitar-gm-utils.so %dir %{_datadir}/tuxguitar/plugins %{_datadir}/tuxguitar/plugins/* %dir %{_datadir}/tuxguitar/help %{_datadir}/tuxguitar/help/* %dir %{_datadir}/tuxguitar/lang %{_datadir}/tuxguitar/lang/* %dir %{_datadir}/tuxguitar/scales %{_datadir}/tuxguitar/scales/scales.xml %dir %{_datadir}/tuxguitar/soundfont %{_datadir}/tuxguitar/soundfont/* %dir %{_datadir}/tuxguitar/skins %{_datadir}/tuxguitar/skins/* %dir %{_datadir}/tuxguitar/templates %{_datadir}/tuxguitar/templates/* %dir %{_docdir}/tuxguitar %{_docdir}/tuxguitar/* %changelog * Wed Mar 23 2016 Automatic Build System 1.3.2-1mamba - automatic version update by autodist * Sun Feb 14 2016 Automatic Build System 1.3.1-1mamba - automatic version update by autodist * Fri Jan 29 2016 Silvan Calarco 1.3.0-1mamba - update to 1.3.0 * Wed Nov 25 2015 Silvan Calarco 1.2-7mamba - rebuilt with gcc 5.2.0 * Fri Dec 05 2014 Silvan Calarco 1.2-6mamba - add %{_bindir}/tuxguitar wrapper script - x86_64: fix jni libdir * Fri May 16 2014 Silvan Calarco 1.2-5mamba - rebuilt with gcj 4.9.0 * Thu Sep 05 2013 Silvan Calarco 1.2-4mamba - rebuilt * Mon Apr 08 2013 Silvan Calarco 1.2-3mamba - rebuilt with gcc-java 4.8.0 * Mon Dec 24 2012 Silvan Calarco 1.2-2mamba - fix desktop entry icon * Tue Jul 03 2012 Silvan Calarco 1.2-1mamba - package created by autospec