diff --git a/.cvsignore b/.cvsignore index e69de29..1e78ea6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xfmpc-0.0.6.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..57397a1 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +xfmpc-0_0_6-1_fc10:HEAD:xfmpc-0.0.6-1.fc10.src.rpm:1216067176 diff --git a/sources b/sources index e69de29..e684188 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1d2edd3cfb950d61dc1fac8229ac828b xfmpc-0.0.6.tar.bz2 diff --git a/xfmpc.spec b/xfmpc.spec new file mode 100644 index 0000000..46bd8ca --- /dev/null +++ b/xfmpc.spec @@ -0,0 +1,56 @@ +Name: xfmpc +Version: 0.0.6 +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), desktop-file-utils +Requires: mpc + +%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 \ + --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 +* Fri Jul 11 2008 Christoph Wickert - 0.0.6-1 +- Initial Fedora package