]> git.pld-linux.org Git - packages/python-egenix-mx-base.git/commitdiff
- updated to 2.0.6 AC-branch AC-STABLE auto/ac/python-egenix-mx-base-2_0_6-1 auto/th/python-egenix-mx-base-2_0_6-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 16 Nov 2005 13:25:39 +0000 (13:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- sorted subpackages, cleanups

Changed files:
    python-egenix-mx-base.spec -> 1.45

python-egenix-mx-base.spec

index 3a48db865a71617b675b1af7554f71e5a43d3e85..47a43978dae8f15644d5c80346f9a649f33f7087 100644 (file)
@@ -6,17 +6,17 @@
 Summary:       eGenix mx-Extensions for Python
 Summary(pl):   eGenix mx-Extensions dla jêzyka Python
 Name:          python-%{module}
-Version:       2.0.5
-Release:       9
+Version:       2.0.6
+Release:       1
 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: a793a8fd2d5f646a2fb683d2d967a16b
+# Source0-md5: 66841151728a06f92d0b8dd2ed317a29
 URL:           http://www.egenix.com/files/python/eGenix-mx-Extensions.html
 BuildRequires: python-devel >= 2.2.2
 BuildRequires: rpm-pythonprov
-%pyrequires_eq python
+%pyrequires_eq python-libs
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,6 +38,7 @@ Ten pakiet zawiera podstawowe modu
 Summary:       Basic header files for eGenix extensions
 Summary(pl):   Podstawowe pliki nag³ówkowe dla rozszerzeñ eGenix
 Group:         Development/Languages/Python
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
 Basic header files for eGenix extensions.
@@ -45,12 +46,44 @@ Basic header files for eGenix extensions.
 %description devel -l pl
 Podstawowe pliki nag³ówkowe dla rozszerzeñ eGenix.
 
+%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:         Libraries/Python
+Requires:      %{name} = %{version}-%{release}
+
+%description -n python-mx-BeeBase
+mxBeeBase is a high performance construction kit for disk based
+indexed databases. It offers components which you can plug together to
+easily build your own custom mid-sized databases (the current size
+limit is sizeof(long) which gives you an address range of around 2GB
+on 32-bit platforms).
+
+The two basic building blocks in mxBeeBase are storage and index.
+Storage is implemented as variable record length data storage with
+integrated data protection features, automatic data recovery and
+locking for multi process access. Indexes use a high performance
+optimized B+Tree implementation built on top of Thomas Niemann's
+Cookbook B+Tree implementation.
+
+%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.
+warto¶æ liczby ca³kowitej typu long na platformach 32 bitowych).
+
+Dwoma podstawowymi komponentami w tym pakiecie s± indeksy oraz
+rekordy. Rekord mo¿e byæ zmiennej d³ugo¶ci i zawiera mechanizmy
+ochrony, automatycznego odzyskiwania, blokowania, a tak¿e
+wieloprocesowego dostêpu do danych. Do indeksowania s± u¿ywane bardzo
+wydajne B-drzewa zaimplementowane na podstawie Cookbook B+Tree Thomasa
+Newmanna.
+
 %package -n python-mx-DateTime
 Summary:       Date and time Python extension
 Summary(pl):   Obiekty daty i czasu dla jêzyka Python
 Group:         Libraries/Python
-%pyrequires_eq python
-Requires:      python-%{module} = %{version}-%{release}
+Requires:      %{name} = %{version}-%{release}
 
 %description -n python-mx-DateTime
 mxDateTime is an extension package that provides three new object
@@ -91,23 +124,91 @@ interesuj
 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
+Summary:       Header file for DateTime Python extension
+Summary(pl):   Plik nag³ówkowy rozszerzenia DateTime dla Pythona
 Group:         Development/Languages/Python
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description -n python-mx-DateTime-devel
-Headers for date and time Python extension.
+Header file for DateTime Python extension.
 
 %description -n python-mx-DateTime-devel -l pl
