]> git.pld-linux.org Git - packages/a52dec.git/blob - a52dec.spec
b0c811fbc6f53dd62345027b393578611fb5e56b
[packages/a52dec.git] / a52dec.spec
1 Summary:        A library for handling encrypted dvds
2 Summary(pl):    Biblioteka do obs³ugi zakodowanych DVD
3 Name:           a52dec
4 Version:        0.7.3
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Multimedia
8 Source0:        http://liba52.sourceforge.net/files/%{name}-%{version}.tar.gz
9 URL:            http://www.dtek.chalmers.se/~dvd/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  libtool
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _prefix         /usr/X11R6
16 %define         _mandir         %{_prefix}/man
17 %define         _libdir         /usr/lib
18 %define         _includedir     /usr/include
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 %description -l pl
27 liba52 jest wolnodostêpn± (na licencji GPL) bibliotek± do dekodowania
28 strumieni ATSC A/52. Standard A/52 jest u¿ywany w wielu
29 zastosowaniach, w tym cyfrowej telewizji i DVD. Jest znany tak¿e jako
30 AC-3.
31
32 %package libs
33 Summary:        Biblioteki a52dec
34 Summary(pl):    Pakiet z bibliotekami a52dec
35 Group:          Development/Libraries
36
37 %description libs
38 %{name}-devel includes development files for %{name}.
39
40 %description libs -l pl
41 Pliki dla programistów a52dec.
42
43 %package libs-devel
44 Summary:        %{name} development package
45 Summary(pl):    Pakiet %{name} dla programistów
46 Group:          Development/Libraries
47 Requires:       %{name}-libs = %{version}-%{release}
48
49 %description libs-devel
50 %{name}-devel includes development files for %{name}.
51
52 %description libs-devel -l pl
53 Pliki dla programistów a52dec.
54
55 %package libs-static
56 Summary:        Biblioteki a52dec
57 Summary(pl):    Pakiet z bibliotekami a52dec
58 Group:          Development/Libraries
59
60 %description libs-static
61 %{name}-devel includes development files for %{name}.
62
63 %description libs-static -l pl
64 Pliki dla programistów a52dec.
65
66 %prep
67 %setup -q
68
69 %build
70 rm -f missing
71 libtoolize --copy --force
72 aclocal
73 autoconf
74 automake -a -c
75 %configure \
76         --enable-shared
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81 %{__make} install DESTDIR=$RPM_BUILD_ROOT
82
83 gzip -9nf AUTHORS NEWS README TODO
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc {AUTHORS,NEWS,README,TODO}.gz
94 %attr(755,root,root) %{_bindir}/*
95 %{_mandir}/*
96
97 %files libs
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/*.so.*
100
101 %files libs-devel
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/*.so
104 %{_includedir}/*
105
106 %files libs-static
107 %defattr(644,root,root,755)
108 %{_libdir}/*.a
109 %attr(755,root,root) %{_libdir}/*.la
This page took 0.081018 seconds and 3 git commands to generate.