[shotwell] Add a man page

Debarshi Ray rishi at fedoraproject.org
Mon Sep 30 14:06:34 UTC 2013


commit c300b1dd9e4503a4d8e61514d4ddca50568285c7
Author: Debarshi Ray <debarshir at gnome.org>
Date:   Mon Sep 30 16:06:00 2013 +0200

    Add a man page

 shotwell.1    |   36 ++++++++++++++++++++++++++++++++++++
 shotwell.spec |   12 +++++++++++-
 2 files changed, 47 insertions(+), 1 deletions(-)
---
diff --git a/shotwell.1 b/shotwell.1
new file mode 100644
index 0000000..01fff66
--- /dev/null
+++ b/shotwell.1
@@ -0,0 +1,36 @@
+.TH SHOTWELL 1 "30 September 2013"
+.SH NAME
+\fBshotwell\fP \- a photo organizer for the GNOME desktop
+
+.SH SYNOPSIS
+.br
+.B shotwell
+[\fIOPTION\fR...] [\fIFILE\fR]
+
+.SH DESCRIPTION
+Shotwell is a photo organizer designed for the GNOME desktop. It allows you to
+import photos from your camera, view and edit them, and share them with others.
+.LP
+.SH OPTIONS
+.TP
+\fB\-d, \-\-datadir=DIRECTORY\fR
+Path to private data belonging to
+.B shotwell
+.TP
+\fB\-\-no\-runtime\-monitoring\fR
+Do not monitor library directory at runtime for changes.
+.TP
+\fB\-\-no\-startup\-progress\fR
+Do not display startup progress meter.
+.TP
+\fB\-\-display=DISPLAY\fR
+X display to use.
+.TP
+\fB\-V, \-\-version\fR
+Output version information and exit.
+.TP
+\fB\-h, \-\-help\fR
+Prints the command line options.
+
+.SH BUGS
+If you find a bug, please report it at http://redmine.yorba.org/projects/shotwell/issues/new.
diff --git a/shotwell.spec b/shotwell.spec
index 6b16f45..d10df63 100644
--- a/shotwell.spec
+++ b/shotwell.spec
@@ -2,7 +2,7 @@
 
 Name:           shotwell
 Version:        0.15.0
-Release:        0.1%{?pre:.%{pre}}%{?dist}
+Release:        0.2%{?pre:.%{pre}}%{?dist}
 Summary:        A photo organizer for the GNOME desktop
 
 Group:          Applications/Multimedia
@@ -14,6 +14,8 @@ URL:            http://www.yorba.org/shotwell/
 Source0:        http://www.yorba.org/download/shotwell/0.15/shotwell-%{version}%{?pre}.tar.xz
 # http://redmine.yorba.org/issues/3379
 Source1:        shotwell-icons.tar.bz2
+# http://redmine.yorba.org/issues/7558
+Source2:        shotwell.1
 
 BuildRequires:  vala-devel >= 0.18.0
 BuildRequires:  desktop-file-utils
@@ -83,6 +85,10 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/shotwell-viewer.de
   tar xf %{SOURCE1}
 )
 
+# install man page
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1
+
 %find_lang %{name} --with-gnome
 %find_lang %{name}-extras
 cat %{name}-extras.lang >> %{name}.lang
@@ -118,9 +124,13 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/GConf/gsettings/shotwell.convert
 %{_datadir}/glib-2.0/schemas/*.xml
 %{_datadir}/icons/hicolor/*/apps/shotwell.png
+%{_mandir}/man1/*
 
 
 %changelog
+* Mon Sep 30 2013 Debarshi Ray <rishi at fedoraproject.org.com> - 0.15.0-0.2.pr3
+- Add a man page
+
 * Sun Sep 29 2013 Kalev Lember <kalevlember at gmail.com> - 0.15.0-0.1.pr3
 - Update to 0.15.0pr3
 - Drop patches that have found their way upstream


More information about the scm-commits mailing list