File: python-liblzma.spec

package info (click to toggle)
python-lzma 0.5.3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 420 kB
  • ctags: 300
  • sloc: ansic: 2,920; python: 550; makefile: 21
file content (45 lines) | stat: -rw-r--r-- 982 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
%define	oname	pyliblzma
%define	module	liblzma

Summary:	Python bindings for liblzma
Name:		python-%{module}
Version:	0.3
Release:	%mkrel 1
License:	LGPLv3+
Group:		Development/Python
Url:		http://lzmautils.sourceforge.net/
Source0:	%{oname}-%{version}.tar.lzma
%py_requires -d
BuildRequires:	liblzma-devel python-setuptools
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
PylibLZMA provides a python interface for the liblzma library
to read and write data that has been compressed or can be decompressed
by Lasse Collin's lzma utils.

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

%build
python setup.py build

%check
python setup.py test

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

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README THANKS
%{python_sitearch}/%{module}.so
%{python_sitearch}/%{oname}*.egg-info

%changelog
* Mon May 19 2008 Per Øyvind Karlsen <peroyvind@mandriva.org> 0.3-1
- initial release