ソースを参照

jack-audio-connection-kit-1.9.12-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12168 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 年 前
コミット
cdb418ff9e
1 ファイル変更19 行追加26 行削除
  1. 19 26
      j/jack-audio-connection-kit/jack-audio-connection-kit-vl.spec

+ 19 - 26
j/jack-audio-connection-kit/jack-audio-connection-kit-vl.spec

@@ -1,7 +1,7 @@
 Summary: The Jack Audio Connection Kit
 Name: jack-audio-connection-kit
-Version: 1.9.10
-Release: 2%{?_dist_release}
+Version: 1.9.12
+Release: 1%{?_dist_release}
 # The entire source (~500 files) is a mixture of these three licenses
 License: GPLv2 and GPLv2+ and LGPLv2+
 Group: System Environment/Daemons
@@ -11,26 +11,21 @@ Vendor: Project Vine
 Distribution: Vine Linux
 
 #Source0: http://www.jackaudio.org/downloads/%{name}-%{version}.tar.gz
-Source0: https://dl.dropbox.com/u/28869550/jack-%{version}.tar.bz2
+Source0: https://github.com/jackaudio/jack2/releases/download/v%{version}/jack2-%{version}.tar.gz
 Source1: %{name}-README.Fedora
 Source2: %{name}-script.pa
 Source3: %{name}-limits.conf
 
 # No-date-footer hack to remove dates from doxygen documentation
-Patch0:        jack-audio-connection-kit-no_date_footer.patch
+Patch0:        jack2-1.9.12-nodate.patch
 # Build fix
-Patch1:        jack-doxygen-output-dir-fix.patch
+Patch1:        jack2-1.9.12-outdir.patch
 # We don't want the internal API documentation
-Patch2:        jack-apidoc-only.patch
+Patch2:        jack2-1.9.12-nointernalapi.patch
 # Adjust default priority. RHBZ#795094
 Patch3:        jack-realtime-compat.patch
-# Enable renaming and reordering the jack ports RHBZ#887408
-Patch4:        jack-portnames.patch
-# Fix ppc64 mpd startup issue RHBZ#799552
-Patch5:        jack-ppc64-long.patch
-#Patch0:	jack-audio-connection-kit-0.124.1-freebob_driver.patch
-# Fix building with gcc5
-Patch6:        jack-gcc5.patch
+# Remove binary junk from README
+Patch4:        jack2-1.9.12-nojunk.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: alsa-lib-devel
@@ -97,25 +92,15 @@ Requires: 	%{name} = %{version}-%{release}
 Small example clients that use the Jack Audio Connection Kit.
 
 %prep
-%setup -q -n jack-%{version}
+%setup -q -n jack2-%{version}
 %patch0 -p1 -b .nodate
 %patch1 -p1 -b .outdir
 %patch2 -p1 -b .nointernalapi
 %patch3 -p1 -b .priority
-%patch4 -p1 -b .portnames
-%patch5 -p1 -b .mpd
-%patch6 -p1 -b .gcc5
-
-# Fix encoding issues
-for file in ChangeLog README TODO; do
-    sed 's|\r||' $file > $file.tmp
-    iconv -f ISO-8859-1 -t UTF8 $file.tmp > $file.tmp2
-    touch -r $file $file.tmp2
-    mv -f $file.tmp2 $file
-done
+%patch4 -p1 -b .nojunk
 
 %build
-export CPPFLAGS="$RPM_OPT_FLAGS -O0"
+export CPPFLAGS="$RPM_OPT_FLAGS"
 export PREFIX=%{_prefix}
 # Parallel build disabled as it fails sometimes
 ./waf configure \
@@ -256,11 +241,19 @@ exit 0
 %{_bindir}/jack_cpu
 %{_bindir}/jack_iodelay
 %{_bindir}/jack_multiple_metro
+%{_bindir}/jack_simdtests
 %{_bindir}/jack_test
 %{_mandir}/man1/jack_iodelay.1*
 
 
 %changelog
+* Sun Sep 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.12-1
+- updated to 1.9.12.
+- built with readline-8.0.
+- updated Patch0-2.
+- dropped Patch4-6.
+- imported Patch4 from rawhide.
+
 * Sat Jul  2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9.10-2
 - rebuilt with new toolchain.
 - added Patch6 for gcc5.