-Nag³ówki dla modu³ów daty i czasu.
+Plik nag³ówkowy rozszerzenia DateTime dla Pythona.
+
+%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:         Libraries/Python
+Requires:      %{name} = %{version}-%{release}
+
+%description -n python-mx-Proxy
+mxProxy is an extension package that provides a new type that is
+suitable to implement Bastion like features without the need to use
+restricted execution environments.
+
+The type's main features are secure data encapsulation (the hidden
+objects are not accessible from Python since they are stored in
+internal C structures), customizable attribute lookup methods and a
+cleanup protocol that helps in breaking circular references prior to
+object deletion.
+
+The latest version adds a very interesting new feature: weak
+references which help you work with circular references in a way that
+doesn't cause memory leakage in a Python system.
+
+%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.
+
+Podstawowymi zaletami s±: bezpieczne obudowywanie danych (ukryte
+obiekty nie s± dostêpne z poziomu Pythona, poniewa¿ s± one
+przechowywane w wewnêtrznych strukturach jêzyka C), konfigurowalne
+metody do pobierania warto¶ci atrybutów oraz protokó³, który pomaga w
+rozbijaniu zapêtlonych referencji podczas usuwania obiektów.
+
+Ostatnia wersja pakietu implementuje tzw. s³abe referencje, które nie
+powoduj± wycieków pamiêci w przypadku referencji zapêtlonych.
+
+%package -n python-mx-Queue
+Summary:       Queue implementation for Python
+Summary(pl):   Implementacja kolejki dla jêzyka Python
+Group:         Libraries/Python
+Requires:      %{name} = %{version}-%{release}
+
+%description -n python-mx-Queue
+mxQueue is an extension package that provides a new object type called
+Queue. It works much like what you would expect from such a type,
+having .push() and .pop() methods and focusses on obtaining maximum
+speed at low memory costs.
+
+%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-Stack
+Summary:       Stack implementation for Python
+Summary(pl):   Implementacja stosu dla jêzyka Python
+Group:         Libraries/Python
+Requires:      %{name} = %{version}-%{release}
+
+%description -n python-mx-Stack
+mxStack is an extension package that provides a new object type called
+Stack. It works much like what you would expect from such a type,
+having .push() and .pop() methods and focusses on obtaining maximum
+speed at low memory costs.
+
+%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-TextTools
 Summary:       Efficient text manipulation extensions for Python
 Summary(pl):   Wydajne manipulowanie tekstem w jêzyku Python
 Group:         Libraries/Python
-%pyrequires_eq python
-Requires:      python-%{module} = %{version}-%{release}
+Requires:      %{name} = %{version}-%{release}
 
 %description -n python-mx-TextTools
 mxTextTools is an extension package for Python that provides several
@@ -134,48 +235,11 @@ Pakiet mo
 tekst zadany w konkretnym formacie, a tak¿e wyszukiwaæ, pobieraæ i
 manipulowaæ tekstem.
 
-%package -n python-mx-Stack
-Summary:       Stack implementation for Python
-Summary(pl):   Implementacja stosu dla jêzyka Python
-Group:         Libraries/Python
-%pyrequires_eq python
-Requires:      python-%{module} = %{version}-%{release}
-
-%description -n python-mx-Stack
-mxStack is an extension package that provides a new object type called
-Stack. It works much like what you would expect from such a type,
-having .push() and .pop() methods and focusses on obtaining maximum
-speed at low memory costs.
-
-%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:         Libraries/Python
-%pyrequires_eq python
-Requires:      python-%{module} = %{version}-%{release}
-
-%description -n python-mx-Queue
-mxQueue is an extension package that provides a new object type called
-Queue. It works much like what you would expect from such a type,
-having .push() and .pop() methods and focusses on obtaining maximum
-speed at low memory costs.
-
-%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:         Libraries/Python
-%pyrequires_eq python
-Requires:      python-%{module} = %{version}-%{release}
+Requires:      %{name} = %{version}-%{release}
 
 %description -n python-mx-Tools
 mxTools is an extension package that includes a collection of handy
@@ -202,76 +266,6 @@ odpowiedniego skryptu (site.py) i zdefiniowane funkcje oraz klasy b
 widoczne dla wszystkich u¿ytkowników tak, jak by by³y wbudowane w
 jêzyk 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:         Libraries/Python
