Summary(pl.UTF-8): eGenix mx-Extensions dla języka Python
Name: python-%{module}
Version: 3.1.1
-Release: 1
+Release: 5
License: distributable
Group: Libraries/Python
#Source0Download: http://www.egenix.com/files/python/eGenix-mx-Extensions.html
Source0: http://www.egenix.com/files/python/%{module}-%{version}.tar.gz
# Source0-md5: d0f3b1adca33a68867bf50f000060cd6
URL: http://www.egenix.com/files/python/eGenix-mx-Extensions.html
-BuildRequires: python-devel >= 2.5.0
+BuildRequires: rpmbuild(macros) >= 1.710
+BuildRequires: python-devel >= 1:2.5
BuildRequires: rpm-pythonprov
%pyrequires_eq python-libs
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%package -n python-mx-UID
Summary: Fast Unique Identifiers for Python
-Summary(pl.UTF-8): Szybkie Unikalne Identyfikatory dla Pythona
+Summary(pl.UTF-8): Szybkie unikalne identyfikatory (UID) dla Pythona
Group: Libraries/Python
Requires: %{name} = %{version}-%{release}
values as well as a few helpers related to URL building, encoding and
decoding.
-%description -n python-mx-Stack -l pl.UTF-8
+%description -n python-mx-URL -l pl.UTF-8
Pakiet URL dostarcza nowy typ danych do przechowywania i manipulowania
wartościami URL jak również kilka pomocniczych elementów służących do
tworzenia, kodowania i dekodowania adresów URL.
%setup -q -n %{module}-%{version}
%build
-env CFLAGS="%{rpmcflags}" python setup.py build
+env CFLAGS="%{rpmcflags}" %py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{py_incdir}/mx
-python setup.py install \
- --root=$RPM_BUILD_ROOT \
+%py_install \
--install-purelib=%{py_sitedir}
find $RPM_BUILD_ROOT%{py_sitedir} -name \*.h \