Author: qboosh                       Date: Wed May 17 16:44:24 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, killed subshells

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

---- Diffs:

================================================================
Index: SPECS/jimi.spec
diff -u SPECS/jimi.spec:1.1 SPECS/jimi.spec:1.2
--- SPECS/jimi.spec:1.1 Wed May 10 22:48:34 2006
+++ SPECS/jimi.spec     Wed May 17 18:44:19 2006
@@ -1,52 +1,77 @@
 # $Revision$, $Date$
 %define cvs_version     %(echo %{version} | tr . _)
 Summary:       Java imaging toolkit
+Summary(pl):   Biblioteka do obrazków w Javie
 Name:          jimi
 Version:       1.0
 Release:       0.1
 License:       Sun Binary Code License
 Group:         Development/Languages/Java
-URL:           http://java.sun.com/products/jimi/
 Source0:       %{name}%{cvs_version}.zip
 # NoSource0-md5:       9cf0b3422b4cbd88e57ee159bc29973f
 NoSource:      0
-BuildRequires: /usr/bin/perl
+URL:           http://java.sun.com/products/jimi/
+BuildRequires: perl-base
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-JIMI Software Development Kit Jimi is a class library for managing
-images. Its primary function is image I/O. Jimi was formerly a product
-of Activated Intelligence. Sun is making it available for developers
-who have code with dependencies on Jimi or for those who need image
-I/O functionality in applications running under 1.1.x versions of the
-JavaTM Platform. Jimi's range of supported formats includes GIF, JPEG,
-TIFF, PNG, PICT, Photoshop, BMP, Targa, ICO, CUR, Sunraster, XBM, XPM,
-and PCX, although some of these formats do not have complete support
-for all features.
+JIMI Software Development Kit is a class library for managing images.
+Its primary function is image I/O. Jimi was formerly a product of
+Activated Intelligence. Sun is making it available for developers who
+have code with dependencies on Jimi or for those who need image I/O
+functionality in applications running under 1.1.x versions of the
+Java(TM) Platform. Jimi's range of supported formats includes GIF,
+JPEG, TIFF, PNG, PICT, Photoshop, BMP, Targa, ICO, CUR, Sunraster,
+XBM, XPM, and PCX, although some of these formats do not have complete
+support for all features.
+
+%description -l pl
+JIMI SDK to biblioteka klas do zarządzania obrazkami. Główną jej
+funkcją są operacje we/wy na obrazkach. Poprzednio był to produkt
+firmy Activated Intelligence. Sun udostępnia bibliotekę dla
+programistów posiadających kod zależący od biblioteki Jimi oraz dla
+tych, którzy potrzebują funkcjonalności we/wy dla obrazków w
+aplikacjach działających pod kontrolą wersji 1.1.x platformy Java(TM).
+Jimi obsługuje formaty graficzne GIF, JPEG, TIFF, PNG, PICT,
+Photoshop, BMP, Targa, ICO, CUR, Sunraster, XBM, XPM i PCX, choć
+niektóre z tych formatów nie mają pełnej obsługi niektórych
+właściwości.
 
 %package manual
 Summary:       Manual for %{name}
+Summary(pl):   Podręcznik dla pakietu %{name}
 Group:         Development/Languages/Java
 
 %description manual
 Documentation for %{name}.
 
+%description manual -l pl
+Dokumentacja dla pakietu %{name}.
+
 %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 demo
 Summary:       Demo for %{name}
+Summary(pl):   Programy demonstracyjne dla pakietu %{name}
 Group:         Development/Languages/Java
 Requires:      %{name} = %{version}-%{release}
 
 %description demo
 Demonstrations and samples for %{name}.
 
+%description demo -l pl
+Programy demonstracyjne i przykładowe dla pakietu %{name}.
+
 %prep
 %setup -q -n Jimi
 
@@ -56,10 +81,10 @@
 # correct examples
 find examples -name "*.bat" -exec rm -f {} ';'
 for file in `find examples -name *.html`; do
-  perl -pi -e 's/JimiProClasses\.jar/jimi.jar/' $file
+       %{__perl} -pi -e 's/JimiProClasses\.jar/jimi.jar/' $file
 done
 for file in `find examples -name *.sh`; do
-       perl -pi -e 
's|\$CLASSPATH:[./:]*JimiProClasses\.zip[./:]*|\$CLASSPATH:%{_javadir}/jimi.jar:.|'
 $file
+       %{__perl} -pi -e 
's|\$CLASSPATH:[./:]*JimiProClasses\.zip[./:]*|\$CLASSPATH:%{_javadir}/jimi.jar:.|'
 $file
 done
 
 %install
@@ -68,8 +93,12 @@
 # jars
 install -d $RPM_BUILD_ROOT%{_javadir}
 cp -p %{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
-(cd $RPM_BUILD_ROOT%{_javadir} && ln -sf %{name}-%{version}.jar %{name}.zip)
-(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf 
${jar} `echo $jar| sed "s|-%{version}||g"`; done)
+cd $RPM_BUILD_ROOT%{_javadir}
+ln -sf %{name}-%{version}.jar %{name}.zip
+for jar in *-%{version}.jar; do
+       ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
+done
+cd -
 
 # javadoc
 install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
@@ -115,6 +144,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/05/17 16:44:19  qboosh
+- pl, killed subshells
+
 Revision 1.1  2006/05/10 20:48:34  glen
 - new, based on jpackage
-
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to