1 | Name: a52dec |
---|
2 | Version: 0.7.4 |
---|
3 | Release: 7%{?_dist_release} |
---|
4 | Summary: ATSC A/52 decoding library |
---|
5 | Summary(ja): ATSC A/52 デコーディングライブラリ |
---|
6 | Group: System Environment/Libraries |
---|
7 | |
---|
8 | Vendor: Project Vine |
---|
9 | Distribution: Vine Linux |
---|
10 | |
---|
11 | License: GPLv2 |
---|
12 | URL: http://liba52.sourceforge.net |
---|
13 | |
---|
14 | Source: http://liba52.sourceforge.net/files/a52dec-%{version}.tar.gz |
---|
15 | Patch0: a52dec-configure-optflags.patch |
---|
16 | Patch1: a52dec-0.7.4-rpath64.patch |
---|
17 | Patch2: liba52-silence.patch |
---|
18 | |
---|
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
20 | |
---|
21 | Provides: self-build-a52dec = %{version}-%{release} |
---|
22 | |
---|
23 | %description |
---|
24 | liba52 is a free library for decoding ATSC A/52 streams. |
---|
25 | The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC-3. |
---|
26 | |
---|
27 | %description -l ja |
---|
28 | liba52 は、ATSC A/52 ストリームのデコード用フリーライブラリです。 |
---|
29 | デジタルテレビや DVD を含む、さまざまなアプリケーションは A/52 標準で使用されています。 |
---|
30 | |
---|
31 | %package devel |
---|
32 | Summary: Development libraries for liba52 |
---|
33 | Group: Development/Libraries |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | Provides: liba52-devel |
---|
36 | |
---|
37 | %description devel |
---|
38 | liba52 is a free library for decoding ATSC A/52 streams. |
---|
39 | |
---|
40 | This package contains development files for a52dec. |
---|
41 | |
---|
42 | %prep |
---|
43 | %setup -q |
---|
44 | %patch0 |
---|
45 | %patch1 -p1 |
---|
46 | %patch2 -p1 |
---|
47 | |
---|
48 | %__perl -pi -e 's/-prefer-non-pic\b/-prefer-pic/' \ |
---|
49 | configure liba52/configure.incl |
---|
50 | |
---|
51 | %build |
---|
52 | %configure \ |
---|
53 | --prefix=%{_prefix} \ |
---|
54 | --disable-static \ |
---|
55 | --enable-shared |
---|
56 | |
---|
57 | %{__make} %{?_smp_mflags} |
---|
58 | |
---|
59 | %install |
---|
60 | %{__rm} -rf ${_RPM_BUILD_ROOT} |
---|
61 | |
---|
62 | %makeinstall |
---|
63 | |
---|
64 | # remove unpackaged files |
---|
65 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} |
---|
66 | |
---|
67 | %clean |
---|
68 | %{__rm} -rf ${_RPM_BUILD_ROOT} |
---|
69 | |
---|
70 | %post -p /sbin/ldconfig |
---|
71 | |
---|
72 | %postun -p /sbin/ldconfig |
---|
73 | |
---|
74 | %files |
---|
75 | %defattr(-,root,root) |
---|
76 | %license COPYING |
---|
77 | %doc AUTHORS ChangeLog HISTORY NEWS TODO |
---|
78 | %{_libdir}/liba52.so.* |
---|
79 | %{_bindir}/a52dec |
---|
80 | %{_bindir}/extract_a52 |
---|
81 | %{_mandir}/man1/a52dec.1* |
---|
82 | %{_mandir}/man1/extract_a52.1* |
---|
83 | |
---|
84 | %files devel |
---|
85 | %defattr(-,root,root,-) |
---|
86 | %doc doc/liba52.txt |
---|
87 | %{_includedir}/a52dec |
---|
88 | %{_libdir}/liba52.so |
---|
89 | |
---|
90 | |
---|
91 | %changelog |
---|
92 | * Sun Oct 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7.4-7 |
---|
93 | - moved to VinePlus: patents of A/52 (a.k.a. AC-3) are expired. |
---|
94 | - added Patch2. |
---|
95 | |
---|
96 | * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.7.4-6 |
---|
97 | - change release to sync with self-build-a52dec |
---|
98 | |
---|
99 | * Wed Feb 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.7.4-5 |
---|
100 | - change release to sync with self-build-a52dec |
---|
101 | |
---|
102 | * Sun Jun 07 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-4 |
---|
103 | - dropped some tags: |
---|
104 | - Autoprov: on |
---|
105 | - Autoreq: on |
---|
106 | - Prefix: %%{_prefix} |
---|
107 | - s/-prefer-non-pic\b/-prefer-pic/ in configure liba52/configure.incl |
---|
108 | - changed configure options: --disable-static |
---|
109 | - removed a static library: liba52.{la,a} |
---|
110 | |
---|
111 | * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-3 |
---|
112 | - change release to sync with self-build-a52dec |
---|
113 | |
---|
114 | * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-2 |
---|
115 | - spec in utf8 |
---|
116 | - remove *.la |
---|
117 | |
---|
118 | * Sun May 18 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.7.4-1 |
---|
119 | - apply new versioning policy |
---|
120 | |
---|
121 | * Sun Mar 9 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.4-0vl2 |
---|
122 | - s/GPL/GPLv2/ |
---|
123 | - change to System Environment/Libraries |
---|
124 | - separate devel |
---|
125 | - apply a52dec-configure-optflags.patch |
---|
126 | - apply a52dec-0.7.4-rpath64.patch |
---|
127 | |
---|
128 | * Sat Feb 23 2008 TOSHI <vine-jp@mail.goo.ne.jp> 0.7.4-0vl1 |
---|
129 | - initial build for Vine Linux |
---|
130 | |
---|
131 | # end of file |
---|