SPECS: castor.spec - pl, killed bashism

qboosh qboosh at pld-linux.org
Mon May 15 23:58:52 CEST 2006


Author: qboosh                       Date: Mon May 15 21:58:52 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, killed bashism

---- Files affected:
SPECS:
   castor.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/castor.spec
diff -u SPECS/castor.spec:1.1 SPECS/castor.spec:1.2
--- SPECS/castor.spec:1.1	Thu May 11 01:24:03 2006
+++ SPECS/castor.spec	Mon May 15 23:58:47 2006
@@ -1,13 +1,14 @@
 # $Revision$, $Date$
 Summary:	An open source data binding framework for Java
+Summary(pl):	Szkielet wiązania danych dla Javy
 Name:		castor
 Version:	0.9.6
-Release:	1jpp
+Release:	1.1
 License:	Exolab Software License, BSD-like
 Group:		Development/Languages/Java
-URL:		http://castor.codehaus.org/
 Source0:	http://dist.codehaus.org/castor/0.9.6/%{name}-%{version}-src.tgz
 # Source0-md5:	3ec1b9623f04b86f157738bd3f10a847
+URL:		http://castor.codehaus.org/
 BuildRequires:	adaptx
 BuildRequires:	cglib
 BuildRequires:	jakarta-ant
@@ -40,8 +41,15 @@
 SQL tables. Castor provides Java to XML binding, Java to SQL
 persistence, and then some more.
 
+%description -l pl
+Castor to mający otwarte źródła szkielet wiązania danych dla Javy.
+Jest zasadniczo najkrótszą ścieżką między obiektami Javy, dokumentami
+XML a tabelami SQL. Castor udostępnia wiązania Javy do XML-a,
+utrzymywanie Javy do SQL-a i nieco więcej.
+
 %package test
 Summary:	Tests for %{name}
+Summary(pl):	Testy dla pakietu %{name}
 Group:		Development/Languages/Java
 Requires:	%{name} = %{version}-%{release}
 Requires:	junit
@@ -49,28 +57,43 @@
 %description test
 Tests for %{name}.
 
+%description test -l pl
+Testy dla pakietu %{name}.
+
 %package xml
-Summary:	XML support for %{name}
+Summary:	XML support for Castor
+Summary(pl):	Obsługa XML-a dla Castora
 Group:		Development/Languages/Java
 Requires:	%{name} = %{version}-%{release}
 
 %description xml
 XML support for Castor.
 
+%description xml -l pl
+Obsługa XML-a dla Castora.
+
 %package javadoc
 Summary:	Javadoc for %{name}
+Summary(pl):	Dokumentacja javadoc dla pakietu %{name}
 Group:		Documentation
 
 %description javadoc
 Javadoc for %{name}.
 
+%description javadoc -l pl
+Dokumentacja javadoc dla pakietu %{name}.
+
 %package doc
 Summary:	Documentation for %{name}
+Summary(pl):	Dokumentacja dla pakietu %{name}
 Group:		Documentation
 
 %description doc
 Documentation for %{name}.
 
+%description doc -l pl
+Dokumentacja dla pakietu %{name}.
+
 %prep
 %setup -q
 find . -name "*.jar" -exec rm -f {} \;
@@ -88,18 +111,17 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT
 
 # jar
 install -d $RPM_BUILD_ROOT%{_javadir}
 install dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
 install dist/%{name}-%{version}-xml.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-xml-%{version}.jar
 install dist/CTF-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-tests-%{version}.jar
-pushd $RPM_BUILD_ROOT%{_javadir}
-   for jar in *-%{version}.jar; do
-      ln -sf ${jar} $(echo $jar| sed  -e "s|-%{version}||g")
-   done
-popd
+cd $RPM_BUILD_ROOT%{_javadir}
+for jar in *-%{version}.jar; do
+	ln -sf ${jar} $(echo $jar| sed  -e "s|-%{version}||g")
+done
+cd -
 
 # javadoc
 install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
@@ -121,7 +143,7 @@
 
 %postun javadoc
 if [ "$1" = "0" ]; then
-    rm -f %{_javadocdir}/%{name}
+	rm -f %{_javadocdir}/%{name}
 fi
 
 %files
@@ -155,6 +177,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/05/15 21:58:47  qboosh
+- pl, killed bashism
+
 Revision 1.1  2006/05/10 23:24:03  glen
 - NFY
 
================================================================

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



More information about the pld-cvs-commit mailing list