Filewatcher File Search File Search
Catalog
Content Search
» » » » » python-mwlib-xhtml-0.1.0-3.fc17.src.rpm » Content »
pkg://python-mwlib-xhtml-0.1.0-3.fc17.src.rpm:214312/  info  HEADER  downloads

python-mwlib-xhtml - XHTML writer for mwlib…  more info»

python-mwlib-xhtml.spec

%global module_name mwlib.xhtml

Name:           python-mwlib-xhtml
Version:        0.1.0
Release:        3%{?dist}
Summary:        XHTML writer for mwlib

License:        BSD
URL:            https://github.com/pediapress/%{module_name}
Source0:        http://pypi.python.org/packages/source/m/%{module_name}/%{module_name}-%{version}.zip

BuildArch:      noarch
BuildRequires:  python2-devel
BuildRequires:  python-setuptools
Requires:       python-mwlib

%description
mwlib provides a library for parsing MediaWiki articles and converting them to
different output formats. This package contains the necessary code to output
articles in XHTML format.


%prep
%setup -qn %{module_name}-%{version}

sed -i '/^#!/d' mwlib/*.py mwlib/*/*.py
chmod a-x mwlib/*.py


%build
%{__python} setup.py build


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

 
%files
%{python_sitelib}/%{module_name}-*
%{python_sitelib}/mwlib/*


%changelog
* Fri Feb 17 2012 Ian Weller <iweller@redhat.com> - 0.1.0-3
- Add BR: python-setuptools

* Wed Feb 15 2012 Ian Weller <iweller@redhat.com> - 0.1.0-2
- Change BR: python-devel to python2-devel
- rm rm -rf

* Thu Feb  2 2012 Ian Weller <iweller@redhat.com> - 0.1.0-1
- Initial package build
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com