Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 5c5146f7d89fdf3332d01ba249e11040 > files > 2

gxmms-0.3.0-2mdk.src.rpm

%define name	gxmms
%define version 0.3.0
%define release 2mdk

Name: 	 	%{name}
Summary: 	Controls XMMS through the GNOME2 panel
Version: 	%{version}
Release: 	%{release}

Source:		http://savannah.nongnu.org/download/gxmms/%{name}-%{version}.tar.bz2
URL:		http://www.nongnu.org/gxmms/
License:	GPL
Group:		Sound
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildRequires:	libpanel-applet-2-devel
BuildRequires:	xmms-devel
BuildRequires:  perl-XML-Parser

%description
gXMMS is a simple GNOME panel applet that lets you control the basic functions
of the X MultiMedia System (XMMS).

This is the list of current features:

Scrollable track time progress bar
Buttons: Previous track - Play / Pause - Stop - Next track - Eject
Real-time tooltips with track title and time
Show/Hide main window, playlist editor and graphical eq
Internazionalization (i18n) 

%package beep-media-player
Group: Sound
Summary: Controls Beep Media Player through the GNOME2 panel
BuildRequires: libbeep-media-player-devel
Requires: beep-media-player

%description beep-media-player
gXMMS is a simple GNOME panel applet that lets you control the basic functions
of the Beep Media Player (BMP).

This is the list of current features:

Scrollable track time progress bar
Buttons: Previous track - Play / Pause - Stop - Next track - Eject
Real-time tooltips with track title and time
Show/Hide main window, playlist editor and graphical eq
Internazionalization (i18n) 

%prep
%setup -q
mkdir build-xmms build-bmp

%build
export CONFIGURE_TOP=`pwd`
cd build-xmms
export LDFLAGS=`gtk-config --libs`
%configure2_5x --with-xmms
%make
unset LDFLAGS
cd ../build-bmp
%configure2_5x --with-bmp
%make
										
%install
rm -rf $RPM_BUILD_ROOT
cd build-xmms
%makeinstall
cd ../build-bmp
%makeinstall
cd ..
%find_lang %name

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%doc AUTHORS NEWS README
%_libexecdir/gxmms_applet
%{_libdir}/bonobo/servers/GNOME_gxmmsApplet.server
%{_datadir}/%name
%{_datadir}/gnome-2.0/ui/*
%{_datadir}/pixmaps/*

%files beep-media-player -f %name.lang
%defattr(-,root,root)
%doc AUTHORS NEWS README
%_libexecdir/gxmms_bmp_applet
%{_libdir}/bonobo/servers/GNOME_gxmms_bmpApplet.server
%{_datadir}/%name-bmp
%{_datadir}/gnome-2.0/ui/*
%{_datadir}/pixmaps/*

%changelog
* Thu May 19 2005 Götz Waschk <waschk@mandriva.org> 0.3.0-2mdk
- fix build on x86_64

* Thu May 19 2005 Götz Waschk <waschk@mandriva.org> 0.3.0-1mdk
- add beep-media-player package
- New release 0.3.0

* Wed Sep  8 2004 Goetz Waschk <waschk@linux-mandrake.com> 0.2.1-1mdk
- New release 0.2.1

* Fri Sep  3 2004 Götz Waschk <waschk@linux-mandrake.com> 0.2.0-1mdk
- update file list
- update source URL
- New release 0.2.0

* Fri Jun 11 2004 Götz Waschk <waschk@linux-mandrake.com> 0.1.1-2mdk
- reformat description, bullet lists don't look good in rpmdrake
- fix buildrequires

* Thu Jun 10 2004 Austin Acton <austin@mandrake.org> 0.1.1-1mdk
- 0.1.1
- add languages

* Sun Jan 25 2004 Götz Waschk <waschk@linux-mandrake.com> 0.1.0-2mdk
- autoconf2.5 macro
- fix buildrequires

* Sat Jan 24 2004 Austin Acton <austin@mandrake.org> 0.1.0-1mdk
- initial package