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
|
Name: tuxguitar
|
||||||
Version: 1.3.2
|
Version: 1.5.2
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: A Multitrack tablature editor and player
|
Summary: A Multitrack tablature editor and player
|
||||||
Group: Graphical Desktop/Applications/Multimedia
|
Group: Graphical Desktop/Applications/Multimedia
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://tuxguitar.herac.com.ar/
|
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
|
Patch0: %{name}-1.2-buildfile_fix.patch
|
||||||
Patch1: tuxguitar-1.3-x86_64-lib64.patch
|
Patch1: tuxguitar-1.3-x86_64-lib64.patch
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: fluidsynth-devel
|
BuildRequires: fluidsynth-devel
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ldconfig
|
||||||
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libalsa-devel
|
BuildRequires: libalsa-devel
|
||||||
BuildRequires: libgcc
|
|
||||||
BuildRequires: libgcj4-devel
|
|
||||||
BuildRequires: libjack-devel
|
BuildRequires: libjack-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libpulseaudio-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libgcj4-devel >= 6.1.0-2mamba
|
Requires: java-openjdk-runtime
|
||||||
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -49,52 +43,32 @@ With TuxGuitar, you will be able to compose music using the following features:
|
|||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n tuxguitar-%{version}-src
|
%setup -q -c
|
||||||
#-D -T
|
|
||||||
#:<< _EOF
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%patch1 -p1
|
tar xf %{SOURCE0}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%ifarch %{ix86}
|
||||||
|
tar xf %{SOURCE1}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%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
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{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
|
%ifarch x86_64
|
||||||
mv %{buildroot}/usr/lib/libtuxguitar* %{buildroot}/%{_libdir}/
|
cd tuxguitar-%{version}-linux-qt5-x86_64
|
||||||
rm -rf %{buildroot}/usr/lib
|
%endif
|
||||||
|
%ifarch %{ix86}
|
||||||
|
cd tuxguitar-%{version}-linux-qt4-x86
|
||||||
%endif
|
%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}
|
install -d -m0755 %{buildroot}%{_bindir}
|
||||||
cat > %{buildroot}%{_bindir}/tuxguitar << _EOF
|
cat > %{buildroot}%{_bindir}/tuxguitar << _EOF
|
||||||
LD_LIBRARY_PATH=%{_libdir}/eclipse tuxguitar.bin
|
%{_datadir}/tuxguitar/tuxguitar.sh "$@"
|
||||||
_EOF
|
_EOF
|
||||||
chmod 0755 %{buildroot}%{_bindir}/tuxguitar
|
chmod 0755 %{buildroot}%{_bindir}/tuxguitar
|
||||||
|
|
||||||
@ -104,8 +78,8 @@ cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
|
|||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Name=TuxGuitar
|
Name=TuxGuitar
|
||||||
GenericName=A Multitrack tablature editor and player
|
GenericName=A Multitrack tablature editor and player
|
||||||
Exec=tuxguitar
|
Exec=%{_datadir}/tuxguitar/tuxguitar.sh
|
||||||
Icon=%{_datadir}/tuxguitar/skins/blue_serious/icon-64x64.png
|
Icon=%{_datadir}/tuxguitar/share/skins/Oxygen/icon-64x64.png
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
@ -119,33 +93,24 @@ EOF
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/tuxguitar
|
%{_bindir}/tuxguitar
|
||||||
%{_bindir}/tuxguitar.bin
|
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_libdir}/jni/libtuxguitar-alsa-jni.so
|
%dir %{_datadir}/tuxguitar
|
||||||
%{_libdir}/jni/libtuxguitar-fluidsynth-jni.so
|
%dir %{_datadir}/tuxguitar/dist
|
||||||
%{_libdir}/jni/libtuxguitar-jack-jni.so
|
%{_datadir}/tuxguitar/dist/*
|
||||||
%{_libdir}/jni/libtuxguitar-oss-jni.so
|
%dir %{_datadir}/tuxguitar/doc
|
||||||
%{_libdir}/libtuxguitar.so
|
%{_datadir}/tuxguitar/doc/*
|
||||||
%{_libdir}/libtuxguitar-lib.so
|
%dir %{_datadir}/tuxguitar/lib
|
||||||
%{_libdir}/ext/libtuxguitar-gm-utils.so
|
%{_datadir}/tuxguitar/lib/*
|
||||||
%dir %{_datadir}/tuxguitar/plugins
|
%dir %{_datadir}/tuxguitar/share
|
||||||
%{_datadir}/tuxguitar/plugins/*
|
%{_datadir}/tuxguitar/share/*
|
||||||
%dir %{_datadir}/tuxguitar/help
|
%{_datadir}/tuxguitar/tuxguitar.sh
|
||||||
%{_datadir}/tuxguitar/help/*
|
%dir %{_datadir}/tuxguitar/vst-client
|
||||||
%dir %{_datadir}/tuxguitar/lang
|
%{_datadir}/tuxguitar/vst-client/*
|
||||||
%{_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
|
%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
|
* 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
|
- rebuilt by autoport with build requirements: libgcj4-devel>=6.1.0-2mamba
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user