|
@@ -1,20 +1,19 @@
|
|
Name: a52dec
|
|
Name: a52dec
|
|
Version: 0.7.4
|
|
Version: 0.7.4
|
|
-Release: 7%{?_dist_release}
|
|
|
|
|
|
+Release: 8%{?_dist_release}
|
|
Summary: ATSC A/52 decoding library
|
|
Summary: ATSC A/52 decoding library
|
|
Summary(ja): ATSC A/52 デコーディングライブラリ
|
|
Summary(ja): ATSC A/52 デコーディングライブラリ
|
|
-Group: System Environment/Libraries
|
|
|
|
-
|
|
|
|
|
|
+Group: system
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
License: GPLv2
|
|
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
|
|
Patch0: a52dec-configure-optflags.patch
|
|
Patch1: a52dec-0.7.4-rpath64.patch
|
|
Patch1: a52dec-0.7.4-rpath64.patch
|
|
Patch2: liba52-silence.patch
|
|
Patch2: liba52-silence.patch
|
|
|
|
+Patch3: a52dec-configure-c99.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
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 ストリームのデコード用フリーライブラリです。
|
|
liba52 は、ATSC A/52 ストリームのデコード用フリーライブラリです。
|
|
デジタルテレビや DVD を含む、さまざまなアプリケーションは A/52 標準で使用されています。
|
|
デジタルテレビや DVD を含む、さまざまなアプリケーションは A/52 標準で使用されています。
|
|
|
|
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: Development libraries for liba52
|
|
Summary: Development libraries for liba52
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
Provides: liba52-devel
|
|
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.
|
|
This package contains development files for a52dec.
|
|
|
|
|
|
|
|
+
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
-%setup -q
|
|
|
|
-%patch0
|
|
|
|
-%patch1 -p1
|
|
|
|
-%patch2 -p1
|
|
|
|
|
|
+%autosetup -p1
|
|
|
|
|
|
%__perl -pi -e 's/-prefer-non-pic\b/-prefer-pic/' \
|
|
%__perl -pi -e 's/-prefer-non-pic\b/-prefer-pic/' \
|
|
configure liba52/configure.incl
|
|
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
|
|
%build
|
|
%configure \
|
|
%configure \
|
|
- --prefix=%{_prefix} \
|
|
|
|
--disable-static \
|
|
--disable-static \
|
|
--enable-shared
|
|
--enable-shared
|
|
-
|
|
|
|
|
|
+
|
|
%{__make} %{?_smp_mflags}
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
-%install
|
|
|
|
-%{__rm} -rf ${_RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
-%makeinstall
|
|
|
|
|
|
+%install
|
|
|
|
+%make_install
|
|
|
|
|
|
# remove unpackaged files
|
|
# remove unpackaged files
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
|
|
|
|
|
|
-%clean
|
|
|
|
-%{__rm} -rf ${_RPM_BUILD_ROOT}
|
|
|
|
-
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
|
-
|
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
@@ -89,6 +90,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%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
|
|
* 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.
|
|
- moved to VinePlus: patents of A/52 (a.k.a. AC-3) are expired.
|
|
- added Patch2.
|
|
- added Patch2.
|