commit tuxguitar for openSUSE:Factory
Hello community, here is the log from the commit of package tuxguitar for openSUSE:Factory checked in at 2020-07-24 09:54:09 Comparing /work/SRC/openSUSE:Factory/tuxguitar (Old) and /work/SRC/openSUSE:Factory/.tuxguitar.new.3592 (New) Package is "tuxguitar" Fri Jul 24 09:54:09 2020 rev:5 rq:821257 version:1.5.4 Changes: --- /work/SRC/openSUSE:Factory/tuxguitar/tuxguitar.changes 2018-10-08 17:46:45.758381564 +0200 +++ /work/SRC/openSUSE:Factory/.tuxguitar.new.3592/tuxguitar.changes 2020-07-24 09:55:35.289380626 +0200 @@ -1,0 +2,27 @@ +Wed Jul 8 10:09:21 UTC 2020 - Fridrich Strba + +- Add viewer and tray to the built modules + +--- +Wed Jul 8 07:43:09 UTC 2020 - Fridrich Strba + +- Update to version 1.5.4 +- Removed patches: + * tuxguitar-do-not-force-java-1.5.patch + * tuxguitar-jsa-build.patch + * tuxguitar-tray-build.patch ++ not needed anymore, since we don't use the ant build system +- Modified patch. + * tuxguitar-startscript.patch ++ adapt to work with openSUSE layout of directories +- Added patches: + * tuxguitar-startscript-itext.patch ++ apply when building --with itext in order to have the + necessary libraries in the classpath + * no-vst.patch ++ do not build the parts that need unavailable VST SDK + * tuxguitar-additional-arch.patch ++ extend supported architectures to aarch64, ppc64, ppc64le, + and s390x + +--- Old: tuxguitar-1.4-src-clean.tar.gz tuxguitar-do-not-force-java-1.5.patch tuxguitar-jsa-build.patch tuxguitar-tray-build.patch New: no-vst.patch tuxguitar-1.5.4-src.tar.gz tuxguitar-additional-arch.patch tuxguitar-startscript-itext.patch Other differences: -- ++ tuxguitar.spec ++ --- /var/tmp/diff_new_pack.K4bslG/_old 2020-07-24 09:55:37.077382471 +0200 +++ /var/tmp/diff_new_pack.K4bslG/_new 2020-07-24 09:55:37.081382475 +0200 @@ -1,7 +1,7 @@ # # spec file for package tuxguitar # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2008-2017 Orcan Ogetbil # Copyright (c) 2008-2017 Fedora project # @@ -14,58 +14,75 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Summary:A multitrack tablature editor and player written in Java-SWT -License:LGPL-2.1+ -Group: Applications/Multimedia +%bcond_without itext +%ifarch x86_64 +%global bit x86_64 +%endif +%ifarch armv7hl +%global bit armv7hl +%endif +%ifarch ppc64 +%global bit ppc64 +%endif +%ifarch ppc64le +%global bit ppc64le +%endif +%ifarch s390x +%global bit s390x +%endif +%ifarch aarch64 +%global bit aarch64 +%endif +%ifarch %{ix86} +%global bit x86 +%endif Name: tuxguitar -Version:1.4 +Version:1.5.4 Release:0 -Url:http://www.tuxguitar.pw -# Source file cleaned of potentially proprietary SF2, DLL, EXE files: -# wget -N http://downloads.sourceforge.net/tuxguitar/tuxguitar-1.4-src.tar.gz -# tar zxf tuxguitar-1.4-src.tar.gz -# find tuxguitar-1.4-src -name "*.exe" -exec rm {} \; -# find tuxguitar-1.4-src -name "*.dll" -exec rm {} \; -# find tuxguitar-1.4-src -name "*.sf2" -exec rm {} \; -# tar zcf tuxguitar-1.4-src-clean.tar.gz tuxguitar-1.4-src -Source0:%{name}-%{version}-src-clean.tar.gz -Patch0: tuxguitar-startscript.patch -Patch1: tuxguitar-default-soundfont.patch -Patch2: tuxguitar-jsa-build.patch -Patch3: tuxguitar-tray-build.patch -Patch4: tuxguitar-do-not-force-java-1.5.patch - -Requires: eclipse-swt -Requires: java >= 1.7 -Requires: javapackages-tools -# use FluidR3_GM.sf2 (from fluid-soundfont-gm) as default sound font -%if 0%{?suse_version} <= 1320 -Requires: fluid-soundfont-gm -%else -Suggests: fluid-soundfont-gm -%endif -Recommends: timidity -Recommends: snd_sf2 -# export to PDF feature requires itext -#Requires: itext -#BuildRequires:itext +Summary:A multitrack tablature editor and player written in Java-SWT +License:LGPL-2.1-or-later +Group: Productivity/Multimedia/Sound/Utilities +URL:http://www.tuxguitar.pw +Source0: https://sourceforge.net/projects/%{name}/files/TuxGuitar/TuxGuitar-%{version}/%{name}-%{version}-src.tar.gz +Patch0: tuxguitar-default-soundfont.patch +Patch1: no-vst.patch +Patch2: tuxguitar-additional-arch.patch +Patch3: tux
commit tuxguitar for openSUSE:Factory
Hello community, here is the log from the commit of package tuxguitar for openSUSE:Factory checked in at 2018-10-08 17:44:37 Comparing /work/SRC/openSUSE:Factory/tuxguitar (Old) and /work/SRC/openSUSE:Factory/.tuxguitar.new (New) Package is "tuxguitar" Mon Oct 8 17:44:37 2018 rev:4 rq:640073 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/tuxguitar/tuxguitar.changes 2017-10-23 16:52:55.709705031 +0200 +++ /work/SRC/openSUSE:Factory/.tuxguitar.new/tuxguitar.changes 2018-10-08 17:46:45.758381564 +0200 @@ -1,0 +2,6 @@ +Fri Oct 5 12:21:07 UTC 2018 - opensuse.lietuviu.ka...@gmail.com + +- Remove FluidSynth and fluid-soundfont-gm dependencies for + openSUSE Leap 15 and newer versions. + +--- Other differences: -- ++ tuxguitar.spec ++ --- /var/tmp/diff_new_pack.1P8U1y/_old 2018-10-08 17:46:47.006379973 +0200 +++ /var/tmp/diff_new_pack.1P8U1y/_new 2018-10-08 17:46:47.010379968 +0200 @@ -43,7 +43,11 @@ Requires: java >= 1.7 Requires: javapackages-tools # use FluidR3_GM.sf2 (from fluid-soundfont-gm) as default sound font +%if 0%{?suse_version} <= 1320 Requires: fluid-soundfont-gm +%else +Suggests: fluid-soundfont-gm +%endif Recommends: timidity Recommends: snd_sf2 # export to PDF feature requires itext @@ -55,7 +59,9 @@ BuildRequires: desktop-file-utils BuildRequires: eclipse-swt BuildRequires: fdupes +%if 0%{?suse_version} <= 1320 BuildRequires: fluidsynth-devel +%endif BuildRequires: jack-audio-connection-kit-devel BuildRequires: java-devel >= 1.7 BuildRequires: javapackages-tools @@ -96,10 +102,12 @@ echo "path.tuxguitar-editor-utils=../TuxGuitar-editor-utils/tuxguitar-editor-utils.jar" \ >> TuxGuitar-jsa/build.properties # Use fluidsynth by default +%if 0%{?suse_version} <= 1320 sed "s/tuxguitar-fluidsynth.enabled=false/tuxguitar-fluidsynth.enabled=true/" \ -i build-scripts/common-resources/common-linux/dist/tuxguitar-plugin-settings.cfg sed -re "s/midi.port=.*$/midi.port=tuxguitar-fluidsynth_\/usr\/share\/sounds\/sf2\/FluidR3_GM.sf2/" \ -i build-scripts/common-resources/common-linux/dist/tuxguitar.cfg +%endif # Update URL sed "s/www.tuxguitar.com.ar/www.tuxguitar.pw/" -i TuxGuitar/dist/about_description.dist # Remove duplicated files @@ -110,15 +118,23 @@ %build # Plugins to build: +%if 0%{?suse_version} <= 1320 PLUGINS="alsa ascii browser-ftp compat converter fluidsynth gervill gm-settings gpx gtp \ image jack jsa lilypond midi musicxml oss ptb svg tef tray tuner viewer" - +%else +#remove "fluidsynth" +PLUGINS="alsa ascii browser-ftp compat converter gervill gm-settings gpx gtp \ + image jack jsa lilypond midi musicxml oss ptb svg tef tray tuner viewer" +%endif # FIXME: "pdf" plugin requires itext, but even after adding itext 1.4 from Education repo: # error: package com.itextpdf.text does not exist # JNI's to build +%if 0%{?suse_version} <= 1320 JNIS="alsa fluidsynth jack oss" - +%else +JNIS="alsa jack oss" +%endif LIBSUFFIX=$(echo %{_lib}|sed 's|lib||') # to pass to ant:
commit tuxguitar for openSUSE:Factory
Hello community, here is the log from the commit of package tuxguitar for openSUSE:Factory checked in at 2017-10-23 16:52:21 Comparing /work/SRC/openSUSE:Factory/tuxguitar (Old) and /work/SRC/openSUSE:Factory/.tuxguitar.new (New) Package is "tuxguitar" Mon Oct 23 16:52:21 2017 rev:3 rq:535793 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/tuxguitar/tuxguitar.changes 2017-09-23 21:35:49.728802352 +0200 +++ /work/SRC/openSUSE:Factory/.tuxguitar.new/tuxguitar.changes 2017-10-23 16:52:55.709705031 +0200 @@ -1,0 +2,6 @@ +Sun Oct 22 13:43:13 UTC 2017 - fst...@suse.com + +- Build with java and source target levels 1.6 + * Solves one of the issues raised in boo#1062807 + +--- Other differences: -- ++ tuxguitar.spec ++ --- /var/tmp/diff_new_pack.0qKrIx/_old 2017-10-23 16:52:56.341675454 +0200 +++ /var/tmp/diff_new_pack.0qKrIx/_new 2017-10-23 16:52:56.345675266 +0200 @@ -1,9 +1,9 @@ # # spec file for package tuxguitar # +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2008-2017 Orcan Ogetbil # Copyright (c) 2008-2017 Fedora project -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,11 +17,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Summary: A multitrack tablature editor and player written in Java-SWT +License:LGPL-2.1+ +Group: Applications/Multimedia Name: tuxguitar Version: 1.4 Release: 0 -URL: http://www.tuxguitar.pw +Url:http://www.tuxguitar.pw # Source file cleaned of potentially proprietary SF2, DLL, EXE files: # wget -N http://downloads.sourceforge.net/tuxguitar/tuxguitar-1.4-src.tar.gz # tar zxf tuxguitar-1.4-src.tar.gz @@ -35,8 +38,6 @@ Patch2: tuxguitar-jsa-build.patch Patch3: tuxguitar-tray-build.patch Patch4: tuxguitar-do-not-force-java-1.5.patch -License: LGPL-2.1+ -Group:Applications/Multimedia Requires: eclipse-swt Requires: java >= 1.7 @@ -122,6 +123,7 @@ # to pass to ant: ANT_FLAGS=" \ + -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \ -Dpath.tuxguitar=$PWD/TuxGuitar/%{name}.jar \ -Dpath.swt=%{_libdir}/java/swt.jar \ -Dlib.swt.jar=%{_libdir}/java/swt.jar \ @@ -175,7 +177,6 @@ mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name} cp -a TuxGuitar-*/jni/*.so $RPM_BUILD_ROOT%{_libdir}/%{name}/ - # mime-type file install -dm 755 $RPM_BUILD_ROOT/%{_datadir}/mime/packages install -pm 644 misc/%{name}.xml $RPM_BUILD_ROOT/%{_datadir}/mime/packages/ @@ -205,7 +206,6 @@ %check desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop - %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null touch --no-create %{_datadir}/mime/packages &> /dev/null || : @@ -223,7 +223,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : update-mime-database %{_datadir}/mime &> /dev/null || : - %files %defattr(-,root,root,-) %doc README
commit tuxguitar for openSUSE:Factory
Hello community, here is the log from the commit of package tuxguitar for openSUSE:Factory checked in at 2017-09-23 21:35:41 Comparing /work/SRC/openSUSE:Factory/tuxguitar (Old) and /work/SRC/openSUSE:Factory/.tuxguitar.new (New) Package is "tuxguitar" Sat Sep 23 21:35:41 2017 rev:2 rq:528171 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/tuxguitar/tuxguitar.changes 2017-08-24 18:43:44.726528982 +0200 +++ /work/SRC/openSUSE:Factory/.tuxguitar.new/tuxguitar.changes 2017-09-23 21:35:49.728802352 +0200 @@ -1,0 +2,5 @@ +Fri Sep 22 05:16:12 UTC 2017 - opensuse.lietuviu.ka...@gmail.com + +- Add tuxguitar-do-not-force-java-1.5.patch: Don't force JAVA 1.5 + +--- @@ -5 +10 @@ -- Updated to vertion 1.4 (bnc#1038205) +- Updated to version 1.4 (bnc#1038205) New: tuxguitar-do-not-force-java-1.5.patch Other differences: -- ++ tuxguitar.spec ++ --- /var/tmp/diff_new_pack.sROwds/_old 2017-09-23 21:35:50.824648238 +0200 +++ /var/tmp/diff_new_pack.sROwds/_new 2017-09-23 21:35:50.832647113 +0200 @@ -34,6 +34,7 @@ Patch1: tuxguitar-default-soundfont.patch Patch2: tuxguitar-jsa-build.patch Patch3: tuxguitar-tray-build.patch +Patch4: tuxguitar-do-not-force-java-1.5.patch License: LGPL-2.1+ Group:Applications/Multimedia @@ -72,6 +73,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 # Set debug="true" on javac part of the build scripts. for file in $(find . -name build.xml); do ++ tuxguitar-do-not-force-java-1.5.patch ++ Don't force compiling with JAVA 1.5 --- tuxguitar-1.4-src.org/TuxGuitar-viewer/build.xml +++ tuxguitar-1.4-src/TuxGuitar-viewer/build.xml @@ -6,8 +6,6 @@ - -
commit tuxguitar for openSUSE:Factory
Hello community, here is the log from the commit of package tuxguitar for openSUSE:Factory checked in at 2014-11-11 01:10:53 Comparing /work/SRC/openSUSE:Factory/tuxguitar (Old) and /work/SRC/openSUSE:Factory/.tuxguitar.new (New) Package is "tuxguitar" Changes: --- /work/SRC/openSUSE:Factory/tuxguitar/tuxguitar.changes 2012-06-28 17:01:36.0 +0200 +++ /work/SRC/openSUSE:Factory/.tuxguitar.new/tuxguitar.changes 2014-11-11 01:11:42.0 +0100 @@ -1,0 +2,5 @@ +Mon Nov 10 00:41:00 UTC 2014 - Led + +- fix bashisms in post/postun scripts + +--- Other differences: -- ++ tuxguitar.spec ++ --- /var/tmp/diff_new_pack.CPgIVe/_old 2014-11-11 01:11:44.0 +0100 +++ /var/tmp/diff_new_pack.CPgIVe/_new 2014-11-11 01:11:44.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package tuxguitar # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -123,14 +123,14 @@ rm -rf $RPM_BUILD_ROOT %post -update-mime-database %{_datadir}/mime >& /dev/null ||: +update-mime-database %{_datadir}/mime > /dev/null 2>&1 ||: touch --no-create %{_datadir}/icons/hicolor if [ -x %{_bindir}/gtk-update-icon-cache ] ; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi %postun -update-mime-database %{_datadir}/mime >& /dev/null ||: +update-mime-database %{_datadir}/mime > /dev/null 2>&1 ||: touch --no-create %{_datadir}/icons/hicolor if [ -x %{_bindir}/gtk-update-icon-cache ] ; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tuxguitar for openSUSE:Factory
Hello community, here is the log from the commit of package tuxguitar for openSUSE:Factory checked in at 2012-06-28 17:01:34 Comparing /work/SRC/openSUSE:Factory/tuxguitar (Old) and /work/SRC/openSUSE:Factory/.tuxguitar.new (New) Package is "tuxguitar", Maintainer is "mse...@novell.com" Changes: --- /work/SRC/openSUSE:Factory/tuxguitar/tuxguitar.changes 2011-10-19 00:54:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.tuxguitar.new/tuxguitar.changes 2012-06-28 17:01:36.0 +0200 @@ -1,0 +2,5 @@ +Tue Jun 26 13:59:19 UTC 2012 - mvysko...@suse.cz + +- build require java-devel >= 1.6.0 + +--- Other differences: -- ++ tuxguitar.spec ++ --- /var/tmp/diff_new_pack.iBFWj7/_old 2012-06-28 17:01:38.0 +0200 +++ /var/tmp/diff_new_pack.iBFWj7/_new 2012-06-28 17:01:38.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package tuxguitar (Version 1.2) +# spec file for package tuxguitar # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,21 +17,21 @@ Summary:A multitrack tablature editor and player written in Java-SWT +License:LGPL-2.1+ +Group: Applications/Multimedia Name: tuxguitar Version:1.2 -Release:3 +Release:0 Url:http://www.tuxguitar.com.ar Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.bz2 Source1:Makefile -License:LGPL-2.1+ -Group: Applications/Multimedia BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: itext Requires: java >= 1.6 Requires: jpackage-utils -Requires: itext -Requires: timidity Requires: libswt3-gtk2 +Requires: timidity %if 0%{?suse_version} == 1130 Requires: libswt3-gtk2 = 3.4 BuildRequires: libswt3-gtk2 = 3.4 @@ -39,12 +39,12 @@ BuildRequires: alsa-lib-devel BuildRequires: ant BuildRequires: desktop-file-utils +BuildRequires: fdupes BuildRequires: fluidsynth-devel BuildRequires: itext -BuildRequires: java-1_6_0-openjdk-devel +BuildRequires: java-devel >= 1.6.0 BuildRequires: jpackage-utils BuildRequires: libswt3-gtk2 -BuildRequires: fdupes BuildRequires: update-desktop-files %description -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tuxguitar for openSUSE:Factory
Hello community, here is the log from the commit of package tuxguitar for openSUSE:Factory checked in at 2011-12-06 19:09:47 Comparing /work/SRC/openSUSE:Factory/tuxguitar (Old) and /work/SRC/openSUSE:Factory/.tuxguitar.new (New) Package is "tuxguitar", Maintainer is "mse...@novell.com" Changes: Other differences: -- ++ tuxguitar.spec ++ --- /var/tmp/diff_new_pack.umMSDY/_old 2011-12-06 19:44:11.0 +0100 +++ /var/tmp/diff_new_pack.umMSDY/_new 2011-12-06 19:44:11.0 +0100 @@ -24,7 +24,7 @@ Url:http://www.tuxguitar.com.ar Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.bz2 Source1:Makefile -License:LGPLv2+ +License:LGPL-2.1+ Group: Applications/Multimedia BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: java >= 1.6 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit tuxguitar for openSUSE:Factory
Hello community, here is the log from the commit of package tuxguitar for openSUSE:Factory checked in at Thu Sep 22 10:52:39 CEST 2011. New Changes file: --- /dev/null 2010-08-26 16:28:41.0 +0200 +++ /mounts/work_src_done/STABLE/tuxguitar/tuxguitar.changes2011-09-18 15:13:56.0 +0200 @@ -0,0 +1,40 @@ +--- +Sun Sep 18 13:00:49 UTC 2011 - em...@users.berlios.de + +- don't strict to swt 3.4 version + +--- +Tue Jun 8 16:00:49 UTC 2010 - mse...@novell.com + +- added libswt3-gtk2 to requires section (bnc#611710) + +--- +Tue Dec 1 08:25:52 UTC 2009 - mse...@novell.com + +- added timidity to requires section (bnc#556711) + +--- +Thu Nov 5 08:20:50 UTC 2009 - mse...@novell.com + +- updated to version 1.2 + * Support measure range to loop + * Transpose notes feature + * Optionally transpose afected notes when change tuning + * Move beats left|right support + * More song properties options. + * Add multiple measure support + * Clean multiple measure support + * Number of pastes support + * Better lilypond plugin + * Better fluidsynth plugin + * New jack plugin + * New community integration plugin + * New cocoa integration plugin + * New audio unit plugin + * Many bug fixes + +--- +Tue Jun 16 15:42:49 CEST 2009 - mse...@suse.cz + +- initial openSUSE package for tuxguitar 1.1 (modified spec from tarball) + calling whatdependson for head-i586 New: Makefile tuxguitar-src-1.2.tar.bz2 tuxguitar.changes tuxguitar.spec Other differences: -- ++ tuxguitar.spec ++ # # spec file for package tuxguitar (Version 1.2) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Summary:A multitrack tablature editor and player written in Java-SWT Name: tuxguitar Version:1.2 Release:3 Url:http://www.tuxguitar.com.ar Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.bz2 Source1:Makefile License:LGPLv2+ Group: Applications/Multimedia BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: java >= 1.6 Requires: jpackage-utils #Requires: itext Requires: timidity Requires: libswt3-gtk2 %if 0%{?suse_version} == 1130 Requires: libswt3-gtk2 = 3.4 BuildRequires: libswt3-gtk2 = 3.4 %endif BuildRequires: alsa-lib-devel BuildRequires: ant BuildRequires: desktop-file-utils BuildRequires: fluidsynth-devel #BuildRequires: itext BuildRequires: java-1_6_0-openjdk-devel BuildRequires: jpackage-utils BuildRequires: libswt3-gtk2 BuildRequires: fdupes BuildRequires: update-desktop-files %description TuxGuitar is a guitar tablature editor with player support through midi. It can display scores and multitrack tabs. Various features TuxGuitar provides include autoscrolling while playing, note duration management, bend/slide/vibrato/hammer-on/pull-off effects, support for tuplets, time signature management, tempo management, gp3/gp4/gp5 import and export. %prep %setup -q -n %{name}-src-%{version} %__cp %{SOURCE1} . # The following issues were discussed in: # http://www.tuxguitar.com.ar/forum/4/817/need-help-with-packaging-for-fedora/ # Prevent static library paths to be built in TuxGuitar.jar (META-INF/MANIFEST.MF) sed -i 's///' TuxGuitar/build.xml # Export the library path during runtime instead sed -i 's|env_$|env_\nexport CLASSPATH=$CLASSPATH:%{_libdir}/java/swt.jar\n|' misc/tuxguitar.sh # Set place where .so files are located sed -i 's|PACKAGE_LIB:=/usr/lib/jni|PACKAGE_LIB:=%{_libdir}/%{name}|' misc/tuxguitar.sh # OpenSuse fix for java path sed -i 's|JAVA=${JAVA:=${JAVA_HOME}/jre/bin/java}|JAVA=${JAVA:=/usr/bin/java}|' misc/tuxguitar.sh # Disable the pdf plugin that depends on "iText" which is currently not available on Fedora sed -i 's/TuxGuitar-pdf \\/\\/g' Makefile sed -i 's/.\/TuxGuitar-pdf\/tuxguitar-pdf.jar \\/\\/g' Makefile # Change /lib to %%{_lib} sed -i 's/\/lib\//\/%{_lib