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