File Quimup.spec of Package Quimup
# norootforbuild
Name: Quimup
Version: 0.3.5
Release: 0.pm.1.tv.0
License: GPL
Summary: QUIMUP is a client for the music player daemon (MPD)
Group: Productivity/Multimedia/Sound/Players
URL: http://www.coonsden.com/
Source0: %{name}-%{version}src.tar.gz
Source1: %{name}.desktop
Patch0: %{name}-%{version}-DESTDIR.patch
Patch1: quimup-allow-kde-logout-missing.patch
BuildRoot: %{_tmppath}/%{name}-%{version}
BuildRequires: qt3-devel update-desktop-files
%description
QUIMUP is a client for the music player daemon (MPD) written in C++ and QT3.
The program can be used with most Linux desktops (KDE, GNOME, XFCE) and is covered
by the General Public License: it is free and 'open source'.
The clean interface makes controlling MPD's many features easy and intuitive.
The focus is on mouse handling: playlist management is done entirely by drag-&-drop;
playback functions are directly accessible from the system tray.
Quimup turns MPD into a perfect desktop music player.
%prep
%setup -q -n %{name}-%{version}src/%{name}%{version}
%patch0 -p1
%patch1 -p2
%build
%__sed -i -e "s|QTDIR/lib|QTDIR/%{_lib}|g" configure
%configure
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
%__install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%__install -D -m 644 ../Icons/quimup128.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png
%suse_update_desktop_file -r %{name} AudioVideo Player
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc ../COPYING ../README ../Changelog ../FAQ.txt
%{_bindir}/quimup
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%changelog
* Wed Apr 29 2009 Tilman Vogel <tilman.vogel@web.de>
- adding missing part of the kde logout patch
* Sat Feb 21 2009 Detlef Reichelt <detlef@links2linux.de> <0.3.5>-<0.pm.1>
- new upstream version <0.3.5>
* Fixed: "KDE logout was cancelled by process quimup." (thanks Tilman Vogel)
* Changed: Symlinks can now be used for album art (thanks Tilman Vogel)
* Changed: Main MPD version is now shown as x.x (was the 'API' version x.x.x)
* Sat Jun 28 2008 Detlef Reichelt <detlef@links2linux.de> <0.3.4>-<0.pm.1>
- new upstream version <0.3.4>
* Tue Feb 26 2008 Detlef Reichelt <detlef@links2linux.de> <0.3.3>-<0.pm.2>
- new upstream version <0.3.3>
* Sat Jan 26 2008 Detlef Reichelt <detlef@links2linux.de> <0.3.2>-<0.pm.1>
- new upstream version <0.3.2>
* Fri Nov 23 2007 Detlef Reichelt <detlef@links2linux.de> <0.3.1>-<0.pm.1>
- new upstream version <0.3.1>
* Thu Oct 25 2007 Detlef Reichelt <detlef@links2linux.de> <0.2.0>-<0.pm.1>
- initial build for packman