Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
python-cmdln
python-cmdln.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-cmdln.spec of Package python-cmdln
# # spec file for package python-cmdln (Version 0) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # nodebuginfo %define _name cmdln %define version 1.1.1 %define unmangled_version 1.1.1 %define release 1 Summary: An improved cmd.py for Writing Multi-command Scripts and Shells Name: python-cmdln Version: %{version} Release: 1 Source0: %{_name}-%{unmangled_version}.tar.bz2 License: X11/MIT Group: Development/Libraries/Python BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: %{_prefix} BuildRequires: python-devel python-setuptools #BuildArch: noarch Url: http://trentm.com/projects/cmdln %description `cmdln.py` is an extension of Python's default `cmd.py` module that provides "a simple framework for writing line-oriented command interpreters". The idea (with both cmd.py and cmdln.py) is to be able to quickly build multi-sub-command tools (think cvs or svn) and/or simple interactive shells (think gdb or pdb). Cmdln's extensions make it more natural to write sub-commands, integrate optparse for simple option processing, and make having good command documentation easier. Authors: -------- Trent Mick <TrentM@ActiveState.com> %prep %setup -n %{_name}-%{unmangled_version} %build export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --prefix=%{_prefix} \ --root=$RPM_BUILD_ROOT \ --record-rpm=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc LICENSE.txt README.txt docs/ examples/ %changelog * Thu Mar 06 2008 toms@suse.de - Initial package 1.1.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor