Name: a52dec Version: 0.7.4 Release: 8%{?_dist_release} Summary: ATSC A/52 decoding library Summary(ja): ATSC A/52 デコーディングライブラリ Group: system Vendor: Project Vine Distribution: Vine Linux License: GPLv2 URL: https://liba52.sourceforge.net Source: https://liba52.sourceforge.net/files/a52dec-%{version}.tar.gz Patch0: a52dec-configure-optflags.patch Patch1: a52dec-0.7.4-rpath64.patch Patch2: liba52-silence.patch Patch3: a52dec-configure-c99.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root Provides: self-build-a52dec = %{version}-%{release} %description liba52 is a free library for decoding ATSC A/52 streams. The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3. %description -l ja liba52 は、ATSC A/52 ストリームのデコード用フリーライブラリです。 デジタルテレビや DVD を含む、さまざまなアプリケーションは A/52 標準で使用されています。 %package devel Summary: Development libraries for liba52 Group: programming Requires: %{name} = %{version}-%{release} Provides: liba52-devel %description devel liba52 is a free library for decoding ATSC A/52 streams. This package contains development files for a52dec. %debug_package %prep %autosetup -p1 %__perl -pi -e 's/-prefer-non-pic\b/-prefer-pic/' \ configure liba52/configure.incl # Convert to utf-8 for file in AUTHORS; do iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \ touch -r $file $file.new && \ mv $file.new $file done %build %configure \ --disable-static \ --enable-shared %{__make} %{?_smp_mflags} %install %make_install # remove unpackaged files rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} %files %defattr(-,root,root) %license COPYING %doc AUTHORS ChangeLog HISTORY NEWS TODO %{_libdir}/liba52.so.* %{_bindir}/a52dec %{_bindir}/extract_a52 %{_mandir}/man1/a52dec.1* %{_mandir}/man1/extract_a52.1* %files devel %defattr(-,root,root,-) %doc doc/liba52.txt %{_includedir}/a52dec %{_libdir}/liba52.so %changelog * Mon Jul 08 2024 Tomohiro "Tomo-p" KATO 0.7.4-8 - rebuilt with current environment. * Sun Oct 06 2019 Tomohiro "Tomo-p" KATO 0.7.4-7 - moved to VinePlus: patents of A/52 (a.k.a. AC-3) are expired. - added Patch2. * Sat Mar 20 2010 Munehiro Yamamoto 0.7.4-6 - change release to sync with self-build-a52dec * Wed Feb 17 2010 Munehiro Yamamoto 0.7.4-5 - change release to sync with self-build-a52dec * Sun Jun 07 2009 Munehiro Yamamoto 0.7.4-4 - dropped some tags: - Autoprov: on - Autoreq: on - Prefix: %%{_prefix} - s/-prefer-non-pic\b/-prefer-pic/ in configure liba52/configure.incl - changed configure options: --disable-static - removed a static library: liba52.{la,a} * Tue May 26 2009 Munehiro Yamamoto 0.7.4-3 - change release to sync with self-build-a52dec * Sun Nov 02 2008 Munehiro Yamamoto 0.7.4-2 - spec in utf8 - remove *.la * Sun May 18 2008 Kazutaka HARADA 0.7.4-1 - apply new versioning policy * Sun Mar 9 2008 Munehiro Yamamoto 0.7.4-0vl2 - s/GPL/GPLv2/ - change to System Environment/Libraries - separate devel - apply a52dec-configure-optflags.patch - apply a52dec-0.7.4-rpath64.patch * Sat Feb 23 2008 TOSHI 0.7.4-0vl1 - initial build for Vine Linux # end of file