File: pure-sasl.spec

package info (click to toggle)
python-pure-sasl 0.5.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 156 kB
  • sloc: python: 772; makefile: 34
file content (40 lines) | stat: -rw-r--r-- 1,019 bytes parent folder | download | duplicates (2)
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
%define modname pure-sasl
%define version 0.5.1
%define unmangled_version 0.5.1
%define release 1
%{!?python: %define python python26}

Summary: Pure Python client SASL implementation
Name: %{python}-%{modname}
Version: %{version}
Release: %{release}
Source0: %{modname}-%{unmangled_version}.tar.gz
License: MIT
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Tyler Hobbs <tylerlhobbs@gmail.com>
Url: http://github.com/thobbs/pure-sasl

%description
This package provides a reasonably high-level SASL client written
in pure Python.  New mechanisms may be integrated easily, but by default,
support for PLAIN, ANONYMOUS, CRAM-MD5, and GSSAPI are
provided.

%prep
%setup -n %{modname}-%{unmangled_version}

%build
%{python} setup.py build

%install
%{python} setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README.rst LICENSE