Author: glen Date: Thu Apr 22 18:54:35 2010 GMT Module: packages Tag: HEAD ---- Log message: - new, based on https://bugzilla.redhat.com/show_bug.cgi?id=583327
---- Files affected: packages/clementine: clementine.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/clementine/clementine.spec diff -u /dev/null packages/clementine/clementine.spec:1.1 --- /dev/null Thu Apr 22 20:54:35 2010 +++ packages/clementine/clementine.spec Thu Apr 22 20:54:30 2010 @@ -0,0 +1,73 @@ +# $Revision$, $Date$ +Summary: A music player and library organiser +Name: clementine +Version: 0.2 +Release: 0.1 +License: GPL v3 and GPL v2+ +Group: Applications/Multimedia +URL: http://code.google.com/p/clementine-player +Source0: http://clementine-player.googlecode.com/files/%{name}_%{version}-1.tar.gz +# Source0-md5: bf89adb26808fec6201499375de95507 +Patch0: %{name}-dont-bundle-external-lib.patch +Patch1: %{name}-static.patch +BuildRequires: boost-devel +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRequires: gtest-devel +BuildRequires: liblastfm-devel +BuildRequires: libnotify-devel +BuildRequires: libqxt-devel +BuildRequires: notification-daemon +BuildRequires: qt4-build +BuildRequires: qtsingleapplication-devel +BuildRequires: sed >= 4.0 +BuildRequires: sqlite-devel +BuildRequires: taglib-devel +BuildRequires: xine-lib-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Clementine is a modern music player and library organiser. It is +largely a port of Amarok 1.4, with some features rewritten to take +advantage of Qt4. + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 + +# We already don't use these but just to make sure +rm -fr 3rdparty + +# Don't build tests. They require gmock which is not yet available on Fedora +sed -i '/tests/d' CMakeLists.txt + +%build +install -d build +cd build +%cmake .. +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} -C build install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changelog TODO +%attr(755,root,root) %{_bindir}/clementine +%{_desktopdir}/clementine.desktop +%{_iconsdir}/hicolor/*/apps/application-x-clementine.png + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2010/04/22 18:54:30 glen +- new, based on https://bugzilla.redhat.com/show_bug.cgi?id=583327 ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
