a52dec/a52dec.spec

changeset 0
4f133201e207
child 1
4667f24fe848
equal deleted inserted replaced
-1:000000000000 0:713aa8e98c1a
1 Summary: A free ATSC A/52 stream decoder
2 Name: a52dec
3 Version: 0.7.4
4 Release: 17.4
5 License: GPLv2
6 Group: System Environment/Libraries
7 URL: http://liba52.sourceforge.net/
8 Source0: http://liba52.sourceforge.net/files/%{name}-%{version}.tar.gz
9 Patch0: a52dec-configure-optflags.patch
10 Patch1: a52dec-0.7.4-rpath64.patch
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
12 BuildRequires: perl
13
14 %package devel
15 Summary: Development files needed for a52dec
16 Group: Development/Libraries
17 Requires: %{name} = %{version}-%{release}
18
19 #---------------------------------------------------------------------
20
21 %description
22 liba52 is a free library for decoding ATSC A/52 streams. The A/52
23 standard is used in a variety of applications, including digital
24 television and DVD. It is also known as AC-3. The package also
25 includes a52dec, a small test program for liba52.
26
27 %description devel
28 liba52 is a free library for decoding ATSC A/52 streams. The A/52
29 standard is used in a variety of applications, including digital
30 television and DVD. It is also known as AC-3.
31 This package contains development files for a52dec.
32
33 #---------------------------------------------------------------------
34
35 %prep
36 %setup -q
37 %patch0
38 %patch1 -p1
39 %{__perl} -pi -e 's/-prefer-non-pic\b/-prefer-pic/' \
40 configure liba52/configure.incl
41
42 #---------------------------------------------------------------------
43
44 %build
45 %configure --enable-shared --disable-static
46 make %{?_smp_mflags}
47
48 #---------------------------------------------------------------------
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 make install DESTDIR=%{buildroot}
53
54 #---------------------------------------------------------------------
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 #---------------------------------------------------------------------
60
61 %post -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
63
64 %files
65 %defattr(-,root,root,-)
66 %exclude %{_libdir}/liba52.la
67 %doc AUTHORS COPYING ChangeLog HISTORY NEWS TODO
68 %{_libdir}/liba52.so.*
69 %{_bindir}/a52dec
70 %{_bindir}/extract_a52
71 %{_mandir}/man1/a52dec.1*
72 %{_mandir}/man1/extract_a52.1*
73
74 %files devel
75 %defattr(-,root,root,-)
76 %doc doc/liba52.txt
77 %{_includedir}/a52dec
78 %{_libdir}/liba52.so
79
80 #---------------------------------------------------------------------
81
82 %changelog
83 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.7.4-16
84 - Build for MeeGo 1.1
85
86 * Tue Apr 28 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.7.4-15
87 - rebuild
88
89 * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.7.4-14
90 - rebuild for new F11 features
91
92 * Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.7.4-12
93 - integrate a fix from livna that got lost
94
95 * Thu Jul 24 2008 David Juran <david@juran.se> - 0.7.4-12
96 - Bump Release for RpmFusion
97
98 * Sun Nov 11 2007 Dominik Mierzejewski <dominik [AT] greysector [DOT] net> 0.7.4-11.1
99 - Really drop djbfft
100
101 * Mon Oct 1 2007 David Juran <david@juran.se> - 0.7.4-11
102 - Fix Licence tag to be GPLv2
103 - Drop %makeinstall macro
104 - Drop static archive
105 - Drop djbfft
106
107 * Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.7.4-10
108 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
109
110 * Mon Mar 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0.7.4-9
111 - Drop epoch in devel dep, too
112
113 * Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
114 - switch to new release field
115 - drop epoch
116
117 * Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
118 - add dist
119
120 * Thu Feb 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.4-0.lvn.8
121 - Avoid standard rpaths on lib64 archs.
122
123 * Tue Jul 27 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.4-0.lvn.7
124 - Prefer PIC.
125 - (Build)Require djbfft-devel.
126 - Include more docs.
127
128 * Sun Sep 28 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.6
129 - Removed comment after scriptlets
130 - buildroot -> RPM_BUILD_ROOT
131
132 * Mon Apr 14 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.5
133 - devel package require djbfft (not djbfft-devel)
134
135 * Sun Apr 13 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.4
136 - Enabled support for djbfft
137
138 * Sun Apr 13 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.3
139 - Added post and postun scriplet
140 - moved man pages from devel to main package
141
142 * Sun Apr 13 2003 Dams <anvil[AT]livna.org> 0:0.7.4-0.fdr.2
143 - make configure honor optflags
144 - devel package
145 - shared library added
146
147 * Thu Apr 10 2003 Dams <anvil[AT]livna.org>
148 - Initial build.

mercurial