rpms/eclipse-nls/devel eclipse-nls.spec, NONE, 1.1 fetch-babel.sh, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Sean Flanigan
seanf at fedoraproject.org
Thu Sep 11 03:23:08 UTC 2008
- Previous message (by thread): rpms/ipa/devel 0001-Fix-typo-in-inet-type.patch, NONE, 1.1 0001-In-openvz-we-found-out-some-interfaces-may-return-a.patch, NONE, 1.1 0001-slapi_pw_find_sv-expects-an-array-make-sure-we-ha.patch, NONE, 1.1 freeipa-change-mkey.patch, NONE, 1.1 freeipa-cve-2008-3274-fixes.patch, NONE, 1.1 freeipa-cve-2008-3274-utility.patch, NONE, 1.1 freeipa-encrypt-files.patch, NONE, 1.1 freeipa-fix-expire.patch, NONE, 1.1 freeipa-fix-key-encryption.patch, NONE, 1.1 freeipa-noi18n.patch, NONE, 1.1 freeipa-refresh-mkey.patch, NONE, 1.1 freeipa-user-input.patch, NONE, 1.1 ipa.spec, 1.13, 1.14
- Next message (by thread): rpms/bodhi/devel .cvsignore, 1.16, 1.17 bodhi.spec, 1.21, 1.22 sources, 1.18, 1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: seanf
Update of /cvs/pkgs/rpms/eclipse-nls/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8285/devel
Modified Files:
.cvsignore sources
Added Files:
eclipse-nls.spec fetch-babel.sh import.log
Log Message:
Initial package.
--- NEW FILE eclipse-nls.spec ---
%define snapshot 20080807snap
%define eclipse_data %{_datadir}/eclipse
# Disable repacking of jars, since it takes forever for all the little jars,
# and we don't need multilib anyway:
%define __jar_repack %{nil}
Name: eclipse-nls
Summary: Babel language packs for the Eclipse platform and various plugins
Group: Development/Languages
License: EPL
URL: http://babel.eclipse.org/
Version: 0.2.0
Release: 0.5.%{snapshot}%{?dist}
## The source for this package is taken from the Babel project's update site.
## Use the following commands to generate the tarball:
# sudo yum install eclipse-platform curl
# mkdir temp && cd temp
# sh ../fetch-babel.sh
# tar cjf ../org.eclipse.nls-%{snapshot}-fetched-src.tar.bz2 eclipse-nls
# cd ..
Source0: org.eclipse.nls-%{snapshot}-fetched-src.tar.bz2
Source1: fetch-babel.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
Babel language packs include translations for the Eclipse platform and other
Eclipse-related packages.
%define lang_meta_pkg() \
%package %1 \
Summary: Eclipse/Babel language pack for %2 \
Group: Development/Languages \
# provides %{eclipse_data}/dropins \
Requires: eclipse-platform >= 3.4.0-18 \
Obsoletes: eclipse-sdk-nls-%1 < 3.2.1-4 \
\
%description %1 \
This language pack for %2 contains user-contributed translations of the \
strings in all Eclipse projects. Please see the http://babel.eclipse.org/ \
Babel project web pages for a full how-to-use explanation of these \
translations as well as how you can contribute to \
the translations of this and future versions of Eclipse. \
Note that English text will be displayed if Babel doesn't \
have a translation for a given string. \
\
%files %1 \
%defattr(-,root,root,-) \
%{eclipse_data}/dropins/babel-%1
# Note that no licence %%doc files are listed under %%files. Upstream does
# not provide a single distribution archive for eclipse-nls, but rather an
# update site which serves up 400 plugin jars for each language. These
# jars are collected into a tarball by fetch-babel.sh. Each jar does
# include HTML files with licence information, and these jars are placed
# in the dropins/babel-* directory above.
%lang_meta_pkg cs Czech
%lang_meta_pkg hu Hungarian
%lang_meta_pkg pl Polish
%lang_meta_pkg ru Russian
%lang_meta_pkg ar Arabic
# NB 'he' is 'iw' as far as Java is concerned. fetch-babel.sh knows about it
%lang_meta_pkg he Hebrew
%lang_meta_pkg da Danish
%lang_meta_pkg de German
%lang_meta_pkg el Greek
%lang_meta_pkg es Spanish
%lang_meta_pkg fi Finnish
%lang_meta_pkg fr French
%lang_meta_pkg it Italian
%lang_meta_pkg ja Japanese
%lang_meta_pkg ko Korean
%lang_meta_pkg nl Dutch
%lang_meta_pkg no Norwegian
%lang_meta_pkg pt Portuguese
%lang_meta_pkg pt_BR Portuguese (Brazilian)
%lang_meta_pkg sv Swedish
%lang_meta_pkg tr Turkish
%lang_meta_pkg zh Chinese (Simplified)
%lang_meta_pkg zh_TW Chinese (Traditional)
##########################################
# Currently less than 10% coverage
%lang_meta_pkg uk Ukrainian
%lang_meta_pkg ro Romanian
%lang_meta_pkg bg Bulgarian
##########################################
##########################################
# Currently 0% coverage
#Hindi
#Klingon
#Spanish-Catalonian
#English
##########################################
%prep
%setup -q -n %{name}
%build
# nothing to do
%install
rm -rf $RPM_BUILD_ROOT
for loc in ?? ??_??; do
mkdir -p $RPM_BUILD_ROOT%{eclipse_data}/dropins/babel-${loc}/eclipse
cp -R ${loc}/features ${loc}/plugins $RPM_BUILD_ROOT%{eclipse_data}/dropins/babel-${loc}/eclipse
done
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Sep 11 2008 Sean Flanigan <sflaniga at redhat.com> - 0.2.0-0.5.20080807snap
- Applied another tidy-up patch from Jens Petersen and added a comment
about the licence doc files
* Wed Sep 10 2008 Sean Flanigan <sflaniga at redhat.com> - 0.2.0-0.4.20080807snap
- Applied Jens Petersen's suggested patch to remove eclipse_version macro and
unnecessary buildroot checks
* Tue Sep 9 2008 Sean Flanigan <sflaniga at redhat.com> - 0.2.0-0.3.20080807snap
- Added eclipse_version macro
- Changed the Obsoletes version to be slightly higher than the last release of
eclipse-sdk-nls
* Mon Aug 11 2008 Sean Flanigan <sflaniga at redhat.com> - 0.2.0-0.2.20080807snap
- Fixed version in changelog
- Updated snapshot of Babel translation plugins
- Changed code for Hebrew to he (not iw); changed fetch-babel.sh to compensate
- Renamed eclipse_base macro to eclipse_data
* Fri Jul 25 2008 Sean Flanigan <sflaniga at redhat.com> - 0.2.0-0.1.20080720snap
- Initial rpm package
--- NEW FILE fetch-babel.sh ---
#!/bin/sh
UPDATE_SITE=http://download.eclipse.org/technology/babel/update-site/ganymede/
ECLIPSE_BIN=eclipse
CURL='curl -H Pragma: --remote-time --fail --show-error'
DEST=eclipse
mkdir -p $DEST home
#$CURL $UPDATE_SITE -o site.xml
#cat site.xml | grep 'id="org.eclipse.nls.' | sed 's/.*id="org.eclipse.nls.\([a-zA-Z_]*\)".*/\1/g' | sort -u >locales.txt
#locales = (backquote)cat locales.txt(backquote); do
locales='ar bg cs da de el es fi fr hu it he ja ko nl no pl pt pt_BR ro ru sv tr uk zh zh_TW' #es_CA hi tl en
echo Locales to be fetched:
echo $locales
for locale in $locales; do
# deal with locale id changes - see http://java.sun.com/javase/6/docs/api/java/util/Locale.html#Locale(java.lang.String)
if [ $locale == he ] ; then
javalocale=iw
elif [ $locale == yi ] ; then
javalocale=ji
elif [ $locale == id ] ; then
javalocale=in
else
javalocale=$locale
fi
workdir=eclipse-nls/$locale
mkdir -p $workdir
echo "Downloading all translations for locale \"$locale\". This might take a few minutes..."
profile=${locale}-Profile
# work around the fact that p2 doesn't seem to
# support updates from command-line:
rm -fr $DEST/p2/org.eclipse.equinox.p2.engine/profileRegistry/$profile.profile
time $ECLIPSE_BIN \
--launcher.suppressErrors \
-nosplash \
-consoleLog \
-application org.eclipse.equinox.p2.director.app.application \
-metadataRepository $UPDATE_SITE \
-artifactRepository $UPDATE_SITE \
-installIU org.eclipse.nls.$javalocale.feature.group \
-destination $DEST \
-profile $profile \
-profileProperties org.eclipse.update.install.features=true \
-bundlepool $workdir \
-p2.os linux \
-p2.ws gtk \
-p2.arch x86 \
-roaming \
-vmargs \
-Duser.home=home \
-Declipse.p2.data.area=$DEST/p2
echo "Downloaded \"$locale\". Disk space used:"
du -sh eclipse-nls/$locale
done
exit
--- NEW FILE import.log ---
eclipse-nls-0_2_0-0_5_20080807snap_fc9:HEAD:eclipse-nls-0.2.0-0.5.20080807snap.fc9.src.rpm:1221103325
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-nls/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 11 Sep 2008 02:51:56 -0000 1.1
+++ .cvsignore 11 Sep 2008 03:22:38 -0000 1.2
@@ -0,0 +1 @@
+org.eclipse.nls-20080807snap-fetched-src.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-nls/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 11 Sep 2008 02:51:56 -0000 1.1
+++ sources 11 Sep 2008 03:22:38 -0000 1.2
@@ -0,0 +1 @@
+14c51fc450752ce281c3e8d067b268b2 org.eclipse.nls-20080807snap-fetched-src.tar.bz2
- Previous message (by thread): rpms/ipa/devel 0001-Fix-typo-in-inet-type.patch, NONE, 1.1 0001-In-openvz-we-found-out-some-interfaces-may-return-a.patch, NONE, 1.1 0001-slapi_pw_find_sv-expects-an-array-make-sure-we-ha.patch, NONE, 1.1 freeipa-change-mkey.patch, NONE, 1.1 freeipa-cve-2008-3274-fixes.patch, NONE, 1.1 freeipa-cve-2008-3274-utility.patch, NONE, 1.1 freeipa-encrypt-files.patch, NONE, 1.1 freeipa-fix-expire.patch, NONE, 1.1 freeipa-fix-key-encryption.patch, NONE, 1.1 freeipa-noi18n.patch, NONE, 1.1 freeipa-refresh-mkey.patch, NONE, 1.1 freeipa-user-input.patch, NONE, 1.1 ipa.spec, 1.13, 1.14
- Next message (by thread): rpms/bodhi/devel .cvsignore, 1.16, 1.17 bodhi.spec, 1.21, 1.22 sources, 1.18, 1.19
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list