Name: xfmpc
Version: 0.2.0
Release: 2%{?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://archive.xfce.org/src/apps/%{name}/0.2/%{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
%{_mandir}/man1/%{name}.1.gz
%changelog
* Wed Nov 25 2009 Adrian Reber <adrian@lisas.de> - 0.2.0-2
- Rebuild for libmpd 0.19.0
* Fri Sep 04 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.0-1
- Update to 0.2.0
- Include new manpage
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Jun 16 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-2
- Rebuild for libmpd 0.18.0
* 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