Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > f55f6323bf2c0ea65d4e011908824c64 > files > 2

python-hachoir-parser-1.3.4-3.mga3.src.rpm

%define module_name hachoir-parser

Summary:	Python library to parse file format for the hachoir framework
Name: 		python-%{module_name}
Version: 	1.3.4
Release: 	%mkrel 3
Source0: 	http://cheeseshop.python.org/packages/source/h/%{module_name}/%{module_name}-%{version}.tar.gz
License:	GPLv2
Group: 		Development/Python
URL: 		http://hachoir.org/wiki/hachoir-parser
BuildArch:	noarch
Requires:	python-hachoir-core
%{py_requires -d}
BuildRequires:	python-setuptools python-hachoir-core

%description
hachoir-parser is a package of most common file format parsers written 
using hachoir-core. Not all parsers are complete, some are very good and 
other are poor: only parse first level of the tree for example.

A perfect parser have no "raw" field: with a perfect parser you are able 
to know *each* bit meaning. Some good (but not perfect ;-)) parsers:

    * Matroska video
    * Microsoft RIFF (AVI video, WAV audio, CDA file)
    * PNG picture
    * TAR and ZIP archive 

%prep
%setup -q -n %{module_name}-%{version}

%build
python setup.py build

%install
rm -rf %{buildroot}
python setup.py install --root=%{buildroot} 

%files 
%doc AUTHORS COPYING 
%{py_puresitedir}/hachoir_parser
%{py_puresitedir}/*.egg-info



%changelog

* Sun Jan 13 2013 umeabot <umeabot> 1.3.4-3.mga3
+ Revision: 378972
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Sep 15 2011 mikala <mikala> 1.3.4-2.mga2
+ Revision: 143931
- Clean spec (remove buildroot,%%defattr & %%clean section)
- imported package python-hachoir-parser