Blob Blame History Raw
Name:		lingot
Version:	0.8.1
Release:	1%{?dist}
Summary:	A musical instruments tuner

Group:		Applications/Multimedia
License:	GPLv2+
URL:		http://www.nongnu.org/lingot/
Source0:	http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:	alsa-lib-devel desktop-file-utils gettext intltool
BuildRequires:	jack-audio-connection-kit-devel libglade2-devel

%description
LINGOT is a musical instrument tuner. It's accurate, easy to use, and highly
configurable. Originally conceived to tune electric guitars, its
configurability gives it a more general character.


%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
# remove the EXTRA_DIST files; most of them is included in %doc anyway
rm -rf %{buildroot}/%{_defaultdocdir}/%{name}
%find_lang %{name}
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop


%clean
rm -rf %{buildroot}


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}/
%{_datadir}/%{name}/glade/lingot-config-dialog.glade


%changelog
* Thu Mar 18 2010 Karel Volný <kvolny at redhat dot com> 0.8.1-1
- New version 0.8.1
- Fixes missing linker flags, a crash and a hang

* Sat Mar 06 2010 Karel Volný <kvolny at redhat dot com> 0.8.0-1
- New version 0.8.0
- Native ALSA support, alsa-oss no longer needed
- JACK support
- Removed Requires gtk2 WRT bug #517970

* Tue Aug 18 2009 Karel Volný <kvolny at redhat dot com> 0.7.6-1
- Initial Fedora release.