]>
Commit | Line | Data |
---|---|---|
52cef77a | 1 | Summary: A/52 audio encoder |
8b361e8d | 2 | Summary(pl.UTF-8): Koder dźwięku A/52 |
52cef77a JR |
3 | Name: aften |
4 | Version: 0.0.8 | |
5 | Release: 1 | |
8b361e8d | 6 | License: LGPL v2+ |
52cef77a | 7 | Group: Applications/Sound |
8b361e8d | 8 | Source0: http://downloads.sourceforge.net/aften/%{name}-%{version}.tar.bz2 |
52cef77a JR |
9 | # Source0-md5: fde67146879febb81af3d95a62df8840 |
10 | URL: http://aften.sourceforge.net/ | |
8b361e8d JB |
11 | BuildRequires: cmake >= 2.4 |
12 | BuildRequires: libstdc++-devel | |
52cef77a JR |
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 | |
8b361e8d JB |
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 | |
52cef77a JR |
24 | as AC-3 or Dolby® Digital and is one of the audio codecs used in |
25 | DVD-Video content. | |
26 | ||
8b361e8d JB |
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. | |
52cef77a JR |
70 | |
71 | %prep | |
72 | %setup -q | |
73 | ||
74 | %build | |
75 | install -d build | |
76 | cd build | |
8b361e8d JB |
77 | %cmake .. \ |
78 | -DSHARED=ON \ | |
79 | -DBINDINGS_CXX=ON | |
52cef77a JR |
80 | |
81 | %{__make} | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
8b361e8d | 86 | %{__make} -C build install/fast \ |
52cef77a JR |
87 | DESTDIR=$RPM_BUILD_ROOT |
88 | ||
89 | %clean | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %files | |
93 | %defattr(644,root,root,755) | |
94 | %doc Changelog README | |
8b361e8d JB |
95 | %attr(755,root,root) %{_bindir}/aften |
96 | %attr(755,root,root) %{_bindir}/wavfilter | |
97 | %attr(755,root,root) %{_bindir}/wavinfo | |
98 | %attr(755,root,root) %{_bindir}/wavrms | |
99 | %attr(755,root,root) %{_libdir}/libaften.so.*.*.* | |
100 | %attr(755,root,root) %ghost %{_libdir}/libaften.so.0 | |
101 | ||
102 | %files devel | |
103 | %defattr(644,root,root,755) | |
104 | %attr(755,root,root) %{_libdir}/libaften.so | |
105 | %dir %{_includedir}/aften | |
106 | %{_includedir}/aften/aften-types.h | |
107 | %{_includedir}/aften/aften.h | |
108 | ||
109 | %files c++ | |
110 | %defattr(644,root,root,755) | |
111 | %attr(755,root,root) %{_libdir}/libaftenxx.so.*.*.* | |
112 | %attr(755,root,root) %ghost %{_libdir}/libaftenxx.so.0 | |
113 | ||
114 | %files c++-devel | |
115 | %defattr(644,root,root,755) | |
116 | %attr(755,root,root) %{_libdir}/libaftenxx.so | |
117 | %{_includedir}/aften/aftenxx.h |