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