-%pyrequires_eq python
-Requires:      python-%{module} = %{version}-%{release}
-
-%description -n python-mx-Proxy
-mxProxy is an extension package that provides a new type that is
-suitable to implement Bastion like features without the need to use
-restricted execution environments.
-
-The type's main features are secure data encapsulation (the hidden
-objects are not accessible from Python since they are stored in
-internal C structures), customizable attribute lookup methods and a
-cleanup protocol that helps in breaking circular references prior to
-object deletion.
-
-The latest version adds a very interesting new feature: weak
-references which help you work with circular references in a way that
-doesn't cause memory leakage in a Python system.
-
-%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.
-
-Podstawowymi zaletami s±: bezpieczne obudowywanie danych (ukryte
-obiekty nie s± dostêpne z poziomu Pythona, poniewa¿ s± one
-przechowywane w wewnêtrznych strukturach jêzyka C), konfigurowalne
-metody do pobierania warto¶ci atrybutów oraz protokó³, który pomaga w
-rozbijaniu zapêtlonych referencji podczas usuwania obiektów.
-
-Ostatnia wersja pakietu implementuje tzw. s³abe referencje, które nie
-powoduj± wycieków pamiêci w przypadku referencji zapêtlonych.
-
-%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:         Libraries/Python
-%pyrequires_eq python
-Requires:      python-%{module} = %{version}-%{release}
-
-%description -n python-mx-BeeBase
-mxBeeBase is a high performance construction kit for disk based
-indexed databases. It offers components which you can plug together to
-easily build your own custom mid-sized databases (the current size
-limit is sizeof(long) which gives you an address range of around 2GB
-on 32-bit platforms).
-
-The two basic building blocks in mxBeeBase are storage and index.
-Storage is implemented as variable record length data storage with
-integrated data protection features, automatic data recovery and
-locking for multi process access. Indexes use a high performance
-optimized B+Tree implementation built on top of Thomas Niemann's
-Cookbook B+Tree implementation.
-
-%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.
-warto¶æ liczby ca³kowitej typu long na platformach 32 bitowych).
-
-Dwoma podstawowymi komponentami w tym pakiecie s± indeksy oraz
-rekordy. Rekord mo¿e byæ zmiennej d³ugo¶ci i zawiera mechanizmy
-ochrony, automatycznego odzyskiwania, blokowania, a tak¿e
-wieloprocesowego dostêpu do danych. Do indeksowania s± u¿ywane bardzo
-wydajne B-drzewa zaimplementowane na podstawie Cookbook B+Tree Thomasa
-Newmanna.
-
 %prep
 %setup -q -n %{module}-%{version}
 
@@ -287,6 +281,7 @@ python setup.py install \
 
 find $RPM_BUILD_ROOT%{py_sitedir} -name \*.h \
        -exec mv {} $RPM_BUILD_ROOT%{py_incdir}/mx \;
