[freecode-submit/f18] Initial

Christopher Meng cicku at fedoraproject.org
Tue May 21 05:23:24 UTC 2013


commit e0ecc3e89f34d074ea041da981c24e6213d5d6dd
Author: Christopher Meng <rpm at cicku.me>
Date:   Tue May 21 13:22:42 2013 +0800

    Initial

 .gitignore           |    1 +
 freecode-submit.spec |   41 +++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4b150a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/freecode-submit-2.5.tar.gz
diff --git a/freecode-submit.spec b/freecode-submit.spec
new file mode 100644
index 0000000..cb675c6
--- /dev/null
+++ b/freecode-submit.spec
@@ -0,0 +1,41 @@
+Name:               freecode-submit
+Version:            2.5
+Release:            2%{?dist}
+Summary:            A tool help submit release information to freecode.com
+License:            BSD
+URL:                http://www.catb.org/~esr/freecode-submit/
+Source0:            http://www.catb.org/~esr/%{name}/%{name}-%{version}.tar.gz
+
+BuildRequires:      python xmlto
+BuildArch:          noarch
+
+%description
+freecode-submit is a script that supports remote submission of release 
+updates to Freecode via its JSON API. It is intended for use in project 
+release scripts. It reads the metadata from an RFC-2822-like message on 
+standard input, possibly with overrides by command-line switches. It 
+supersedes freshmeat-submit, which no longer works following the site 
+name change.
+
+%prep
+%setup -q
+sed -i 's|#!/usr/bin/env python|#!/usr/bin/python|g' %{name}
+
+%build
+make %{name}.html
+
+%install
+install -p -D -m 755 %{name} "%{buildroot}%{_bindir}/%{name}"
+install -p -D -m 644 %{name}.1 "%{buildroot}%{_mandir}/man1/%{name}.1"
+
+%files
+%doc AUTHORS COPYING README gold-mega.png %{name}.html
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1*
+
+%changelog
+* Sat May 18 2013 Christopher Meng <rpm at cicku.me> - 2.5-2
+- Fix build section.
+
+* Wed May 15 2013 Christopher Meng <rpm at cicku.me> - 2.5-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..60d883f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e5f85ef33c7ac508f763ef0586d0426f  freecode-submit-2.5.tar.gz


More information about the scm-commits mailing list