[packagedb-cli/f14: 2/3] Initial import

Pierre-YvesChibon pingou at fedoraproject.org
Wed Jun 29 14:02:06 UTC 2011


commit a027973be3ba7e505b8f6ffca1d1ac80b7908b74
Author: Pierre-Yves Chibon py at chibon.fr <pingou at pingoured.fr>
Date:   Wed Jun 29 15:58:51 2011 +0200

    Initial import
    
    - Import sources of 1.0.0
    - Import spec
    - Fix the USAGE in -h/--help

 .gitignore         |    1 +
 packagedb-cli.spec |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..eb101e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/packagedb-cli-1.0.0.tar.gz
diff --git a/packagedb-cli.spec b/packagedb-cli.spec
new file mode 100644
index 0000000..bd72d60
--- /dev/null
+++ b/packagedb-cli.spec
@@ -0,0 +1,50 @@
+Name:           packagedb-cli
+Version:        1.0.0
+Release:        3%{?dist}
+Summary:        A CLI for pkgdb
+
+License:        GPLv2+
+URL:            https://fedorahosted.org/packagedb-cli/
+# Will be in https://fedorahosted.org/releases/p/a/packagedb-cli/
+# as soon as a "permission denied" is fixed and that I can upload
+# the tarball
+Source0:        http://ambre.pingoured.fr/public/packagedb-cli-1.0.0.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python
+Requires:       python-argparse
+
+%description
+packagedb-cli is a command line interface of the well-known
+packagedb of the Fedora project.
+
+It allows you to manage the ACL for your packages as well
+as requesting new ACL for new packages.
+It also allows you to orphan and/or retire your package(s).
+
+%prep
+%setup -q
+sed -i -e 's|prog="pkgdb"|prog="pkgdb-cli"|' pkgdb.py
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+mkdir -p $RPM_BUILD_ROOT/%{_bindir}
+mv pkgdb.py pkgdb-cli
+install pkgdb-cli $RPM_BUILD_ROOT/%{_bindir}/
+
+%files
+%doc README LICENSE
+%{_bindir}/pkgdb-cli
+
+%changelog
+* Wed Jun 29 2011 Pierre-Yves Chibon <pingou at pingoured.fr> - 1.0.0-3
+- Fix the usage in the -h/--help by sed (already fixed upstream)
+
+* Wed Jun 29 2011 Pierre-Yves Chibon <pingou at pingoured.fr> - 1.0.0-2
+- Used a temporary solution for Source0 for the review
+
+* Wed Jun 29 2011 Pierre-Yves Chibon <pingou at pingoured.fr> - 1.0.0-1
+- First package for Fedora
diff --git a/sources b/sources
index e69de29..83ff137 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5acf2063e19ee83741cd40505a95d324  packagedb-cli-1.0.0.tar.gz


More information about the scm-commits mailing list