tuxguitar/tuxguitar.spec

149 lines
4.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: tuxguitar
Version: 1.5.4
Release: 1mamba
Summary: A Multitrack tablature editor and player
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://tuxguitar.herac.com.ar/
Source: https://sourceforge.net/projects/tuxguitar/files/TuxGuitar/TuxGuitar-%{version}/tuxguitar-%{version}-linux-qt5-x86_64.tar.gz
Source1: https://sourceforge.net/projects/tuxguitar/files/TuxGuitar/TuxGuitar-%{version}/tuxguitar-%{version}-linux-qt4-x86.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: ldconfig
BuildRequires: libX11-devel
BuildRequires: libalsa-devel
BuildRequires: libjack-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires: java-openjdk-runtime
%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 -c
%ifarch x86_64
tar xf %{SOURCE0}
%endif
%ifarch %{ix86}
tar xf %{SOURCE1}
%endif
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%ifarch x86_64
cd tuxguitar-%{version}-linux-qt5-x86_64
%endif
%ifarch %{ix86}
cd tuxguitar-%{version}-linux-qt4-x86
%endif
install -d -m0755 %{buildroot}%{_datadir}/tuxguitar
cp -a * %{buildroot}%{_datadir}/tuxguitar
install -d -m0755 %{buildroot}%{_bindir}
cat > %{buildroot}%{_bindir}/tuxguitar << _EOF
%{_datadir}/tuxguitar/tuxguitar.sh "$@"
_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=%{_datadir}/tuxguitar/tuxguitar.sh
Icon=%{_datadir}/tuxguitar/share/skins/Oxygen/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
%{_datadir}/applications/%{name}.desktop
%dir %{_datadir}/tuxguitar
%dir %{_datadir}/tuxguitar/dist
%{_datadir}/tuxguitar/dist/*
%dir %{_datadir}/tuxguitar/doc
%{_datadir}/tuxguitar/doc/*
%dir %{_datadir}/tuxguitar/lib
%{_datadir}/tuxguitar/lib/*
%dir %{_datadir}/tuxguitar/share
%{_datadir}/tuxguitar/share/*
%{_datadir}/tuxguitar/tuxguitar.sh
%dir %{_datadir}/tuxguitar/vst-client
%{_datadir}/tuxguitar/vst-client/*
%changelog
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 1.5.4-1mamba
- automatic version update by autodist
* Thu Nov 21 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.2-1mamba
- update to 1.5.2
* Sat May 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.2-2mamba
- rebuilt by autoport with build requirements: libgcj4-devel>=6.1.0-2mamba
* Wed Mar 23 2016 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
- automatic version update by autodist
* Sun Feb 14 2016 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic version update by autodist
* Fri Jan 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
- update to 1.3.0
* Wed Nov 25 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-7mamba
- rebuilt with gcc 5.2.0
* Fri Dec 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-6mamba
- add %{_bindir}/tuxguitar wrapper script
- x86_64: fix jni libdir
* Fri May 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-5mamba
- rebuilt with gcj 4.9.0
* 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