diff --git a/.files b/.files index 6ed0ceb..da9c1d1 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 80511e6..9804fff 100644 --- a/.rev +++ b/.rev @@ -23,4 +23,19 @@ 677654 + + ce7943c792bdd18ec9b409d7a09d7487 + 0.8.0 + + dimstar_suse + - Minor spec cleaning, use ldconfig_scriptlets macro, be more + explicit in listing of files (use less globs). + +- Update to release 0.8.0 + * Build system modernization +- Drop altivec.patch (inapplicable) + +- Remove obsolete Groups tag (fate#326485) + 1102195 + diff --git a/a52dec-0.7.5+svn613.tar.gz b/a52dec-0.7.5+svn613.tar.gz deleted file mode 120000 index f57bdad..0000000 --- a/a52dec-0.7.5+svn613.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafkreibzj7y75vuu6bwwn7akcm73a4g5k7bymugbsfmenq4vie6plrwj5m \ No newline at end of file diff --git a/a52dec-0.8.0.tar.gz b/a52dec-0.8.0.tar.gz new file mode 120000 index 0000000..3d04784 --- /dev/null +++ b/a52dec-0.8.0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeidp6hbx5bcrujgsh4f5ytf3rsgunn7swnqn6rm2of44xmfloqtuna \ No newline at end of file diff --git a/a52dec.changes b/a52dec.changes index 6516d6b..61b645c 100644 --- a/a52dec.changes +++ b/a52dec.changes @@ -1,4 +1,22 @@ ------------------------------------------------------------------- +Fri May 5 13:25:01 UTC 2023 - Bjørn Lie + +- Minor spec cleaning, use ldconfig_scriptlets macro, be more + explicit in listing of files (use less globs). + +------------------------------------------------------------------- +Tue Dec 6 13:56:47 UTC 2022 - Jan Engelhardt + +- Update to release 0.8.0 + * Build system modernization +- Drop altivec.patch (inapplicable) + +------------------------------------------------------------------- +Thu Oct 17 12:46:48 UTC 2019 - Richard Brown + +- Remove obsolete Groups tag (fate#326485) + +------------------------------------------------------------------- Wed Feb 20 09:19:51 UTC 2019 - schwab@suse.de - altivec.patch: always use the GNU version of the altivec insns diff --git a/a52dec.spec b/a52dec.spec index f2b09ae..9237131 100644 --- a/a52dec.spec +++ b/a52dec.spec @@ -1,7 +1,7 @@ # # spec file for package a52dec # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,33 +16,28 @@ # -%define major 0 %define lib liba52 -%define libname %{lib}-%{major} -%define mandir %{_mandir} +%define libname %{lib}-0 + Name: a52dec -Version: 0.7.5+svn613 +Version: 0.8.0 Release: 0 Summary: ATSC A/52 stream decoder library License: GPL-2.0-or-later -Group: Productivity/Multimedia/Sound/Utilities -Url: http://liba52.sourceforge.net/ -Source: %{name}-%{version}.tar.gz +URL: https://git.adelielinux.org/community/a52dec/ +Source: https://distfiles.adelielinux.org/source/a52dec/%{name}-%{version}.tar.gz Source2: baselibs.conf -Patch: altivec.patch BuildRequires: libtool BuildRequires: pkgconfig Requires: %{libname} = %{version} Provides: a52 = %{version} Obsoletes: a52 < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description liba52 is a library for decoding ATSC A/52 streams. %package -n %{libname} Summary: ATSC A/52 stream decoder library -Group: System/Libraries Provides: %{lib} = %{version} Obsoletes: %{lib} < %{version} Provides: liba52dec0 = %{version} @@ -54,7 +49,6 @@ Shared library part of a52dec. %package -n %{lib}-devel Summary: Header files for the a52dec library -Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Provides: a52dec-devel = %{version} Obsoletes: a52dec-devel < %{version} @@ -66,35 +60,36 @@ Header files and static library for the a52dec library. Install this package if you want to compile programs using the library. %prep -%setup -q -%patch -p1 +%autosetup -p1 %build autoreconf -fi -%configure --disable-static --enable-shared -make %{?_smp_mflags} +%configure \ + --disable-static \ + --enable-shared \ + %{nil} +%make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print -%post -n %{libname} -p /sbin/ldconfig -%postun -n %{libname} -p /sbin/ldconfig +%ldconfig_scriptlets -n %{libname} %files -%defattr(-, root, root) -%doc README ChangeLog AUTHORS HISTORY NEWS TODO COPYING -%{_bindir}/* -%{mandir}/man1/* +%license COPYING +%doc README ChangeLog AUTHORS HISTORY NEWS TODO +%{_bindir}/%{name} +%{_bindir}/extract_a52 +%{_mandir}/man1/%{name}.1%{?ext_man} +%{_mandir}/man1/extract_a52.1%{?ext_man} %files -n %{libname} -%defattr(0644,root,root) -%{_libdir}/*.so.* +%{_libdir}/%{lib}.so.* %files -n %{lib}-devel -%defattr(-,root,root) -%{_includedir}/a52dec/ -%{_libdir}/*.so -%{_libdir}/pkgconfig/liba52.pc +%{_includedir}/%{name}/ +%{_libdir}/%{lib}.so +%{_libdir}/pkgconfig/%{lib}.pc %changelog diff --git a/altivec.patch b/altivec.patch deleted file mode 100644 index 27c75a0..0000000 --- a/altivec.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: a52dec-0.7.5+svn613/liba52/cpu_accel.c -=================================================================== ---- a52dec-0.7.5+svn613.orig/liba52/cpu_accel.c -+++ a52dec-0.7.5+svn613/liba52/cpu_accel.c -@@ -162,7 +162,7 @@ static uint32_t arch_accel (uint32_t acc - - canjump = 1; - --#ifdef HAVE_ALTIVEC_H /* gnu */ -+#if 1 /* def HAVE_ALTIVEC_H */ /* gnu */ - #define VAND(a,b,c) "vand " #a "," #b "," #c "\n\t" - #else /* apple */ - #define VAND(a,b,c) "vand v" #a ",v" #b ",v" #c "\n\t" -Index: a52dec-0.7.5+svn613/liba52/cpu_state.c -=================================================================== ---- a52dec-0.7.5+svn613.orig/liba52/cpu_state.c -+++ a52dec-0.7.5+svn613/liba52/cpu_state.c -@@ -44,7 +44,7 @@ static void state_restore_mmx (cpu_state - #endif - - #ifdef ARCH_PPC --#ifdef HAVE_ALTIVEC_H /* gnu */ -+#if 1 /* def HAVE_ALTIVEC_H */ /* gnu */ - #define LI(a,b) "li " #a "," #b "\n\t" - #define STVX0(a,b,c) "stvx " #a ",0," #c "\n\t" - #define STVX(a,b,c) "stvx " #a "," #b "," #c "\n\t"