Name: xfmpc
Version: 0.1.0
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.
%prep
%setup -q
%build
%configure --disable-static --enable-funky-colors
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 \
--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
* Sat Mar 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-1
- Update to 0.1.0
- No longer show menu entry only in Xfce
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Tue Aug 26 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.7-1
- Update to 0.0.7
- Only show desktop file in Xfce
* Fri Jul 11 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.6-1
- Initial Fedora package