|
@@ -1,20 +1,19 @@
|
|
|
Name: a52dec
|
|
|
Version: 0.7.4
|
|
|
-Release: 7%{?_dist_release}
|
|
|
+Release: 8%{?_dist_release}
|
|
|
Summary: ATSC A/52 decoding library
|
|
|
Summary(ja): ATSC A/52 デコーディングライブラリ
|
|
|
-Group: System Environment/Libraries
|
|
|
-
|
|
|
+Group: system
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
|
|
|
License: GPLv2
|
|
|
-URL: http://liba52.sourceforge.net
|
|
|
-
|
|
|
-Source: http://liba52.sourceforge.net/files/a52dec-%{version}.tar.gz
|
|
|
+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
|
|
|
|
|
@@ -28,9 +27,10 @@ The A/52 standard is used in a variety of applications, including digital televi
|
|
|
liba52 は、ATSC A/52 ストリームのデコード用フリーライブラリです。
|
|
|
デジタルテレビや DVD を含む、さまざまなアプリケーションは A/52 標準で使用されています。
|
|
|
|
|
|
+
|
|
|
%package devel
|
|
|
Summary: Development libraries for liba52
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
Provides: liba52-devel
|
|
|
|
|
@@ -39,37 +39,38 @@ liba52 is a free library for decoding ATSC A/52 streams.
|
|
|
|
|
|
This package contains development files for a52dec.
|
|
|
|
|
|
+
|
|
|
+%debug_package
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
-%setup -q
|
|
|
-%patch0
|
|
|
-%patch1 -p1
|
|
|
-%patch2 -p1
|
|
|
+%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 \
|
|
|
- --prefix=%{_prefix} \
|
|
|
--disable-static \
|
|
|
--enable-shared
|
|
|
-
|
|
|
+
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
-%install
|
|
|
-%{__rm} -rf ${_RPM_BUILD_ROOT}
|
|
|
|
|
|
-%makeinstall
|
|
|
+%install
|
|
|
+%make_install
|
|
|
|
|
|
# remove unpackaged files
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
|
|
|
|
|
|
-%clean
|
|
|
-%{__rm} -rf ${_RPM_BUILD_ROOT}
|
|
|
-
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
@@ -89,6 +90,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Jul 08 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7.4-8
|
|
|
+- rebuilt with current environment.
|
|
|
+
|
|
|
* Sun Oct 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7.4-7
|
|
|
- moved to VinePlus: patents of A/52 (a.k.a. AC-3) are expired.
|
|
|
- added Patch2.
|