]> git.pld-linux.org Git - packages/a52dec.git/blob - a52dec.spec
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
[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.4
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://liba52.sourceforge.net
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}
72 %{__aclocal}
73 %{__autoconf}
74 %{__automake}
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 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc AUTHORS NEWS README TODO
92 %attr(755,root,root) %{_bindir}/*
93 %{_mandir}/man?/*
94
95 %files libs
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/*.so.*
98
99 %files libs-devel
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/*.so
102 %{_includedir}/*
103
104 %files libs-static
105 %defattr(644,root,root,755)
106 %{_libdir}/*.a
107 %attr(755,root,root) %{_libdir}/*.la
This page took 0.071255 seconds and 4 git commands to generate.