]> git.pld-linux.org Git - packages/python-papyon.git/blame - python-papyon.spec
- updated URLs
[packages/python-papyon.git] / python-papyon.spec
CommitLineData
617974ef
ER
1#
2# Conditional build:
3%bcond_with tests # perform "make test". needs live-id
4
5ee3ad9f
ER
5%define module papyon
6Summary: An implementation of the MSN Messenger Protocol
5bc2af80 7Summary(pl.UTF-8): Implementacja protokołu komunikatora MSN
5ee3ad9f 8Name: python-%{module}
617974ef 9Version: 0.5.6
e5f940ba 10Release: 3
5ee3ad9f
ER
11License: GPL v2+
12Group: Development/Languages/Python
d2b8ff7b 13Source0: https://www.freedesktop.org/software/papyon/releases/papyon-%{version}.tar.gz
617974ef 14# Source0-md5: 7b9a723e5ba6ee82a9c391676144ad29
6bf499a5 15Patch0: %{name}-farstream.patch
d2b8ff7b 16URL: https://www.freedesktop.org/wiki/Software/papyon/
5ee3ad9f 17BuildRequires: python >= 1:2.5
7b5c96e2 18BuildRequires: python-Crypto
5bc2af80 19BuildRequires: python-devel >= 1:2.5
5ee3ad9f 20BuildRequires: python-pyOpenSSL
541172f6 21BuildRequires: python-pygobject
5ee3ad9f 22BuildRequires: rpm-pythonprov
d2b8ff7b 23BuildRequires: rpmbuild(macros) >= 1.714
617974ef 24Requires: python-Crypto >= 2.0.0
6bf499a5 25Requires: python-farstream
5bc2af80 26Requires: python-libs >= 1:2.5
617974ef
ER
27Requires: python-pyOpenSSL >= 0.6
28Requires: python-pygobject >= 2.10.1
5ee3ad9f
ER
29BuildArch: noarch
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33papyon is a library, written in Python, for accessing the MSN instant
34messaging service.
35
5bc2af80
JB
36%description -l pl.UTF-8
37papyon to napisana w Pythona biblioteka pozwalająca na dostęp do
38usługi komunikatora MSN.
39
5ee3ad9f 40%prep
77e7b324 41%setup -q -n %{module}-%{version}
6bf499a5 42%patch0 -p1
5ee3ad9f
ER
43
44%build
3bc47425 45%py_build
5ee3ad9f 46
617974ef
ER
47%{?with_tests:%{__python} test.py}
48
5ee3ad9f
ER
49%install
50rm -rf $RPM_BUILD_ROOT
d2b8ff7b 51
3bc47425 52%py_install
5ee3ad9f
ER
53
54%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
55%py_comp $RPM_BUILD_ROOT%{py_sitedir}
56%py_postclean
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
63%doc AUTHORS NEWS README doc/user-api.conf
64%{py_sitescriptdir}/papyon
5ee3ad9f 65%{py_sitescriptdir}/papyon-*.egg-info
This page took 0.098077 seconds and 4 git commands to generate.