auto-import pyparsing-1.3-1 on branch devel from pyparsing-1.3-1.src.rpm
This commit is contained in:
parent
810a7cf1d1
commit
5f051aaeec
@ -0,0 +1 @@
|
||||
pyparsing-1.3.tar.gz
|
20
pyparsing-LICENSE
Normal file
20
pyparsing-LICENSE
Normal file
@ -0,0 +1,20 @@
|
||||
Copyright (c) 2003,2004 Paul T. McGuire
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
45
pyparsing.spec
Normal file
45
pyparsing.spec
Normal file
@ -0,0 +1,45 @@
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
Name: pyparsing
|
||||
Version: 1.3
|
||||
Release: 1
|
||||
Summary: An object-oriented approach to text processing
|
||||
|
||||
Group: Development/Libraries
|
||||
License: MIT
|
||||
URL: http://pyparsing.sourceforge.net/
|
||||
Source0: http://prdownloads.sourceforge.net/pyparsing/pyparsing-1.3.tar.gz
|
||||
Source1: pyparsing-LICENSE
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: %{__python}
|
||||
|
||||
%description
|
||||
pyparsing is a module that can be used to easily and directly configure syntax
|
||||
definitions for any number of text parsing applications.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
mv pyparsingClassDiagram.PNG pyparsingClassDiagram.png
|
||||
install -p -m 0644 %{SOURCE1} $RPM_BUILD_DIR/%{name}-%{version}/LICENSE
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES examples HowToUsePyparsing.html htmldoc pyparsingClassDiagram.png README LICENSE
|
||||
%{python_sitelib}/pyparsing.py
|
||||
%{python_sitelib}/pyparsing.py[co]
|
||||
|
||||
%changelog
|
||||
* Wed Aug 3 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.3-1
|
||||
- Initial RPM release
|
Loading…
Reference in New Issue
Block a user