]>
Commit | Line | Data |
---|---|---|
f4ae7abd | 1 | Summary: GNU ccAudio2 - a C++ class framework for processing audio files |
455f65c3 | 2 | Summary(pl.UTF-8): GNU ccAudio2 - klasa C++ do przetwarzania plików dźwiękowych |
f4ae7abd | 3 | Name: ccaudio2 |
2edc3c8e | 4 | Version: 2.2.0 |
a7b71aa6 | 5 | Release: 3 |
7e9c7d00 | 6 | License: LGPL v3+ |
f4ae7abd | 7 | Group: Libraries |
29caede0 | 8 | Source0: http://ftp.gnu.org/gnu/ccaudio/%{name}-%{version}.tar.gz |
2edc3c8e | 9 | # Source0-md5: c38d22592070379b0a8ff8fdf1144ff9 |
74a982de | 10 | URL: http://www.gnu.org/software/ccaudio/ |
c73982b5 | 11 | BuildRequires: libgsm-devel |
12 | BuildRequires: libstdc++-devel | |
7e9c7d00 JB |
13 | BuildRequires: pkgconfig |
14 | BuildRequires: speex-devel | |
2edc3c8e | 15 | BuildRequires: ucommon-devel >= 7.0.0 |
f4ae7abd | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | The GNU ccAudio package offers a highly portable C++ class framework | |
20 | for developing applications which manipulate audio streams and various | |
21 | disk based audio file formats. At the moment ccaudio is primarly a | |
22 | class framework for handling .au, .wav (RIFF), and various .raw audio | |
74a982de | 23 | encoding formats under POSIX and Win32 systems, though it may expand |
f4ae7abd | 24 | to become a general purpose audio and soundcard support library. |
25 | Support for controlling CD audio devices has recently been added as | |
26 | well as support for codecs and other generic audio processing | |
27 | services. | |
28 | ||
85543eee JR |
29 | %description -l pl.UTF-8 |
30 | Pakiet GNU ccAudio oferuje przenośną klasę C++ do tworzenia aplikacji | |
31 | zmieniających strumienie dźwiękowe i różne formaty plików na dyskach. | |
32 | Aktualnie obsługuje pliki .au, .wav (RIFF) i różne formaty kodowania | |
33 | .raw w systemach zgodnych z POSIX oraz Win32, może się jednak | |
34 | rozrosnąć, aby zostać biblioteką ogólnego użytku do dźwięku i kart | |
35 | dźwiękowych. Ostatnio została dodana obsługa sterowania urządzeniami | |
36 | z płytami CD Audio, jak także obsługa kodeków i innych ogólnych usług | |
37 | przetwarzających dźwięk. | |
f4ae7abd | 38 | |
39 | %package devel | |
40 | Summary: Header files for ccaudio2 library | |
455f65c3 | 41 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ccaudio2 |
f4ae7abd | 42 | Group: Development/Libraries |
43 | Requires: %{name} = %{version}-%{release} | |
7e9c7d00 JB |
44 | Requires: libgsm-devel |
45 | Requires: libstdc++-devel | |
46 | Requires: speex-devel | |
2edc3c8e | 47 | Requires: ucommon-devel >= 7.0.0 |
f4ae7abd | 48 | |
49 | %description devel | |
50 | Header files for ccaudio2 library. | |
51 | ||
85543eee JR |
52 | %description devel -l pl.UTF-8 |
53 | Pliki nagłówkowe biblioteki ccaudio2. | |
f4ae7abd | 54 | |
55 | %package static | |
56 | Summary: Static ccaudio2 library | |
455f65c3 | 57 | Summary(pl.UTF-8): Statyczna biblioteka ccaudio2 |
f4ae7abd | 58 | Group: Development/Libraries |
59 | Requires: %{name}-devel = %{version}-%{release} | |
60 | ||
61 | %description static | |
62 | Static ccaudio2 library. | |
63 | ||
85543eee | 64 | %description static -l pl.UTF-8 |
f4ae7abd | 65 | Statyczna biblioteka ccaudio2. |
66 | ||
67 | %prep | |
68 | %setup -q | |
69 | ||
70 | %build | |
71 | %configure | |
72 | %{__make} | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
78 | DESTDIR=$RPM_BUILD_ROOT | |
79 | ||
7e9c7d00 JB |
80 | # obsoleted by pkg-config |
81 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libccaudio2.la | |
82 | ||
f4ae7abd | 83 | %clean |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post -p /sbin/ldconfig | |
87 | %postun -p /sbin/ldconfig | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
7e9c7d00 JB |
91 | %doc AUTHORS ChangeLog NEWS README SUPPORT THANKS TODO |
92 | %attr(755,root,root) %{_bindir}/audiotool | |
93 | %attr(755,root,root) %{_bindir}/tonetool | |
94 | %attr(755,root,root) %{_libdir}/libccaudio2.so.*.*.* | |
95 | %attr(755,root,root) %ghost %{_libdir}/libccaudio2.so.2 | |
96 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tones.conf | |
97 | %{_mandir}/man1/audiotool.1* | |
98 | %{_mandir}/man1/tonetool.1* | |
f4ae7abd | 99 | |
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
7e9c7d00 JB |
102 | %attr(755,root,root) %{_libdir}/libccaudio2.so |
103 | %{_includedir}/ccaudio2.h | |
104 | %{_pkgconfigdir}/ccaudio2.pc | |
f4ae7abd | 105 | |
106 | %files static | |
107 | %defattr(644,root,root,755) | |
7e9c7d00 | 108 | %{_libdir}/libccaudio2.a |