%include /usr/lib/rpm/macros.python
-%define module egenix-mx-base
-%define mxdir %{py_sitedir}/mx
+%define module egenix-mx-base
+%define mxdir %{py_sitedir}/mx
Summary: eGenix mx-Extensions for Python
Summary(pl): eGenix mx-Extensions dla jêzyka Python
Name: python-%{module}
-Version: 2.0.3
+Version: 2.0.4
Release: 1
License: distributable
-Group: Development/Languages/Python
-Group(de): Entwicklung/Sprachen/Python
-Group(es): Desarrollo/Lenguages/Python
-Group(fr): Development/Langues/Python
-Group(pl): Programowanie/Jêzyki/Python
+Group: Libraries/Python
Source0: http://www.lemburg.com/python/%{module}-%{version}.tar.gz
URL: http://www.lemburg.com/python/eGenix-mx-Extensions.html
-BuildRequires: python-devel >= 2.2
-BuildRequires: python-modules >= 2.2
+BuildRequires: python-devel >= 2.2.1
+BuildRequires: python-modules >= 2.2.1
BuildRequires: rpm-pythonprov
-%requires_eq python
+%pyrequires_eq python
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%package -n python-mx-DateTime
Summary: Date and time Python extension
Summary(pl): Obiekty daty i czasu dla jêzyka Python
-Group: Development/Languages/Python
-Group(de): Entwicklung/Sprachen/Python
-Group(es): Desarrollo/Lenguages/Python
-Group(fr): Development/Langues/Python
-Group(pl): Programowanie/Jêzyki/Python
-%requires_eq python
+Group: Libraries/Python
+%pyrequires_eq python
Requires: python-%{module} = %{version}
%description -n python-mx-DateTime
which often have to deal with date/time values (the mxODBC package is
one example of an extension using this interface).
-%description -l pl -n python-mx-DateTime
+%description -n python-mx-DateTime -l pl
mxDateTime jest pakietem modu³ów, które definiuj± trzy nowe klasy -
DateTime, DateTimeDelta oraz RelativeDateTime. Umo¿liwiaj± one
przechowywanie oraz operowanie na dacie i czasie w bardziej naturalny
interesuj±ca w przypadku aplikacji bazodanowych, które operuj± na
dacie i czasie.
+%package -n python-mx-DateTime-devel
+Summary: Headers for date and time Python extension
+Summary(pl): Nag³ówki modu³ów daty i czasu
+Group: Libraries/Python
+Requires: python-mx-DateTime = %{version}
+
+%description -n python-mx-DateTime-devel
+Headers for date and time Python extension.
+
+%description -n python-mx-DateTime-devel -l pl
+Nag³ówki dla modu³ów daty i czasu.
+
%package -n python-mx-TextTools
Summary: Efficient text manipulation extensions for Python
Summary(pl): Wydajne manipulowanie tekstem w jêzyku Python
-Group: Development/Languages/Python
-Group(de): Entwicklung/Sprachen/Python
-Group(es): Desarrollo/Lenguages/Python
-Group(fr): Development/Langues/Python
-Group(pl): Programowanie/Jêzyki/Python
-%requires_eq python
+Group: Libraries/Python
+%pyrequires_eq python
Requires: python-%{module} = %{version}
%description -n python-mx-TextTools
text (either exact or using translation tables) and recombining
strings to form new text.
-%description -l pl -n python-mx-TextTools
+%description -n python-mx-TextTools -l pl
Pakiet mxTextTools dostarcza szereg u¿ytecznych typów i funkcji, które
implementuj± wysokiej jako¶ci algorytmy do wyszukiwania i manipulacji
tekstu. Programista dostaje wydajne (na poziomie kodu napisanego w
%package -n python-mx-Stack
Summary: Stack implementation for Python
Summary(pl): Implementacja stosu dla jêzyka Python
-Group: Development/Languages/Python
-Group(de): Entwicklung/Sprachen/Python
-Group(es): Desarrollo/Lenguages/Python
-Group(fr): Development/Langues/Python
-Group(pl): Programowanie/Jêzyki/Python
-%requires_eq python
+Group: Libraries/Python
+%pyrequires_eq python
Requires: python-%{module} = %{version}
%description -n python-mx-Stack
having .push() and .pop() methods and focusses on obtaining maximum
speed at low memory costs.
-%description -l pl -n python-mx-Stack
+%description -n python-mx-Stack -l pl
Pakiet mxStack zawiera implementacjê stosu, która zawiera typowe
metody takie jak pop() czy push(). Mechanizm zosta³ napisany tak by,
przy minimalnym zu¿yciu pamiêci, by³ bardzo wydajny.
%package -n python-mx-Queue
Summary: Queue implementation for Python
Summary(pl): Implementacja kolejki dla jêzyka Python
-Group: Development/Languages/Python
-Group(de): Entwicklung/Sprachen/Python
-Group(es): Desarrollo/Lenguages/Python
-Group(fr): Development/Langues/Python
-Group(pl): Programowanie/Jêzyki/Python
-%requires_eq python
+Group: Libraries/Python
+%pyrequires_eq python
Requires: python-%{module} = %{version}
%description -n python-mx-Queue
having .push() and .pop() methods and focusses on obtaining maximum
speed at low memory costs.
-%description -l pl -n python-mx-Queue
+%description -n python-mx-Queue -l pl
Pakiet mxQueue zawiera implementacjê kolejki, która zawiera typowe
metody takie jak pop() czy push(). Mechanizm zosta³ napisany tak by,
przy minimalnym zu¿yciu pamiêci, by³ bardzo wydajny.
%package -n python-mx-Tools
Summary: Some handy functions and objects which provides new builtins for Python
Summary(pl): Kilka u¿ytecznych klas i funkcji w postaci wew. mechanizmów Pythona
-Group: Development/Languages/Python
-Group(de): Entwicklung/Sprachen/Python
-Group(es): Desarrollo/Lenguages/Python
-Group(fr): Development/Langues/Python
-Group(pl): Programowanie/Jêzyki/Python
-%requires_eq python
+Group: Libraries/Python
+%pyrequires_eq python
Requires: python-%{module} = %{version}
%description -n python-mx-Tools
be available to all users at your site as if they were installed in
the Python interpreter itself.
-%description -l pl -n python-mx-Tools
+%description -n python-mx-Tools -l pl
Pakiet mxTools zawiera kilka u¿ytecznych klas i funkcji, które daj±
wiêcej mo¿liwo¶ci programi¶cie, w postaci wewnêtrznych mechanizmów
jêzyka Python.
%package -n python-mx-Proxy
Summary: Support for Bastion like implementations for Python
Summary(pl): Wsparcie dla implementacji typu Bastion dla jêzyka Python
-Group: Development/Languages/Python
-Group(de): Entwicklung/Sprachen/Python
-Group(es): Desarrollo/Lenguages/Python
-Group(fr): Development/Langues/Python
-Group(pl): Programowanie/Jêzyki/Python
-%requires_eq python
+Group: Libraries/Python
+%pyrequires_eq python
Requires: python-%{module} = %{version}
%description -n python-mx-Proxy
references which help you work with circular references in a way that
doesn't cause memory leakage in a Python system.
-%description -l pl -n python-mx-Proxy
+%description -n python-mx-Proxy -l pl
Pakiet mxProxy dostarcza nowe klasy, które implementuj± funkcjonalno¶æ
typu Bastion bez potrzeby ograniczania ¶rodowiska, w którym jest
wykonywana aplikacja.
%package -n python-mx-BeeBase
Summary: High performance construction kit for disk based indexed databases (B+Tree)
Summary(pl): Wysokiej jako¶ci pakiet do tworzenia indeksowanych baz danych (B+Tree)
-Group: Development/Languages/Python
-Group(de): Entwicklung/Sprachen/Python
-Group(es): Desarrollo/Lenguages/Python
-Group(fr): Development/Langues/Python
-Group(pl): Programowanie/Jêzyki/Python
-%requires_eq python
+Group: Libraries/Python
+%pyrequires_eq python
Requires: python-%{module} = %{version}
%description -n python-mx-BeeBase
optimized B+Tree implementation built on top of Thomas Niemann's
Cookbook B+Tree implementation.
-%description -l pl -n python-mx-BeeBase
+%description -n python-mx-BeeBase -l pl
mxBeeBase jest wysokiej jako¶ci pakietem do tworzenia indeksowanych
baz danych. Zawiera komponenty, które mo¿na razem ³±czyæ w celu
zbudowania w³asnej bazy. Obecny limit ilo¶ci danych wynosi 2GB (max.
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT
-gzip -9nf README mx/LICENSE mx/COPYRIGHT
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz mx/*.gz mx/Doc/mxLicense.html
+%doc README mx/LICENSE mx/COPYRIGHT mx/Doc/mxLicense.html
%dir %{mxdir}
%{mxdir}/*.py[co]
%{mxdir}/DateTime/mxDateTime/*.py[co]
%attr(755,root,root) %{mxdir}/DateTime/mxDateTime/*.so
+%files -n python-mx-DateTime-devel
+%defattr(644,root,root,755)
+%dir %{mxdir}/DateTime/mxDateTime
+%{mxdir}/DateTime/mxDateTime/*.h
+
%files -n python-mx-TextTools
%defattr(644,root,root,755)
%doc mx/TextTools/Doc/*.html