%global majorver 0.3 Name: xfmpc Version: 0.3.1 Release: %autorelease Summary: A MPD client for the Xfce desktop environment License: GPLv2+ URL: http://goodies.xfce.org/projects/applications/%{name} Source0: http://archive.xfce.org/src/apps/%{name}/%{majorver}/%{name}-%{version}.tar.bz2 BuildRequires: make BuildRequires: gcc-c++ BuildRequires: libxfce4ui-devel >= 4.8.0 BuildRequires: libmpd-devel >= 0.15.0 BuildRequires: gettext BuildRequires: intltool BuildRequires: 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_build %install %make_install %find_lang %{name} desktop-file-install \ --dir %{buildroot}%{_datadir}/applications \ --delete-original \ %{buildroot}%{_datadir}/applications/%{name}.desktop %files -f %{name}.lang %license COPYING %doc AUTHORS ChangeLog IDEAS NEWS THANKS %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_mandir}/man1/%{name}.1.gz %changelog %autochangelog