]> git.pld-linux.org Git - packages/ttaenc.git/blame - ttaenc.spec
- adjust inline
[packages/ttaenc.git] / ttaenc.spec
CommitLineData
aaebcbbc
JB
1Summary: TTA Lossless Audio compressor
2Summary(pl.UTF-8): Bezstratny kompresor dźwięku TTA
3Name: ttaenc
4Version: 3.4.1
5Release: 1
6License: GPL v2+
7Group: Applications/Sound
8Source0: https://downloads.sourceforge.net/tta/%{name}-%{version}-src.tgz
9# Source0-md5: c9ab8194984b34e7f7bf55d579c97f39
10URL: https://sourceforge.net/projects/tta/
36f976af 11BuildRequires: sed >= 4.0
aaebcbbc
JB
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%define specflags -fomit-frame-pointer
15
16%description
17TTA performs lossless compression on multichannel 8, 16 and 24 bits
18data of the Wav audio files. Being "lossless" means that no data-
19quality is lost in the compression - when uncompressed, the data will
20be identical to the original. The compression ratios of TTA depend on
21the type of music file being compressed, but the compression size
22will generally range between 30%% - 70%% of the original. TTA format
23supports both of ID3v1/v2 and APEv2 tags. Detailed format description
24is available at <http://tta.sourceforge.net/>.
25
26%description -l pl.UTF-8
27TTA kompresuje bezstratnie wielokanałowe, 8-, 16- i 24-bitowe dane
28dźwiękowe z plików Wav. "Bezstratnie" oznacza, że żadna jakość danych
29nie jest tracona - po dekompresji dane będą identyczne z oryginałem.
30Współczynniki kompresji TTA zależą od rodzaju pliku muzycznego, ale
31zwykle wynoszą od 30%% do 70%%. Format TTA obsługuje znaczniki
32ID3v1/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
36f976af
JB
38%{__sed} -i -e 's/__inline/static inline/' ttaenc.c
39
aaebcbbc
JB
40%build
41%{__make} \
42 CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall"
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47install -D ttaenc $RPM_BUILD_ROOT%{_bindir}/ttaenc
48
49%clean
50rm -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.092188 seconds and 4 git commands to generate.