2 %include /usr/lib/rpm/macros.python
5 Summary: Simple Python implementation of a linda system
6 Summary(pl): Prosta implementacja systemu linda w Pythonie
11 Group: Libraries/Python
12 Source0: http://www-users.cs.york.ac.uk/~aw/pylinda/%{module}-%{version}.tar.gz
13 # Source0-md5: 396d2908f530293d8390638639eb3198
14 Patch0: pylinda-server-first-line-path.patch
15 URL: http://www-users.cs.york.ac.uk/~aw/pylinda
16 BuildRequires: python-devel >= 2.3
17 Requires: python >= 2.3
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Linda is an widely studied distributed computing environment, centered
23 around the notion of a tuple space. A tuple space is a bag (also
24 called a multi-set) of tuples. A tuple is an ordered, typed chunk of
25 data. Tuple spaces exist independently of processes in the system, and
26 the data placed into a tuple space also exist independently. See
27 "Generative communication in Linda" (1985) and "Multiple tuple spaces
28 in Linda" both by David Gelernter for more information on Linda.
30 PyLinda is a simple implementation of a linda system, however it also
31 includes several of the more recently proposed extensions to Linda in
32 the form of multiple tuple spaces, garbage collection, sane
33 non-blocking primitives and bulk tuple operations.
35 This package contains pylinda libraries, which are necessary for running
36 pylinda servers and developing client programs.
39 Lidna jest poddawanym g³êbokiej analizie ¶rodowiskiem komputerowego
40 przetwarzania danych, skupiaj±cym siê na notacji przestrzeni krotek.
41 Przestreñ krotek jest zbiorem (a w³a¶ciwie - multizbiorem) krotek.
42 Krotka jest uporz±dkowanym i utypowionym zestawem danych. Przestrzenie
43 krotek istniej± w systemie niezale¿nie od procesów, a dane umieszczone
44 w przestrzeni krotek tak¿e s± niezale¿ne od procesów. Wiêcej
45 informacji mo¿na znale¼æ w dzie³ach "Generative communication in
46 Linda" (1985) i "Multiple tuple spaces in Linda" autorstwa Daviad
49 PyLinda jest prost± implementacj± ¶rodowiska Linda. Pomimo swojej
50 prostoty zawiera jednak pewn± liczbê najczê¶cie spotykanych rozszerzeñ
51 Lindy, takich jak wielokrotne przestrzenie krotek, od¶miecanie
52 pamiêci, rozs±dnie zaprojektowane nieblokuj±ce operacje pierwotne oraz
53 ca³± masê z³o¿onych operacji na krotkach.
55 Ten pakiet zawiera biblioteki pakietu pylinda, niezbêdne do
56 uruchomienia serwerów oraz rozwijania programów klienckich pylindy.
58 %package -n pylinda-server
59 Summary: Server program for pylinda computing environment
60 Summary(pl): Program serwera ¶rodowika pylinda
61 Group: Applications/Science
62 Requires: %{name} = %{version}-%{release}
64 %description -n pylinda-server
65 This package contains server program for pylinda computing
68 %description -n pylinda-server -l pl
69 Program serwera ¶rodowiska pylinda.
72 Summary: Documentation for pylinda computing environment
73 Summary(pl): Dokumentcja ¶rodowiska pylinda
74 Group: Libraries/Python
75 Requires: %{name} = %{version}-%{release}
78 This package contains documentation files for pylinda computing
81 %description doc -l pl
82 Pakiet zawieraj±cy dokumentacjê ¶rodowiska pylinda.
85 Summary: Example programs for pylinda computing environment
86 Summary(pl): Programy przyk³adowe do ¶rodowiska pylinda
87 Group: Libraries/Python
88 Requires: %{name} = %{version}-%{release}
91 This package contains example programs for pylinda computing
94 %description examples -l pl
95 Pakiet zawieraj±cy programy przyk³adowe do ¶rodowiska pylinda.
98 %setup -q -n %{module}-%{version}
102 python setup.py build_ext
105 rm -rf $RPM_BUILD_ROOT
106 install -d $RPM_BUILD_ROOT{%{py_sitescriptdir},%{_examplesdir}/%{name}-%{version},%{_bindir}}
108 python setup.py install \
109 --root=$RPM_BUILD_ROOT \
110 --install-lib=%{py_sitescriptdir} \
113 find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm {} \;
115 cp -ar examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
116 cp -a linda_server.py $RPM_BUILD_ROOT%{_bindir}
118 rm -rf $RPM_BUILD_ROOT%{_datadir}/pylinda
121 rm -rf $RPM_BUILD_ROOT
124 %defattr(644,root,root,755)
126 %{py_sitescriptdir}/linda
129 %defattr(644,root,root,755)
133 %defattr(644,root,root,755)
134 %{_examplesdir}/%{name}-%{version}
136 %files -n pylinda-server
137 %defattr(755,root,root,755)
138 %{_bindir}/linda_server.py