[identicurse] update for upstream release including man page
smilner
smilner at fedoraproject.org
Sat May 14 18:06:48 UTC 2011
commit 15cbdad82e3bc345c730510709e5017faa8f490c
Author: Steve Milner <stevem at gnulinux.net>
Date: Sat May 14 14:05:24 2011 -0400
update for upstream release including man page
.gitignore | 1 +
identicurse.spec | 14 ++++++++++++--
sources | 2 +-
3 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f14a2a7..41dc356 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/identicurse-0.6.4.tar.gz
/identicurse-0.7.1.tar.gz
/identicurse-0.7.2.tar.gz
+/identicurse-0.7.3.tar.gz
diff --git a/identicurse.spec b/identicurse.spec
index b532c87..cdb2bc3 100644
--- a/identicurse.spec
+++ b/identicurse.spec
@@ -1,7 +1,7 @@
%define short_version 0.7
Name: identicurse
-Version: 0.7.2
+Version: 0.7.3
Release: 1%{?dist}
Summary: Curses based Status.net client
@@ -11,7 +11,7 @@ URL: http://identicurse.net/
Source0: http://identicurse.net/release/%{short_version}/%{name}-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: python2-devel, python-setuptools
+BuildRequires: python2-devel, python-setuptools, help2man
Requires: python-setuptools
%description
@@ -29,6 +29,11 @@ A simple but powerful Identi.ca client with a curses-based UI.
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT/%{_usr}/%{name}/* $RPM_BUILD_ROOT/%{python_sitelib}/%{name}/
+# Install the manpage
+mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
+pushd $RPM_BUILD_ROOT/%{python_sitelib}/%{name} && help2man -n %{name} --no-info --version-string=%{version} --no-discard-stderr "python __init__.py" | sed -e "s|__init__.py|identicurse|g" | sed -e "s|__INIT__.PY|IDENTICURSE|g" | sed -e "s|PYTHON||"| sed -e "s|python identicurse|identicurse|g" > $RPM_BUILD_ROOT/%{_mandir}/man1/%{name}.1 && popd
+
+
%files
%defattr(-,root,root,-)
%doc CHANGELOG INSTALL LICENSE README conf/config.json
@@ -36,9 +41,14 @@ mv $RPM_BUILD_ROOT/%{_usr}/%{name}/* $RPM_BUILD_ROOT/%{python_sitelib}/%{name}/
%{python_sitelib}/%{name}/
%{python_sitelib}/%{name}-*.egg-info/
%{_bindir}/identicurse
+%{_mandir}/man1/%{name}.1.gz
%changelog
+* Thu May 14 2011 Steve Milner <me at stevemilner.org> - 0.7.3-1
+- Update for new minor release. Please see CHANGELOG.
+- added manpage
+
* Thu Feb 10 2011 Steve Milner <me at stevemilner.org> - 0.7.2-1
- Update for new minor release. Please see CHANGELOG.
diff --git a/sources b/sources
index 4b909db..1c2f3ae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a855f8a089785dc23610e59d51d063f8 identicurse-0.7.2.tar.gz
+c19e5f76d1feb2a5d12bb803118b438d identicurse-0.7.3.tar.gz
More information about the scm-commits
mailing list