[epris/f16] Added RPM package for epris v 0.2 for Fedora 16

Ratnadeep Debnath rtnpro at fedoraproject.org
Sat Dec 31 15:33:02 UTC 2011


commit 5cb926c7677d537d56d63854f9380ef7189f5d02
Author: rtnpro <rtnpro at gmail.com>
Date:   Sat Dec 31 21:02:13 2011 +0530

    Added RPM package for epris v 0.2 for Fedora 16

 .gitignore              |    1 +
 epris-0.2-manpage.patch |   60 ++++++++++++++++++++++++++++++++++++++++++
 epris.spec              |   66 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 4 files changed, 128 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d7356c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/epris-0.2.tar.gz
diff --git a/epris-0.2-manpage.patch b/epris-0.2-manpage.patch
new file mode 100644
index 0000000..dbc5745
--- /dev/null
+++ b/epris-0.2-manpage.patch
@@ -0,0 +1,60 @@
+diff -uNr epris-0.2_old/epr.6 epris-0.2/epr.6
+--- epris-0.2_old/epr.6	1970-01-01 05:30:00.000000000 +0530
++++ epris-0.2/epr.6	2011-12-11 17:20:30.680392324 +0530
+@@ -0,0 +1,56 @@
++.TH "epr" 1
++.SH NAME
++epris \- A dbus service to listen to music
++.SH SYNOPSIS
++.B epris
++[OPTIONS]
++
++.SH DESCRIPTION
++epr is the command line client. epris is the D-Bus service, you don't have
++to run it manually, it will start and shutdown automatically. It is based
++on excellent GStreamer playbin2. And it supports gap-less playback! (or almost)
++
++.SH COMMANDS
++.TP
++\fBplay\fR
++Play
++.TP
++\fBstop\fR
++Stop
++.TP
++\fBadd\fR
++Add tracks to tracklist
++.TP
++\fBrm\fR
++Remove tracks from tracklist
++.TP
++\fBseek\fR
++Seek to a given position within track
++.TP
++\fBskip\fR
++Move within the tracklist (alias skip)
++.TP
++\fBlist\fR
++List tracks
++.TP
++\fBhelp\fR
++Display the help
++
++.SH OPTIONS
++.TP
++\fB\-\-help\fR
++Show help options
++.TP
++\fB\-\-version\fR
++Display the version number
++.TP
++\fB\-\-debug\-level=INT\fR
++Debug level (1-5)
++.TP
++\fB\-a, \-\-all=BOOL\fR
++Show extra commands
++
++.SH AUTHORS
++Marc-Andre Lureau <marcandre.lureau at gmail.com>
++
++Man page written by Ratnadeep Debnath <rtnpro at gmail.com>.
diff --git a/epris.spec b/epris.spec
new file mode 100644
index 0000000..0115530
--- /dev/null
+++ b/epris.spec
@@ -0,0 +1,66 @@
+%global gstreamer_version 0.10
+%global dbus-glib_version 0.70
+
+Name:	    epris
+Version:	0.2
+Release:	4%{?dist}
+Summary:	A dbus service to listen to music
+
+Group:		Applications/Multimedia
+License:	LGPLv3
+URL:		http://code.google.com/p/epris/
+Source0:	http://epris.googlecode.com/files/%{name}-%{version}.tar.gz
+Patch0:         epris-%{version}-manpage.patch
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: gstreamer-devel >= gstreamer_version
+BUildRequires: dbus-glib-devel >= dbus-glib_version
+BuildRequires: vala-devel
+
+%description
+epris is a small command line based audio player. Unlike xmms2 or mpd, it
+uses GStreamer and DBus. It is written in Vala.
+
+%prep
+%setup -q
+%patch0 -p1
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p %{buildroot}%{_mandir}/man6
+install -p -m644 epr.6 %{buildroot}%{_mandir}/man6/epr.6
+make install DESTDIR=$RPM_BUILD_ROOT
+make mandir=$RPM_BUILD_ROOT%{_mandir} install-man
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc README THANKS TODO
+%{_bindir}/epr
+%{_datadir}/dbus-1/services/*
+%{_libexecdir}/*
+%{_mandir}/man6/epr.6.gz
+
+
+%changelog
+*Sun Dec 11 2011 rtnpro <rtnpro at gmail.com> 0.2-4
+- Added man page for epris
+
+*Tue Aug 24 2010 rtnpro <rtnpro at gmail.com> 0.2-3
+- Made some changes to the spec file
+
+*Tue Jun 29 2010 rtnpro <rtnpro at gmail.com> 0.2-2
+- Added Requires: Gstreamer and Obsoletes: old epris version
+
+*Mon Jun 28 2010 rtnpro <rtnpro at gmail.com> 0.2-1
+- Initial RPM package
diff --git a/sources b/sources
index e69de29..810cd33 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+94ec5123207d34834eaa345435964f99  epris-0.2.tar.gz


More information about the scm-commits mailing list