source: projects/specs/trunk/a/a52dec/a52dec-vl.spec @ 12243

Revision 12243, 3.4 KB checked in by tomop, 5 years ago (diff)

updated 3 packages

a52dec-0.7.4-7

lame-3.100-3

libmpeg2-0.5.1-6

Line 
1Name:           a52dec
2Version:        0.7.4
3Release:        7%{?_dist_release}
4Summary:        ATSC A/52 decoding library
5Summary(ja):    ATSC A/52 デコーディングライブラリ
6Group:          System Environment/Libraries
7
8Vendor:         Project Vine
9Distribution:   Vine Linux
10
11License:        GPLv2
12URL:            http://liba52.sourceforge.net
13
14Source:         http://liba52.sourceforge.net/files/a52dec-%{version}.tar.gz
15Patch0:         a52dec-configure-optflags.patch
16Patch1:         a52dec-0.7.4-rpath64.patch
17Patch2:         liba52-silence.patch
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20
21Provides:       self-build-a52dec = %{version}-%{release}
22
23%description
24liba52 is a free library for decoding ATSC A/52 streams.
25The 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
28liba52 は、ATSC A/52 ストリームのデコード用フリーライブラリです。
29デジタルテレビや DVD を含む、さまざまなアプリケーションは A/52 標準で使用されています。
30
31%package devel
32Summary: Development libraries for liba52
33Group: Development/Libraries
34Requires: %{name} = %{version}-%{release}
35Provides: liba52-devel
36
37%description devel
38liba52 is a free library for decoding ATSC A/52 streams.
39
40This 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
65rm -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
Note: See TracBrowser for help on using the repository browser.