1 Summary: TTA Lossless Audio compressor
2 Summary(pl.UTF-8): Bezstratny kompresor dźwięku TTA
7 Group: Applications/Sound
8 Source0: https://downloads.sourceforge.net/tta/%{name}-%{version}-src.tgz
9 # Source0-md5: c9ab8194984b34e7f7bf55d579c97f39
10 URL: https://sourceforge.net/projects/tta/
11 BuildRequires: sed >= 4.0
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 %define specflags -fomit-frame-pointer
17 TTA performs lossless compression on multichannel 8, 16 and 24 bits
18 data of the Wav audio files. Being "lossless" means that no data-
19 quality is lost in the compression - when uncompressed, the data will
20 be identical to the original. The compression ratios of TTA depend on
21 the type of music file being compressed, but the compression size
22 will generally range between 30%% - 70%% of the original. TTA format
23 supports both of ID3v1/v2 and APEv2 tags. Detailed format description
24 is available at <http://tta.sourceforge.net/>.
26 %description -l pl.UTF-8
27 TTA kompresuje bezstratnie wielokanałowe, 8-, 16- i 24-bitowe dane
28 dźwiękowe z plików Wav. "Bezstratnie" oznacza, że żadna jakość danych
29 nie jest tracona - po dekompresji dane będą identyczne z oryginałem.
30 Współczynniki kompresji TTA zależą od rodzaju pliku muzycznego, ale
31 zwykle wynoszą od 30%% do 70%%. Format TTA obsługuje znaczniki
32 ID3v1/v2 oraz APEv2. Szczegóły formatu można znaleźć pod adresem
33 <http://tta.sourceforge.net/>.
36 %setup -q -n %{name}-%{version}-src
38 %{__sed} -i -e 's/__inline/static inline/' ttaenc.c
42 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall"
45 rm -rf $RPM_BUILD_ROOT
47 install -D ttaenc $RPM_BUILD_ROOT%{_bindir}/ttaenc
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc ChangeLog-3.4.1 README
55 %attr(755,root,root) %{_bindir}/ttaenc