SPECS: python-egenix-mx-base.spec - updated to 2.0.6 - sorted subp...

qboosh qboosh at pld-linux.org
Wed Nov 16 14:25:45 CET 2005


Author: qboosh                       Date: Wed Nov 16 13:25:45 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.0.6
- sorted subpackages, cleanups

---- Files affected:
SPECS:
   python-egenix-mx-base.spec (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: SPECS/python-egenix-mx-base.spec
diff -u SPECS/python-egenix-mx-base.spec:1.44 SPECS/python-egenix-mx-base.spec:1.45
--- SPECS/python-egenix-mx-base.spec:1.44	Mon Nov 14 13:06:46 2005
+++ SPECS/python-egenix-mx-base.spec	Wed Nov 16 14:25:39 2005
@@ -7,17 +7,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
@@ -39,6 +39,7 @@
 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.
@@ -46,12 +47,44 @@
 %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
@@ -92,23 +125,91 @@
 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
@@ -135,48 +236,11 @@
 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
@@ -203,76 +267,6 @@
 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}
 
@@ -288,6 +282,7 @@
 
 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
@@ -298,7 +293,6 @@
 %dir %{mxdir}
 %dir %{py_incdir}/mx
 %{mxdir}/*.py[co]
-
 %dir %{mxdir}/Misc
 %{mxdir}/Misc/*.py[co]
 
@@ -306,12 +300,25 @@
 %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
@@ -320,68 +327,66 @@
 %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
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -389,6 +394,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.45  2005/11/16 13:25:39  qboosh
+- updated to 2.0.6
+- sorted subpackages, cleanups
+
 Revision 1.44  2005/11/14 12:06:46  qboosh
 - BR: rpm-pythonprov; implies python and -modules
 
@@ -536,4 +545,3 @@
 
 Revision 1.2  2001/05/29 11:30:49  wrobell
 - split into subpackages, nfy
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-egenix-mx-base.spec?r1=1.44&r2=1.45&f=u




More information about the pld-cvs-commit mailing list