Group :: Desenvolvimento/Python
RPM: python-module-pyparsing
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define version 1.1.2
%define release alt5
%setup_python_module pyparsing
Summary: Python parsing module
Name: %{packagename}
Version: %{version}
Release: %{release}
Source0: %{modulename}-%{version}.tar.gz
License: MIT License
Group: Development/Python
Prefix: %{_prefix}
BuildArchitectures: noarch
Vendor: Paul McGuire <ptmcg at users.sourceforge.net>
Url: http://pyparsing.sourceforge.net/
%description
The parsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of
regular expressions. The parsing module provides a library of classes
that client code uses to construct the grammar directly in Python code.
%prep
%setup -q -n %modulename-%version
%build
%__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc CHANGES examples HowToUsePyparsing.html htmldoc/* pyparsingClassDiagram.JPG pyparsingClassDiagram.PNG README
%changelog
…
Todas as alterações você pod ver aqui
%define release alt5
%setup_python_module pyparsing
Summary: Python parsing module
Name: %{packagename}
Version: %{version}
Release: %{release}
Source0: %{modulename}-%{version}.tar.gz
License: MIT License
Group: Development/Python
Prefix: %{_prefix}
BuildArchitectures: noarch
Vendor: Paul McGuire <ptmcg at users.sourceforge.net>
Url: http://pyparsing.sourceforge.net/
%description
The parsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of
regular expressions. The parsing module provides a library of classes
that client code uses to construct the grammar directly in Python code.
%prep
%setup -q -n %modulename-%version
%build
%__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc CHANGES examples HowToUsePyparsing.html htmldoc/* pyparsingClassDiagram.JPG pyparsingClassDiagram.PNG README
%changelog
…
Todas as alterações você pod ver aqui