+find $RPM_BUILD_ROOT%{py_sitedir} -name '*.py' -o -regex '.*/\(COPYRIGHT\|LICENSE\|README\|Doc\|Examples\)' | xargs rm -rf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -297,7 +292,6 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{mxdir}
 %dir %{py_incdir}/mx
 %{mxdir}/*.py[co]
-
 %dir %{mxdir}/Misc
 %{mxdir}/Misc/*.py[co]
 
@@ -305,12 +299,25 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{py_incdir}/mx/mxh.h
 
+%files -n python-mx-BeeBase
+%defattr(644,root,root,755)
+# this COPYRIGHT differs from others
+%doc mx/BeeBase/Doc/*.html mx/BeeBase/COPYRIGHT
+%dir %{mxdir}/BeeBase
+%{mxdir}/BeeBase/*.py[co]
+%dir %{mxdir}/BeeBase/mxBeeBase
+%{mxdir}/BeeBase/mxBeeBase/*.py[co]
+%attr(755,root,root) %{mxdir}/BeeBase/mxBeeBase/*.so
+
+# -devel if needed
+#%{py_incdir}/mx/btr.h
+#%{py_incdir}/mx/mxBeeBase.h
+
 %files -n python-mx-DateTime
 %defattr(644,root,root,755)
 %doc mx/DateTime/Doc/*.html
 %dir %{mxdir}/DateTime
 %{mxdir}/DateTime/*.py[co]
-
 %dir %{mxdir}/DateTime/mxDateTime
 %{mxdir}/DateTime/mxDateTime/*.py[co]
 %attr(755,root,root) %{mxdir}/DateTime/mxDateTime/*.so
@@ -319,65 +326,63 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{py_incdir}/mx/mxDateTime.h
 
-%files -n python-mx-TextTools
+%files -n python-mx-Proxy
 %defattr(644,root,root,755)
-%doc mx/TextTools/Doc/*.html
-%dir %{mxdir}/TextTools
-%{mxdir}/TextTools/*.py[co]
+%doc mx/Proxy/Doc/*.html
+%dir %{mxdir}/Proxy
+%{mxdir}/Proxy/*.py[co]
+%dir %{mxdir}/Proxy/mxProxy
+%{mxdir}/Proxy/mxProxy/*.py[co]
+%attr(755,root,root) %{mxdir}/Proxy/mxProxy/*.so
 
-%dir %{mxdir}/TextTools/mxTextTools
-%{mxdir}/TextTools/mxTextTools/*.py[co]
-%attr(755,root,root) %{mxdir}/TextTools/mxTextTools/*.so
+# -devel if needed
+#%{py_incdir}/mx/mxProxy.h
 
-%dir %{mxdir}/TextTools/Constants
-%{mxdir}/TextTools/Constants/*.py[co]
+%files -n python-mx-Queue
+%defattr(644,root,root,755)
+%doc mx/Queue/Doc/*.html
+%dir %{mxdir}/Queue
+%{mxdir}/Queue/*.py[co]
+%dir %{mxdir}/Queue/mxQueue
+%{mxdir}/Queue/mxQueue/*.py[co]
+%attr(755,root,root) %{mxdir}/Queue/mxQueue/*.so
+
+# -devel if needed
+#%{py_incdir}/mx/mxQueue.h
 
 %files -n python-mx-Stack
 %defattr(644,root,root,755)
 %doc mx/Stack/Doc/*.html
 %dir %{mxdir}/Stack
 %{mxdir}/Stack/*.py[co]
-
 %dir %{mxdir}/Stack/mxStack
 %{mxdir}/Stack/mxStack/*.py[co]
 %attr(755,root,root) %{mxdir}/Stack/mxStack/*.so
 
-%files -n python-mx-Queue
+%files -n python-mx-TextTools
 %defattr(644,root,root,755)
-%doc mx/Queue/Doc/*.html
-%dir %{mxdir}/Queue
-%{mxdir}/Queue/*.py[co]
+%doc mx/TextTools/Doc/*.html
+%dir %{mxdir}/TextTools
+%{mxdir}/TextTools/*.py[co]
+%dir %{mxdir}/TextTools/mxTextTools
+%{mxdir}/TextTools/mxTextTools/*.py[co]
+%attr(755,root,root) %{mxdir}/TextTools/mxTextTools/*.so
+%dir %{mxdir}/TextTools/Constants
+%{mxdir}/TextTools/Constants/*.py[co]
 
-%dir %{mxdir}/Queue/mxQueue
-%{mxdir}/Queue/mxQueue/*.py[co]
-%attr(755,root,root) %{mxdir}/Queue/mxQueue/*.so
+# -devel if needed
+#%{py_incdir}/mx/mxTextTools.h
+#%{py_incdir}/mx/mxbmse.h
+#%{py_incdir}/mx/mxte.h
 
 %files -n python-mx-Tools
 %defattr(644,root,root,755)
 %doc mx/Tools/Doc/*.html
 %dir %{mxdir}/Tools
 %{mxdir}/Tools/*.py[co]
-
 %dir %{mxdir}/Tools/mxTools
 %{mxdir}/Tools/mxTools/*.py[co]
 %attr(755,root,root) %{mxdir}/Tools/mxTools/*.so
 
-%files -n python-mx-Proxy
-%defattr(644,root,root,755)
-%doc mx/Proxy/Doc/*.html
-%dir %{mxdir}/Proxy
-%{mxdir}/Proxy/*.py[co]
-
-%dir %{mxdir}/Proxy/mxProxy
-%{mxdir}/Proxy/mxProxy/*.py[co]
-%attr(755,root,root) %{mxdir}/Proxy/mxProxy/*.so
-
-%files -n python-mx-BeeBase
-%defattr(644,root,root,755)
-%doc mx/BeeBase/Doc/*.html
-%dir %{mxdir}/BeeBase
-%{mxdir}/BeeBase/*.py[co]
-
-%dir %{mxdir}/BeeBase/mxBeeBase
-%{mxdir}/BeeBase/mxBeeBase/*.py[co]
-%attr(755,root,root) %{mxdir}/BeeBase/mxBeeBase/*.so
+# -devel if needed
+#%{py_incdir}/mx/mxTools.h
This page took 0.137852 seconds and 4 git commands to generate.