]> git.pld-linux.org Git - packages/python-pyicu.git/blame - python-pyicu.spec
- updated to 1.3
[packages/python-pyicu.git] / python-pyicu.spec
CommitLineData
01cab8ba
JB
1Summary: PyICU - Python extension wrapping IBM's ICU C++ API
2Summary(pl.UTF-8): PyICU - rozszerzenie Pythona obudowujące API C++ biblioteki ICU firmy IBM
3Name: python-pyicu
4Version: 1.3
a93023ce 5Release: 1
01cab8ba 6License: MIT-like
bf26a09a 7Group: Development/Languages/Python
a64306b6 8Source0: http://pypi.python.org/packages/source/P/PyICU/PyICU-%{version}.tar.gz
01cab8ba
JB
9# Source0-md5: c1d1b8ec79d0f6c670a8f093792c180f
10URL: http://pyicu.osafoundation.org/
a64306b6
ER
11BuildRequires: libicu-devel >= 3.6
12BuildRequires: libstdc++-devel
13BuildRequires: python-devel >= 1:2.3
2a710a52 14BuildRequires: python-modules
15BuildRequires: rpm-pythonprov
a64306b6 16BuildRequires: rpmbuild(macros) >= 1.219
a64306b6
ER
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
01cab8ba
JB
20PyICU is a Python extension wrapping IBM's ICU C++ API.
21
22%description -l pl.UTF-8
23PyICU to rozszerzenie Pythona obudowujące API C++ biblioteki ICU firmy
24IBM.
a64306b6
ER
25
26%prep
27%setup -q -n PyICU-%{version}
28
29%build
30CC="%{__cc}" \
31CFLAGS="%{rpmcflags}" \
32%{__python} setup.py build
33
34%install
35rm -rf $RPM_BUILD_ROOT
36%{__python} setup.py install \
37 --skip-build \
38 --optimize=2 \
39 --root=$RPM_BUILD_ROOT
40
41%py_postclean
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(644,root,root,755)
48%doc CHANGES CREDITS LICENSE README
a64306b6 49%{py_sitedir}/PyICU.py[co]
bf26a09a
ER
50%{py_sitedir}/docs.py[co]
51%{py_sitedir}/icu.py[co]
52%attr(755,root,root) %{py_sitedir}/_icu.so
a64306b6 53%if "%{py_ver}" > "2.4"
01cab8ba 54%{py_sitedir}/PyICU-%{version}-py*.egg-info
a64306b6 55%endif
This page took 0.070696 seconds and 4 git commands to generate.