update to 1.5.2 [release 1.5.2-1mamba;Thu Nov 21 2019]
This commit is contained in:
parent
8e4cf0b7b7
commit
4b6663c2d1
113
tuxguitar.spec
113
tuxguitar.spec
@ -1,34 +1,28 @@
|
||||
Name: tuxguitar
|
||||
Version: 1.3.2
|
||||
Release: 2mamba
|
||||
Version: 1.5.2
|
||||
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: http://tuxguitar.herac.com.ar/
|
||||
Source: http://downloads.sourceforge.net/project/tuxguitar/TuxGuitar/TuxGuitar-%{version}/tuxguitar-%{version}-src.tar.gz
|
||||
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: libgcc
|
||||
BuildRequires: libgcj4-devel
|
||||
BuildRequires: libjack-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: libpulseaudio-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libgcj4-devel >= 6.1.0-2mamba
|
||||
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
|
||||
Requires: java-openjdk-runtime
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
@ -49,52 +43,32 @@ With TuxGuitar, you will be able to compose music using the following features:
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n tuxguitar-%{version}-src
|
||||
#-D -T
|
||||
#:<< _EOF
|
||||
%setup -q -c
|
||||
%ifarch x86_64
|
||||
%patch1 -p1
|
||||
tar xf %{SOURCE0}
|
||||
%endif
|
||||
|
||||
%ifarch %{ix86}
|
||||
tar xf %{SOURCE1}
|
||||
%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
|
||||
cd tuxguitar-%{version}-linux-qt5-x86_64
|
||||
%endif
|
||||
%ifarch %{ix86}
|
||||
cd tuxguitar-%{version}-linux-qt4-x86
|
||||
%endif
|
||||
#cp -a tuxguitar-%{version}-linux-x86-gcj/* %{buildroot}
|
||||
|
||||
rm -f %{buildroot}/usr/tuxguitar.sh
|
||||
install -d -m0755 %{buildroot}%{_datadir}/tuxguitar
|
||||
cp -a * %{buildroot}%{_datadir}/tuxguitar
|
||||
|
||||
install -d -m0755 %{buildroot}%{_bindir}
|
||||
cat > %{buildroot}%{_bindir}/tuxguitar << _EOF
|
||||
LD_LIBRARY_PATH=%{_libdir}/eclipse tuxguitar.bin
|
||||
%{_datadir}/tuxguitar/tuxguitar.sh "$@"
|
||||
_EOF
|
||||
chmod 0755 %{buildroot}%{_bindir}/tuxguitar
|
||||
|
||||
@ -104,8 +78,8 @@ cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
|
||||
Encoding=UTF-8
|
||||
Name=TuxGuitar
|
||||
GenericName=A Multitrack tablature editor and player
|
||||
Exec=tuxguitar
|
||||
Icon=%{_datadir}/tuxguitar/skins/blue_serious/icon-64x64.png
|
||||
Exec=%{_datadir}/tuxguitar/tuxguitar.sh
|
||||
Icon=%{_datadir}/tuxguitar/share/skins/Oxygen/icon-64x64.png
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
@ -119,33 +93,24 @@ EOF
|
||||
%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/*
|
||||
%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
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user