]> git.pld-linux.org Git - packages/python-unicodecsv.git/blame - python-unicodecsv.spec
- release 2 (by relup.sh)
[packages/python-unicodecsv.git] / python-unicodecsv.spec
CommitLineData
2fc0ea13 1#
2# Conditional build:
edf4257f 3%bcond_with tests # do perform "make test" (broken, will download dependecies)
2fc0ea13 4
5%define module unicodecsv
6Summary: Replacement for csv module which supports unicode strings without a hassle
7Name: python-%{module}
edf4257f 8Version: 0.14.0
eed6280c 9Release: 2
edf4257f 10License: BSD
2fc0ea13 11Group: Development/Languages/Python
12Source0: http://pypi.python.org/packages/source/u/unicodecsv/%{module}-%{version}.tar.gz
edf4257f
JK
13# Source0-md5: ae2aaff1c2de7b15c741ac394f75a429
14URL: https://github.com/jdunck/python-unicodecsv
15BuildRequires: python-setuptools
ee2beaa5 16BuildRequires: rpmbuild(macros) >= 1.710
edf4257f
JK
17BuildRequires: rpm-pythonprov
18Requires: python-modules
2fc0ea13 19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23The unicodecsv is a drop-in replacement for Python 2's csv module
24which supports unicode strings without a hassle.
25
26%prep
27%setup -q -n %{module}-%{version}
28
29%build
edf4257f 30%py_build %{?with_tests:test}
2fc0ea13 31
32%install
33rm -rf $RPM_BUILD_ROOT
2fc0ea13 34
edf4257f 35%py_install
2fc0ea13 36
2fc0ea13 37%py_postclean
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%files
43%defattr(644,root,root,755)
edf4257f 44%doc README.rst
2fc0ea13 45%dir %{py_sitescriptdir}/%{module}
46%{py_sitescriptdir}/%{module}/*.py[co]
2fc0ea13 47%{py_sitescriptdir}/%{module}-*.egg-info
This page took 0.062051 seconds and 4 git commands to generate.