]> git.pld-linux.org Git - packages/zita-at1.git/blob - zita-at1.spec
- pl, flags cleanup, updated GPL version and dependencies
[packages/zita-at1.git] / zita-at1.spec
1 Summary:        AT1 - autotuner for Jack Audio Connection Kit
2 Summary(pl.UTF-8):      AT1 - autostoiciel dla JACK-a
3 Name:           zita-at1
4 Version:        0.6.2
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/Sound
8 Source0:        https://kokkinizita.linuxaudio.org/linuxaudio/downloads/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a27947a4c1bd48278aefc7f5b08a564f
10 URL:            https://kokkinizita.linuxaudio.org/linuxaudio/zita-at1-doc/quickguide.html
11 BuildRequires:  cairo-devel
12 BuildRequires:  clthreads-devel >= 2.4.0
13 BuildRequires:  clxclient-devel >= 3.9.0
14 BuildRequires:  fftw3-single-devel
15 BuildRequires:  jack-audio-connection-kit-devel
16 BuildRequires:  libpng-devel
17 BuildRequires:  pkgconfig
18 BuildRequires:  xorg-lib-libX11-devel
19 BuildRequires:  xorg-lib-libXft-devel >= 2
20 BuildRequires:  zita-resampler-devel
21 Requires:       clthreads >= 2.4.0
22 Requires:       clxclient >= 3.9.0
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 AT1 is an 'autotuner', normally used to correct the pitch of a voice
27 singing (slightly) out of tune. Compared to 'Autotalent' it provides
28 an improved pitch estimation algorithm, and much cleaner resampling.
29 AT1 does not include formant correction, so it should be used to
30 correct small errors only and not to really transpose a song. The
31 'expected' pitch can be controlled by Midi (via Jack only), or be a
32 fixed set of notes. AT1 can probably be used on some instruments as
33 well, but is primarily designed to cover the vocal range. It's also
34 usable as a quick and dirty guitar tuner.
35
36 The resampling algorithm in zita-at1 is designed to produce an
37 absolute minimum of artefacts and distortion.
38
39 %description -l pl.UTF-8
40 AT1 to "automatyczny stroiciel", zwykle używany do poprawiania stroju
41 głosu śpiewających (nieco) poza tonacją. W porównaniu z "autotalent"
42 zapewnia lepszy algorytm oceny stroju i dużo czystszy resampling. AT1
43 nie zawiera korekcji formantów, więc powinien być używany do poprawy
44 tylko małych błędów, a nie transpozycji utworu. "Oczekiwany" strój
45 może być sterowany przez MIDI (tylko przez Jack) albo być ustalonym
46 zbiorem nut. AT1 może być prawdopodobnie używany także dla niektórych
47 instrumentów, ale został zaprojektowany z myślą o pokryciu zakresu
48 wokalu. Jest przydatny także do szybkiego strojenia gitary.
49
50 %prep
51 %setup -q
52
53 %build
54 %{__make} -C source \
55         CXXFLAGS="%{rpmcxxflags} -ffast-math -pthread $(pkg-config --cflags xft)" \
56         LDFLAGS="%{rpmldflags}" \
57         SHARED="%{_datadir}/zita-at1"
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
62
63 %{__make} -C source install \
64         DESTDIR=$RPM_BUILD_ROOT \
65         MANDIR=%{_mandir}/man1 \
66         BINDIR=%{_bindir} \
67         SHARED="%{_datadir}/zita-at1"
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS doc/*
75 %attr(755,root,root) %{_bindir}/zita-at1
76 %{_datadir}/zita-at1
This page took 0.048714 seconds and 3 git commands to generate.