SPECS: perl-Physics-Particles.spec - pl, generic URL

qboosh qboosh at pld-linux.org
Fri Mar 16 09:44:44 CET 2007


Author: qboosh                       Date: Fri Mar 16 08:44:44 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, generic URL

---- Files affected:
SPECS:
   perl-Physics-Particles.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/perl-Physics-Particles.spec
diff -u SPECS/perl-Physics-Particles.spec:1.1 SPECS/perl-Physics-Particles.spec:1.2
--- SPECS/perl-Physics-Particles.spec:1.1	Mon Mar  5 13:36:25 2007
+++ SPECS/perl-Physics-Particles.spec	Fri Mar 16 09:44:38 2007
@@ -7,15 +7,16 @@
 %define	pdir	Physics
 %define	pnam	Particles
 Summary:	Physics::Particles - Simulate particle dynamics
-#Summary(pl):	
+Summary(pl.UTF-8):	Physics::Particles - symulacha dynamiki cząstek
 Name:		perl-Physics-Particles
 Version:	1.01
 Release:	0.1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+Source0:	http://www.cpan.org/modules/by-module/Physics/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	466a845ca2efe0ffdbffa6673d2c3322
+URL:		http://search.cpan.org/dist/Physics-Particles/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
@@ -26,32 +27,43 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Physics::Particles is a facility to simulate movements of
-a small number of particles under a small number of forces
-that every particle excerts on the others. Complexity increases
-with particles X particles X forces, so that is why the
-number of particles should be low.
-
-In the context of this module, a particle is no more or less
-than a set of attributes like position, velocity, mass, and
-charge. The example code and test cases that come with the
-distribution simulate the inner solar system showing that
-when your scale is large enough, planets and stars may
-well be approximated as particles. (As a matter of fact,
-in the case of gravity, if the planet's shape was a sphere,
-the force of gravity outside the planet would always be
-its mass times the mass of the body it excerts the force on
-times the gravitational constant divided by the distance
-squared.)
-
-Simulation of microscopic particles is a bit more difficult
-due to floating point arithmetics on extremely small values.
-You will need to choose your constant factors wisely.
-
-
-
-# %description -l pl
-# TODO
+Physics::Particles is a facility to simulate movements of a small
+number of particles under a small number of forces that every particle
+excerts on the others. Complexity increases with particles X particles
+X forces, so that is why the number of particles should be low.
+
+In the context of this module, a particle is no more or less than a
+set of attributes like position, velocity, mass, and charge. The
+example code and test cases that come with the distribution simulate
+the inner solar system showing that when your scale is large enough,
+planets and stars may well be approximated as particles. (As a matter
+of fact, in the case of gravity, if the planet's shape was a sphere,
+the force of gravity outside the planet would always be its mass times
+the mass of the body it excerts the force on times the gravitational
+constant divided by the distance squared.)
+
+Simulation of microscopic particles is a bit more difficult due to
+floating point arithmetics on extremely small values. You will need to
+choose your constant factors wisely.
+
+%description -l pl.UTF-8
+Physics::Particles to ułatwienie symulacji ruchu małej liczby cząstek
+pod niewielką liczbą sił wywieranych przez każdą cząstkę na innych.
+Złożoność wzrasta wraz z liczbą cząstek * liczbą cząstek * liczbą sił,
+więc liczba cząstek powinna być mała.
+
+W kontekście tego modułu cząstka jest ni mniej ni więcej tylko zbiorem
+atrybutów takich jak położenie, prędkość, masa i ładunek. Kod
+przykładowy i testy dostarczane z pakietem symulują wewnętrzny układ
+słoneczny, pokazując, że przy wystarczająco dużej skali planety i
+gwiazdy można dobrze aproksymować cząstkami (w istocie, w przypadku
+grawitacji, gdyby planeta była sferą, siła grawitacji poza planetą
+byłaby zawsze masą pomnożoną przez masę ciała w polu razy stała
+grawitacyjna, podzieloną przez kwadrat odległości).
+
+Symulacja cząstek mikroskopowych jest nieco trudna ze względu na
+arytmetykę zmiennoprzecinkową na bardzo małych wartościach. Trzeba
+mądrze dobierać współczynniki stałe.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -79,7 +91,6 @@
 %defattr(644,root,root,755)
 %doc Changes README
 %{perl_vendorlib}/Physics/*.pm
-#%{perl_vendorlib}/Physics/Particles
 %{_mandir}/man3/*
 %{_examplesdir}/%{name}-%{version}
 
@@ -89,6 +100,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/03/16 08:44:38  qboosh
+- pl, generic URL
+
 Revision 1.1  2007/03/05 12:36:25  agaran
 - initial
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Physics-Particles.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list