Name: xfmpc
Version: 0.0.7
Release: 1%{?dist}
Summary: A MPD client for the Xfce desktop environment
Group: Applications/Multimedia
License: GPLv2+
URL: http://goodies.xfce.org/projects/applications/%{name}
Source0: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libxfcegui4-devel >= 4.4.0, libmpd-devel >= 0.15.0
BuildRequires: gettext, perl(XML::Parser), intltool, desktop-file-utils
%description
Xfmpc is a a graphical GTK+ MPD client for the Xfce desktop environment.
It is focusing on low footprint and easy usage.
To connect to a remote machine set the environment variables MPD_HOST
and MPD_PORT as described in the mpc(1) manpage.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
desktop-file-install --vendor "fedora" \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
--add-only-show-in=XFCE \
--delete-original \
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog IDEAS NEWS README THANKS
%{_bindir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%changelog
* Tue Aug 26 2008 Christoph Wickert <fedora christoph-wickert de> - 0.0.7-1
- Update to 0.0.7
- Only show desktop file in Xfce
* Fri Jul 11 2008 Christoph Wickert <fedora christoph-wickert de> - 0.0.6-1
- Initial Fedora package