source: projects/specs/trunk/nonfree/self-build-a52dec/a52dec-vl.spec @ 615

Revision 615, 3.0 KB checked in by munepi, 12 years ago (diff)

added many self-build-* specs

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