2024-01-05 18:43:44 +01:00
|
|
|
Name: tuxguitar
|
2024-01-05 18:43:47 +01:00
|
|
|
Version: 1.3.1
|
2024-01-05 18:43:47 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 18:43:44 +01:00
|
|
|
Summary: A Multitrack tablature editor and player
|
|
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://tuxguitar.herac.com.ar/
|
2024-01-05 18:43:47 +01:00
|
|
|
Source: http://downloads.sourceforge.net/project/tuxguitar/TuxGuitar/TuxGuitar-%{version}/tuxguitar-%{version}-src.tar.gz
|
2024-01-05 18:43:44 +01:00
|
|
|
Patch0: %{name}-1.2-buildfile_fix.patch
|
2024-01-05 18:43:47 +01:00
|
|
|
Patch1: tuxguitar-1.3-x86_64-lib64.patch
|
2024-01-05 18:43:44 +01:00
|
|
|
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
|
2024-01-05 18:43:44 +01:00
|
|
|
BuildRequires: libgcj-devel >= 5.2
|
2024-01-05 18:43:47 +01:00
|
|
|
#BuildRequires: libgcj-devel <= 5.2.255
|
2024-01-05 18:43:44 +01:00
|
|
|
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
|
2024-01-05 18:43:47 +01:00
|
|
|
%setup -q -n tuxguitar-%{version}-src
|
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
2024-01-05 18:43:44 +01:00
|
|
|
%ifarch x86_64
|
2024-01-05 18:43:47 +01:00
|
|
|
%patch1 -p1
|
2024-01-05 18:43:44 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%build
|
2024-01-05 18:43:47 +01:00
|
|
|
#:<< _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
|
2024-01-05 18:43:44 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 18:43:47 +01:00
|
|
|
cd build-scripts/tuxguitar-linux-gcj
|
|
|
|
install -d %{buildroot}
|
2024-01-05 18:43:47 +01:00
|
|
|
cp -a target/tuxguitar-%{version}-linux-gcj/* %{buildroot}/
|
2024-01-05 18:43:47 +01:00
|
|
|
|
|
|
|
#install -d -m0755 %{buildroot}%{_prefix}
|
2024-01-05 18:43:44 +01:00
|
|
|
%ifarch x86_64
|
2024-01-05 18:43:47 +01:00
|
|
|
mv %{buildroot}/usr/lib/libtuxguitar* %{buildroot}/%{_libdir}/
|
|
|
|
rm -rf %{buildroot}/usr/lib
|
2024-01-05 18:43:44 +01:00
|
|
|
%endif
|
2024-01-05 18:43:47 +01:00
|
|
|
#cp -a tuxguitar-%{version}-linux-x86-gcj/* %{buildroot}
|
2024-01-05 18:43:44 +01:00
|
|
|
|
2024-01-05 18:43:47 +01:00
|
|
|
rm -f %{buildroot}/usr/tuxguitar.sh
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_bindir}
|
2024-01-05 18:43:44 +01:00
|
|
|
cat > %{buildroot}%{_bindir}/tuxguitar << _EOF
|
|
|
|
LD_LIBRARY_PATH=%{_libdir}/eclipse tuxguitar.bin
|
|
|
|
_EOF
|
|
|
|
chmod 0755 %{buildroot}%{_bindir}/tuxguitar
|
2024-01-05 18:43:44 +01:00
|
|
|
|
|
|
|
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
|
2024-01-05 18:43:44 +01:00
|
|
|
Exec=tuxguitar
|
2024-01-05 18:43:44 +01:00
|
|
|
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
|
2024-01-05 18:43:44 +01:00
|
|
|
%{_bindir}/tuxguitar.bin
|
2024-01-05 18:43:44 +01:00
|
|
|
%{_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
|
2024-01-05 18:43:47 +01:00
|
|
|
%{_libdir}/libtuxguitar-lib.so
|
|
|
|
%{_libdir}/ext/libtuxguitar-gm-utils.so
|
2024-01-05 18:43:44 +01:00
|
|
|
%dir %{_datadir}/tuxguitar/plugins
|
2024-01-05 18:43:47 +01:00
|
|
|
%{_datadir}/tuxguitar/plugins/*
|
2024-01-05 18:43:44 +01:00
|
|
|
%dir %{_datadir}/tuxguitar/help
|
|
|
|
%{_datadir}/tuxguitar/help/*
|
|
|
|
%dir %{_datadir}/tuxguitar/lang
|
|
|
|
%{_datadir}/tuxguitar/lang/*
|
|
|
|
%dir %{_datadir}/tuxguitar/scales
|
|
|
|
%{_datadir}/tuxguitar/scales/scales.xml
|
2024-01-05 18:43:47 +01:00
|
|
|
%dir %{_datadir}/tuxguitar/soundfont
|
|
|
|
%{_datadir}/tuxguitar/soundfont/*
|
2024-01-05 18:43:44 +01:00
|
|
|
%dir %{_datadir}/tuxguitar/skins
|
|
|
|
%{_datadir}/tuxguitar/skins/*
|
2024-01-05 18:43:47 +01:00
|
|
|
%dir %{_datadir}/tuxguitar/templates
|
|
|
|
%{_datadir}/tuxguitar/templates/*
|
2024-01-05 18:43:44 +01:00
|
|
|
%dir %{_docdir}/tuxguitar
|
|
|
|
%{_docdir}/tuxguitar/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:43:47 +01:00
|
|
|
* Sun Feb 14 2016 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:43:47 +01:00
|
|
|
* Fri Jan 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- update to 1.3.0
|
|
|
|
|
2024-01-05 18:43:44 +01:00
|
|
|
* Wed Nov 25 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-7mamba
|
|
|
|
- rebuilt with gcc 5.2.0
|
|
|
|
|
2024-01-05 18:43:44 +01:00
|
|
|
* Fri Dec 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-6mamba
|
|
|
|
- add %{_bindir}/tuxguitar wrapper script
|
|
|
|
- x86_64: fix jni libdir
|
|
|
|
|
2024-01-05 18:43:44 +01:00
|
|
|
* Fri May 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-5mamba
|
|
|
|
- rebuilt with gcj 4.9.0
|
|
|
|
|
2024-01-05 18:43:44 +01:00
|
|
|
* Thu Sep 05 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-4mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Apr 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-3mamba
|
|
|
|
- rebuilt with gcc-java 4.8.0
|
|
|
|
|
|
|
|
* Mon Dec 24 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-2mamba
|
|
|
|
- fix desktop entry icon
|
|
|
|
|
|
|
|
* Tue Jul 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
|
|
|
|
- package created by autospec
|