]> git.pld-linux.org Git - packages/aften.git/blob - aften.spec
- ldconfig
[packages/aften.git] / aften.spec
1 Summary:        A/52 audio encoder
2 Summary(pl.UTF-8):      Koder dźwięku A/52
3 Name:           aften
4 Version:        0.0.8
5 Release:        1
6 License:        LGPL v2+
7 Group:          Applications/Sound
8 Source0:        http://downloads.sourceforge.net/aften/%{name}-%{version}.tar.bz2
9 # Source0-md5:  fde67146879febb81af3d95a62df8840
10 URL:            http://aften.sourceforge.net/
11 BuildRequires:  cmake >= 2.4
12 BuildRequires:  libstdc++-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Aften is an audio encoder which generates compressed audio streams
17 based on ATSC A/52 specification. This type of audio is also known
18 as AC-3 or Dolby(R) Digital and is one of the audio codecs used in
19 DVD-Video content. 
20
21 %description -l en.UTF-8
22 Aften is an audio encoder which generates compressed audio streams
23 based on ATSC A/52 specification. This type of audio is also known
24 as AC-3 or Dolby® Digital and is one of the audio codecs used in
25 DVD-Video content. 
26
27 %description -l pl.UTF-8
28 Aften to koder dźwięku generujący skompresowane strumienie dźwięku
29 oparte na specyfikacji ATSC A/52. Ten format jest znany także jako
30 AC-3 lub Dolby® Digital i jest jednym z kodeków dźwięku używanych w
31 treściach DVD-Video.
32
33 %package devel
34 Summary:        Header files for Aften library
35 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Aften
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38
39 %description devel
40 Header files for Aften library.
41
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki Aften.
44
45 %package c++
46 Summary:        C++ binding for Aften library
47 Summary(pl.UTF-8):      Interfejs C++ do biblioteki Aften
48 Group:          Libraries
49 Requires:       %{name} = %{version}-%{release}
50
51 %description c++
52 C++ binding for Aften library.
53
54 %description c++ -l pl.UTF-8
55 Interfejs C++ do biblioteki Aften.
56
57 %package c++-devel
58 Summary:        Header file for C++ binding for Aften library
59 Summary(pl.UTF-8):      Plik nagłówkowy interfejsu C++ do biblioteki Aften
60 Group:          Development/Libraries
61 Requires:       %{name}-c++ = %{version}-%{release}
62 Requires:       %{name}-devel = %{version}-%{release}
63 Requires:       libstdc++-devel
64
65 %description c++-devel
66 Header file for C++ binding for Aften library.
67
68 %description c++-devel -l pl.UTF-8
69 Plik nagłówkowy interfejsu C++ do biblioteki Aften.
70
71 %prep
72 %setup -q
73
74 %build
75 install -d build
76 cd build
77 %cmake .. \
78         -DSHARED=ON \
79         -DBINDINGS_CXX=ON
80
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} -C build install/fast \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %post   c++ -p /sbin/ldconfig
96 %postun c++ -p /sbin/ldconfig
97
98 %files
99 %defattr(644,root,root,755)
100 %doc Changelog README
101 %attr(755,root,root) %{_bindir}/aften
102 %attr(755,root,root) %{_bindir}/wavfilter
103 %attr(755,root,root) %{_bindir}/wavinfo
104 %attr(755,root,root) %{_bindir}/wavrms
105 %attr(755,root,root) %{_libdir}/libaften.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/libaften.so.0
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libaften.so
111 %dir %{_includedir}/aften
112 %{_includedir}/aften/aften-types.h
113 %{_includedir}/aften/aften.h
114
115 %files c++
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libaftenxx.so.*.*.*
118 %attr(755,root,root) %ghost %{_libdir}/libaftenxx.so.0
119
120 %files c++-devel
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/libaftenxx.so
123 %{_includedir}/aften/aftenxx.h
This page took 0.061249 seconds and 3 git commands to generate.