packages: freya/freya.spec (NEW)=?UTF-8?Q?=20?=- new, too broken to build

glen glen at pld-linux.org
Wed May 23 09:17:34 CEST 2012


Author: glen                         Date: Wed May 23 07:17:34 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, too broken to build

---- Files affected:
packages/freya:
   freya.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/freya/freya.spec
diff -u /dev/null packages/freya/freya.spec:1.1
--- /dev/null	Wed May 23 09:17:34 2012
+++ packages/freya/freya.spec	Wed May 23 09:17:29 2012
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	avahi		# build with Avahi (Built-in Serverlist)
+%bcond_without	glyr	# build with libglyr (Now Playing Browser)
+%bcond_with	libnotify	# build with libnotify (For notifcations)
+
+# TODO
+# - fails to understand libnotify is there
+#   -- checking for modules 'OPTIONAL;libnotify'
+#   --   package 'OPTIONAL' not found
+#   Disabling libnotify support, since deps were not found.
+# - does not support out of tree build:
+#   freya-1.0.2/src/Init/cmdoptions.cc:10:26: fatal error: ../../config.h: No such file or directory
+# - avahi build fails:
+#   freya-1.0.2/src/Browser/Avahi/ServerList.hh:88:5: error: 'Avahi' does not name a type
+#   freya-1.0.2/src/Browser/Avahi/ServerList.cc: In constructor 'Browser::ServerList::ServerList(Glib::RefPtr<Gtk::Builder>&, GManager::BrowserList&)':
+#   freya-1.0.2/src/Browser/Avahi/ServerList.cc:51:5: error: 'avahi_handle' was not declared in this scope
+# - mpdclinet link fails:
+#   freya-1.0.2/src/MPD/Client.cc: In member function 'virtual void MPD::Client::fill_playlists(MPD::AbstractItemlist&)':
+#   freya-1.0.2/src/MPD/Client.cc:278:40: error: 'mpd_send_list_playlists' was not declared in this scope
+Summary:	A simple and slim mpd client
+Name:		freya
+Version:	1.0.2
+Release:	0.1
+License:	GPL v3+
+Group:		Applications/Multimedia
+URL:		https://github.com/studentkittens/Freya
+# VCS: git:https://github.com/studentkittens/Freya.git
+Source0:	https://github.com/studentkittens/Freya/tarball/master/%{name}.tgz
+# Source0-md5:	6e6686e2ef4845c17e32183d33405cc4
+%{?with_avahi:BuildRequires:	avahi-devel}
+%{?with_avahi:BuildRequires:	avahi-glib-devel}
+BuildRequires:	cmake
+BuildRequires:	glibmm-devel
+BuildRequires:	glyr-devel
+BuildRequires:	gtkmm3-devel
+BuildRequires:	libmpdclient-devel
+BuildRequires:	libnotify-devel
+BuildRequires:	libxml2-devel
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A fun and slim Client for the MPD Server.
+
+%prep
+%setup -qc
+mv *-Freya-*/* .
+
+%build
+%cmake \
+	-DUSE_GLYR=%{!?with_glyr:NO}%{?with_glyr:YES} \
+	-DUSE_LIBNOTIFY=%{!?with_libnotify:NO}%{?with_libnotify:YES} \
+	-DUSE_AVAHI=%{!?with_avahi:NO}%{?with_avahi:YES} \
+	.
+%{__make} -j1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc README.textile
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/05/23 07:17:29  glen
+- new, too broken to build
================================================================


More information about the pld-cvs-commit mailing list