~ubuntu-branches/ubuntu/wily/python-lzma/wily

« back to all changes in this revision

Viewing changes to python-liblzma.spec

  • Committer: Bazaar Package Importer
  • Author(s): Richard Darst
  • Date: 2009-11-30 13:00:45 UTC
  • Revision ID: james.westby@ubuntu.com-20091130130045-nv5p4e6xsv6zzegm
Tags: upstream-0.5.2
Import upstream version 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%define oname   pyliblzma
 
2
%define module  liblzma
 
3
 
 
4
Summary:        Python bindings for liblzma
 
5
Name:           python-%{module}
 
6
Version:        0.3
 
7
Release:        %mkrel 1
 
8
License:        LGPLv3+
 
9
Group:          Development/Python
 
10
Url:            http://lzmautils.sourceforge.net/
 
11
Source0:        %{oname}-%{version}.tar.lzma
 
12
%py_requires -d
 
13
BuildRequires:  liblzma-devel python-setuptools
 
14
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
15
 
 
16
%description
 
17
PylibLZMA provides a python interface for the liblzma library
 
18
to read and write data that has been compressed or can be decompressed
 
19
by Lasse Collin's lzma utils.
 
20
 
 
21
%prep
 
22
%setup -qn %{oname}-%{version}
 
23
 
 
24
%build
 
25
python setup.py build
 
26
 
 
27
%check
 
28
python setup.py test
 
29
 
 
30
%install
 
31
rm -rf %{buildroot}
 
32
python setup.py install --root=%{buildroot}
 
33
 
 
34
%clean
 
35
rm -rf %{buildroot}
 
36
 
 
37
%files
 
38
%defattr(-,root,root)
 
39
%doc README THANKS
 
40
%{python_sitearch}/%{module}.so
 
41
%{python_sitearch}/%{oname}*.egg-info
 
42
 
 
43
%changelog
 
44
* Mon May 19 2008 Per Øyvind Karlsen <peroyvind@mandriva.org> 0.3-1
 
45
- initial release