File musique.spec of Package musique

Name:		musique
Version:	1.1
Release:	1%{?dist}
Summary:	A better music player

Group:		Applications/Multimedia
# Musique is GPL. The reason why a copy of the LGPL is included
# is that some files (some Qt utility classes) are LGPL.
License:	GPLv3+ and LGPLv2+
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	qt-devel taglib-devel phonon-devel gcc-c++
Requires:	hicolor-icon-theme

Minitunes is just another music player, only better.

Minitunes unclutters your music listening experience with a clean and innovative


* Look them in the face. Browse your collection by artists pictures and album
* Powerful multimedia engine. Minitunes takes advantage of Quicktime on the Mac,
GStreamer or Xine on Linux.
* Browse folders and files. Minitunes lets you browse your music the way you
organized it.
* Playlists made simple. Minitunes has just a single playlist. It's always there
on the right.

%setup -q -n %{name}

# Fix executable bits for debuginfo package
chmod 644 src/*.h
chmod 644 src/*.cpp

%{_qt4_qmake} PREFIX=%{_prefix}
make %{?_smp_mflags}

rm -rf %{buildroot}
make install INSTALL_ROOT=%{buildroot}

# There is a bug in (see BZ #729336)
# heavily borrowed from /usr/lib/rpm/
find %{buildroot} -type f -o -type l|sort|sed '
s:\(.*/locale/\)\([^/_]\+\)\(.*\.qm$\):%lang(\2) \1\2\3:
/^$/d' > %{name}.lang

rm -rf %{buildroot}

%files -f %{name}.lang
# don't list the locales, just the folders that contain them
%dir %{_datadir}/%{name}/
%dir %{_datadir}/%{name}/locale

* Sun Feb 19 2012 pseudoGurke 1.1-1
- Updated to version 1.1
- Change name to musique

* Wed Aug 17 2011 Germán A. Racca <> 1.0-1
- Updated to new version
- Added gcc-c++ as BR
- Using a workaround to include locales (see BZ #729336)

* Fri Jul 30 2010 Germán A. Racca <> 0.1.1-3
- Added comment above license tag

* Thu Jul 29 2010 Germán A. Racca <> 0.1.1-2
- Added cleaning of buildroot to %%install
- Removed unnecessary spaces from %%description

* Fri Jul 16 2010 German A. Racca <> 0.1.1-1
- Initial release of RPM package