]> git.pld-linux.org Git - packages/a52dec.git/blob - a52dec.spec
- rel .2
[packages/a52dec.git] / a52dec.spec
1 %define         _snap   20040611
2 Summary:        A library for handling encrypted DVDs
3 Summary(pl):    Biblioteka do obs³ugi zakodowanych DVD
4 Name:           a52dec
5 Version:        0.7.5
6 Release:        0.%{_snap}.2
7 License:        GPL
8 Group:          X11/Applications/Multimedia
9 Source0:        http://liba52.sourceforge.net/files/%{name}-snapshot.tar.gz
10 # Source0-md5:  1729c7507f76b0d4cc04540926c5d0d7
11 Patch0:         %{name}-opt.patch
12 Patch1:         %{name}-pic.patch
13 URL:            http://liba52.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 Requires:       %{name}-libs = %{version}-%{release}
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 liba52 is a free library for decoding ATSC A/52 streams. It is
22 released under the terms of the GPL license. The A/52 standard is used
23 in a variety of applications, including digital television and DVD. It
24 is also known as AC-3.
25
26 This package contains a52dec utilities.
27
28 %description -l pl
29 liba52 jest wolnodostêpn± (na licencji GPL) bibliotek± do dekodowania
30 strumieni ATSC A/52. Standard A/52 jest u¿ywany w wielu
31 zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany tak¿e jako
32 AC-3.
33
34 Ten pakiet zawiera narzêdzia a52dec.
35
36 %package libs
37 Summary:        a52dec library for handling encrypted DVDs
38 Summary(pl):    Biblioteka a52dec - do obs³ugi zakodowanych DVD
39 Group:          Development/Libraries
40
41 %description libs
42 liba52 is a free library for decoding ATSC A/52 streams. It is
43 released under the terms of the GPL license. The A/52 standard is used
44 in a variety of applications, including digital television and DVD. It
45 is also known as AC-3.
46
47 %description libs -l pl
48 liba52 jest wolnodostêpn± (na licencji GPL) bibliotek± do dekodowania
49 strumieni ATSC A/52. Standard A/52 jest u¿ywany w wielu
50 zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany tak¿e jako
51 AC-3.
52
53 %package libs-devel
54 Summary:        Header files for a52dec library
55 Summary(pl):    Pliki nag³ówkowe biblioteki a52dec
56 Group:          Development/Libraries
57 Requires:       %{name}-libs = %{version}-%{release}
58
59 %description libs-devel
60 Header files for development using a52dec library.
61
62 %description libs-devel -l pl
63 Pliki nag³ówkowe do programowania z u¿yciem biblioteki a52dec.
64
65 %package libs-static
66 Summary:        Static a52dec library
67 Summary(pl):    Statyczna biblioteka a52dec
68 Group:          Development/Libraries
69 Requires:       %{name}-libs-devel = %{version}-%{release}
70
71 %description libs-static
72 Static a52dec library.
73
74 %description libs-static -l pl
75 Statyczna biblioteka a52dec.
76
77 %prep
78 %setup -q -n %{name}-%{version}-cvs
79 %patch0 -p1
80 %patch1 -p1
81
82 %build
83 %{__libtoolize}
84 %{__aclocal}
85 %{__autoconf}
86 %{__automake}
87 %configure \
88         --enable-shared
89 %{__make}
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %post libs      -p /sbin/ldconfig
101 %postun libs    -p /sbin/ldconfig
102
103 %files
104 %defattr(644,root,root,755)
105 %doc AUTHORS NEWS README TODO
106 %attr(755,root,root) %{_bindir}/*
107 %{_mandir}/man?/*
108
109 %files libs
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_libdir}/*.so.*.*
112
113 %files libs-devel
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/*.so
116 %{_libdir}/*.la
117 %{_includedir}/*
118 %{_pkgconfigdir}/*.pc
119
120 %files libs-static
121 %defattr(644,root,root,755)
122 %{_libdir}/*.a
This page took 0.055395 seconds and 3 git commands to generate.