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