Name: gxmms2 Summary: A graphical audio player Version: 0.7.0 Release: 8.20090811git%{?dist} License: GPLv2 Group: Applications/Multimedia # No stable release supports xmms 0.6 yet # Support is in git though. # git clone git://git.xmms.se/xmms2/gxmms2.git # tar cvfj gxmms2-20090811git.tar.bz2 gxmms2 # Source0: http://wejp.k.vu/projects/xmms2/%{name}-%{version}.tar.gz Source0: %{name}-20090811git.tar.bz2 Source1: %{name}.desktop Patch0: gxmms2-0.7.0-implicit-DSO-libX11.patch Patch1: gxmms2-0.7.0-DrNo.patch URL: http://wejp.k.vu/projects/xmms2/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: xmms2-devel >= 0.7, gtk2-devel, pango-devel, atk-devel BuildRequires: desktop-file-utils %description gxmms2 is a GTK2 based XMMS2 client, written in C. Its main window is small and simple. It includes a playlist editor and a file details dialog. %package -n gkrellxmms2 Summary: Gkrellm2 plugin client for XMMS2 BuildRequires: gkrellm-devel Requires: gkrellm Group: Applications/Multimedia %description -n gkrellxmms2 gkrellxmms2 is a gkrellm2 plugin for XMMS2. It has a title scroller with a position marker and five buttons for playback control. The position marker can be moved with the mouse to seek in the current track. The M button opens a menu with two items for opening a trackinfo dialog and the media library window. %prep %setup -q -n %{name} %patch0 -p1 -b .DSO %patch1 -p1 -b .DrNo sed -i 's|/lib/|/%{_lib}/|g' Makefile %build make %{?_smp_mflags} CC="gcc %{optflags}" %install rm -rf %{buildroot} make PREFIX=%{buildroot}%{_prefix} KRELLPREFIX=%{buildroot}%{_prefix} install mkdir -p %{buildroot}/%{_datadir}/pixmaps mv %{buildroot}%{_datadir}/gxmms2/gxmms2_mini.xpm %{buildroot}/%{_datadir}/pixmaps/gxmms2.xpm # Don't need anything else in these dirs rm -rf %{buildroot}%{_datadir}/gxmms2 %{buildroot}%{_datadir}/gkrellxmms2 mkdir -p %{buildroot}%{_datadir}/applications desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc CHANGELOG COPYING README %{_bindir}/%{name}* %{_datadir}/pixmaps/%{name}.xpm %{_datadir}/applications/*.desktop %files -n gkrellxmms2 %defattr(-,root,root,-) %doc CHANGELOG COPYING README %{_libdir}/gkrellm2/plugins/gkrellxmms2.so %changelog * Wed Jun 30 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.7.0-8.20090811git - fix compile against xmms2 0.7DrNo * Wed Jun 30 2010 Adam Jackson <ajax@redhat.com> 0.7.0-7.20090811git - Rebuild for new libxmmsclient * Wed Feb 10 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.7.0-6.20090811git - fix implicit DSO linking issue with libX11 * Tue Aug 11 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.7.0-5.20090811git - update to git checkout to support xmms 0.6 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Dec 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.7.0-2 - fix license tag * Thu Dec 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.7.0-1 - Initial package for Fedora