# # spec file for package python-vatnumber # # Copyright (c) 2014 STOPKA Consulting s.r.o., Ostrava, Czech Republic # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define modname vatnumber %define skip_python2 1 Name: python-%{modname} Version: 1.2 Release: 2.3 License: GNU GPL v3 Summary: Python module to validate VAT numbers Url: http://code.google.com/p/vatnumber/ Group: Development/Libraries/Python Source: %{modname}-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module python-stdnum} Requires: python-python-stdnum Requires: python-suds BuildArch: noarch %python_subpackages %description A symmetric library for transparent RPC, clustering and distributed computing for python, built around the concept of remote services and object proxying. %prep %setup -q -n %{modname}-%{version} %build %python_build %install %python_install %fdupes %{buildroot}%{_prefix} %clean rm -rf %{buildroot} %files %{python_files} %defattr(-,root,root) %doc README %{python_sitearch}/* %changelog * Fri Mar 07 2014 - Marek Stopka - 1.1 - New package created