]> git.pld-linux.org Git - packages/ttaenc.git/blob - ttaenc.spec
- adjust inline
[packages/ttaenc.git] / ttaenc.spec
1 Summary:        TTA Lossless Audio compressor
2 Summary(pl.UTF-8):      Bezstratny kompresor dźwięku TTA
3 Name:           ttaenc
4 Version:        3.4.1
5 Release:        1
6 License:        GPL v2+
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)
13
14 %define         specflags       -fomit-frame-pointer
15
16 %description
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/>.
25
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/>.
34
35 %prep
36 %setup -q -n %{name}-%{version}-src
37
38 %{__sed} -i -e 's/__inline/static inline/' ttaenc.c
39
40 %build
41 %{__make} \
42         CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 install -D ttaenc $RPM_BUILD_ROOT%{_bindir}/ttaenc
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc ChangeLog-3.4.1 README
55 %attr(755,root,root) %{_bindir}/ttaenc
This page took 0.032478 seconds and 3 git commands to generate.