Group :: Development/Python
RPM: pycrc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: pycrc
Version: 0.6.6
Release: alt2
Summary: A parametrizable Cyclic Redundancy Check (CRC) calculation utility and C source code generator written in Python
Url: http://www.tty1.net/pycrc/
License: BSD like
Group: Development/Python
BuildArch: noarch
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://prdownloads.sf.net/%name/%name-%version.tar.bz2
%description
Pycrc provides a CRC reference implementation in Python and a source
code generator for C. The used CRC variant can be chosen from a fast
but space-consuming implementation to slower but smaller implementations
suitable especially for embedded applications. The following functions
are implemented:
* generate the checksum of a string
* generate the C header and source files for a client implementation. The
algorithm can be chosen from fast but big implementation to slower but
smaller implementations suitable especially for embedded applications.
%prep
%setup -q
%install
install -m755 -D %name.py %buildroot%_bindir/%name
install -m644 -D doc/%name.1 %buildroot%_man1dir/%name.1
mkdir -p %buildroot%python_sitelibdir/
install -m644 crc*.py %buildroot%python_sitelibdir/
%files
%doc doc/pycrc.html ChangeLog README COPYING
%_bindir/%name
%_man1dir/*
%python_sitelibdir/crc*
%changelog
…
Full changelog you can see here
Version: 0.6.6
Release: alt2
Summary: A parametrizable Cyclic Redundancy Check (CRC) calculation utility and C source code generator written in Python
Url: http://www.tty1.net/pycrc/
License: BSD like
Group: Development/Python
BuildArch: noarch
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://prdownloads.sf.net/%name/%name-%version.tar.bz2
%description
Pycrc provides a CRC reference implementation in Python and a source
code generator for C. The used CRC variant can be chosen from a fast
but space-consuming implementation to slower but smaller implementations
suitable especially for embedded applications. The following functions
are implemented:
* generate the checksum of a string
* generate the C header and source files for a client implementation. The
algorithm can be chosen from fast but big implementation to slower but
smaller implementations suitable especially for embedded applications.
%prep
%setup -q
%install
install -m755 -D %name.py %buildroot%_bindir/%name
install -m644 -D doc/%name.1 %buildroot%_man1dir/%name.1
mkdir -p %buildroot%python_sitelibdir/
install -m644 crc*.py %buildroot%python_sitelibdir/
%files
%doc doc/pycrc.html ChangeLog README COPYING
%_bindir/%name
%_man1dir/*
%python_sitelibdir/crc*
%changelog
…
Full changelog you can see here