rpms/python-mglob/devel python-mglob.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

tomspur tomspur at fedoraproject.org
Mon Jun 21 07:42:42 UTC 2010


Author: tomspur

Update of /cvs/pkgs/rpms/python-mglob/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23880/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-mglob.spec 
Log Message:
Initial commit (#605993)



--- NEW FILE python-mglob.spec ---
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%endif


Name:           python-mglob
Version:        0.4
Release:        1%{?dist}
Summary:        Enhanced file name globbing module

Group:          Development/Libraries
License:        MIT
URL:            http://pypi.python.org/pypi/mglob
Source0:        http://pypi.python.org/packages/source/m/mglob/mglob-%{version}.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  python-setuptools

%description
Usable as stand-alone utility (for xargs, backticks etc.), or as a globbing
library for own python programs.
Some enhanced features are recursion, exclusion, and directory omission.


%prep
%setup -q -n mglob-%{version}
sed -i -e '/^#!\//, 1d' mglob.py


%build
%{__python} setup.py build


%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}

 
%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
# upstream has no docs
%doc
%{_bindir}/mglob
%{python_sitelib}/mglob.py*
%{python_sitelib}/mglob-%{version}-py?.?.egg-info


%changelog
* Sat Jun 19 2010 Thomas Spura <tomspur at fedoraproject.org - 0.4-1
- initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-mglob/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	21 Jun 2010 02:40:53 -0000	1.1
+++ .cvsignore	21 Jun 2010 07:42:42 -0000	1.2
@@ -0,0 +1 @@
+mglob-0.4.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-mglob/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	21 Jun 2010 02:40:54 -0000	1.1
+++ sources	21 Jun 2010 07:42:42 -0000	1.2
@@ -0,0 +1 @@
+3d875720611ff4e73b402376e2b48f1b  mglob-0.4.zip



More information about the scm-commits mailing list