SourceForge logo
SourceForge logo
Menu

belenix-notify — Notifications of the commits to the belenix svn repository

You can subscribe to this list here.

2008 Jan
Feb
Mar
Apr
May
(4)
Jun
(17)
Jul
(14)
Aug
(15)
Sep
(24)
Oct
(14)
Nov
(22)
Dec
(19)
2009 Jan
(9)
Feb
(14)
Mar
(8)
Apr
(17)
May
(15)
Jun
(14)
Jul
(41)
Aug
(16)
Sep
(22)
Oct
(9)
Nov
(12)
Dec
(3)
2010 Jan
(4)
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2011 Jan
(3)
Feb
(5)
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec

Showing results of 321

1 2 3 .. 13 > >> (Page 1 of 13)
From: belenix-notify <bel...@li...> - 2011年02月22日 17:38:06
Revision: 421
 http://belenix.svn.sourceforge.net/belenix/?rev=421&view=rev
Author: moinakg
Date: 2011年02月22日 17:38:00 +0000 (2011年2月22日)
Log Message:
-----------
Update directories and paths.
Add needed platform files to rpm package.
Modified Paths:
--------------
 trunk/spec_files/rpms/basedirs.spec
 trunk/spec_files/rpms/gcc.spec
 trunk/spec_files/rpms/pkgconfig.spec
 trunk/spec_files/rpms/rpm5.spec
 trunk/spec_files/rpms/utils/bpkg
 trunk/spec_files/rpms/xz.spec
 trunk/spec_files/rpms/zlib.spec
Added Paths:
-----------
 trunk/spec_files/rpms/ext-sources/platform
 trunk/spec_files/rpms/ext-sources/sysinfo
Modified: trunk/spec_files/rpms/basedirs.spec
===================================================================
--- trunk/spec_files/rpms/basedirs.spec	2011年02月13日 15:12:12 UTC (rev 420)
+++ trunk/spec_files/rpms/basedirs.spec	2011年02月22日 17:38:00 UTC (rev 421)
@@ -149,6 +149,7 @@
 mkdir -p usr/lib/crypto
 mkdir -p usr/lib/devfsadm
 mkdir -p usr/lib/devfsadm/linkmod
+mkdir -p usr/libexec
 mkdir -p usr/lib/fs
 mkdir -p usr/lib/fs/autofs
 mkdir -p usr/lib/fs/autofs/%{_arch64}
@@ -263,6 +264,7 @@
 mkdir -p usr/share/lib/zoneinfo/src
 mkdir -p usr/share/lib/zoneinfo/tab
 mkdir -p usr/share/src
+mkdir -p usr/share/locale
 mkdir -p usr/xpg4
 mkdir -p usr/xpg4/bin
 mkdir -p var
@@ -500,6 +502,7 @@
 %dir %attr(0755, root, bin) /usr/lib/crypto
 %dir %attr(0755, root, sys) /usr/lib/devfsadm
 %dir %attr(0755, root, sys) /usr/lib/devfsadm/linkmod
+%dir %attr(0755, root, bin) /usr/libexec
 %dir %attr(0755, root, sys) /usr/lib/fs
 %dir %attr(0755, root, sys) /usr/lib/fs/autofs
 %dir %attr(0755, root, sys) /usr/lib/fs/autofs/%{_arch64}
@@ -614,6 +617,7 @@
 %dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/src
 %dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/tab
 %dir %attr(0755, root, sys) /usr/share/src
+%dir %attr(0755, root, other) /usr/share/locale
 %dir %attr(0755, root, bin) /usr/xpg4
 %dir %attr(0755, root, bin) /usr/xpg4/bin
 %dir %attr(0755, root, sys) /var
Added: trunk/spec_files/rpms/ext-sources/platform
===================================================================
--- trunk/spec_files/rpms/ext-sources/platform	 (rev 0)
+++ trunk/spec_files/rpms/ext-sources/platform	2011年02月22日 17:38:00 UTC (rev 421)
@@ -0,0 +1 @@
+x86_64-pc-solaris2.11
Added: trunk/spec_files/rpms/ext-sources/sysinfo
===================================================================
--- trunk/spec_files/rpms/ext-sources/sysinfo	 (rev 0)
+++ trunk/spec_files/rpms/ext-sources/sysinfo	2011年02月22日 17:38:00 UTC (rev 421)
@@ -0,0 +1,63 @@
+/lib
+/usr
+/sbin
+/kernel
+/usr/lib
+/usr/local
+/usr/local/lib
+/bin/sh
+/usr/lib/amd64
+/usr/libexec
+/etc
+/usr/bin/amd64
+/usr/bin
+/usr/share
+/usr/share/doc
+/usr/share/locale
+/usr/share/locale/cs/LC_MESSAGES
+/usr/share/locale/da/LC_MESSAGES
+/usr/share/locale/de/LC_MESSAGES
+/usr/share/locale/es/LC_MESSAGES
+/usr/share/locale/fi/LC_MESSAGES
+/usr/share/locale/fr/LC_MESSAGES
+/usr/share/locale/id/LC_MESSAGES
+/usr/share/locale/is/LC_MESSAGES
+/usr/share/locale/it/LC_MESSAGES
+/usr/share/locale/ja/LC_MESSAGES
+/usr/share/locale/ko/LC_MESSAGES
+/usr/share/locale/nb/LC_MESSAGES
+/usr/share/locale/nl/LC_MESSAGES
+/usr/share/locale/pa/LC_MESSAGES
+/usr/share/locale/pl/LC_MESSAGES
+/usr/share/locale/pt/LC_MESSAGES
+/usr/share/locale/pt_BR/LC_MESSAGES
+/usr/share/locale/ru/LC_MESSAGES
+/usr/share/locale/sk/LC_MESSAGES
+/usr/share/locale/sl/LC_MESSAGES
+/usr/share/locale/sr/LC_MESSAGES
+/usr/share/locale/sv/LC_MESSAGES
+/usr/share/locale/tr/LC_MESSAGES
+/usr/share/locale/uk/LC_MESSAGES
+/usr/share/locale/vi/LC_MESSAGES
+/usr/share/locale/zh_TW/LC_MESSAGES
+/usr/share/man/ja/man8
+/usr/share/man/man1
+/usr/share/man/man8
+/usr/share/man/pl/man1
+/usr/share/man/pl/man8
+/usr/share/man/ru/man8
+/usr/share/man/sk/man8
+/usr/share/aclocal
+/usr/share/info
+/usr/share/man
+/usr/share/man/man7
+/usr/share/man/man1
+/usr/share/man/man3
+/usr/src
+/var/lib
+/var/spool
+/lib/amd64
+/usr/include
+/usr/share/man
+/usr/lib/pkgconfig
+/usr/lib/amd64/pkgconfig
Modified: trunk/spec_files/rpms/gcc.spec
===================================================================
--- trunk/spec_files/rpms/gcc.spec	2011年02月13日 15:12:12 UTC (rev 420)
+++ trunk/spec_files/rpms/gcc.spec	2011年02月22日 17:38:00 UTC (rev 421)
@@ -275,66 +275,41 @@
 
 %files 
 %defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_prefix}
 %{_prefix}/man
-%dir %attr (0755, root, bin) %{_bindir32}
 %{_bindir32}/*
-%dir %attr (0755, root, bin) %{_libdir32}
 %{_libdir32}/gcc
-%dir %attr (0755, root, bin) %{_libexecdir32}
 %{_libexecdir32}/gcc
-%dir %attr (0755, root, sys) %{_datadir}
-%dir %attr (0755, root, bin) %{_mandir}
-%dir %attr (0755, root, bin) %{_mandir}/man1
 %{_mandir}/man1/*.1
-%dir %attr (0755, root, bin) %{_mandir}/man7
 %{_mandir}/man7/*.7
-%dir %attr(0755, root, bin) %{_infodir}
 %{_infodir}/*
 %defattr (-, root, bin)
-%{_includedir}
+%{_includedir}/*
 
 %files -n libgcc
 %defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_prefix}
-%dir %attr (0755, root, bin) %{_libdir32}
 %{_libdir32}/libgcc_s*
-%dir %attr (0755, root, bin) %{_libdir64}
 %{_libdir64}/libgcc_s*
 
 %files -n libstdc++
 %defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_prefix}
-%dir %attr (0755, root, bin) %{_libdir32}
 %{_libdir32}/libstdc++*
-%dir %attr (0755, root, bin) %{_libdir64}
 %{_libdir64}/libstdc++*
-%dir %attr (0755, root, sys) %{_datadir}
 %dir %attr (0755, root, bin) %{_datadir}/gcc-%{version}
 %{_datadir}/gcc-%{version}/*
 
 %files -n libobjc
 %defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_prefix}
-%dir %attr (0755, root, bin) %{_libdir32}
 %{_libdir32}/libobjc*
-%dir %attr (0755, root, bin) %{_libdir64}
 %{_libdir64}/libobjc*
 
 %files -n libgfortran
 %defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_prefix}
-%dir %attr (0755, root, bin) %{_libdir32}
 %{_libdir32}/libgfortran*
-%dir %attr (0755, root, bin) %{_libdir64}
 %{_libdir64}/libgfortran*
 
 %files -n libgomp
 %defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_prefix}
-%dir %attr (0755, root, bin) %{_libdir32}
 %{_libdir32}/libgomp*
-%dir %attr (0755, root, bin) %{_libdir64}
 %{_libdir64}/libgomp*
 
 %if %{build_libstdcxx_docs}
@@ -347,9 +322,7 @@
 %if %build_l10n
 %files -n gcc-l10n
 %defattr (-, root, bin)
-%dir %attr (0755, root, sys) %{_prefix}
-%dir %attr (0755, root, sys) %{_datadir}
-%attr (-, root, other) %{_datadir}/locale
+%{_datadir}/locale/*
 %endif
 
 %changelog
Modified: trunk/spec_files/rpms/pkgconfig.spec
===================================================================
--- trunk/spec_files/rpms/pkgconfig.spec	2011年02月13日 15:12:12 UTC (rev 420)
+++ trunk/spec_files/rpms/pkgconfig.spec	2011年02月22日 17:38:00 UTC (rev 421)
@@ -50,17 +50,11 @@
 
 %files
 %defattr (-, root, bin)
-%{_bindir32_spec}
-%{_bindir_spec}
 %{_bindir}/*
-%{_datadir_spec}
-%{_mandir_spec}
-%{_mandir}/*
-%{_docdir_spec}
+%{_mandir}/man1/*
 %{_docdir}/*
 
 %defattr (-, root, other)
-%{_aclocaldir_spec}
 %{_aclocaldir}/*
 
 %changelog
Modified: trunk/spec_files/rpms/rpm5.spec
===================================================================
--- trunk/spec_files/rpms/rpm5.spec	2011年02月13日 15:12:12 UTC (rev 420)
+++ trunk/spec_files/rpms/rpm5.spec	2011年02月22日 17:38:00 UTC (rev 421)
@@ -22,6 +22,8 @@
 Source4: find-info.sh
 Source5: install-info.sh
 Source6: drvtestadd
+Source7: sysinfo
+Source8: platform
 License: LGPL
 #Requires: fileutils shadow-utils
 #Requires: getconf(GNU_LIBPTHREAD_VERSION) = NPTL
@@ -31,6 +33,8 @@
 # XXX necessary only to drag in /usr/lib/libelf.a, otherwise internal elfutils.
 #BuildRequires: elfutils-libelf
 #BuildRequires: elfutils-devel
+BuildRequires: db5-devel
+BuildRequires: xz-devel
 BuildRequires: zlib-devel
 
 #BuildRequires: neon-devel
@@ -60,7 +64,14 @@
 # XXX this Provides: is bogus, but getconf(...) needs to be bootstrapped.
 #Provides: getconf(GNU_LIBPTHREAD_VERSION) = NPTL
 #Requires: getconf(GNU_LIBPTHREAD_VERSION) = NPTL
+Requires: zlib
+Requires: xz-libs
+Requires: db5
 
+%if %{gcc_compiler}
+Requires: libgcc
+%endif
+
 %description libs
 This package contains the RPM shared libraries.
 
@@ -255,6 +266,11 @@
 mkdir -p $RPM_BUILD_ROOT/etc/rpm
 mkdir -p $RPM_BUILD_ROOT/var/spool/repackage
 mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
+
+cp %{SOURCE7} $RPM_BUILD_ROOT/etc/rpm
+cp %{SOURCE8} $RPM_BUILD_ROOT/etc/rpm
+chmod 0444 $RPM_BUILD_ROOT/etc/rpm/*
+
 for dbi in \
 	Basenames Conflictname Dirnames Group Installtid Name Packages \
 	Providename Provideversion Requirename Requireversion Triggername \
@@ -273,6 +289,13 @@
 
 mkdir -p ${RPM_BUILD_ROOT}%{__usrlibrpm}/%{_arch}-solaris2.11/
 cp %{SOURCE3} ${RPM_BUILD_ROOT}%{__usrlibrpm}/%{_arch}-solaris2.11/macros
+
+%if %{build_64bit}
+mkdir -p ${RPM_BUILD_ROOT}%{__usrlibrpm}/i686-solaris2.11
+(cd ${RPM_BUILD_ROOT}%{__usrlibrpm}/i686-solaris2.11
+ ln -s ../%{_arch}-solaris2.11/macros)
+%endif
+
 cp %{SOURCE4} ${RPM_BUILD_ROOT}%{__usrlibrpm}
 cp %{SOURCE5} ${RPM_BUILD_ROOT}%{__usrlibrpm}
 cp %{SOURCE6} ${RPM_BUILD_ROOT}%{__usrlibrpm}
@@ -363,6 +386,11 @@
 %rpmattr %dir %{__rpmhome}/%{_arch}-solaris2.11
 %attr(0644, root, bin) %{__rpmhome}/%{_arch}-solaris2.11/macros
 
+%if %{build_64bit}
+%rpmattr %dir %{__rpmhome}/i686-solaris2.11
+%{__rpmhome}/i686-solaris2.11/*
+%endif
+
 %rpmattr	%{__rpmhome}/rpmdb_loadcvt
 ###%rpmattr	%{__rpmhome}/magic
 ###%rpmattr	%{__rpmhome}/magic.mgc
@@ -402,13 +430,15 @@
 %{_bindir32}/gendiff
 %endif
 
-%dir			/etc/rpm
+%dir		/etc/rpm
+%rpmattr	/etc/rpm/platform
+%rpmattr	/etc/rpm/sysinfo
 %attr(0755, root, bin)	%dir /var/lib/rpm
 %rpmdbattr		/var/lib/rpm/*
 %attr(0755, root, bin)	%dir /var/spool/repackage
 
 %attr(0755, root, bin)	%dir %{__usrlibrpm}
-#%attr(-, root, bin)		%{__usrlibrpm}/noarch*
+#%attr(-, root, bin)	%{__usrlibrpm}/noarch*
 
 %dir %{__prefix}/src/rpm
 %dir %{__prefix}/src/rpm/BUILD
Modified: trunk/spec_files/rpms/utils/bpkg
===================================================================
--- trunk/spec_files/rpms/utils/bpkg	2011年02月13日 15:12:12 UTC (rev 420)
+++ trunk/spec_files/rpms/utils/bpkg	2011年02月22日 17:38:00 UTC (rev 421)
@@ -30,7 +30,7 @@
 	if [ "1ドル" = "--32bit" ]
 	then
 		PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig"
-		PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/bin/i86:/usr/local/bin/amd64
+		PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/bin/i86:/usr/bin/amd64
 		export PKG_CONFIG_PATH PATH
 
 		shift
@@ -49,7 +49,7 @@
 	elif [ "1ドル" = "--both" ]
 	then
 		PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig:/usr/share/pkgconfig"
-		PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin/amd64:/usr/bin/amd64:/usr/sbin/amd64:/usr/local/bin/amd64
+		PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin/amd64:/usr/bin/amd64:/usr/sbin/amd64
 		export PKG_CONFIG_PATH PATH
 
 		shift
@@ -66,7 +66,7 @@
 		fi
 
 		PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig"
-		PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin/amd64
+		PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/bin/amd64
 		export PKG_CONFIG_PATH PATH
 
 		RPMBUILD_PARAMS='--target=i686-pc-solaris2.11 --define "_arch i686"'
@@ -83,7 +83,8 @@
 
 	else
 		PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig:/usr/share/pkgconfig"
-		PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin/amd64:/usr/bin/amd64:/usr/sbin/amd64:/usr/local/bin/amd64
+		#PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin/amd64:/usr/bin/amd64:/usr/sbin/amd64
+		PATH=/usr/local/bin/amd64:/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin/amd64:/usr/bin/amd64:/usr/sbin/amd64
 		export PKG_CONFIG_PATH PATH
 
 		spec="1ドル"
Modified: trunk/spec_files/rpms/xz.spec
===================================================================
--- trunk/spec_files/rpms/xz.spec	2011年02月13日 15:12:12 UTC (rev 420)
+++ trunk/spec_files/rpms/xz.spec	2011年02月22日 17:38:00 UTC (rev 421)
@@ -110,7 +110,7 @@
 %files
 %defattr (-, root, bin)
 %{_bindir}/*
-%{_mandir}/*
+%{_mandir}/man1/*
 
 %files libs
 %defattr (-, root, bin)
Modified: trunk/spec_files/rpms/zlib.spec
===================================================================
--- trunk/spec_files/rpms/zlib.spec	2011年02月13日 15:12:12 UTC (rev 420)
+++ trunk/spec_files/rpms/zlib.spec	2011年02月22日 17:38:00 UTC (rev 421)
@@ -78,4 +78,4 @@
 %files devel
 %defattr (0655, root, bin)
 %{_includedir}/*
-%{_mandir}/*
+%{_mandir}/man3/*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2011年02月13日 15:12:19
Revision: 420
 http://belenix.svn.sourceforge.net/belenix/?rev=420&view=rev
Author: moinakg
Date: 2011年02月13日 15:12:12 +0000 (2011年2月13日)
Log Message:
-----------
Working RPM5 with XZ compression on OpenSolaris platform, w00t#2.
Modified Paths:
--------------
 trunk/spec_files/rpms/rpm5.spec
Modified: trunk/spec_files/rpms/rpm5.spec
===================================================================
--- trunk/spec_files/rpms/rpm5.spec	2011年02月13日 14:16:14 UTC (rev 419)
+++ trunk/spec_files/rpms/rpm5.spec	2011年02月13日 15:12:12 UTC (rev 420)
@@ -266,9 +266,9 @@
 
 (cd ${RPM_BUILD_ROOT}%{__usrlibrpm}
 cp macros macros.tmp
- cat macros.tmp | sed 's/^%_repackage_all_erasures	1/%_repackage_all_erasures	0/' > macros
+ cat macros.tmp | sed 's/^%%_repackage_all_erasures	1/%%_repackage_all_erasures	0/' > macros
 cp macros.rpmbuild macros.rpmbuild.tmp
- cat macros.rpmbuild.tmp | sed 's/^#%_binary_payload	w9.gzdio/%_binary_payload	w6.xzio/' > macros.rpmbuild
+ cat macros.rpmbuild.tmp | sed 's/^#%%_binary_payload	w9.gzdio/%%_binary_payload	w6.xzio/' > macros.rpmbuild
 rm -f macros.tmp macros.rpmbuild.tmp)
 
 mkdir -p ${RPM_BUILD_ROOT}%{__usrlibrpm}/%{_arch}-solaris2.11/
@@ -288,6 +288,15 @@
 mv ${RPM_BUILD_ROOT}%{_libdir32}/python%{with_python_version}/vendor-packages/rpm/*.so* \
 	${RPM_BUILD_ROOT}%{_libdir32}/python%{with_python_version}/vendor-packages/rpm/%{_arch64}
 
+%if %{build_64bit}
+mkdir -p ${RPM_BUILD_ROOT}%{_bindir32}
+(cd ${RPM_BUILD_ROOT}%{_bindir}
+ for f in *
+ do
+ (cd ..; ln -s %{_arch64}/${f})
+ done)
+%endif
+
 %find_lang rpm
 
 %if %{with_apidocs}
@@ -341,6 +350,11 @@
 %rpmattr	%{_bindir}/rpm
 %rpmattr	%{_bindir}/rpmconstant
 
+%if %{build_64bit}
+%{_bindir32}/rpm
+%{_bindir32}/rpmconstant
+%endif
+
 %rpmattr %dir	%{__rpmhome}
 %rpmattr	%{__rpmhome}/rpm.*
 %rpmattr	%{__rpmhome}/tgpg
@@ -382,6 +396,12 @@
 %attr(0666, root, other) %{_docdir}/rpm-%{version}/*
 %rpmattr	%{_bindir}/rpm2cpio
 %rpmattr	%{_bindir}/gendiff
+
+%if %{build_64bit}
+%{_bindir32}/rpm2cpio
+%{_bindir32}/gendiff
+%endif
+
 %dir			/etc/rpm
 %attr(0755, root, bin)	%dir /var/lib/rpm
 %rpmdbattr		/var/lib/rpm/*
@@ -449,6 +469,10 @@
 %files build
 %rpmattr	%{_bindir}/rpmbuild
 
+%if %{build_64bit}
+%{_bindir32}/rpmbuild
+%endif
+
 %rpmattr	%{__rpmhome}/brp-*
 %rpmattr	%{__rpmhome}/check-files
 %rpmattr	%{__rpmhome}/cross-build
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2011年02月13日 14:16:22
Revision: 419
 http://belenix.svn.sourceforge.net/belenix/?rev=419&view=rev
Author: moinakg
Date: 2011年02月13日 14:16:14 +0000 (2011年2月13日)
Log Message:
-----------
RPM5 package builds w00t##1
Implement short-circuit bi and bb in bpkg.
Modified Paths:
--------------
 trunk/spec_files/rpms/rpm5.spec
 trunk/spec_files/rpms/utils/bpkg
Modified: trunk/spec_files/rpms/rpm5.spec
===================================================================
--- trunk/spec_files/rpms/rpm5.spec	2011年02月13日 11:44:31 UTC (rev 418)
+++ trunk/spec_files/rpms/rpm5.spec	2011年02月13日 14:16:14 UTC (rev 419)
@@ -2,8 +2,8 @@
 %define	with_apidocs		0%{nil}
 %define popt_version 1.16
 
-%global _usrlibrpm /usr/lib/rpm
-%global _rpmhome /usr/lib/rpm
+%global __usrlibrpm /usr/lib/rpm
+%global __rpmhome /usr/lib/rpm
 
 %define	__prefix	%{?_prefix}%{!?_prefix:/usr}
 %{?!_lib: %define _lib lib}
@@ -180,8 +180,8 @@
 --with-xz \
 --with-zlib \
 --with-python=%{with_python_version} \
- --with-python-inc-dir=%{_includedir}/python2.6 \
- --with-python-lib-dir=%{_libdir32}/python2.6 \
+ --with-python-inc-dir=%{_includedir}/python%{with_python_version} \
+ --with-python-lib-dir=%{_libdir32}/python%{with_python_version}/vendor-packages \
 --without-pythonembed \
 --without-perl --without-perlembed \
 --with-db --with-dbsql --without-db-tools-integrated --without-sqlite \
@@ -264,21 +264,30 @@
 touch $RPM_BUILD_ROOT/var/lib/rpm/$dbi
 done
 
-(cd ${RPM_BUILD_ROOTT}%{_usrlibrpm}
+(cd ${RPM_BUILD_ROOT}%{__usrlibrpm}
 cp macros macros.tmp
 cat macros.tmp | sed 's/^%_repackage_all_erasures	1/%_repackage_all_erasures	0/' > macros
 cp macros.rpmbuild macros.rpmbuild.tmp
 cat macros.rpmbuild.tmp | sed 's/^#%_binary_payload	w9.gzdio/%_binary_payload	w6.xzio/' > macros.rpmbuild
 rm -f macros.tmp macros.rpmbuild.tmp)
 
-mkdir -p %{_usrlibrpm}/%{_arch}-solaris2.11/
-cp %{SOURCE3} %{_usrlibrpm}/%{_arch}-solaris2.11/macros
-cp %{SOURCE4} %{_usrlibrpm}
-cp %{SOURCE5} %{_usrlibrpm}
-cp %{SOURCE6} %{_usrlibrpm}
+mkdir -p ${RPM_BUILD_ROOT}%{__usrlibrpm}/%{_arch}-solaris2.11/
+cp %{SOURCE3} ${RPM_BUILD_ROOT}%{__usrlibrpm}/%{_arch}-solaris2.11/macros
+cp %{SOURCE4} ${RPM_BUILD_ROOT}%{__usrlibrpm}
+cp %{SOURCE5} ${RPM_BUILD_ROOT}%{__usrlibrpm}
+cp %{SOURCE6} ${RPM_BUILD_ROOT}%{__usrlibrpm}
 
-chmod a+x %{_usrlibrpm}/find-info.sh %{_usrlibrpm}/install-info.sh %{_usrlibrpm}/drvtestadd
+chmod a+x ${RPM_BUILD_ROOT}%{__usrlibrpm}/find-info.sh \
+	${RPM_BUILD_ROOT}%{__usrlibrpm}/install-info.sh \
+	${RPM_BUILD_ROOT}%{__usrlibrpm}/drvtestadd
 
+mkdir -p ${RPM_BUILD_ROOT}%{_docdir}/rpm-%{version}
+cp -rp CHANGES doc/manual/[a-z]* ${RPM_BUILD_ROOT}%{_docdir}/rpm-%{version}
+
+mkdir ${RPM_BUILD_ROOT}%{_libdir32}/python%{with_python_version}/vendor-packages/rpm/%{_arch64}
+mv ${RPM_BUILD_ROOT}%{_libdir32}/python%{with_python_version}/vendor-packages/rpm/*.so* \
+	${RPM_BUILD_ROOT}%{_libdir32}/python%{with_python_version}/vendor-packages/rpm/%{_arch64}
+
 %find_lang rpm
 
 %if %{with_apidocs}
@@ -288,7 +297,7 @@
 # Get rid of unpackaged files
 { cd $RPM_BUILD_ROOT
 
- rm -f .%{_rpmhome}/{Specfile.pm,cpanflute,cpanflute2,rpmdiff,rpmdiff.cgi,sql.prov,sql.req,tcl.req,trpm}
+ rm -f .%{__rpmhome}/{Specfile.pm,cpanflute,cpanflute2,rpmdiff,rpmdiff.cgi,sql.prov,sql.req,tcl.req,trpm}
 
 rm -f .%{_mandir}/man8/rpmcache.8*
 rm -f .%{_mandir}/man8/rpmgraph.8*
@@ -316,9 +325,10 @@
 rm -rf .%{_includedir}/lzma*
 rm -f .%{_mandir}/man1/lz*.1
 rm -f .%{_libdir}/pkgconfig/liblzma*
+ rm -f .%{_libdir}/*.la
 
- rm -f .%{_libdir}/python%{with_python_version}/site-packages/*.{a,la}
- rm -f .%{_libdir}/python%{with_python_version}/site-packages/rpm/*.{a,la}
+ rm -f .%{_libdir32}/python%{with_python_version}/vendor-packages/*.{a,la}
+ rm -f .%{_libdir32}/python%{with_python_version}/vendor-packages/rpm/*.{a,la}
 }
 
 %clean
@@ -328,44 +338,48 @@
 %define	rpmdbattr %attr(0644, root, bin) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
 
 %files
-%pubkey pubkeys/JBJ-GPG-KEY
-
 %rpmattr	%{_bindir}/rpm
 %rpmattr	%{_bindir}/rpmconstant
 
-%rpmattr %dir	%{_rpmhome}
-%rpmattr	%{_rpmhome}/rpm.*
-%rpmattr	%{_rpmhome}/tgpg
-%attr(0644, root, bin)	%{_rpmhome}/macros
-%attr(0644, root, bin)	%{_rpmhome}/rpmpopt
+%rpmattr %dir	%{__rpmhome}
+%rpmattr	%{__rpmhome}/rpm.*
+%rpmattr	%{__rpmhome}/tgpg
+%attr(0644, root, bin)	%{__rpmhome}/macros
+%attr(0644, root, bin)	%{__rpmhome}/rpmpopt
+%rpmattr %dir %{__rpmhome}/%{_arch}-solaris2.11
+%attr(0644, root, bin) %{__rpmhome}/%{_arch}-solaris2.11/macros
 
-%rpmattr	%{_rpmhome}/rpmdb_loadcvt
-###%rpmattr	%{_rpmhome}/magic
-###%rpmattr	%{_rpmhome}/magic.mgc
-###%rpmattr	%{_rpmhome}/magic.mime
-###%rpmattr	%{_rpmhome}/magic.mime.mgc
-%rpmattr	%{_rpmhome}/rpm2cpio
-%rpmattr	%{_rpmhome}/vcheck
+%rpmattr	%{__rpmhome}/rpmdb_loadcvt
+###%rpmattr	%{__rpmhome}/magic
+###%rpmattr	%{__rpmhome}/magic.mgc
+###%rpmattr	%{__rpmhome}/magic.mime
+###%rpmattr	%{__rpmhome}/magic.mime.mgc
+%rpmattr	%{__rpmhome}/rpm2cpio
+%rpmattr	%{__rpmhome}/vcheck
 
-%rpmattr	%{_rpmhome}/helpers
+%rpmattr	%{__rpmhome}/helpers
 
-%rpmattr	%{_rpmhome}/qf
+%rpmattr	%{__rpmhome}/qf
 
-%rpmattr	%{_rpmhome}/cpuinfo.yaml
+%rpmattr	%{__rpmhome}/cpuinfo.yaml
 
-%rpmattr %dir	%{_rpmhome}/bin
-###%rpmattr	%{_rpmhome}/bin/db_*
-###%rpmattr	%{_rpmhome}/bin/grep
-%rpmattr	%{_rpmhome}/bin/mtree
-%rpmattr	%{_rpmhome}/bin/rpmkey
-%rpmattr	%{_rpmhome}/bin/rpmrepo
-%rpmattr	%{_rpmhome}/bin/rpmspecdump
-%rpmattr	%{_rpmhome}/bin/wget
+%rpmattr %dir	%{__rpmhome}/bin
+###%rpmattr	%{__rpmhome}/bin/db_*
+###%rpmattr	%{__rpmhome}/bin/grep
+%rpmattr	%{__rpmhome}/bin/mtree
+%rpmattr	%{__rpmhome}/bin/rpmrepo
+%rpmattr	%{__rpmhome}/bin/rpmspecdump
+%rpmattr	%{__rpmhome}/bin/wget
+%rpmattr	%{__rpmhome}/drvtestadd
+%rpmattr	%{__rpmhome}/find-info.sh
+%rpmattr	%{__rpmhome}/install-info.sh
+%rpmattr	%{__rpmhome}/dbconvert.sh
 
-%rpmattr %dir	%{_rpmhome}/lib
+%rpmattr %dir	%{__rpmhome}/lib
 
-%files common -f rpm.lang
-%doc CHANGES doc/manual/[a-z]*
+%files common -f rpm-%{version}/rpm.lang
+%dir %rpmattr	%{_docdir}/rpm-%{version}
+%attr(0666, root, other) %{_docdir}/rpm-%{version}/*
 %rpmattr	%{_bindir}/rpm2cpio
 %rpmattr	%{_bindir}/gendiff
 %dir			/etc/rpm
@@ -373,40 +387,9 @@
 %rpmdbattr		/var/lib/rpm/*
 %attr(0755, root, bin)	%dir /var/spool/repackage
 
-%attr(0755, root, bin)	%dir %{_usrlibrpm}
-%ifarch i386 i486 i586 i686 athlon pentium3 pentium4 x86_64
-%attr(-, root, bin)		%{_usrlibrpm}/i[3456]86*
-%attr(-, root, bin)		%{_usrlibrpm}/athlon*
-%attr(-, root, bin)		%{_usrlibrpm}/pentium*
-%attr(-, root, bin)		%{_usrlibrpm}/x86_64*
-%endif
-%ifarch alpha alphaev5 alphaev56 alphapca56 alphaev6 alphaev67
-%attr(-, root, bin)		%{_usrlibrpm}/alpha*
-%endif
-%ifarch sparc sparcv8 sparcv9 sparc64
-%attr(-, root, bin)		%{_usrlibrpm}/sparc*
-%endif
-%ifarch ia64
-%attr(-, root, bin)		%{_usrlibrpm}/ia64*
-%endif
-%ifarch powerpc ppc ppciseries ppcpseries ppcmac ppc64
-%attr(-, root, bin)		%{_usrlibrpm}/ppc*
-%endif
-%ifarch s390 s390x
-%attr(-, root, bin)		%{_usrlibrpm}/s390*
-%endif
-%ifarch armv3l armv4b armv4l
-%attr(-, root, bin)		%{_usrlibrpm}/armv[34][lb]*
-%endif
-%ifarch armv5teb armv5tel
-%attr(-, root, bin)		%{_usrlibrpm}/armv[345]*
-%endif
-%ifarch mips mipsel
-%attr(-, root, bin)		%{_usrlibrpm}/mips*
-%endif
+%attr(0755, root, bin)	%dir %{__usrlibrpm}
+#%attr(-, root, bin)		%{__usrlibrpm}/noarch*
 
-%attr(-, root, bin)		%{_usrlibrpm}/noarch*
-
 %dir %{__prefix}/src/rpm
 %dir %{__prefix}/src/rpm/BUILD
 %dir %{__prefix}/src/rpm/SPECS
@@ -458,121 +441,120 @@
 %{_libdir}/librpmmisc-5.3.so
 %{_libdir}/librpmbuild-5.3.so
 
-###%{_rpmhome}/lib/libxar.so.*
-###%{_rpmhome}/lib/libjs.so.*
-###%{_rpmhome}/lib/librpmjsm.so.*
-###%{_rpmhome}/lib/rpmjsm.so
+###%{__rpmhome}/lib/libxar.so.*
+###%{__rpmhome}/lib/libjs.so.*
+###%{__rpmhome}/lib/librpmjsm.so.*
+###%{__rpmhome}/lib/rpmjsm.so
 
 %files build
 %rpmattr	%{_bindir}/rpmbuild
 
-%rpmattr	%{_rpmhome}/brp-*
-%rpmattr	%{_rpmhome}/check-files
-%rpmattr	%{_rpmhome}/cross-build
-%rpmattr	%{_rpmhome}/find-debuginfo.sh
-%rpmattr	%{_rpmhome}/find-lang.sh
-%rpmattr	%{_rpmhome}/find-prov.pl
-%rpmattr	%{_rpmhome}/find-provides.perl
-%rpmattr	%{_rpmhome}/find-req.pl
-%rpmattr	%{_rpmhome}/find-requires.perl
-%rpmattr	%{_rpmhome}/getpo.sh
-%rpmattr	%{_rpmhome}/http.req
-%rpmattr	%{_rpmhome}/javadeps.sh
-%rpmattr	%{_rpmhome}/mono-find-provides
-%rpmattr	%{_rpmhome}/mono-find-requires
+%rpmattr	%{__rpmhome}/brp-*
+%rpmattr	%{__rpmhome}/check-files
+%rpmattr	%{__rpmhome}/cross-build
+%rpmattr	%{__rpmhome}/find-debuginfo.sh
+%rpmattr	%{__rpmhome}/find-lang.sh
+%rpmattr	%{__rpmhome}/find-prov.pl
+%rpmattr	%{__rpmhome}/find-provides.perl
+%rpmattr	%{__rpmhome}/find-req.pl
+%rpmattr	%{__rpmhome}/find-requires.perl
+%rpmattr	%{__rpmhome}/getpo.sh
+%rpmattr	%{__rpmhome}/http.req
+%rpmattr	%{__rpmhome}/javadeps.sh
+%rpmattr	%{__rpmhome}/mono-find-provides
+%rpmattr	%{__rpmhome}/mono-find-requires
 
-%rpmattr	%{_rpmhome}/executabledeps.sh
-%rpmattr	%{_rpmhome}/libtooldeps.sh
-%rpmattr	%{_rpmhome}/osgideps.pl
-%rpmattr	%{_rpmhome}/perldeps.pl
-%rpmattr	%{_rpmhome}/perl.prov
-%rpmattr	%{_rpmhome}/perl.req
-%rpmattr	%{_rpmhome}/php.prov
-%rpmattr	%{_rpmhome}/php.req
-%rpmattr	%{_rpmhome}/pkgconfigdeps.sh
-%rpmattr	%{_rpmhome}/pythondeps.sh
+%rpmattr	%{__rpmhome}/executabledeps.sh
+%rpmattr	%{__rpmhome}/libtooldeps.sh
+%rpmattr	%{__rpmhome}/osgideps.pl
+%rpmattr	%{__rpmhome}/perldeps.pl
+%rpmattr	%{__rpmhome}/perl.prov
+%rpmattr	%{__rpmhome}/perl.req
+%rpmattr	%{__rpmhome}/php.prov
+%rpmattr	%{__rpmhome}/php.req
+%rpmattr	%{__rpmhome}/pkgconfigdeps.sh
+%rpmattr	%{__rpmhome}/pythondeps.sh
 
-%rpmattr	%{_rpmhome}/gem_helper.rb
+%rpmattr	%{__rpmhome}/gem_helper.rb
 
-%rpmattr	%{_rpmhome}/bin/debugedit
-%rpmattr	%{_rpmhome}/bin/rpmcache
-%rpmattr	%{_rpmhome}/bin/rpmcmp
-%rpmattr	%{_rpmhome}/bin/rpmdeps
-%rpmattr	%{_rpmhome}/bin/rpmdigest
-%rpmattr	%{_rpmhome}/bin/abi-compliance-checker.pl
-%rpmattr	%{_rpmhome}/bin/api-sanity-autotest.pl
-%rpmattr	%{_rpmhome}/bin/chroot
-%rpmattr	%{_rpmhome}/bin/cp
-%rpmattr	%{_rpmhome}/bin/dbsql
-%rpmattr	%{_rpmhome}/bin/find
-%rpmattr	%{_rpmhome}/bin/install-sh
-%rpmattr	%{_rpmhome}/bin/lua
-%rpmattr	%{_rpmhome}/bin/luac
-%rpmattr	%{_rpmhome}/bin/mkinstalldirs
-%rpmattr	%{_rpmhome}/bin/rpmlua
-%rpmattr	%{_rpmhome}/bin/rpmluac
-%rpmattr	%{_rpmhome}/bin/sqlite3
+#%rpmattr	%{__rpmhome}/bin/debugedit
+%rpmattr	%{__rpmhome}/bin/rpmcache
+%rpmattr	%{__rpmhome}/bin/rpmcmp
+%rpmattr	%{__rpmhome}/bin/rpmdeps
+%rpmattr	%{__rpmhome}/bin/rpmdigest
+%rpmattr	%{__rpmhome}/bin/abi-compliance-checker.pl
+%rpmattr	%{__rpmhome}/bin/api-sanity-autotest.pl
+%rpmattr	%{__rpmhome}/bin/chroot
+%rpmattr	%{__rpmhome}/bin/cp
+%rpmattr	%{__rpmhome}/bin/dbsql
+%rpmattr	%{__rpmhome}/bin/find
+%rpmattr	%{__rpmhome}/bin/install-sh
+%rpmattr	%{__rpmhome}/bin/lua
+%rpmattr	%{__rpmhome}/bin/luac
+%rpmattr	%{__rpmhome}/bin/mkinstalldirs
+%rpmattr	%{__rpmhome}/bin/rpmlua
+%rpmattr	%{__rpmhome}/bin/rpmluac
+%rpmattr	%{__rpmhome}/bin/sqlite3
 
-%rpmattr	%{_rpmhome}/lib/liblua.a
-%rpmattr	%{_rpmhome}/lib/liblua.la
+%rpmattr	%{__rpmhome}/lib/liblua.a
+%rpmattr	%{__rpmhome}/lib/liblua.la
 
-%rpmattr %dir	%{_rpmhome}/macros.d
-%rpmattr	%{_rpmhome}/macros.d/cmake
-%rpmattr	%{_rpmhome}/macros.d/java
-%rpmattr	%{_rpmhome}/macros.d/libtool
-%rpmattr	%{_rpmhome}/macros.d/mandriva
-%rpmattr	%{_rpmhome}/macros.d/mono
-%rpmattr	%{_rpmhome}/macros.d/perl
-%rpmattr	%{_rpmhome}/macros.d/php
-%rpmattr	%{_rpmhome}/macros.d/pkgconfig
-%rpmattr	%{_rpmhome}/macros.d/python
-%rpmattr	%{_rpmhome}/macros.d/ruby
-%rpmattr	%{_rpmhome}/macros.d/selinux
-%rpmattr	%{_rpmhome}/macros.d/tcl
-%rpmattr	%{_rpmhome}/macros.rpmbuild
+%rpmattr %dir	%{__rpmhome}/macros.d
+%rpmattr	%{__rpmhome}/macros.d/cmake
+%rpmattr	%{__rpmhome}/macros.d/java
+%rpmattr	%{__rpmhome}/macros.d/libtool
+%rpmattr	%{__rpmhome}/macros.d/mandriva
+%rpmattr	%{__rpmhome}/macros.d/mono
+%rpmattr	%{__rpmhome}/macros.d/perl
+%rpmattr	%{__rpmhome}/macros.d/php
+%rpmattr	%{__rpmhome}/macros.d/pkgconfig
+%rpmattr	%{__rpmhome}/macros.d/python
+%rpmattr	%{__rpmhome}/macros.d/ruby
+%rpmattr	%{__rpmhome}/macros.d/selinux
+%rpmattr	%{__rpmhome}/macros.d/tcl
+%rpmattr	%{__rpmhome}/macros.rpmbuild
 
-#%rpmattr	%{_rpmhome}/symclash.*
-%rpmattr	%{_rpmhome}/u_pkg.sh
-%rpmattr	%{_rpmhome}/vpkg-provides.sh
-%rpmattr	%{_rpmhome}/vpkg-provides2.sh
+#%rpmattr	%{__rpmhome}/symclash.*
+%rpmattr	%{__rpmhome}/u_pkg.sh
+%rpmattr	%{__rpmhome}/vpkg-provides.sh
+%rpmattr	%{__rpmhome}/vpkg-provides2.sh
 
 %files python
-%{_libdir}/python%{with_python_version}/site-packages/rpm
+%defattr (-, root, bin)
+%{_libdir32}/python%{with_python_version}/vendor-packages/rpm
 
 %files devel
+%defattr (-, root, bin)
 %if %{with_apidocs}
 %doc 
 %endif
 %{_includedir}/rpm
 %{_libdir}/librpm.a
-%{_libdir}/librpm.la
 %{_libdir}/librpm.so
 %{_libdir}/librpmconstant.a
-%{_libdir}/librpmconstant.la
 %{_libdir}/librpmconstant.so
 %{_libdir}/librpmdb.a
-%{_libdir}/librpmdb.la
 %{_libdir}/librpmdb.so
 %{_libdir}/librpmio.a
-%{_libdir}/librpmio.la
 %{_libdir}/librpmio.so
 %{_libdir}/librpmmisc.a
-%{_libdir}/librpmmisc.la
 %{_libdir}/librpmmisc.so
 %{_libdir}/librpmbuild.a
-%{_libdir}/librpmbuild.la
 %{_libdir}/librpmbuild.so
 %{_libdir}/pkgconfig/rpm.pc
 
-###%{_rpmhome}/lib/libxar.a
-###%{_rpmhome}/lib/libxar.la
-###%{_rpmhome}/lib/libxar.so
-###%{_rpmhome}/lib/libjs.a
-###%{_rpmhome}/lib/libjs.la
-###%{_rpmhome}/lib/libjs.so
-###%{_rpmhome}/lib/librpmjsm.a
-###%{_rpmhome}/lib/librpmjsm.la
-###%{_rpmhome}/lib/librpmjsm.so
+#%{_libdir}/librpm.la
+#%{_libdir}/librpmconstant.la
+#%{_libdir}/librpmdb.la
+#%{_libdir}/librpmio.la
+#%{_libdir}/librpmmisc.la
+#%{_libdir}/librpmbuild.la
+###%{__rpmhome}/lib/libjs.a
+###%{__rpmhome}/lib/libjs.la
+###%{__rpmhome}/lib/libjs.so
+###%{__rpmhome}/lib/librpmjsm.a
+###%{__rpmhome}/lib/librpmjsm.la
+###%{__rpmhome}/lib/librpmjsm.so
 
 %changelog
 * Sat Oct 23 2010 Jeff Johnson <jb...@rp...> - 5.3.5-0.1
Modified: trunk/spec_files/rpms/utils/bpkg
===================================================================
--- trunk/spec_files/rpms/utils/bpkg	2011年02月13日 11:44:31 UTC (rev 418)
+++ trunk/spec_files/rpms/utils/bpkg	2011年02月13日 14:16:14 UTC (rev 419)
@@ -8,8 +8,19 @@
 
 export CC CXX
 
+process=0
+
 if [ "1ドル" = "build" ]
 then
+	process=1
+fi
+if [ "1ドル" = "build-short-circuit" ]
+then
+	process=2
+fi
+
+if [ $process -gt 0 ]
+then
 	shift
 	RPMBUILD_PARAMS='--define "use_arch64=1"'
 	CC_IS_GCC=""
@@ -25,9 +36,16 @@
 		shift
 		spec="1ドル"
 		RPMBUILD_PARAMS='--target=i686-pc-solaris2.11 --define "_arch i686"'
-		eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -ba ${spec}"
-		[ $? -ne 0 ] && exit 1
-
+		if [ $process -gt 1 ]
+		then
+			eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -bi --short-circuit ${spec}"
+			[ $? -ne 0 ] && exit 1
+			eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -bb --short-circuit ${spec}"
+			[ $? -ne 0 ] && exit 1
+		else
+			eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -ba ${spec}"
+			[ $? -ne 0 ] && exit 1
+		fi
 	elif [ "1ドル" = "--both" ]
 	then
 		PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig:/usr/share/pkgconfig"
@@ -36,16 +54,32 @@
 
 		shift
 		spec="1ドル"
-		eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -ba ${spec}"
-		[ $? -ne 0 ] && exit 1
+		if [ $process -gt 1 ]
+		then
+			eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -bi --short-circuit ${spec}"
+			[ $? -ne 0 ] && exit 1
+			eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -bb --short-circuit ${spec}"
+			[ $? -ne 0 ] && exit 1
+		else
+			eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -ba ${spec}"
+			[ $? -ne 0 ] && exit 1
+		fi
 
 		PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig"
 		PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin/amd64
 		export PKG_CONFIG_PATH PATH
 
 		RPMBUILD_PARAMS='--target=i686-pc-solaris2.11 --define "_arch i686"'
-		eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -bb ${spec}"
-		[ $? -ne 0 ] && exit 1
+		if [ $process -gt 1 ]
+		then
+			eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -bi --short-circuit ${spec}"
+			[ $? -ne 0 ] && exit 1
+			eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -bb --short-circuit ${spec}"
+			[ $? -ne 0 ] && exit 1
+		else
+			eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -bb ${spec}"
+			[ $? -ne 0 ] && exit 1
+		fi
 
 	else
 		PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig:/usr/share/pkgconfig"
@@ -53,8 +87,16 @@
 		export PKG_CONFIG_PATH PATH
 
 		spec="1ドル"
-		eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -ba ${spec}"
-		[ $? -ne 0 ] && exit 1
+		if [ $process -gt 1 ]
+		then
+			eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -bi --short-circuit ${spec}"
+			[ $? -ne 0 ] && exit 1
+			eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -bb --short-circuit ${spec}"
+			[ $? -ne 0 ] && exit 1
+		else
+			eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -ba ${spec}"
+			[ $? -ne 0 ] && exit 1
+		fi
 	fi
 fi
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2011年02月13日 11:44:39
Revision: 418
 http://belenix.svn.sourceforge.net/belenix/?rev=418&view=rev
Author: moinakg
Date: 2011年02月13日 11:44:31 +0000 (2011年2月13日)
Log Message:
-----------
Work-in-progress RPM5 package and XAR package (XAR does not build yet; more porting required).
Add BerkeleyDB5 package.
Update Gcc package to properly handle libssp_nonshared.
Modified Paths:
--------------
 trunk/spec_files/rpms/gcc.spec
 trunk/spec_files/rpms/include/rpmmacros
Added Paths:
-----------
 trunk/spec_files/rpms/db5.spec
 trunk/spec_files/rpms/ext-sources/drvtestadd
 trunk/spec_files/rpms/ext-sources/find-info.sh
 trunk/spec_files/rpms/ext-sources/install-info.sh
 trunk/spec_files/rpms/patches/rpm-script-env.diff
 trunk/spec_files/rpms/patches/xar-1.5.2-CVE-2010-0055.patch
 trunk/spec_files/rpms/patches/xar-solaris-acl.patch
 trunk/spec_files/rpms/rpm5.spec
 trunk/spec_files/rpms/xar.spec
Added: trunk/spec_files/rpms/db5.spec
===================================================================
--- trunk/spec_files/rpms/db5.spec	 (rev 0)
+++ trunk/spec_files/rpms/db5.spec	2011年02月13日 11:44:31 UTC (rev 418)
@@ -0,0 +1,125 @@
+## WORK IN PROGRESS ##
+
+Name: db5
+Summary: The Berkeley DB database library (version 5) for C/C++
+Version: 5.1.19
+Release: 1%{?dist}
+License: BSD
+Group: System Environment/Libraries
+Source: http://download-west.oracle.com/berkeley-db/db-%{version}.tar.gz
+URL: http://www.oracle.com/technology/software/products/berkeley-db/index.html
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%if %gcc_compiler
+Requires: libgcc
+%endif
+#Requires: tcl
+#BuildRequires: tcl-devel
+#BuildRequires: java6-devel
+
+%description
+The Berkeley Database (Berkeley DB) is a programmatic toolkit that
+provides embedded database support for both traditional and
+client/server applications. The Berkeley DB includes B+tree, Extended
+Linear Hashing, Fixed and Variable-length record access methods,
+transactions, locking, logging, shared memory caching, and database
+recovery. The Berkeley DB supports C, C++, Java, and Perl APIs. It is
+used by many applications, including Python and Perl, so this should
+be installed on all systems.
+
+%package devel
+Summary: C/C++ development files for the Berkeley DB (version 5) library
+Group: Development/Libraries
+Requires: %name = %{version}-%{release}
+#Requires: tcl-devel
+#Requires: java6-devel
+
+%description devel
+The Berkeley Database (Berkeley DB) is a programmatic toolkit that
+provides embedded database support for both traditional and
+client/server applications. This package contains the header files,
+libraries, and documentation for building programs which use the
+Berkeley DB.
+
+%package doc
+Summary: Documentation files for the Berkeley DB (version 5) library
+Requires: %name = %{version}-%{release}
+
+%description doc
+HTML documentation files for the Berkeley DB (version 5) library.
+
+%prep
+%bsetup
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+cd db-%{version}
+export CFLAGS="%optflags"
+export CXXFLAGS="%cxx_optflags"
+export LDFLAGS="%{_ldflags} -lstdc++"
+cd build_unix
+../dist/configure -C \
+ --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libexecdir} \
+ --mandir=%{_mandir} \
+ --datadir=%{_datadir} \
+ --infodir=%{_datadir}/info \
+ --datadir=%{_localstatedir}/bdb/data \
+ --localstatedir=%{_localstatedir}/bdb \
+ --disable-warnings \
+ --disable-debug \
+ --enable-cryptography \
+ --enable-hash \
+ --enable-queue \
+ --enable-verify \
+ --enable-cxx \
+ --enable-java \
+ --enable-tcl --with-tcl=%{_libdir} \
+ --enable-sql \
+ --enable-sql_codegen \
+ --enable-posixmutexes \
+ --enable-largefile \
+ --enable-shared \
+ --disable-static \
+ --program-transform-name=s,^db,db51,
+
+gmake -j$CPUS 
+cd ../..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd db-%{version}
+cd build_unix
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc
+mv $RPM_BUILD_ROOT%{_prefix}/docs $RPM_BUILD_ROOT%{_prefix}/share/doc/bdb
+(cd $RPM_BUILD_ROOT%{_libdir}
+ ln -s libdb.so libdb.so.1)
+cd ../..
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_bindir}/db*
+%{_libdir}/libdb*
+%{_libdir}/*.jar
+
+%files devel
+%defattr (-, root, bin)
+%{_includedir}/*
+
+%files doc
+%defattr (-, root, bin)
+%{_datadir}/doc/*
+
+%changelog
Added: trunk/spec_files/rpms/ext-sources/drvtestadd
===================================================================
--- trunk/spec_files/rpms/ext-sources/drvtestadd	 (rev 0)
+++ trunk/spec_files/rpms/ext-sources/drvtestadd	2011年02月13日 11:44:31 UTC (rev 418)
@@ -0,0 +1,81 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+
+ALIAS_LIST="1ドル"
+DRV_PARAMS="2ドル"
+
+DEVLIST=""
+count=0
+BASEDIR_OPT=""
+BASEDIR="${RPM_INSTALL_ROOT}"
+
+if [ "${BASEDIR:=/}" != "/" ]
+then
+	BASEDIR_OPT="-n"
+fi
+
+cmd=""
+check_add_drv() {
+	cmd="/usr/sbin/add_drv ${BASEDIR_OPT} "
+	arg="$@"
+	if [ "$DEVLIST" != "''" ]
+	then
+		drv=7ドル
+		if [ $count -gt 0 ]
+		then
+			grep "^$drv " ${BASEDIR:=/}/etc/driver_aliases > /dev/null
+			if [ $? -eq 0 ]
+			then
+				echo $arg > /tmp/cnt
+				cmd="/usr/sbin/update_drv ${BASEDIR_OPT} -a "
+				line=`sed 's/\-n//' /tmp/cnt`
+				cmd="${cmd} ${line}"
+			else
+				cmd="${cmd} ${arg}"
+			fi
+		else
+			cmd="${cmd} ${arg}"
+		fi
+		eval ${cmd}
+	else
+		echo "WARNING: Driver not added as all device aliases in use"
+	fi
+}
+
+if [ "x${ALIAS_LIST}" = "x" ]
+then
+	DEVLIST="'"
+	for i in `cat "${ALIAS_LIST}"`
+	do
+		grep $i ${BASEDIR}/etc/driver_aliases > /dev/null
+		if [ $? -ne 0 ]
+		then
+			DEVLIST="${DEVLIST}$i "
+		else
+			count=`expr $count + 1`
+		fi
+	done
+	DEVLIST="${DEVLIST}'"
+fi
Property changes on: trunk/spec_files/rpms/ext-sources/drvtestadd
___________________________________________________________________
Added: svn:executable
 + *
Added: trunk/spec_files/rpms/ext-sources/find-info.sh
===================================================================
--- trunk/spec_files/rpms/ext-sources/find-info.sh	 (rev 0)
+++ trunk/spec_files/rpms/ext-sources/find-info.sh	2011年02月13日 11:44:31 UTC (rev 418)
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+BLDROOT="1ドル"
+INFODIR="2ドル"
+PKG_NAME="3ドル"
+
+[ ! -d ${BLDROOT}/${INFODIR} ] && exit 0
+
+for info in `ls ${BLDROOT}/${INFODIR}/*.info*`
+do
+	ifile=`basename $info`
+	echo ${ifile} >> ${BLDROOT}/${INFODIR}/${PKG_NAME}.ilist
+done
Property changes on: trunk/spec_files/rpms/ext-sources/find-info.sh
___________________________________________________________________
Added: svn:executable
 + *
Added: trunk/spec_files/rpms/ext-sources/install-info.sh
===================================================================
--- trunk/spec_files/rpms/ext-sources/install-info.sh	 (rev 0)
+++ trunk/spec_files/rpms/ext-sources/install-info.sh	2011年02月13日 11:44:31 UTC (rev 418)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+infodir="${1}"
+
+PATH=/usr/bin:/usr/sfw/bin; export PATH
+for info in `cat "${infodir}/${2}.ilist"`
+do
+ install-info --quiet --info-dir="${infodir}" "${infodir}/$info"
+done
+
Property changes on: trunk/spec_files/rpms/ext-sources/install-info.sh
___________________________________________________________________
Added: svn:executable
 + *
Modified: trunk/spec_files/rpms/gcc.spec
===================================================================
--- trunk/spec_files/rpms/gcc.spec	2011年02月06日 10:40:50 UTC (rev 417)
+++ trunk/spec_files/rpms/gcc.spec	2011年02月13日 11:44:31 UTC (rev 418)
@@ -225,6 +225,7 @@
 
 cd build
 gmake install DESTDIR=$RPM_BUILD_ROOT
+BDIR=`pwd`
 
 cd $RPM_BUILD_ROOT
 %patch1 -p0
@@ -233,15 +234,21 @@
 ln -s share/man man
 
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
-rm -f $RPM_BUILD_ROOT%{_libdir32}/libiberty*
-rm -f $RPM_BUILD_ROOT%{_libdir64}/libiberty*
-rm -f $RPM_BUILD_ROOT%{_libdir32}/libssp*
-rm -f $RPM_BUILD_ROOT%{_libdir64}/libssp*
-rm -f $RPM_BUILD_ROOT%{_libdir32}/libsupc*
-rm -f $RPM_BUILD_ROOT%{_libdir64}/libsupc*
+rm -f $RPM_BUILD_ROOT%{_libdir32}/libssp.so*
+rm -f $RPM_BUILD_ROOT%{_libdir64}/libssp.so*
 rm -f $RPM_BUILD_ROOT%{_libdir32}/*.la
 rm -f $RPM_BUILD_ROOT%{_libdir64}/*.la
 
+mv $RPM_BUILD_ROOT%{_libdir32}/*.a $RPM_BUILD_ROOT%{_libdir32}/gcc/i386-pc-solaris2.11/%{version}
+mv $RPM_BUILD_ROOT%{_libdir64}/*.a $RPM_BUILD_ROOT%{_libdir32}/gcc/i386-pc-solaris2.11/%{version}/%{_arch64}
+
+(cd $RPM_BUILD_ROOT%{_libdir32}/gcc/i386-pc-solaris2.11/%{version}
+ rm -f libssp_nonshared.a
+ ar cr libssp_nonshared.a ${BDIR}/i386-pc-solaris2.11/libssp/.libs/*.o
+ ln -s libssp_nonshared.a libssp.a
+ cd %{_arch64}
+ ln -s libssp_nonshared.a libssp.a)
+
 %if %build_l10n
 %else
 # REMOVE l10n FILES
Modified: trunk/spec_files/rpms/include/rpmmacros
===================================================================
--- trunk/spec_files/rpms/include/rpmmacros	2011年02月06日 10:40:50 UTC (rev 417)
+++ trunk/spec_files/rpms/include/rpmmacros	2011年02月13日 11:44:31 UTC (rev 418)
@@ -195,4 +195,4 @@
 %install_info() %{_rpmhome}/install-info.sh %{_infodir} %{name}
 %uninstall_info() %{_rpmhome}/uninstall-info.sh %{_infodir} %{name}
 
-
+%pyname python2.6
Added: trunk/spec_files/rpms/patches/rpm-script-env.diff
===================================================================
--- trunk/spec_files/rpms/patches/rpm-script-env.diff	 (rev 0)
+++ trunk/spec_files/rpms/patches/rpm-script-env.diff	2011年02月13日 11:44:31 UTC (rev 418)
@@ -0,0 +1,15 @@
+--- rpm-5.3.6/lib/transaction.c.orig	2011年01月23日 19:17:41.773362033 +0530
++++ rpm-5.3.6/lib/transaction.c	2011年02月06日 23:58:06.566955379 +0530
+@@ -1512,6 +1512,12 @@
+ 	xx = Chdir("/");
+ 	/*@-modobserver@*/
+ 	if (rootDir != NULL && strcmp(rootDir, "/") && *rootDir == '/') {
++#if defined(__sun)
++ /*
++ * Set standard alternate root path on Solaris platform.
++ */
++ dosetenv("RPM_INSTALL_ROOT", rootDir, 1);
++#endif
+ 	 if (openall_before_chroot)
+ 		xx = rpmdbOpenAll(rpmtsGetRdb(ts));
+ 	 xx = Chroot(rootDir);
Added: trunk/spec_files/rpms/patches/xar-1.5.2-CVE-2010-0055.patch
===================================================================
--- trunk/spec_files/rpms/patches/xar-1.5.2-CVE-2010-0055.patch	 (rev 0)
+++ trunk/spec_files/rpms/patches/xar-1.5.2-CVE-2010-0055.patch	2011年02月13日 11:44:31 UTC (rev 418)
@@ -0,0 +1,49 @@
+Index: xar/lib/archive.c
+===================================================================
+--- xar/lib/archive.c	(revision 224)
++++ xar/lib/archive.c	(revision 225)
+@@ -330,6 +330,44 @@
+ 
+ 		EVP_DigestFinal(&XAR(ret)->toc_ctx, toccksum, &tlen);
+ 
++		const char *value;
++		uint64_t offset = 0;
++		uint64_t length = tlen;
++		if( xar_prop_get( XAR_FILE(ret) , "checksum/offset", &value) == 0 ) {
++			errno = 0;
++			offset = strtoull( value, (char **)NULL, 10);
++			if( errno != 0 ) {
++				xar_close(ret);
++				return NULL;
++			}
++		} else if( xar_signature_first(ret) != NULL ) {
++			// All archives that have a signature also specify the location
++			// of the checksum. If the location isn't specified, error out.
++			xar_close(ret);
++			return NULL;
++		}
++
++		XAR(ret)->heap_offset = xar_get_heap_offset(ret) + offset;
++		if( lseek(XAR(ret)->fd, XAR(ret)->heap_offset, SEEK_SET) == -1 ) {
++			xar_close(ret);
++			return NULL;
++		}
++		if( xar_prop_get( XAR_FILE(ret) , "checksum/size", &value) == 0 ) {
++			errno = 0;
++			length = strtoull( value, (char **)NULL, 10);
++			if( errno != 0 ) {
++				xar_close(ret);
++				return NULL;
++			}
++		} else if( xar_signature_first(ret) != NULL ) {
++			xar_close(ret);
++			return NULL;
++		}
++		if( length != tlen ) {
++			xar_close(ret);
++			return NULL;
++		}
++
+ 		xar_read_fd(XAR(ret)->fd, cval, tlen);
+ 		XAR(ret)->heap_offset += tlen;
+ 		if( memcmp(cval, toccksum, tlen) != 0 ) {
Added: trunk/spec_files/rpms/patches/xar-solaris-acl.patch
===================================================================
--- trunk/spec_files/rpms/patches/xar-solaris-acl.patch	 (rev 0)
+++ trunk/spec_files/rpms/patches/xar-solaris-acl.patch	2011年02月13日 11:44:31 UTC (rev 418)
@@ -0,0 +1,132 @@
+--- xar-1.5.2/lib/stat.c.orig	Sat Feb 12 11:53:28 2011
++++ xar-1.5.2/lib/stat.c	Sat Feb 12 13:16:42 2011
+@@ -118,10 +118,46 @@
+ 	return ret;
+ }
+ 
++#ifdef HAVE_SYS_ACL_H
++#if defined(sun) || defined (_sun)
++static char *
++acl_solaris_errstring(int err) {
++	switch (err) {
++	case EACL_FIELD_NOT_BLANK:
++		return ("Required blank field not blank.");
++
++	case EACL_FLAGS_ERROR:
++		return ("Invalid ACL flag.");
++
++	case EACL_INHERIT_ERROR:
++		return ("Invalid inheritance field.");
++
++	case EACL_INVALID_ACCESS_TYPE:
++		return ("Invalid access type.");
++
++	case EACL_INVALID_STR:
++		return ("Invalid/NULL ACL string.");
++
++	case EACL_INVALID_USER_GROUP:
++		return ("User or Group name not found.");
++
++	case EACL_MISSING_FIELDS:
++		return ("Required fields missing.");
++
++	case EACL_PERM_MASK_ERROR:
++		return ("Invalid permission mask.");
++
++	case EACL_UNKNOWN_DATA:
++		return ("ACL contains unknown data.");
++	}
++	return ("Unknown ACL Error.");
++}
++#endif
++#endif
++
+ static int32_t aacls(xar_file_t f, const char *file) {
+ #ifdef HAVE_SYS_ACL_H
+ #if !defined(__APPLE__)
+-	acl_t a;
+ 	const char *type;
+ 
+ 	xar_prop_get(f, "type", &type);
+@@ -128,6 +164,23 @@
+ 	if( !type || (strcmp(type, "symlink") == 0) )
+ 		return 0;
+ 
++#if defined(sun) || defined (_sun)
++/* Solaris/OpenSolaris/Illumos ACL support */
++	acl_t *a;
++
++	if (acl_get(file, ACL_NO_TRIVIAL, &a) > -1) {
++		char *t;
++
++		t = acl_totext(a, ACL_COMPACT_FMT | ACL_APPEND_ID | ACL_SID_FMT);
++		if (t) {
++			xar_prop_set(f, "acl/solaris", t);
++			free(t);
++		}
++		acl_free(a);
++	}
++#else /* !sun */
++	acl_t a;
++
+ 	a = acl_get_file(file, ACL_TYPE_DEFAULT);
+ 	if( a ) {
+ 		char *t;
+@@ -163,6 +216,7 @@
+ 		acl_free(a);
+ 	}
+ DONE:
++#endif /* sun */
+ #else /* !__AAPLE__ */
+ 	acl_entry_t e = NULL;
+ 	acl_t a;
+@@ -191,7 +245,6 @@
+ #ifdef HAVE_SYS_ACL_H
+ #if !defined(__APPLE__)
+ 	const char *t;
+-	acl_t a;
+ 	const char *type;
+ 
+ 	xar_prop_get(f, "type", &type);
+@@ -198,7 +251,33 @@
+ 	if( !type || (strcmp(type, "symlink") == 0) )
+ 		return 0;
+ 
++#if defined(sun) || defined (_sun)
++/* Solaris/OpenSolaris/Illumos ACL support */
++	acl_t *a;
++	int err;
+ 
++	xar_prop_get(f, "acl/solaris", &t);
++	if( t ) {
++		if ((err = acl_fromtext(t, &a)) == 0) {
++			if ((err = acl_set(file, a)) == -1) {
++				xar_err_new(x);
++				xar_err_set_errno(x, errno);
++				xar_err_set_string(x, "Error setting default acl");
++				xar_err_set_file(x, f);
++				xar_err_callback(x, XAR_SEVERITY_NONFATAL, XAR_ERR_ARCHIVE_EXTRACTION);
++			}
++			acl_free(a);
++		} else {
++			xar_err_new(x);
++			xar_err_set_errno(x, errno);
++			xar_err_set_string(x, acl_solaris_errstring(err));
++			xar_err_set_file(x, f);
++			xar_err_callback(x, XAR_SEVERITY_NONFATAL, XAR_ERR_ARCHIVE_EXTRACTION);
++		}
++	}
++#else /* !sun */
++	acl_t a;
++
+ 	xar_prop_get(f, "acl/default", &t);
+ 	if( t ) {
+ 		a = acl_from_text(t);
+@@ -239,6 +318,7 @@
+ 			acl_free(a);
+ 		}
+ 	}
++#endif
+ #else /* !__APPLE__ */
+ 	const char *t;
+ 	acl_t a;
Added: trunk/spec_files/rpms/rpm5.spec
===================================================================
--- trunk/spec_files/rpms/rpm5.spec	 (rev 0)
+++ trunk/spec_files/rpms/rpm5.spec	2011年02月13日 11:44:31 UTC (rev 418)
@@ -0,0 +1,582 @@
+%define	with_python_version	2.6%{nil}
+%define	with_apidocs		0%{nil}
+%define popt_version 1.16
+
+%global _usrlibrpm /usr/lib/rpm
+%global _rpmhome /usr/lib/rpm
+
+%define	__prefix	%{?_prefix}%{!?_prefix:/usr}
+%{?!_lib: %define _lib lib}
+%{expand: %%define __share %(if [ -d %{__prefix}/share/man ]; then echo /share ; else echo %%{nil} ; fi)}
+
+
+Summary: The RPM package management system version 5
+Name: rpm5
+Version: 5.3.6
+Release: 1%{?dist}
+Group: System Environment/Base
+URL: http://rpm5.org
+Source0: http://rpm5.org/files/rpm/rpm-5.3/rpm-%{version}.tar.gz
+Source1: http://rpm5.org/files/popt/popt-%{popt_version}.tar.gz
+Source3: rpmmacros
+Source4: find-info.sh
+Source5: install-info.sh
+Source6: drvtestadd
+License: LGPL
+#Requires: fileutils shadow-utils
+#Requires: getconf(GNU_LIBPTHREAD_VERSION) = NPTL
+Requires: %{name}-libs == %{version}-%{release}
+Requires: %{name}-common
+
+# XXX necessary only to drag in /usr/lib/libelf.a, otherwise internal elfutils.
+#BuildRequires: elfutils-libelf
+#BuildRequires: elfutils-devel
+BuildRequires: zlib-devel
+
+#BuildRequires: neon-devel
+#BuildRequires: sqlite-devel
+
+#BuildRequires: bzip2-devel >= 1.0
+BuildRequires: xz-devel >= 4.999.8
+%if "%{with_apidocs}" == "1"
+#BuildRequires: doxygen
+BuildRequires: graphviz
+%endif
+#BuildRequires: python-devel >= %{with_python_version}
+#BuildRequires: perl >= 2:5.8.0
+
+BuildRoot: %{_tmppath}/%{name}-root
+
+%description
+The RPM Package Manager (RPM) is a powerful command line driven
+package management system capable of installing, uninstalling,
+verifying, querying, and updating software packages. Each software
+package consists of an archive of files along with information about
+the package like its version, a description, etc.
+
+%package libs
+Summary: Libraries for manipulating RPM packages.
+Group: Development/Libraries
+# XXX this Provides: is bogus, but getconf(...) needs to be bootstrapped.
+#Provides: getconf(GNU_LIBPTHREAD_VERSION) = NPTL
+#Requires: getconf(GNU_LIBPTHREAD_VERSION) = NPTL
+
+%description libs
+This package contains the RPM shared libraries.
+
+%package devel
+Summary: Development files for manipulating RPM packages.
+Group: Development/Libraries
+Requires: rpm5 = %{version}-%{release}
+Requires: rpm5-libs = %{version}-%{release}
+#Requires: neon-devel
+#Requires: sqlite-devel
+#Requires: getconf(GNU_LIBPTHREAD_VERSION) = NPTL
+
+%description devel
+This package contains the RPM C library and header files. These
+development files will simplify the process of writing programs that
+manipulate RPM packages and databases. These files are intended to
+simplify the process of creating graphical package managers or any
+other tools that need an intimate knowledge of RPM packages in order
+to function.
+
+This package should be installed if you want to develop programs that
+will manipulate RPM packages and databases.
+
+%package common
+Summary: Common RPM paths, scripts, documentation and configuration.
+Group: Development/Tools
+
+%description common
+The rpm-common package contains paths, scripts, documentation
+and configuration common between RPM Package Manager.
+
+%package build
+Summary: Scripts and executable programs used to build packages.
+Group: Development/Tools
+Requires: rpm5 = %{version}-%{release}
+#Requires: patch >= 2.5
+#Requires: getconf(GNU_LIBPTHREAD_VERSION) = NPTL
+
+%description build
+The rpm-build package contains the scripts and executable programs
+that are used to build packages using the RPM Package Manager.
+
+%package python
+Summary: Python bindings for apps which will manipulate RPM packages.
+Group: Development/Libraries
+Requires: rpm5 = %{version}-%{release}
+Requires: rpm5-libs = %{version}-%{release}
+Requires: python >= %{with_python_version}
+
+%description python
+The rpm-python package contains a module that permits applications
+written in the Python programming language to use the interface
+supplied by RPM Package Manager libraries.
+
+This package should be installed if you want to develop Python
+programs that will manipulate RPM packages and databases.
+
+%prep
+%bsetup
+gunzip -c %{SOURCE1} | tar xvf - 
+
+%build
+PDIR=`pwd`
+CFLAGS="%{optflags} -std=gnu99 -I${PDIR}/popt-%{popt_version} -I/usr/include -I/usr/include/mps -fPIC -DPIC"
+CXXFLAGS="%{cxx_optflags} -I${PDIR}/popt-%{popt_version} -I/usr/include -I/usr/include/mps -fPIC -DPIC"
+
+%if %{build_64bit}
+CFLAGS="$CFLAGS -DHAVE_VA_COPY -DVA_COPY=va_copy"; export CFLAGS
+LDFLAGS="-L${PDIR}/popt-%{popt_version}/.libs -m64 -L%{_libdir} -R%{_libdir} -L/usr/lib/mps/%{_arch64} -R/usr/lib/mps/%{_arch64}"
+
+%if %{gcc_compiler}
+cat <<EOT1 > gcc
+#!/bin/sh
+exec ${CC} -m64 "\$@"
+EOT1
+
+cat <<EOT2 > g++
+#!/bin/sh
+exec ${CXX} -m64 "\$@"
+EOT2
+
+chmod +x gcc g++
+export CC=`pwd`/gcc
+export CXX=`pwd`/g++
+%endif
+
+%else
+LDFLAGS="-L${PDIR}/popt-%{popt_version}/.libs -L%{_libdir} -R%{_libdir} -L/usr/lib/mps -R/usr/lib/mps"
+CFLAGS="${CFLAGS} `getconf LFS_CFLAGS`"
+CXXFLAGS="${CXXFLAGS} `getconf LFS_CFLAGS`"
+%endif
+
+export CFLAGS CXXFLAGS LDFLAGS
+
+cd popt-%{popt_version}
+./configure --with-pic --enable-shared=no --enable-static=yes
+gmake
+cd ..
+cd rpm-%{version}
+
+./configure --verbose \
+	--prefix=%{_prefix} \
+ --bindir='%{_bindir}' \
+ --infodir='%{_infodir}' \
+ --libdir='%{_libdir}' \
+ --localstatedir=%{_localstatedir} \
+ --mandir='%{_mandir}' \
+ --sysconfdir=%{_sysconfdir} \
+ --with-file \
+ --with-path-magic=%{_datadir}/misc/magic \
+ --with-tcl \
+ --with-lua=internal \
+ --with-syck=internal \
+ --without-readline \
+ --without-augeas \
+ --with-bzip2 \
+ --with-xz \
+ --with-zlib \
+ --with-python=%{with_python_version} \
+ --with-python-inc-dir=%{_includedir}/python2.6 \
+ --with-python-lib-dir=%{_libdir32}/python2.6 \
+ --without-pythonembed \
+ --without-perl --without-perlembed \
+ --with-db --with-dbsql --without-db-tools-integrated --without-sqlite \
+ --with-beecrypt=internal --with-openssl --with-nss --with-gcrypt \
+ --without-keyutils \
+ --without-selinux --without-sepol --without-semanage \
+ --without-libtasn1 \
+ --without-pakchois \
+ --without-gnutls \
+ --with-neon=internal --without-libproxy --with-expat \
+ --with-pcre \
+ --enable-utf8 \
+ --without-uuid \
+ --without-xar \
+ --with-xz \
+ --with-popt=external \
+ --with-pthreads \
+ --without-cudf \
+ --without-ficl \
+ --without-aterm \
+ --without-nix \
+ --without-bash \
+ --without-rc \
+ --without-js \
+ --without-gpsee \
+ --without-ruby \
+ --without-squirrel \
+ --with-build-extlibdep \
+ --with-build-maxextlibdep \
+ --without-valgrind \
+ --disable-openmp \
+ --with-pic \
+ --enable-build-pic \
+ --enable-build-warnings
+
+# Get rid of visibility for now
+[ ! -f lua/luaconf.h.orig ] && cp lua/luaconf.h lua/luaconf.h.orig
+cat lua/luaconf.h.orig | sed 's/__attribute__((visibility("hidden")))//' > lua/luaconf.h
+
+#
+# Fix dirfd handling in fts
+#
+[ ! -f rpmio/fts.c.orig ] && cp rpmio/fts.c rpmio/fts.c.orig
+cat rpmio/fts.c.orig | sed '
+s/# define dirfd(dirp) -1/#include <dirent.h>/' > rpmio/fts.c
+
+[ ! -f tests/Makefile.orig ] && cp tests/Makefile tests/Makefile.orig
+cat tests/Makefile.orig | sed '
+s/check-local: check-init check-pubkeys/check-local: check-init /
+s/check-build check-sign/check-build /' > tests/Makefile
+
+[ ! -f lua/shadow/useradd.c.orig ] && cp lua/shadow/useradd.c lua/shadow/useradd.c.orig
+cat lua/shadow/useradd.c.orig | sed '
+s%/home%/export/home%' > lua/shadow/useradd.c
+
+gmake -C lua clean || :
+gmake -C python clean || :
+
+gmake -j 2 INSTALLMAN3DIR="%{_mandir}/man3"
+
+%if %{with_apidocs}
+make apidocs
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd rpm-%{version}
+gmake DESTDIR="$RPM_BUILD_ROOT" install
+
+mkdir -p $RPM_BUILD_ROOT/etc/rpm
+mkdir -p $RPM_BUILD_ROOT/var/spool/repackage
+mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
+for dbi in \
+	Basenames Conflictname Dirnames Group Installtid Name Packages \
+	Providename Provideversion Requirename Requireversion Triggername \
+	Filemd5s Pubkeys Sha1header Sigmd5 \
+	__db.001 __db.002 __db.003 __db.004 __db.005
+do
+ touch $RPM_BUILD_ROOT/var/lib/rpm/$dbi
+done
+
+(cd ${RPM_BUILD_ROOTT}%{_usrlibrpm}
+ cp macros macros.tmp
+ cat macros.tmp | sed 's/^%_repackage_all_erasures	1/%_repackage_all_erasures	0/' > macros
+ cp macros.rpmbuild macros.rpmbuild.tmp
+ cat macros.rpmbuild.tmp | sed 's/^#%_binary_payload	w9.gzdio/%_binary_payload	w6.xzio/' > macros.rpmbuild
+ rm -f macros.tmp macros.rpmbuild.tmp)
+
+mkdir -p %{_usrlibrpm}/%{_arch}-solaris2.11/
+cp %{SOURCE3} %{_usrlibrpm}/%{_arch}-solaris2.11/macros
+cp %{SOURCE4} %{_usrlibrpm}
+cp %{SOURCE5} %{_usrlibrpm}
+cp %{SOURCE6} %{_usrlibrpm}
+
+chmod a+x %{_usrlibrpm}/find-info.sh %{_usrlibrpm}/install-info.sh %{_usrlibrpm}/drvtestadd
+
+%find_lang rpm
+
+%if %{with_apidocs}
+gzip -9n apidocs/man/man*/* || :
+%endif
+
+# Get rid of unpackaged files
+{ cd $RPM_BUILD_ROOT
+
+ rm -f .%{_rpmhome}/{Specfile.pm,cpanflute,cpanflute2,rpmdiff,rpmdiff.cgi,sql.prov,sql.req,tcl.req,trpm}
+
+ rm -f .%{_mandir}/man8/rpmcache.8*
+ rm -f .%{_mandir}/man8/rpmgraph.8*
+ rm -f .%{_mandir}/ja/man8/rpmcache.8*
+ rm -f .%{_mandir}/ja/man8/rpmgraph.8*
+ rm -f .%{_mandir}/pl/man8/rpmcache.8*
+ rm -f .%{_mandir}/pl/man8/rpmgraph.8*
+ rm -rf .%{_mandir}/{fr,ko}
+
+ rm -f .%{_includedir}/popt.h
+ rm -f .%{_libdir}/libpopt.*
+ rm -f .%{_libdir}/pkgconfig/popt.pc
+ rm -f .%{_datadir}/locale/*/LC_MESSAGES/popt.mo
+ rm -f .%{_mandir}/man3/popt.3
+
+ rm -f .%{_mandir}/man1/xar.1*
+ rm -f .%{_bindir}/xar
+ rm -rf .%{_includedir}/xar
+ rm -f .%{_libdir}/libxar*
+
+ rm -f .%{_bindir}/lz*
+ rm -f .%{_bindir}/unlzma
+ rm -f .%{_bindir}/unxz
+ rm -f .%{_bindir}/xz*
+ rm -rf .%{_includedir}/lzma*
+ rm -f .%{_mandir}/man1/lz*.1
+ rm -f .%{_libdir}/pkgconfig/liblzma*
+
+ rm -f .%{_libdir}/python%{with_python_version}/site-packages/*.{a,la}
+ rm -f .%{_libdir}/python%{with_python_version}/site-packages/rpm/*.{a,la}
+}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%define	rpmattr		%attr(0755, root, bin)
+%define	rpmdbattr %attr(0644, root, bin) %verify(not md5 size mtime) %ghost %config(missingok,noreplace)
+
+%files
+%pubkey pubkeys/JBJ-GPG-KEY
+
+%rpmattr	%{_bindir}/rpm
+%rpmattr	%{_bindir}/rpmconstant
+
+%rpmattr %dir	%{_rpmhome}
+%rpmattr	%{_rpmhome}/rpm.*
+%rpmattr	%{_rpmhome}/tgpg
+%attr(0644, root, bin)	%{_rpmhome}/macros
+%attr(0644, root, bin)	%{_rpmhome}/rpmpopt
+
+%rpmattr	%{_rpmhome}/rpmdb_loadcvt
+###%rpmattr	%{_rpmhome}/magic
+###%rpmattr	%{_rpmhome}/magic.mgc
+###%rpmattr	%{_rpmhome}/magic.mime
+###%rpmattr	%{_rpmhome}/magic.mime.mgc
+%rpmattr	%{_rpmhome}/rpm2cpio
+%rpmattr	%{_rpmhome}/vcheck
+
+%rpmattr	%{_rpmhome}/helpers
+
+%rpmattr	%{_rpmhome}/qf
+
+%rpmattr	%{_rpmhome}/cpuinfo.yaml
+
+%rpmattr %dir	%{_rpmhome}/bin
+###%rpmattr	%{_rpmhome}/bin/db_*
+###%rpmattr	%{_rpmhome}/bin/grep
+%rpmattr	%{_rpmhome}/bin/mtree
+%rpmattr	%{_rpmhome}/bin/rpmkey
+%rpmattr	%{_rpmhome}/bin/rpmrepo
+%rpmattr	%{_rpmhome}/bin/rpmspecdump
+%rpmattr	%{_rpmhome}/bin/wget
+
+%rpmattr %dir	%{_rpmhome}/lib
+
+%files common -f rpm.lang
+%doc CHANGES doc/manual/[a-z]*
+%rpmattr	%{_bindir}/rpm2cpio
+%rpmattr	%{_bindir}/gendiff
+%dir			/etc/rpm
+%attr(0755, root, bin)	%dir /var/lib/rpm
+%rpmdbattr		/var/lib/rpm/*
+%attr(0755, root, bin)	%dir /var/spool/repackage
+
+%attr(0755, root, bin)	%dir %{_usrlibrpm}
+%ifarch i386 i486 i586 i686 athlon pentium3 pentium4 x86_64
+%attr(-, root, bin)		%{_usrlibrpm}/i[3456]86*
+%attr(-, root, bin)		%{_usrlibrpm}/athlon*
+%attr(-, root, bin)		%{_usrlibrpm}/pentium*
+%attr(-, root, bin)		%{_usrlibrpm}/x86_64*
+%endif
+%ifarch alpha alphaev5 alphaev56 alphapca56 alphaev6 alphaev67
+%attr(-, root, bin)		%{_usrlibrpm}/alpha*
+%endif
+%ifarch sparc sparcv8 sparcv9 sparc64
+%attr(-, root, bin)		%{_usrlibrpm}/sparc*
+%endif
+%ifarch ia64
+%attr(-, root, bin)		%{_usrlibrpm}/ia64*
+%endif
+%ifarch powerpc ppc ppciseries ppcpseries ppcmac ppc64
+%attr(-, root, bin)		%{_usrlibrpm}/ppc*
+%endif
+%ifarch s390 s390x
+%attr(-, root, bin)		%{_usrlibrpm}/s390*
+%endif
+%ifarch armv3l armv4b armv4l
+%attr(-, root, bin)		%{_usrlibrpm}/armv[34][lb]*
+%endif
+%ifarch armv5teb armv5tel
+%attr(-, root, bin)		%{_usrlibrpm}/armv[345]*
+%endif
+%ifarch mips mipsel
+%attr(-, root, bin)		%{_usrlibrpm}/mips*
+%endif
+
+%attr(-, root, bin)		%{_usrlibrpm}/noarch*
+
+%dir %{__prefix}/src/rpm
+%dir %{__prefix}/src/rpm/BUILD
+%dir %{__prefix}/src/rpm/SPECS
+%dir %{__prefix}/src/rpm/SOURCES
+%dir %{__prefix}/src/rpm/SRPMS
+%dir %{__prefix}/src/rpm/RPMS
+%{__prefix}/src/rpm/RPMS/*
+
+%{_mandir}/man8/rpm.8*
+%{_mandir}/man8/rpm2cpio.8*
+%lang(ja)	%{_mandir}/ja/man8/rpm.8*
+%lang(ja)	%{_mandir}/ja/man8/rpm2cpio.8*
+#%lang(ko)	%{_mandir}/ko/man8/rpm.8*
+#%lang(ko)	%{_mandir}/ko/man8/rpm2cpio.8*
+%lang(pl)	%{_mandir}/pl/man8/rpm.8*
+%lang(pl)	%{_mandir}/pl/man8/rpm2cpio.8*
+%lang(ru)	%{_mandir}/ru/man8/rpm.8*
+%lang(ru)	%{_mandir}/ru/man8/rpm2cpio.8*
+%lang(sk)	%{_mandir}/sk/man8/rpm.8*
+
+%{_mandir}/man1/gendiff.1*
+%{_mandir}/man1/rpmgrep.1*
+%{_mandir}/man8/rpmbuild.8*
+%{_mandir}/man8/rpmconstant.8*
+###%{_mandir}/man8/rpmcache.8*
+%{_mandir}/man8/rpmdeps.8*
+%{_mandir}/man8/rpmmtree.8*
+#%lang(ja)	%{_mandir}/ja/man1/gendiff.1*
+%lang(ja)	%{_mandir}/ja/man8/rpmbuild.8*
+#%lang(ja)	%{_mandir}/ja/man8/rpmdeps.8*
+#%lang(ko)	%{_mandir}/ko/man1/gendiff.1*
+#%lang(ko)	%{_mandir}/ko/man8/rpmbuild.8*
+#%lang(ko)	%{_mandir}/ko/man8/rpmdeps.8*
+%lang(pl)	%{_mandir}/pl/man1/gendiff.1*
+%lang(pl)	%{_mandir}/pl/man8/rpmbuild.8*
+%lang(pl)	%{_mandir}/pl/man8/rpmdeps.8*
+#%lang(ru)	%{_mandir}/ru/man1/gendiff.1*
+#%lang(ru)	%{_mandir}/ru/man8/rpmbuild.8*
+#%lang(ru)	%{_mandir}/ru/man8/rpmdeps.8*
+#%lang(sk)	%{_mandir}/sk/man1/gendiff.1*
+#%lang(sk)	%{_mandir}/sk/man8/rpmbuild.8*
+#%lang(sk)	%{_mandir}/sk/man8/rpmdeps.8*
+
+%files libs
+%{_libdir}/librpm-5.3.so
+%{_libdir}/librpmconstant-5.3.so
+%{_libdir}/librpmdb-5.3.so
+%{_libdir}/librpmio-5.3.so
+%{_libdir}/librpmmisc-5.3.so
+%{_libdir}/librpmbuild-5.3.so
+
+###%{_rpmhome}/lib/libxar.so.*
+###%{_rpmhome}/lib/libjs.so.*
+###%{_rpmhome}/lib/librpmjsm.so.*
+###%{_rpmhome}/lib/rpmjsm.so
+
+%files build
+%rpmattr	%{_bindir}/rpmbuild
+
+%rpmattr	%{_rpmhome}/brp-*
+%rpmattr	%{_rpmhome}/check-files
+%rpmattr	%{_rpmhome}/cross-build
+%rpmattr	%{_rpmhome}/find-debuginfo.sh
+%rpmattr	%{_rpmhome}/find-lang.sh
+%rpmattr	%{_rpmhome}/find-prov.pl
+%rpmattr	%{_rpmhome}/find-provides.perl
+%rpmattr	%{_rpmhome}/find-req.pl
+%rpmattr	%{_rpmhome}/find-requires.perl
+%rpmattr	%{_rpmhome}/getpo.sh
+%rpmattr	%{_rpmhome}/http.req
+%rpmattr	%{_rpmhome}/javadeps.sh
+%rpmattr	%{_rpmhome}/mono-find-provides
+%rpmattr	%{_rpmhome}/mono-find-requires
+
+%rpmattr	%{_rpmhome}/executabledeps.sh
+%rpmattr	%{_rpmhome}/libtooldeps.sh
+%rpmattr	%{_rpmhome}/osgideps.pl
+%rpmattr	%{_rpmhome}/perldeps.pl
+%rpmattr	%{_rpmhome}/perl.prov
+%rpmattr	%{_rpmhome}/perl.req
+%rpmattr	%{_rpmhome}/php.prov
+%rpmattr	%{_rpmhome}/php.req
+%rpmattr	%{_rpmhome}/pkgconfigdeps.sh
+%rpmattr	%{_rpmhome}/pythondeps.sh
+
+%rpmattr	%{_rpmhome}/gem_helper.rb
+
+%rpmattr	%{_rpmhome}/bin/debugedit
+%rpmattr	%{_rpmhome}/bin/rpmcache
+%rpmattr	%{_rpmhome}/bin/rpmcmp
+%rpmattr	%{_rpmhome}/bin/rpmdeps
+%rpmattr	%{_rpmhome}/bin/rpmdigest
+%rpmattr	%{_rpmhome}/bin/abi-compliance-checker.pl
+%rpmattr	%{_rpmhome}/bin/api-sanity-autotest.pl
+%rpmattr	%{_rpmhome}/bin/chroot
+%rpmattr	%{_rpmhome}/bin/cp
+%rpmattr	%{_rpmhome}/bin/dbsql
+%rpmattr	%{_rpmhome}/bin/find
+%rpmattr	%{_rpmhome}/bin/install-sh
+%rpmattr	%{_rpmhome}/bin/lua
+%rpmattr	%{_rpmhome}/bin/luac
+%rpmattr	%{_rpmhome}/bin/mkinstalldirs
+%rpmattr	%{_rpmhome}/bin/rpmlua
+%rpmattr	%{_rpmhome}/bin/rpmluac
+%rpmattr	%{_rpmhome}/bin/sqlite3
+
+%rpmattr	%{_rpmhome}/lib/liblua.a
+%rpmattr	%{_rpmhome}/lib/liblua.la
+
+%rpmattr %dir	%{_rpmhome}/macros.d
+%rpmattr	%{_rpmhome}/macros.d/cmake
+%rpmattr	%{_rpmhome}/macros.d/java
+%rpmattr	%{_rpmhome}/macros.d/libtool
+%rpmattr	%{_rpmhome}/macros.d/mandriva
+%rpmattr	%{_rpmhome}/macros.d/mono
+%rpmattr	%{_rpmhome}/macros.d/perl
+%rpmattr	%{_rpmhome}/macros.d/php
+%rpmattr	%{_rpmhome}/macros.d/pkgconfig
+%rpmattr	%{_rpmhome}/macros.d/python
+%rpmattr	%{_rpmhome}/macros.d/ruby
+%rpmattr	%{_rpmhome}/macros.d/selinux
+%rpmattr	%{_rpmhome}/macros.d/tcl
+%rpmattr	%{_rpmhome}/macros.rpmbuild
+
+#%rpmattr	%{_rpmhome}/symclash.*
+%rpmattr	%{_rpmhome}/u_pkg.sh
+%rpmattr	%{_rpmhome}/vpkg-provides.sh
+%rpmattr	%{_rpmhome}/vpkg-provides2.sh
+
+%files python
+%{_libdir}/python%{with_python_version}/site-packages/rpm
+
+%files devel
+%if %{with_apidocs}
+%doc 
+%endif
+%{_includedir}/rpm
+%{_libdir}/librpm.a
+%{_libdir}/librpm.la
+%{_libdir}/librpm.so
+%{_libdir}/librpmconstant.a
+%{_libdir}/librpmconstant.la
+%{_libdir}/librpmconstant.so
+%{_libdir}/librpmdb.a
+%{_libdir}/librpmdb.la
+%{_libdir}/librpmdb.so
+%{_libdir}/librpmio.a
+%{_libdir}/librpmio.la
+%{_libdir}/librpmio.so
+%{_libdir}/librpmmisc.a
+%{_libdir}/librpmmisc.la
+%{_libdir}/librpmmisc.so
+%{_libdir}/librpmbuild.a
+%{_libdir}/librpmbuild.la
+%{_libdir}/librpmbuild.so
+%{_libdir}/pkgconfig/rpm.pc
+
+###%{_rpmhome}/lib/libxar.a
+###%{_rpmhome}/lib/libxar.la
+###%{_rpmhome}/lib/libxar.so
+###%{_rpmhome}/lib/libjs.a
+###%{_rpmhome}/lib/libjs.la
+###%{_rpmhome}/lib/libjs.so
+###%{_rpmhome}/lib/librpmjsm.a
+###%{_rpmhome}/lib/librpmjsm.la
+###%{_rpmhome}/lib/librpmjsm.so
+
+%changelog
+* Sat Oct 23 2010 Jeff Johnson <jb...@rp...> - 5.3.5-0.1
+- resurrect rpm.spec.
+
+* Tue Jan 22 2008 Jeff Johnson <jb...@rp...> - 5.1-0.1
+- resurrect rpm.spec.
Added: trunk/spec_files/rpms/xar.spec
===================================================================
--- trunk/spec_files/rpms/xar.spec	 (rev 0)
+++ trunk/spec_files/rpms/xar.spec	2011年02月13日 11:44:31 UTC (rev 418)
@@ -0,0 +1,128 @@
+#### TODO TODO TODO - WORK IN PROGRESS ####
+
+Summary: The eXtensible ARchiver
+Name: xar
+Version: 1.5.2
+Release: 1%{?dist}
+License: BSD
+Group: Applications/Archiving
+URL: http://code.google.com/p/xar/
+Source: http://xar.googlecode.com/files/xar-%{version}.tar.gz
+Patch0: xar-solaris-acl.patch
+Patch1: xar-1.5.2-CVE-2010-0055.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: libxml2-devel
+#BuildRequires: openssl-devel
+BuildRequires: zlib-devel
+#BuildRequires: bzip2-devel
+#BuildRequires: /usr/bin/awk
+
+%description
+The XAR project aims to provide an easily extensible archive format. Important
+design decisions include an easily extensible XML table of contents for random
+access to archived files, storing the toc at the beginning of the archive to
+allow for efficient handling of streamed archives, the ability to handle files
+of arbitrarily large sizes, the ability to choose independent encodings for
+individual files in the archive, the ability to store checksums for individual
+files in both compressed and uncompressed form, and the ability to query the
+table of content's rich meta-data.
+
+
+%package devel
+Summary: Development files for the eXtensible ARchiver
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development files for the eXtensible ARchiver.
+
+
+%prep
+%bsetup
+cd xar-%{version}
+%patch0 -p1 -b .xar-solaris-acl
+%patch1 -p1 -b .CVE-2010-0055
+
+%build
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{cxx_optflags}"
+export LDFLAGS="%{_ldflags}"
+
+cd xar-%{version}
+./configure --prefix=%{_prefix} \
+	--bindir=%{_bindir} \
+	--libdir=%{_libdir} \
+	--enable-shared --disable-static
+gmake -j 2
+
+%install
+rm -rf ${RPM_BUILD_ROOT}
+gmake install DESTDIR=%{buildroot}
+rm -f %{buildroot}%{_libdir}/libxar.la
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,bin)
+%doc LICENSE TODO
+%{_bindir}/xar
+%{_libdir}/libxar.so*
+%{_mandir}/man1/xar.1*
+
+%files devel
+%defattr(-,root,bin)
+%{_includedir}/xar/
+
+
+%changelog
+* Mon Feb 07 2011 Fedora Release Engineering <re...@li...> - 1.5.2-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Apr 28 2010 Matthias Saou <http://freshrpms.net/> 1.5.2-6
+- Include patch to fix CVE-2010-0055 (#570678).
+
+* Fri Aug 21 2009 Tomas Mraz <tm...@re...> - 1.5.2-5
+- rebuilt with new openssl
+
+* Mon Jul 27 2009 Fedora Release Engineering <re...@li...> - 1.5.2-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <re...@li...> - 1.5.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sun Jan 18 2009 Tomas Mraz <tm...@re...> 1.5.2-2
+- rebuild with new openssl
+
+* Tue Dec 23 2008 Matthias Saou <http://freshrpms.net/> 1.5.2-1
+- Update to 1.5.2.
+- Remove no longer needed install and memset patches.
+- Disable newly built-by-default static lib and remove useless .la file.
+
+* Tue Feb 19 2008 Fedora Release Engineering <re...@fe...> 
+- Autorebuild for GCC 4.3
+
+* Fri Dec 07 2007 Release Engineering <rel-eng at fedoraproject dot org> 
+- Rebuild for deps
+
+* Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 1.5.1-4
+- Rebuild for new BuildID feature.
+- Add /usr/bin/awk build requirement, needed for the libxml configure check.
+
+* Wed Aug 8 2007 Matthias Saou <http://freshrpms.net/> 1.5.1-2
+- Patch memset call with swapped arguments (Dave Jones).
+
+* Wed Jul 11 2007 Matthias Saou <http://freshrpms.net/> 1.5.1-1
+- Update to 1.5.1.
+
+* Wed May 30 2007 Matthias Saou <http://freshrpms.net/> 1.5-1
+- Update to 1.5.
+- Include patch to remove rpath.
+- Include patch to fix file modes, and get the lib properly stripped.
+
+* Sun Feb 25 2007 Matthias Saou <http://freshrpms.net/> 1.4-1
+- Initial RPM release.
+
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2011年02月06日 10:40:58
Revision: 417
 http://belenix.svn.sourceforge.net/belenix/?rev=417&view=rev
Author: moinakg
Date: 2011年02月06日 10:40:50 +0000 (2011年2月06日)
Log Message:
-----------
Work in progress Graphviz package spec. Dependencies are left out till we can import IPS pkgs into RPM5 format.
Modified Paths:
--------------
 trunk/spec_files/rpms/gmp.spec
 trunk/spec_files/rpms/graphviz.spec
 trunk/spec_files/rpms/libxml2.spec
 trunk/spec_files/rpms/mpc.spec
 trunk/spec_files/rpms/xz.spec
 trunk/spec_files/rpms/zlib.spec
Added Paths:
-----------
 trunk/spec_files/rpms/basedirs.spec
 trunk/spec_files/rpms/graphviz-tclpkg.spec
Added: trunk/spec_files/rpms/basedirs.spec
===================================================================
--- trunk/spec_files/rpms/basedirs.spec	 (rev 0)
+++ trunk/spec_files/rpms/basedirs.spec	2011年02月06日 10:40:50 UTC (rev 417)
@@ -0,0 +1,714 @@
+Summary: Base filesystem directory layout
+Name: basedirs
+Version: 1
+Release: 1%{?dist}
+Group: System Environment/Base
+License: CDDL
+
+%description
+The base filesystem directory layout of the OpenSolaris/Illumos platform.
+
+%prep
+
+%build
+
+%install
+cd ${RPM_BUILD_ROOT}
+mkdir -p dev
+mkdir -p etc
+mkdir -p etc/certs
+mkdir -p etc/cron.d
+mkdir -p etc/crypto
+mkdir -p etc/crypto/certs
+mkdir -p etc/crypto/crls
+mkdir -p etc/default
+mkdir -p etc/dev
+mkdir -p etc/devices
+mkdir -p etc/dfs
+mkdir -p etc/dhcp
+mkdir -p etc/fs
+mkdir -p etc/fs/dev
+mkdir -p etc/fs/hsfs
+mkdir -p etc/fs/ufs
+mkdir -p etc/ftpd
+mkdir -p etc/inet
+mkdir -p etc/init.d
+mkdir -p etc/lib
+mkdir -p etc/logadm.d
+mkdir -p etc/mail
+mkdir -p etc/net
+mkdir -p etc/net/ticlts
+mkdir -p etc/net/ticots
+mkdir -p etc/net/ticotsord
+mkdir -p etc/opt
+mkdir -p etc/rc0.d
+mkdir -p etc/rc1.d
+mkdir -p etc/rc2.d
+mkdir -p etc/rc3.d
+mkdir -p etc/rcS.d
+mkdir -p etc/rpcsec
+mkdir -p etc/saf
+mkdir -p etc/saf/zsmon
+mkdir -p etc/sasl
+mkdir -p etc/security
+mkdir -p etc/security/audit
+mkdir -p etc/security/audit/localhost
+mkdir -p etc/security/auth_attr.d
+mkdir -p etc/security/dev
+mkdir -p etc/security/exec_attr.d
+mkdir -p etc/security/lib
+mkdir -p etc/security/prof_attr.d
+mkdir -p etc/skel
+mkdir -p etc/svc
+mkdir -p etc/svc/profile
+mkdir -p etc/svc/profile/site
+mkdir -p etc/svc/volatile
+mkdir -p etc/sysevent
+mkdir -p etc/sysevent/config
+mkdir -p etc/tm
+mkdir -p etc/user_attr.d
+mkdir -p lib
+mkdir -p lib/crypto
+mkdir -p lib/inet
+mkdir -p lib/svc
+mkdir -p lib/svc/bin
+mkdir -p lib/svc/capture
+mkdir -p lib/svc/manifest
+mkdir -p lib/svc/manifest/application
+mkdir -p lib/svc/manifest/application/management
+mkdir -p lib/svc/manifest/application/security
+mkdir -p lib/svc/manifest/device
+mkdir -p lib/svc/manifest/milestone
+mkdir -p lib/svc/manifest/network
+mkdir -p lib/svc/manifest/network/dns
+mkdir -p lib/svc/manifest/network/ipsec
+mkdir -p lib/svc/manifest/network/ldap
+mkdir -p lib/svc/manifest/network/routing
+mkdir -p lib/svc/manifest/network/rpc
+mkdir -p lib/svc/manifest/network/shares
+mkdir -p lib/svc/manifest/network/ssl
+mkdir -p lib/svc/manifest/platform
+mkdir -p lib/svc/manifest/site
+mkdir -p lib/svc/manifest/system
+mkdir -p lib/svc/manifest/system/device
+mkdir -p lib/svc/manifest/system/filesystem
+mkdir -p lib/svc/manifest/system/security
+mkdir -p lib/svc/manifest/system/svc
+mkdir -p lib/svc/method
+mkdir -p lib/svc/monitor
+mkdir -p lib/svc/seed
+mkdir -p lib/svc/share
+mkdir -p mnt
+mkdir -p opt
+mkdir -p proc
+mkdir -p root
+mkdir -p sbin
+mkdir -p system
+mkdir -p system/contract
+mkdir -p system/object
+mkdir -p tmp
+mkdir -p usr
+mkdir -p usr/bin
+mkdir -p usr/bin/i86
+mkdir -p usr/bin/%{_arch64}
+mkdir -p usr/ccs
+mkdir -p usr/ccs/bin
+mkdir -p usr/demo
+mkdir -p usr/games
+mkdir -p usr/has
+mkdir -p usr/has/bin
+mkdir -p usr/has/lib
+mkdir -p usr/kernel
+mkdir -p usr/kernel/drv
+mkdir -p usr/kernel/drv/%{_arch64}
+mkdir -p usr/kernel/exec
+mkdir -p usr/kernel/exec/%{_arch64}
+mkdir -p usr/kernel/fs
+mkdir -p usr/kernel/fs/%{_arch64}
+mkdir -p usr/kernel/pcbe
+mkdir -p usr/kernel/pcbe/%{_arch64}
+mkdir -p usr/kernel/sched
+mkdir -p usr/kernel/sched/%{_arch64}
+mkdir -p usr/kernel/strmod
+mkdir -p usr/kernel/strmod/%{_arch64}
+mkdir -p usr/kernel/sys
+mkdir -p usr/kernel/sys/%{_arch64}
+mkdir -p usr/kvm
+mkdir -p usr/lib
+mkdir -p usr/lib/sse2
+mkdir -p usr/lib/sse4
+mkdir -p usr/lib/%{_arch64}
+mkdir -p usr/lib/%{_arch64}/sse4
+mkdir -p usr/lib/audit
+mkdir -p usr/lib/class
+mkdir -p usr/lib/class/FX
+mkdir -p usr/lib/class/IA
+mkdir -p usr/lib/class/RT
+mkdir -p usr/lib/class/SDC
+mkdir -p usr/lib/class/TS
+mkdir -p usr/lib/crypto
+mkdir -p usr/lib/devfsadm
+mkdir -p usr/lib/devfsadm/linkmod
+mkdir -p usr/lib/fs
+mkdir -p usr/lib/fs/autofs
+mkdir -p usr/lib/fs/autofs/%{_arch64}
+mkdir -p usr/lib/fs/cachefs
+mkdir -p usr/lib/fs/ctfs
+mkdir -p usr/lib/fs/dev
+mkdir -p usr/lib/fs/fd
+mkdir -p usr/lib/fs/hsfs
+mkdir -p usr/lib/fs/lofs
+mkdir -p usr/lib/fs/mntfs
+mkdir -p usr/lib/fs/nfs
+mkdir -p usr/lib/fs/nfs/%{_arch64}
+mkdir -p usr/lib/fs/objfs
+mkdir -p usr/lib/fs/proc
+mkdir -p usr/lib/fs/sharefs
+mkdir -p usr/lib/fs/tmpfs
+mkdir -p usr/lib/fs/ufs
+mkdir -p usr/lib/help
+mkdir -p usr/lib/help/auths
+mkdir -p usr/lib/help/auths/locale
+mkdir -p usr/lib/help/auths/locale/C
+mkdir -p usr/lib/help/profiles
+mkdir -p usr/lib/help/profiles/locale
+mkdir -p usr/lib/help/profiles/locale/C
+mkdir -p usr/lib/iconv
+mkdir -p usr/lib/inet
+mkdir -p usr/lib/inet/i86
+mkdir -p usr/lib/inet/%{_arch64}
+mkdir -p usr/lib/inet/dhcp
+mkdir -p usr/lib/inet/dhcp/nsu
+mkdir -p usr/lib/inet/dhcp/svc
+mkdir -p usr/lib/locale
+mkdir -p usr/lib/locale/C
+mkdir -p usr/lib/locale/C/LC_COLLATE
+mkdir -p usr/lib/locale/C/LC_CTYPE
+mkdir -p usr/lib/locale/C/LC_MESSAGES
+mkdir -p usr/lib/locale/C/LC_MONETARY
+mkdir -p usr/lib/locale/C/LC_NUMERIC
+mkdir -p usr/lib/locale/C/LC_TIME
+mkdir -p usr/lib/localedef
+mkdir -p usr/lib/localedef/extensions
+mkdir -p usr/lib/localedef/src
+mkdir -p usr/lib/netsvc
+mkdir -p usr/lib/pci
+mkdir -p usr/lib/rcm
+mkdir -p usr/lib/rcm/modules
+mkdir -p usr/lib/rcm/scripts
+mkdir -p usr/lib/reparse
+mkdir -p usr/lib/saf
+mkdir -p usr/lib/secure
+mkdir -p usr/lib/secure/%{_arch64}
+mkdir -p usr/lib/security
+mkdir -p usr/lib/sysevent
+mkdir -p usr/lib/sysevent/modules
+mkdir -p usr/net
+mkdir -p usr/net/nls
+mkdir -p usr/net/servers
+mkdir -p usr/old
+mkdir -p usr/platform
+mkdir -p usr/sadm
+mkdir -p usr/sadm/bin
+mkdir -p usr/sadm/install
+mkdir -p usr/sadm/install/scripts
+mkdir -p usr/sadm/sysadm
+mkdir -p usr/sadm/sysadm/add-ons
+mkdir -p usr/sadm/sysadm/bin
+mkdir -p usr/sbin
+mkdir -p usr/sbin/i86
+mkdir -p usr/sbin/%{_arch64}
+mkdir -p usr/share
+mkdir -p usr/share/doc
+mkdir -p usr/share/doc/ksh
+mkdir -p usr/share/doc/ksh/images
+mkdir -p usr/share/doc/ksh/images/callouts
+mkdir -p usr/share/lib
+mkdir -p usr/share/lib/mailx
+mkdir -p usr/share/lib/pub
+mkdir -p usr/share/lib/tabset
+mkdir -p usr/share/lib/terminfo
+mkdir -p usr/share/lib/terminfo/3
+mkdir -p usr/share/lib/terminfo/A
+mkdir -p usr/share/lib/terminfo/a
+mkdir -p usr/share/lib/terminfo/s
+mkdir -p usr/share/lib/terminfo/u
+mkdir -p usr/share/lib/terminfo/v
+mkdir -p usr/share/lib/terminfo/x
+mkdir -p usr/share/lib/xml
+mkdir -p usr/share/lib/xml/dtd
+mkdir -p usr/share/lib/xml/style
+mkdir -p usr/share/lib/zoneinfo
+mkdir -p usr/share/lib/zoneinfo/Africa
+mkdir -p usr/share/lib/zoneinfo/America
+mkdir -p usr/share/lib/zoneinfo/America/Argentina
+mkdir -p usr/share/lib/zoneinfo/America/Indiana
+mkdir -p usr/share/lib/zoneinfo/America/Kentucky
+mkdir -p usr/share/lib/zoneinfo/America/North_Dakota
+mkdir -p usr/share/lib/zoneinfo/Antarctica
+mkdir -p usr/share/lib/zoneinfo/Arctic
+mkdir -p usr/share/lib/zoneinfo/Asia
+mkdir -p usr/share/lib/zoneinfo/Atlantic
+mkdir -p usr/share/lib/zoneinfo/Australia
+mkdir -p usr/share/lib/zoneinfo/Brazil
+mkdir -p usr/share/lib/zoneinfo/Canada
+mkdir -p usr/share/lib/zoneinfo/Chile
+mkdir -p usr/share/lib/zoneinfo/Etc
+mkdir -p usr/share/lib/zoneinfo/Europe
+mkdir -p usr/share/lib/zoneinfo/Indian
+mkdir -p usr/share/lib/zoneinfo/Mexico
+mkdir -p usr/share/lib/zoneinfo/Mideast
+mkdir -p usr/share/lib/zoneinfo/Pacific
+mkdir -p usr/share/lib/zoneinfo/US
+mkdir -p usr/share/lib/zoneinfo/src
+mkdir -p usr/share/lib/zoneinfo/tab
+mkdir -p usr/share/src
+mkdir -p usr/xpg4
+mkdir -p usr/xpg4/bin
+mkdir -p var
+mkdir -p var/adm
+mkdir -p var/adm/exacct
+mkdir -p var/adm/log
+mkdir -p var/adm/streams
+mkdir -p var/audit
+mkdir -p var/cores
+mkdir -p var/cron
+mkdir -p var/games
+mkdir -p var/idmap
+mkdir -p var/inet
+mkdir -p var/ld
+mkdir -p var/ld/%{_arch64}
+mkdir -p var/log
+mkdir -p var/logadm
+mkdir -p var/mail
+mkdir -p var/mail/:saved
+mkdir -p var/news
+mkdir -p var/opt
+mkdir -p var/preserve
+mkdir -p var/run
+mkdir -p var/sadm
+mkdir -p var/sadm/system
+mkdir -p var/sadm/system/admin
+mkdir -p var/saf
+mkdir -p var/saf/zsmon
+mkdir -p var/spool
+mkdir -p var/spool/cron
+mkdir -p var/spool/cron/atjobs
+mkdir -p var/spool/cron/crontabs
+mkdir -p var/spool/locks
+mkdir -p var/svc
+mkdir -p var/svc/log
+mkdir -p var/svc/manifest
+mkdir -p var/svc/manifest/application
+mkdir -p var/svc/manifest/application/management
+mkdir -p var/svc/manifest/application/print
+mkdir -p var/svc/manifest/application/security
+mkdir -p var/svc/manifest/device
+mkdir -p var/svc/manifest/milestone
+mkdir -p var/svc/manifest/network
+mkdir -p var/svc/manifest/network/dns
+mkdir -p var/svc/manifest/network/ipsec
+mkdir -p var/svc/manifest/network/ldap
+mkdir -p var/svc/manifest/network/nfs
+mkdir -p var/svc/manifest/network/nis
+mkdir -p var/svc/manifest/network/routing
+mkdir -p var/svc/manifest/network/rpc
+mkdir -p var/svc/manifest/network/security
+mkdir -p var/svc/manifest/network/shares
+mkdir -p var/svc/manifest/network/ssl
+mkdir -p var/svc/manifest/platform
+mkdir -p var/svc/manifest/site
+mkdir -p var/svc/manifest/system
+mkdir -p var/svc/manifest/system/device
+mkdir -p var/svc/manifest/system/filesystem
+mkdir -p var/svc/manifest/system/security
+mkdir -p var/svc/manifest/system/svc
+mkdir -p var/svc/profile
+mkdir -p var/tmp
+mkdir -p boot
+mkdir -p boot/acpi
+mkdir -p boot/acpi/tables
+mkdir -p boot/solaris
+mkdir -p boot/solaris/bin
+mkdir -p etc/sock2path.d
+mkdir -p kernel
+mkdir -p kernel/%{_arch64}
+mkdir -p kernel/crypto
+mkdir -p kernel/crypto/%{_arch64}
+mkdir -p kernel/dacf
+mkdir -p kernel/dacf/%{_arch64}
+mkdir -p kernel/drv
+mkdir -p kernel/drv/%{_arch64}
+mkdir -p kernel/exec
+mkdir -p kernel/exec/%{_arch64}
+mkdir -p kernel/fs
+mkdir -p kernel/fs/%{_arch64}
+mkdir -p kernel/ipp
+mkdir -p kernel/ipp/%{_arch64}
+mkdir -p kernel/kiconv
+mkdir -p kernel/kiconv/%{_arch64}
+mkdir -p kernel/mac
+mkdir -p kernel/mac/%{_arch64}
+mkdir -p kernel/misc
+mkdir -p kernel/misc/%{_arch64}
+mkdir -p kernel/misc/scsi_vhci
+mkdir -p kernel/misc/scsi_vhci/%{_arch64}
+mkdir -p kernel/sched
+mkdir -p kernel/sched/%{_arch64}
+mkdir -p kernel/socketmod
+mkdir -p kernel/socketmod/%{_arch64}
+mkdir -p kernel/strmod
+mkdir -p kernel/strmod/%{_arch64}
+mkdir -p kernel/sys
+mkdir -p kernel/sys/%{_arch64}
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files
+%dir %attr(0755, root, sys) /dev
+%dir %attr(0755, root, sys) /etc
+%dir %attr(0755, root, sys) /etc/certs
+%dir %attr(0755, root, sys) /etc/cron.d
+%dir %attr(0755, root, sys) /etc/crypto
+%dir %attr(0755, root, sys) /etc/crypto/certs
+%dir %attr(0755, root, sys) /etc/crypto/crls
+%dir %attr(0755, root, sys) /etc/default
+%dir %attr(0755, root, sys) /etc/dev
+%dir %attr(0755, root, sys) /etc/devices
+%dir %attr(0755, root, sys) /etc/dfs
+%dir %attr(0755, root, sys) /etc/dhcp
+%dir %attr(0755, root, sys) /etc/fs
+%dir %attr(0755, root, sys) /etc/fs/dev
+%dir %attr(0755, root, sys) /etc/fs/hsfs
+%dir %attr(0755, root, sys) /etc/fs/ufs
+%dir %attr(0755, root, sys) /etc/ftpd
+%dir %attr(0755, root, sys) /etc/inet
+%dir %attr(0755, root, sys) /etc/init.d
+%dir %attr(0755, root, sys) /etc/lib
+%dir %attr(0755, root, sys) /etc/logadm.d
+%dir %attr(0755, root, mail) /etc/mail
+%dir %attr(0755, root, sys) /etc/net
+%dir %attr(0755, root, sys) /etc/net/ticlts
+%dir %attr(0755, root, sys) /etc/net/ticots
+%dir %attr(0755, root, sys) /etc/net/ticotsord
+%dir %attr(0755, root, sys) /etc/opt
+%dir %attr(0755, root, sys) /etc/rc0.d
+%dir %attr(0755, root, sys) /etc/rc1.d
+%dir %attr(0755, root, sys) /etc/rc2.d
+%dir %attr(0755, root, sys) /etc/rc3.d
+%dir %attr(0755, root, sys) /etc/rcS.d
+%dir %attr(0755, root, sys) /etc/rpcsec
+%dir %attr(0755, root, bin) /etc/saf
+%dir %attr(0755, root, sys) /etc/saf/zsmon
+%dir %attr(0755, root, sys) /etc/sasl
+%dir %attr(0755, root, sys) /etc/security
+%dir %attr(0755, root, sys) /etc/security/audit
+%dir %attr(0755, root, sys) /etc/security/audit/localhost
+%dir %attr(0755, root, sys) /etc/security/auth_attr.d
+%dir %attr(0755, root, sys) /etc/security/dev
+%dir %attr(0755, root, sys) /etc/security/exec_attr.d
+%dir %attr(0755, root, sys) /etc/security/lib
+%dir %attr(0755, root, sys) /etc/security/prof_attr.d
+%dir %attr(0755, root, sys) /etc/skel
+%dir %attr(0755, root, sys) /etc/svc
+%dir %attr(0755, root, sys) /etc/svc/profile
+%dir %attr(0755, root, sys) /etc/svc/profile/site
+%dir %attr(0755, root, sys) /etc/svc/volatile
+%dir %attr(0755, root, sys) /etc/sysevent
+%dir %attr(0755, root, sys) /etc/sysevent/config
+%dir %attr(0755, root, sys) /etc/tm
+%dir %attr(0755, root, sys) /etc/user_attr.d
+%dir %attr(0755, root, bin) /lib
+%dir %attr(0755, root, bin) /lib/crypto
+%dir %attr(0755, root, bin) /lib/inet
+%dir %attr(0755, root, bin) /lib/svc
+%dir %attr(0755, root, bin) /lib/svc/bin
+%dir %attr(0755, root, bin) /lib/svc/capture
+%dir %attr(0755, root, sys) /lib/svc/manifest
+%dir %attr(0755, root, sys) /lib/svc/manifest/application
+%dir %attr(0755, root, sys) /lib/svc/manifest/application/management
+%dir %attr(0755, root, sys) /lib/svc/manifest/application/security
+%dir %attr(0755, root, sys) /lib/svc/manifest/device
+%dir %attr(0755, root, sys) /lib/svc/manifest/milestone
+%dir %attr(0755, root, sys) /lib/svc/manifest/network
+%dir %attr(0755, root, sys) /lib/svc/manifest/network/dns
+%dir %attr(0755, root, sys) /lib/svc/manifest/network/ipsec
+%dir %attr(0755, root, sys) /lib/svc/manifest/network/ldap
+%dir %attr(0755, root, sys) /lib/svc/manifest/network/routing
+%dir %attr(0755, root, sys) /lib/svc/manifest/network/rpc
+%dir %attr(0755, root, sys) /lib/svc/manifest/network/shares
+%dir %attr(0755, root, sys) /lib/svc/manifest/network/ssl
+%dir %attr(0755, root, sys) /lib/svc/manifest/platform
+%dir %attr(0755, root, sys) /lib/svc/manifest/site
+%dir %attr(0755, root, sys) /lib/svc/manifest/system
+%dir %attr(0755, root, sys) /lib/svc/manifest/system/device
+%dir %attr(0755, root, sys) /lib/svc/manifest/system/filesystem
+%dir %attr(0755, root, sys) /lib/svc/manifest/system/security
+%dir %attr(0755, root, sys) /lib/svc/manifest/system/svc
+%dir %attr(0755, root, bin) /lib/svc/method
+%dir %attr(0755, root, bin) /lib/svc/monitor
+%dir %attr(0755, root, bin) /lib/svc/seed
+%dir %attr(0755, root, bin) /lib/svc/share
+%dir %attr(0755, root, sys) /mnt
+%dir %attr(0755, root, sys) /opt
+%dir %attr(0555, root, root) /proc
+%dir %attr(0700, root, root) /root
+%dir %attr(0755, root, sys) /sbin
+%dir %attr(0755, root, root) /system
+%dir %attr(0555, root, root) /system/contract
+%dir %attr(0555, root, root) /system/object
+%dir %attr(1777, root, sys) /tmp
+%dir %attr(0755, root, sys) /usr
+%dir %attr(0755, root, bin) /usr/bin
+%dir %attr(0755, root, bin) /usr/bin/i86
+%dir %attr(0755, root, bin) /usr/bin/%{_arch64}
+%dir %attr(0755, root, bin) /usr/ccs
+%dir %attr(0755, root, bin) /usr/ccs/bin
+%dir %attr(0755, root, bin) /usr/demo
+%dir %attr(0755, root, bin) /usr/games
+%dir %attr(0755, root, bin) /usr/has
+%dir %attr(0755, root, bin) /usr/has/bin
+%dir %attr(0755, root, bin) /usr/has/lib
+%dir %attr(0755, root, sys) /usr/kernel
+%dir %attr(0755, root, sys) /usr/kernel/drv
+%dir %attr(0755, root, sys) /usr/kernel/drv/%{_arch64}
+%dir %attr(0755, root, sys) /usr/kernel/exec
+%dir %attr(0755, root, sys) /usr/kernel/exec/%{_arch64}
+%dir %attr(0755, root, sys) /usr/kernel/fs
+%dir %attr(0755, root, sys) /usr/kernel/fs/%{_arch64}
+%dir %attr(0755, root, sys) /usr/kernel/pcbe
+%dir %attr(0755, root, sys) /usr/kernel/pcbe/%{_arch64}
+%dir %attr(0755, root, sys) /usr/kernel/sched
+%dir %attr(0755, root, sys) /usr/kernel/sched/%{_arch64}
+%dir %attr(0755, root, sys) /usr/kernel/strmod
+%dir %attr(0755, root, sys) /usr/kernel/strmod/%{_arch64}
+%dir %attr(0755, root, sys) /usr/kernel/sys
+%dir %attr(0755, root, sys) /usr/kernel/sys/%{_arch64}
+%dir %attr(0755, root, bin) /usr/kvm
+%dir %attr(0755, root, bin) /usr/lib
+%dir %attr(0755, root, bin) /usr/lib/sse2
+%dir %attr(0755, root, bin) /usr/lib/%{_arch64}
+%dir %attr(0755, root, bin) /usr/lib/%{_arch64}/sse4
+%dir %attr(0755, root, bin) /usr/lib/audit
+%dir %attr(0755, root, bin) /usr/lib/class
+%dir %attr(0755, root, bin) /usr/lib/class/FX
+%dir %attr(0755, root, bin) /usr/lib/class/IA
+%dir %attr(0755, root, bin) /usr/lib/class/RT
+%dir %attr(0755, root, bin) /usr/lib/class/SDC
+%dir %attr(0755, root, bin) /usr/lib/class/TS
+%dir %attr(0755, root, bin) /usr/lib/crypto
+%dir %attr(0755, root, sys) /usr/lib/devfsadm
+%dir %attr(0755, root, sys) /usr/lib/devfsadm/linkmod
+%dir %attr(0755, root, sys) /usr/lib/fs
+%dir %attr(0755, root, sys) /usr/lib/fs/autofs
+%dir %attr(0755, root, sys) /usr/lib/fs/autofs/%{_arch64}
+%dir %attr(0755, root, sys) /usr/lib/fs/cachefs
+%dir %attr(0755, root, sys) /usr/lib/fs/ctfs
+%dir %attr(0755, root, sys) /usr/lib/fs/dev
+%dir %attr(0755, root, sys) /usr/lib/fs/fd
+%dir %attr(0755, root, sys) /usr/lib/fs/hsfs
+%dir %attr(0755, root, sys) /usr/lib/fs/lofs
+%dir %attr(0755, root, sys) /usr/lib/fs/mntfs
+%dir %attr(0755, root, sys) /usr/lib/fs/nfs
+%dir %attr(0755, root, sys) /usr/lib/fs/nfs/%{_arch64}
+%dir %attr(0755, root, sys) /usr/lib/fs/objfs
+%dir %attr(0755, root, sys) /usr/lib/fs/proc
+%dir %attr(0755, root, sys) /usr/lib/fs/sharefs
+%dir %attr(0755, root, sys) /usr/lib/fs/tmpfs
+%dir %attr(0755, root, sys) /usr/lib/fs/ufs
+%dir %attr(0755, root, bin) /usr/lib/help
+%dir %attr(0755, root, bin) /usr/lib/help/auths
+%dir %attr(0755, root, bin) /usr/lib/help/auths/locale
+%dir %attr(0755, root, bin) /usr/lib/help/auths/locale/C
+%dir %attr(0755, root, bin) /usr/lib/help/profiles
+%dir %attr(0755, root, bin) /usr/lib/help/profiles/locale
+%dir %attr(0755, root, bin) /usr/lib/help/profiles/locale/C
+%dir %attr(0755, root, bin) /usr/lib/iconv
+%dir %attr(0755, root, bin) /usr/lib/inet
+%dir %attr(0755, root, bin) /usr/lib/inet/i86
+%dir %attr(0755, root, bin) /usr/lib/inet/%{_arch64}
+%dir %attr(0755, root, bin) /usr/lib/inet/dhcp
+%dir %attr(0755, root, bin) /usr/lib/inet/dhcp/nsu
+%dir %attr(0755, root, bin) /usr/lib/inet/dhcp/svc
+%dir %attr(0755, root, bin) /usr/lib/locale
+%dir %attr(0755, root, bin) /usr/lib/locale/C
+%dir %attr(0755, root, bin) /usr/lib/locale/C/LC_COLLATE
+%dir %attr(0755, root, bin) /usr/lib/locale/C/LC_CTYPE
+%dir %attr(0755, root, bin) /usr/lib/locale/C/LC_MESSAGES
+%dir %attr(0755, root, bin) /usr/lib/locale/C/LC_MONETARY
+%dir %attr(0755, root, bin) /usr/lib/locale/C/LC_NUMERIC
+%dir %attr(0755, root, bin) /usr/lib/locale/C/LC_TIME
+%dir %attr(0755, root, bin) /usr/lib/localedef
+%dir %attr(0755, root, bin) /usr/lib/localedef/extensions
+%dir %attr(0755, root, bin) /usr/lib/localedef/src
+%dir %attr(0755, root, sys) /usr/lib/netsvc
+%dir %attr(0755, root, bin) /usr/lib/pci
+%dir %attr(0755, root, bin) /usr/lib/rcm
+%dir %attr(0755, root, bin) /usr/lib/rcm/modules
+%dir %attr(0755, root, bin) /usr/lib/rcm/scripts
+%dir %attr(0755, root, bin) /usr/lib/reparse
+%dir %attr(0755, root, bin) /usr/lib/saf
+%dir %attr(0755, root, bin) /usr/lib/secure
+%dir %attr(0755, root, bin) /usr/lib/secure/%{_arch64}
+%dir %attr(0755, root, bin) /usr/lib/security
+%dir %attr(0755, root, bin) /usr/lib/sysevent
+%dir %attr(0755, root, bin) /usr/lib/sysevent/modules
+%dir %attr(0755, root, sys) /usr/net
+%dir %attr(0755, root, sys) /usr/net/nls
+%dir %attr(0755, root, sys) /usr/net/servers
+%dir %attr(0755, root, bin) /usr/old
+%dir %attr(0755, root, sys) /usr/platform
+%dir %attr(0755, root, bin) /usr/sadm
+%dir %attr(0755, root, bin) /usr/sadm/bin
+%dir %attr(0755, root, bin) /usr/sadm/install
+%dir %attr(0755, root, bin) /usr/sadm/install/scripts
+%dir %attr(0755, root, bin) /usr/sadm/sysadm
+%dir %attr(0755, root, bin) /usr/sadm/sysadm/add-ons
+%dir %attr(0755, root, bin) /usr/sadm/sysadm/bin
+%dir %attr(0755, root, bin) /usr/sbin
+%dir %attr(0755, root, bin) /usr/sbin/i86
+%dir %attr(0755, root, bin) /usr/sbin/%{_arch64}
+%dir %attr(0755, root, sys) /usr/share
+%dir %attr(0755, root, other) /usr/share/doc
+%dir %attr(0755, root, bin) /usr/share/doc/ksh
+%dir %attr(0755, root, bin) /usr/share/doc/ksh/images
+%dir %attr(0755, root, bin) /usr/share/doc/ksh/images/callouts
+%dir %attr(0755, root, sys) /usr/share/lib
+%dir %attr(0755, root, bin) /usr/share/lib/mailx
+%dir %attr(0755, root, bin) /usr/share/lib/pub
+%dir %attr(0755, root, bin) /usr/share/lib/tabset
+%dir %attr(0755, root, bin) /usr/share/lib/terminfo
+%dir %attr(0755, root, bin) /usr/share/lib/terminfo/3
+%dir %attr(0755, root, bin) /usr/share/lib/terminfo/A
+%dir %attr(0755, root, bin) /usr/share/lib/terminfo/a
+%dir %attr(0755, root, bin) /usr/share/lib/terminfo/s
+%dir %attr(0755, root, bin) /usr/share/lib/terminfo/u
+%dir %attr(0755, root, bin) /usr/share/lib/terminfo/v
+%dir %attr(0755, root, bin) /usr/share/lib/terminfo/x
+%dir %attr(0755, root, sys) /usr/share/lib/xml
+%dir %attr(0755, root, sys) /usr/share/lib/xml/dtd
+%dir %attr(0755, root, sys) /usr/share/lib/xml/style
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Africa
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/America
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/America/Argentina
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/America/Indiana
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/America/Kentucky
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/America/North_Dakota
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Antarctica
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Arctic
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Asia
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Atlantic
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Australia
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Brazil
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Canada
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Chile
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Etc
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Europe
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Indian
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Mexico
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Mideast
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/Pacific
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/US
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/src
+%dir %attr(0755, root, bin) /usr/share/lib/zoneinfo/tab
+%dir %attr(0755, root, sys) /usr/share/src
+%dir %attr(0755, root, bin) /usr/xpg4
+%dir %attr(0755, root, bin) /usr/xpg4/bin
+%dir %attr(0755, root, sys) /var
+%dir %attr(0775, root, sys) /var/adm
+%dir %attr(0755, adm, adm) /var/adm/exacct
+%dir %attr(0755, adm, adm) /var/adm/log
+%dir %attr(0755, root, sys) /var/adm/streams
+%dir %attr(0755, root, sys) /var/audit
+%dir %attr(0755, root, sys) /var/cores
+%dir %attr(0755, root, sys) /var/cron
+%dir %attr(0755, root, bin) /var/games
+%dir %attr(0755, daemon, daemon) /var/idmap
+%dir %attr(0755, root, sys) /var/inet
+%dir %attr(0755, root, bin) /var/ld
+%dir %attr(0755, root, bin) /var/ld/%{_arch64}
+%dir %attr(0755, root, sys) /var/log
+%dir %attr(0755, root, bin) /var/logadm
+%dir %attr(1777, root, mail) /var/mail
+%dir %attr(0775, root, mail) /var/mail/:saved
+%dir %attr(0755, root, bin) /var/news
+%dir %attr(0755, root, sys) /var/opt
+%dir %attr(1777, root, bin) /var/preserve
+%dir %attr(0755, root, sys) /var/run
+%dir %attr(0755, root, sys) /var/sadm
+%dir %attr(0755, root, sys) /var/sadm/system
+%dir %attr(0755, root, sys) /var/sadm/system/admin
+%dir %attr(0755, root, bin) /var/saf
+%dir %attr(0755, root, sys) /var/saf/zsmon
+%dir %attr(0755, root, bin) /var/spool
+%dir %attr(0755, root, sys) /var/spool/cron
+%dir %attr(0755, root, sys) /var/spool/cron/atjobs
+%dir %attr(0755, root, sys) /var/spool/cron/crontabs
+%dir %attr(0755, uucp, uucp) /var/spool/locks
+%dir %attr(0755, root, sys) /var/svc
+%dir %attr(0755, root, sys) /var/svc/log
+%dir %attr(0755, root, sys) /var/svc/manifest
+%dir %attr(0755, root, sys) /var/svc/manifest/application
+%dir %attr(0755, root, sys) /var/svc/manifest/application/management
+%dir %attr(0755, root, sys) /var/svc/manifest/application/print
+%dir %attr(0755, root, sys) /var/svc/manifest/application/security
+%dir %attr(0755, root, sys) /var/svc/manifest/device
+%dir %attr(0755, root, sys) /var/svc/manifest/milestone
+%dir %attr(0755, root, sys) /var/svc/manifest/network
+%dir %attr(0755, root, sys) /var/svc/manifest/network/dns
+%dir %attr(0755, root, sys) /var/svc/manifest/network/ipsec
+%dir %attr(0755, root, sys) /var/svc/manifest/network/ldap
+%dir %attr(0755, root, sys) /var/svc/manifest/network/nfs
+%dir %attr(0755, root, sys) /var/svc/manifest/network/nis
+%dir %attr(0755, root, sys) /var/svc/manifest/network/routing
+%dir %attr(0755, root, sys) /var/svc/manifest/network/rpc
+%dir %attr(0755, root, sys) /var/svc/manifest/network/security
+%dir %attr(0755, root, sys) /var/svc/manifest/network/shares
+%dir %attr(0755, root, sys) /var/svc/manifest/network/ssl
+%dir %attr(0755, root, sys) /var/svc/manifest/platform
+%dir %attr(0755, root, sys) /var/svc/manifest/site
+%dir %attr(0755, root, sys) /var/svc/manifest/system
+%dir %attr(0755, root, sys) /var/svc/manifest/system/device
+%dir %attr(0755, root, sys) /var/svc/manifest/system/filesystem
+%dir %attr(0755, root, sys) /var/svc/manifest/system/security
+%dir %attr(0755, root, sys) /var/svc/manifest/system/svc
+%dir %attr(0755, root, sys) /var/svc/profile
+%dir %attr(1777, root, sys) /var/tmp
+%dir %attr(0755, root, sys) /boot
+%dir %attr(0755, root, sys) /boot/acpi
+%dir %attr(0755, root, sys) /boot/acpi/tables
+%dir %attr(0755, root, sys) /boot/solaris
+%dir %attr(0755, root, sys) /boot/solaris/bin
+%dir %attr(0755, root, sys) /etc/sock2path.d
+%dir %attr(0755, root, sys) /kernel
+%dir %attr(0755, root, sys) /kernel/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/crypto
+%dir %attr(0755, root, sys) /kernel/crypto/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/dacf
+%dir %attr(0755, root, sys) /kernel/dacf/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/drv
+%dir %attr(0755, root, sys) /kernel/drv/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/exec
+%dir %attr(0755, root, sys) /kernel/exec/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/fs
+%dir %attr(0755, root, sys) /kernel/fs/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/ipp
+%dir %attr(0755, root, sys) /kernel/ipp/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/kiconv
+%dir %attr(0755, root, sys) /kernel/kiconv/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/mac
+%dir %attr(0755, root, sys) /kernel/mac/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/misc
+%dir %attr(0755, root, sys) /kernel/misc/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/misc/scsi_vhci
+%dir %attr(0755, root, sys) /kernel/misc/scsi_vhci/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/sched
+%dir %attr(0755, root, sys) /kernel/sched/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/socketmod
+%dir %attr(0755, root, sys) /kernel/socketmod/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/strmod
+%dir %attr(0755, root, sys) /kernel/strmod/%{_arch64}
+%dir %attr(0755, root, sys) /kernel/sys
+%dir %attr(0755, root, sys) /kernel/sys/%{_arch64}
Modified: trunk/spec_files/rpms/gmp.spec
===================================================================
--- trunk/spec_files/rpms/gmp.spec	2011年01月30日 09:57:25 UTC (rev 416)
+++ trunk/spec_files/rpms/gmp.spec	2011年02月06日 10:40:50 UTC (rev 417)
@@ -33,7 +33,12 @@
 install the gmp package.
 
 %prep
-%setup -q -c -n %name-%version
+%bsetup
+%if %{build_64bit}
+cp -rp %{name}-%{version} %{name}-%{version}-sse4
+%else
+cp -rp %{name}-%{version} %{name}-%{version}-sse2
+%endif
 
 %build
 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
@@ -41,7 +46,7 @@
 CPUS=1
 fi
 
-%if %cc_is_gcc
+%if %gcc_compiler
 CFLAGS_GEN="-fno-builtin -finline-functions -std=c99 -D_REENTRANT -D__EXTENSIONS__=1 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_XPG6 -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_C_SOURCE=200112L -D__XOPEN_OR_POSIX -D_STRICT_STDC -D_STRICT_STDC__ -D_STDC_C99 -D_ISOC99_SOURCE -DNDEBUG -DPIC -fPIC -z combreloc -z redlocsym -z ignore -z rescan -z absexec -s"
 export CPPFLAGS="-fexceptions"
 
@@ -75,8 +80,8 @@
 cd gmp-%{version}
 
 %if %{build_64bit}
-export CFLAGS="-m64 -mfpmath=sse,387 -msse2 -fPIC -DPIC -mtune=opteron -O3 -fomit-frame-pointer -fno-builtin -finline-functions -D_REENTRANT -D__EXTENSIONS__=1"
-export CXXFLAGS="-m64 -mfpmath=sse,387 -msse2 -fPIC -DPIC -mtune=opteron -O2 -fno-builtin -finline-functions -D_REENTRANT -D__EXTENSIONS__=1"
+export CFLAGS="-m64 -mfpmath=sse -msse2 -ftree-vectorize -fPIC -DPIC -mtune=opteron -O3 -fomit-frame-pointer -fno-builtin -finline-functions -D_REENTRANT -D__EXTENSIONS__=1"
+export CXXFLAGS="-m64 -mfpmath=sse -msse2 -ftree-vectorize -fPIC -DPIC -mtune=opteron -O2 -fno-builtin -finline-functions -D_REENTRANT -D__EXTENSIONS__=1"
 export ABI=64
 
 cp configure configure.orig
@@ -107,6 +112,40 @@
 --enable-cxx --enable-mpbsd
 make -j $CPUS 
 
+%if %{build_64bit}
+cd ../%{name}-%{version}-sse4
+
+export CFLAGS="-m64 -mfpmath=sse -msse4.1 -ftree-vectorize -fPIC -DPIC -mtune=opteron -O3 -fomit-frame-pointer -fno-builtin -finline-functions -D_REENTRANT -D__EXTENSIONS__=1"
+export CXXFLAGS="-m64 -mfpmath=sse -msse4.1 -ftree-vectorize -fPIC -DPIC -mtune=opteron -O2 -fno-builtin -finline-functions -D_REENTRANT -D__EXTENSIONS__=1"
+
+./configure --prefix=%{_prefix} \
+ --mandir=%{_mandir} \
+ --libdir=%{_libdir}/sse4 \
+ --infodir=%{_infodir} \
+ --libexecdir=%{_libexecdir} \
+ --sysconfdir=%{_sysconfdir} \
+ --includedir=%{_includedir}/gmp \
+ --enable-cxx --enable-mpbsd
+make -j $CPUS
+%else
+cd ../%{name}-%{version}-sse2
+
+export CFLAGS="-fPIC -DPIC -O2 -march=pentium4 -msse2 -ftree-vectorize -fno-builtin -finline-functions -D_REENTRANT -D__EXTENSIONS__=1"
+export CXXFLAGS="-fPIC -DPIC -O2 -march=pentium4 -msse2 -ftree-vectorize -fno-builtin -finline-functions -D_REENTRANT -D__EXTENSIONS__=1"
+
+./configure --prefix=%{_prefix} \
+ --mandir=%{_mandir} \
+ --libdir=%{_libdir}/sse2 \
+ --infodir=%{_infodir} \
+ --libexecdir=%{_libexecdir} \
+ --sysconfdir=%{_sysconfdir} \
+ --includedir=%{_includedir}/gmp \
+ --enable-cxx --enable-mpbsd
+make -j $CPUS
+%endif
+cd ..
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
 cd gmp-%{version}
@@ -122,11 +161,37 @@
 mv $RPM_BUILD_ROOT/%{_includedir}/gmp.h $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-64.h
 cp gmp-mparam.h $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-mparam-64.h
 chmod 0644 $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-mparam-64.h
+
+cd build-sse2
+mkdir $RPM_BUILD_ROOT%{_libdir}/sse2
+ginstall -m 755 .libs/libgmp.so.*.* $RPM_BUILD_ROOT%{_libdir}/sse2
+/usr/bin/cp -rp@ .libs/libgmp.so.[^.]* $RPM_BUILD_ROOT%{_libdir}/sse2
+chmod 755 $RPM_BUILD_ROOT%{_libdir}/sse2/libgmp.so.[^.]*
+ginstall -m 755 .libs/libgmpxx.so.*.* $RPM_BUILD_ROOT%{_libdir}/sse2
+/usr/bin/cp -rp@ .libs/libgmpxx.so.? $RPM_BUILD_ROOT%{_libdir}/sse2
+chmod 755 $RPM_BUILD_ROOT%{_libdir}/sse2/libgmpxx.so.?
+ginstall -m 755 .libs/libmp.so.*.* $RPM_BUILD_ROOT%{_libdir}/sse2
+/usr/bin/cp -rp@ .libs/libmp.so.? $RPM_BUILD_ROOT%{_libdir}/sse2
+chmod 755 $RPM_BUILD_ROOT%{_libdir}/sse2/libmp.so.?
+cd ..
 %else
 
 mv $RPM_BUILD_ROOT/%{_includedir}/gmp.h $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-i386.h
 cp gmp-mparam.h $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-mparam-i386.h
 chmod 0644 $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-mparam-i386.h
+
+cd build-sse4
+mkdir $RPM_BUILD_ROOT%{_libdir}/sse2
+ginstall -m 755 .libs/libgmp.so.*.* $RPM_BUILD_ROOT%{_libdir}/sse2
+/usr/bin/cp -rp@ .libs/libgmp.so.[^.]* $RPM_BUILD_ROOT%{_libdir}/sse2
+chmod 755 $RPM_BUILD_ROOT%{_libdir}/sse2/libgmp.so.[^.]*
+ginstall -m 755 .libs/libgmpxx.so.*.* $RPM_BUILD_ROOT%{_libdir}/sse2
+/usr/bin/cp -rp@ .libs/libgmpxx.so.? $RPM_BUILD_ROOT%{_libdir}/sse2
+chmod 755 $RPM_BUILD_ROOT%{_libdir}/sse2/libgmpxx.so.?
+ginstall -m 755 .libs/libmp.so.*.* $RPM_BUILD_ROOT%{_libdir}/sse2
+/usr/bin/cp -rp@ .libs/libmp.so.? $RPM_BUILD_ROOT%{_libdir}/sse2
+chmod 755 $RPM_BUILD_ROOT%{_libdir}/sse2/libmp.so.?
+cd ..
 %endif
 
 cp %{SOURCE1} $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp.h
@@ -136,36 +201,29 @@
 
 mv $RPM_BUILD_ROOT/%{_includedir}/mp.h $RPM_BUILD_ROOT/%{_includedir}/gmp/
 
+%find_info
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post devel
-PATH=/usr/bin:/usr/sfw/bin; export PATH
-retval=0
-for info in gmp.info gmp.info-1 gmp.info-2
-do
- install-info --quiet --info-dir=%{_infodir} %{_infodir}/$info
-done
-exit $retval
+%install_info
 
 %preun devel
-PATH=/usr/bin:/usr/sfw/bin; export PATH
-retval=0
-for info in gmp.info gmp.info-1 gmp.info-2
-do
- install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/$info
-done
+%uninstall_info
 
 %files
 %defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_libdir}
 %{_libdir}/lib*.so*
-%dir %attr (0755, root, sys) %{_datadir}
+%if %{build_64bit}
+%{_libdir}/sse4/lib*.so*
+%else
+%{_libdir}/sse2/lib*.so*
+%endif
 %{_datadir}/info
 
 %files devel
 %defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_includedir}
 %dir %attr (0755, root, bin) %{_includedir}/gmp
 %{_includedir}/gmp/*.h
 
Added: trunk/spec_files/rpms/graphviz-tclpkg.spec
===================================================================
--- trunk/spec_files/rpms/graphviz-tclpkg.spec	 (rev 0)
+++ trunk/spec_files/rpms/graphviz-tclpkg.spec	2011年02月06日 10:40:50 UTC (rev 417)
@@ -0,0 +1,58 @@
+%define tcl_v %(echo 'puts $tcl_version' | tclsh)
+%define tcl_vers tcl%{tcl_v}
+
+BuildArch: noarch
+Summary: Tcl package helper for Graphviz
+Name: graphviz-tclpkg
+Version: 1
+Release: 1%{?dist}
+Group: Applications/Multimedia
+License: CPL
+
+%description
+Custom Graphviz Tcl pkgIndex to load appropriate 64-bit or 32-bit
+Tcl package based on interpreter bit-ness.
+
+%prep
+
+%build
+
+%install
+cd ${RPM_BUILD_ROOT}
+mkdir -p ${RPM_BUILD_ROOT}%{_libdir32}/%{tcl_vers}/graphviz
+cat > ${RPM_BUILD_ROOT}%{_libdir32}/%{tcl_vers}/graphviz/pkgIndex.tcl << EOT
+#
+# Load appropriate graphviz package based on interpreter bit-ness
+# This assumes graphviz libdir is /usr/lib[/amd64]/graphviz and Tcl libdir is
+# /usr/lib/tcl<version>/
+#
+global tcl_platform __d_name
+
+if {\$tcl_platform(wordSize) == 8} {
+ set __d_name [file join [file dirname [info script]] ../../amd64/graphviz/tcl]
+} else {
+ set __d_name [file join [file dirname [info script]] ../../graphviz/tcl]
+}
+
+package ifneeded Tcldot 2.26.3 "
+ load [file join \$__d_name libtcldot.so.0] Tcldot"
+package ifneeded Tclpathplan 2.26.3 "
+ load [file join \$__d_name libtclplan.so.0] Tclpathplan"
+package ifneeded Gdtclft 2.26.3 "
+ load [file join \$__d_name libgdtclft.so.0] Gdtclft"
+package ifneeded gv 0 "
+ load [file join \$__d_name libgv_tcl.so] gv"
+package ifneeded Tkspline 2.26.3 "
+ package require Tk 8.3
+ load [file join \$__d_name libtkspline.so.0] Tkspline"
+# end
+EOT
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files
+%defattr (-, root, bin)
+%dir %attr(0755, root, bin) %{_libdir32}/%{tcl_vers}/graphviz
+%{_libdir32}/%{tcl_vers}/graphviz/pkgIndex.tcl
+
Modified: trunk/spec_files/rpms/graphviz.spec
===================================================================
--- trunk/spec_files/rpms/graphviz.spec	2011年01月30日 09:57:25 UTC (rev 416)
+++ trunk/spec_files/rpms/graphviz.spec	2011年02月06日 10:40:50 UTC (rev 417)
@@ -1,122 +1,126 @@
-## WORK IN PROGRESS
-%define perl_vers 5.10
+
+## *** WORK IN PROGRESS *** ##
+
+%define perl_vers 5.10.0
 %define ruby_vers 1.8
-%define python_vers python2.4
-%define tcl_vers tcl8.4
+%define tcl_v %(echo 'puts $tcl_version' | tclsh)
+%define tcl_vers tcl%{tcl_v}
 
 Name: graphviz
 Summary: Graph drawing tools and libraries
 Version: 2.26.3
+Release: 1%{?dist}
+Group: Applications/Multimedia
+License: CPL
 Source: http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-%{version}.tar.gz
 URL: http://www.graphviz.org
 BuildRoot: %{_tmppath}/%{name}-%{version}-build
 
-%include default-depend.inc
-Requires: SUNWlibtool
-Requires: SUNWgd2
-Requires: SUNWlexpt
-Requires: SUNWfontconfig
-Requires: SUNWlexpt
-%if %{SFEfreetype}
-Requires: SFEfreetype
-%else
-Requires: SUNWfreetype2
-%endif
-Requires: SUNWgnome-base-libs
-Requires: SUNWjpg
-%if %cc_is_gcc
-Requires: SFEgccruntime
-%else
-Requires: SUNWlibC
-%endif
-Requires: SUNWpng
-%if %{SFEfreetype}
-BuildRequires: SFEfreetype-devel
-%else
-BuildRequires: SUNWfreetype2
-%endif
-BuildRequires: SUNWgnome-base-libs-devel
-BuildRequires: SUNWlibtool
-BuildRequires: SUNWPython-devel
-BuildRequires: SUNWTcl
-BuildRequires: SUNWperl584core
-BuildRequires: SUNWruby18u
-BuildRequires: SFEswig
+Requires: graphviz-tclpkg
+Requires: zlib
+#Requires: tcl8
+#Requires: SUNWlibtool
+#Requires: SUNWgd2
+#Requires: SUNWlexpt
+#Requires: SUNWfontconfig
+#Requires: SUNWlexpt
+#Requires: SUNWfreetype2
+#Requires: SUNWgnome-base-libs
+#Requires: SUNWjpg
+#%if %gcc_compiler
+#Requires: SFEgccruntime
+#%else
+#Requires: SUNWlibC
+#%endif
+#Requires: SUNWpng
+BuildRequires: zlib-devel
+#BuildRequires: SUNWfreetype2
+#BuildRequires: SUNWgnome-base-libs-devel
+#BuildRequires: SUNWlibtool
+#BuildRequires: SUNWPython-devel
+#BuildRequires: SUNWTcl
+#BuildRequires: SUNWperl584core
+#BuildRequires: SUNWruby18u
+#BuildRequires: SFEswig
 
+%description
+A collection of tools for the manipulation and layout of graphs (as in nodes 
+and edges, not as in barcharts).
+
 %package devel
-Summary: %{summary} - development files
-SUNW_BaseDir: %{_prefix}
-%include default-depend.inc
-Requires: %name
+Summary: %{summary} - development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
 
-%prep
-%setup -q -c -n %name-%version
-%ifarch amd64 sparcv9
-cp -rp graphviz-%{version} graphviz-%{version}-64
-%endif
+%description devel
+A collection of tools for the manipulation and layout of graphs (as in nodes 
+and edges, not as in barcharts). This package contains development files for 
+graphviz.
 
-%build
-CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
-if test "x$CPUS" = "x" -o $CPUS = 0; then
- CPUS=1
-fi
+%package doc
+Group: Documentation
+Summary: PDF and HTML documents for graphviz
 
-OPATH="$PATH"
+%description doc
+Provides some additional PDF and HTML documentation for graphviz.
 
-%ifarch amd64 sparcv9
-cd graphviz-%{version}-64
+%package python
+Group: Applications/Multimedia
+Summary: Python extension for graphviz
+Requires: %{name} = %{version}-%{release}
+#Requires: python
 
-export CPPFLAGS="-I%{_prefix}/X11/include -I%{_prefix}/include/gd2 -D_SYS_MODE_H"
-export CFLAGS="%optflags64"
-export CXXFLAGS="%cxx_optflags64"
-export LDFLAGS="%_ldflags64 %{xorg_lib_path64} -lgd"
-export PATH="%{_bindir}/%{_arch64}:%{_prefix}/gnu/bin/%{_arch64}:${OPATH}"
+%description python
+Python extension for graphviz.
 
-#libtoolize --copy --force
-#aclocal $ACLOCAL_FLAGS
-#autoheader
-#automake -a -c -f
-#autoconf
-#bash ./autogen.sh
+%if !%{build_64bit}
+%package perl
+Group: Applications/Multimedia
+Summary: Perl extension for graphviz
+Requires: %{name} = %{version}-%{release}
+#Requires: perl5
 
-# Perl, Ruby are disabled in 64bit build as there is no 64bit perl in default osol
-# base.
-./configure --prefix=%{_prefix} \
- --bindir=%{_bindir}/%{_arch64} \
- --libdir=%{_libdir}/%{_arch64} \
- --mandir=%{_mandir} \
- --enable-static=no \
- --enable-ltdl \
- --disable-rpath \
- --disable-sharp \
- --disable-guile \
- --disable-io \
- --disable-java \
- --disable-lua \
- --disable-ocaml \
- --disable-php \
- --disable-perl \
- --disable-ruby \
- $TCL_OPTS
+%description perl
+Perl extension for graphviz.
 
-make -j$CPUS
-cd ..
+%package ruby
+Group: Applications/Multimedia
+Summary: Ruby extension for graphviz
+Requires: %{name} = %{version}-%{release}
+#Requires: ruby18
+
+%description ruby
+Ruby extension for graphviz.
 %endif
 
+%prep
+%bsetup
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
 cd graphviz-%{version}
 export CPPFLAGS="-I%{_prefix}/X11/include -I%{_prefix}/include/gd2 -D_SYS_MODE_H"
-export CFLAGS="%optflags"
-export CXXFLAGS="%cxx_optflags"
-export LDFLAGS="%_ldflags %{xorg_lib_path} -lgd"
-export PATH="$OPATH"
+%if %{build_64bit}
+export CFLAGS="%optflags %{gcc_opt_sse2} %{gcc_opt_graphite}"
+export CXXFLAGS="%cxx_optflags %{gcc_opt_sse2} %{gcc_opt_graphite}"
+export LDFLAGS="%_ldflags -lgd"
+export PYTHON=%{_bindir}/python
+%else
+export CFLAGS="%optflags %{gcc_opt_graphite}"
+export CXXFLAGS="%cxx_optflags %{gcc_opt_graphite}"
+export LDFLAGS="%_ldflags -lgd"
+export PYTHON=%{_bindir}/%{pyname}
+export PERL=%{_prefix}/perl5/%{perl_vers}/bin/perl
+export RUBY=%{_bindir}/ruby
+%endif
 
-#libtoolize --copy --force
-#aclocal $ACLOCAL_FLAGS
-#autoheader
-#automake -a -c -f
-#autoconf
-#bash ./autogen.sh
 ./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --libdir=%{_libdir} \
 --mandir=%{_mandir} \
 --enable-static=no \
 --enable-ltdl \
@@ -128,34 +132,39 @@
 --disable-lua \
 --disable-ocaml \
 --disable-php \
+%if %{build_64bit}
+ --enable-ruby=no \
+ --enable-perl=no \
+%endif
+ --with-tcl=%{_bindir}/tclsh \
 $TCL_OPTS
 
-make -j$CPUS
+gmake -j$CPUS
 cd ..
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-OPATH="$PATH"
-
-%ifarch amd64 sparcv9
-cd graphviz-%{version}-64
-export PATH="%{_bindir}/%{_arch64}:%{_prefix}/gnu/bin/%{_arch64}:${OPATH}"
-
-make install DESTDIR=$RPM_BUILD_ROOT
-cd ..
-%endif
-
 cd graphviz-%{version}
-export PATH="$OPATH"
 make install DESTDIR=$RPM_BUILD_ROOT
-cd ..
 
 find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
 
 rm -rf ${RPM_BUILD_ROOT}%{_mandir}/mann
+mkdir -p ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/vendor-packages
+mkdir -p ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/lib-dynload
+mv ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/site-packages/*.py* ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/vendor-packages
 
+%if %{build_64bit}
+mkdir ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/lib-dynload/64
+mv ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/site-packages/*.so ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/lib-dynload/64
+%else
+mv ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/site-packages/*.so ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/lib-dynload
+%endif
+rm -rf ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/site-packages
+rm -rf ${RPM_BUILD_ROOT}%{_libdir32}/%{tcl_vers}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -166,25 +175,49 @@
 
 %files
 %defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_bindir}
 %{_bindir}/*
-%dir %attr (0755, root, bin) %{_libdir}
 %{_libdir}/lib*.so*
 %dir %attr (0755, root, bin) %{_libdir}/graphviz
-%{_libdir}/graphviz/*
+%{_libdir}/graphviz/*.so*
+%dir %attr (0755, root, bin) %{_libdir}/graphviz/tcl
+%{_libdir}/graphviz/tcl/*
 
-%ifarch amd64 sparcv9
-%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
-%{_libdir}/%{_arch64}/lib*.so*
-%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}/graphviz
-%{_libdir}/%{_arch64}/graphviz/*
-%endif
+%{_mandir}/man1/*.1*
+%{_mandir}/man3/*.3*
+%{_mandir}/man7/*.7*
 
+%files devel
+%defattr (-, root, bin)
+%{_includedir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+%dir %attr (0755, root, other) %{_datadir}/graphviz
+%{_datadir}/graphviz/*
+
+%files python
+%defattr(-, root, bin)
+%dir %{_libdir32}/%{pyname}
+%dir %{_libdir32}/%{pyname}/vendor-packages
+%dir %{_libdir32}/%{pyname}/lib-dynload
+%{_libdir32}/%{pyname}/vendor-packages/*
+%{_libdir32}/%{pyname}/lib-dynload/*
+%dir %attr (0755, root, bin) %{_libdir}/graphviz/python
+%{_libdir}/graphviz/python/*
+
+%if !%{build_64bit}
+%files perl
+%defattr(-, root, bin)
 %dir %attr (0755, root, bin) %{_prefix}/perl5
 %dir %attr (0755, root, bin) %{_prefix}/perl5/vendor_perl
 %dir %attr (0755, root, bin) %{_prefix}/perl5/vendor_perl/%{perl_vers}
 %dir %attr (0755, root, bin) %{_prefix}/perl5/vendor_perl/%{perl_vers}/i86pc-solaris-64int
 %{_prefix}/perl5/vendor_perl/%{perl_vers}/i86pc-solaris-64int/*
+%dir %attr (0755, root, bin) %{_libdir}/graphviz/perl
+%{_libdir}/graphviz/perl/*
+
+%files ruby
+%defattr(-, root, bin)
 %dir %attr (0755, root, bin) %{_prefix}/ruby
 %dir %attr (0755, root, bin) %{_prefix}/ruby/%{ruby_vers}
 %dir %attr (0755, root, bin) %{_prefix}/ruby/%{ruby_vers}/lib
@@ -193,79 +226,8 @@
 %dir %attr (0755, root, bin) %{_prefix}/ruby/%{ruby_vers}/lib/ruby/site_ruby/%{ruby_vers}
 %dir %attr (0755, root, bin) %{_prefix}/ruby/%{ruby_vers}/lib/ruby/site_ruby/%{ruby_vers}/i386-solaris2.11
 %{_prefix}/ruby/%{ruby_vers}/lib/ruby/site_ruby/%{ruby_vers}/i386-solaris2.11/*
-%dir %attr (0755, root, bin) %{_libdir}/%{python_vers}
-%dir %attr (0755, root, bin) %{_libdir}/%{python_vers}/site-packages
-%{_libdir}/%{python_vers}/site-packages/*
-%dir %attr (0755, root, bin) %{_libdir}/%{tcl_vers}
-%{_libdir}/%{tcl_vers}/*
-
-%dir %attr (0755, root, sys) %{_datadir}
-%dir %attr (0755, root, bin) %{_mandir}
-%dir %attr (0755, root, bin) %{_mandir}/man1
-%{_mandir}/man1/*.1
-%dir %attr (0755, root, bin) %{_mandir}/man3
-%{_mandir}/man3/*.3*
-%dir %attr (0755, root, bin) %{_mandir}/man7
-%{_mandir}/man7/*.7
-
-%files devel
-%defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_includedir}
-%{_includedir}/*
-%dir %attr (0755, root, bin) %{_libdir}
-%dir %attr (0755, root, other) %{_libdir}/pkgconfig
-%{_libdir}/pkgconfig/*
-%dir %attr (0755, root, sys) %{_datadir}
-%dir %attr (0755, root, other) %{_datadir}/graphviz
-%{_datadir}/graphviz/*
-
-%ifarch amd64 sparcv9
-%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
-%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
-%{_libdir}/%{_arch64}/pkgconfig/*
+%dir %attr (0755, root, bin) %{_libdir}/graphviz/ruby
+%{_libdir}/graphviz/ruby/*
 %endif
 
 %changelog
-* Sat Aug 15 2009 - Moinak Ghosh <moinakg<at>belenix(dot)org>
-- Fix postinstall script to find the correct libraries in an ALTROOT install environment.
-* Mon Jun 15 2009 - moinakg@belenix(dot)org
-- Add 64Bit build.
-* Sat Jun 21 2008 - mo...@gm...
-- Fix build
-- Add entries for Perl, Tcl and Python plugins.
-* Mon Apr 28 2008 - <shivakumar dot gn at gmail dot com>
-- Fixed usage of macro in if condition
-* Thu Jan 24 2008 - no...@us...
-- Replace SFEruby to SUNWruby18u
-* Wed Jan 17 2008 - moi...@su...
-- Do not disable perl.
-- Prevent sys/mode.h from being pulled in via perl.h by defining _SYS_MODE_H. This
-- allows the perl plugin to be built.
-* Wed Jan 16 2008 - moi...@su...
-- Bump version to 2.16.1
-- Remove SUNWfontconfig-devel from BuildRequires. SUNWfontconfig package includes
-- devel components.
-- Changed SFElibtool dep to SUNWlibtool.
-- Remove unneeded patches.
-* Thu Oct 25 2007 - no...@us...
-- Add configure option --disale-perl 
-- Add patch gd-ldflags.diff
-- Add /usr/include/gd2 to CFLAGS
-* Wed Oct 17 2007 - la...@su...
-- add /usr/X11 to search paths for FOX
-- allow building with either SUNWlexpt or SFEexpat
-* Mon Sep 24 2007 - tr...@ac...
-- Allow building with Tcl 8.4 (newer SUNWTcl)
-* Thu Mar 22 2007 - no...@us...
-- Add patch arith-h to export arith.h to let anjuta build pass.
- This patch is already in cvs head, should be removed in next release.
-* Fri Aug 17 2007 - tr...@ac...
-- Bump to 2.14
-- Update dependencies, disable optional plugins
-* Thu Mar 22 2007 - no...@us...
-- Add patch tclsh.diff and ruby-lib.diff to build pass.
-- Add Requires/BuildRequries after check-deps.pl run.
-* Wed Mar 07 2007 - day...@us...
-- Bump to 2.12. Delete more *.la files in %install. Add URL field.
-* Tue Nov 07 2006 - Eric Boutilier
-- Initial spec
Modified: trunk/spec_files/rpms/libxml2.spec
===================================================================
--- trunk/spec_files/rpms/libxml2.spec	2011年01月30日 09:57:25 UTC (rev 416)
+++ trunk/spec_files/rpms/libxml2.spec	2011年02月06日 10:40:50 UTC (rev 417)
@@ -1,5 +1,3 @@
-%define pyname python2.6
-
 Name: libxml2
 Summary: Library providing XML and HTML support
 Version: 2.7.8
@@ -130,40 +128,22 @@
 
 %files
 %defattr(-, root, bin)
-%{_prefix_spec}
-%{_datadir_spec}
-%{_mandir_spec}
 %{_mandir}/*
 
-%{_lib_spec}
-%{_lib32_spec}
 %{_lib}/lib*.so*
-%{_libdir32_spec}
-%{_libdir_spec}
 %{_libdir}/lib*.so*
-%{_bindir32_spec}
-%{_bindir_spec}
 %{_bindir}/xmllint
 %{_bindir}/xmlcatalog
 %{_bindir}/xml2-config
 
 %files devel
 %defattr(-, root, bin)
-%{_prefix_spec}
-%{_libdir32_spec}
-%{_libdir_spec}
-%{_includedir_spec}
 %{_includedir}/*
-%{_aclocaldir_spec}
 %{_aclocaldir}/libxml.m4
-%{_pkgconfigdir_spec}
 %{_pkgconfigdir}/libxml-2.0.pc
 
 %defattr(0755, root, bin)
 %{_libdir}/*.sh
-
-%{_datadir_spec}
-%{_docdir_spec}
 %dir %{_docdir}/libxml2-%{version}
 
 %defattr(-, root, other)
@@ -177,19 +157,12 @@
 
 %files python
 %defattr(-, root, bin)
-%{_prefix_spec}
-%{_libdir32_spec}
-%if !%{build_64bit}
-%{_libdir_spec}
-%endif
 %dir %{_libdir32}/%{pyname}
 %dir %{_libdir32}/%{pyname}/vendor-packages
 %dir %{_libdir32}/%{pyname}/lib-dynload
 %{_libdir32}/%{pyname}/vendor-packages/*
 %{_libdir32}/%{pyname}/lib-dynload/*
 
-%{_datadir_spec}
-%{_docdir_spec}
 %dir %{_docdir}/libxml2-%{version}
 %dir %{_docdir}/libxml2-%{version}/python
 
Modified: trunk/spec_files/rpms/mpc.spec
===================================================================
--- trunk/spec_files/rpms/mpc.spec	2011年01月30日 09:57:25 UTC (rev 416)
+++ trunk/spec_files/rpms/mpc.spec	2011年02月06日 10:40:50 UTC (rev 417)
@@ -82,14 +82,11 @@
 
 %files
 %defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_libdir}
 %{_libdir}/*.so*
 
 %files devel
 %defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_includedir}
 %{_includedir}/*.h
-%dir %attr (0755, root, bin) %{_infodir}
 %{_infodir}/*
 
 %changelog
Modified: trunk/spec_files/rpms/xz.spec
===================================================================
--- trunk/spec_files/rpms/xz.spec	2011年01月30日 09:57:25 UTC (rev 416)
+++ trunk/spec_files/rpms/xz.spec	2011年02月06日 10:40:50 UTC (rev 417)
@@ -109,34 +109,17 @@
 
 %files
 %defattr (-, root, bin)
-%{_prefix_spec}
-%{_bindir32_spec}
-%{_bindir_spec}
 %{_bindir}/*
-%{_datadir_spec}
-%{_mandir_spec}
 %{_mandir}/*
 
 %files libs
 %defattr (-, root, bin)
-%{_prefix_spec}
-%{_libdir32_spec}
-%{_libdir_spec}
 %{_libdir}/*.so*
 
 %files devel
 %defattr (-, root, bin)
-%{_prefix_spec}
-%{_includedir_spec}
 %{_includedir}/*
-
-%{_libdir32_spec}
-%{_libdir_spec}
-%{_pkgconfigdir_spec}
 %{_pkgconfigdir}/*
-
-%{_datadir_spec}
-%{_docdir_spec}
 %dir %{_docdir}/xz
 
 %defattr (-, root, other)
@@ -145,9 +128,6 @@
 %if %build_l10n
 %files l10n
 %defattr (-, root, other)
-%{_prefix_spec}
-%{_datadir_spec}
-%{_localedir_spec}
 %{_localedir}/*
 %endif
 
Modified: trunk/spec_files/rpms/zlib.spec
===================================================================
--- trunk/spec_files/rpms/zlib.spec	2011年01月30日 09:57:25 UTC (rev 416)
+++ trunk/spec_files/rpms/zlib.spec	2011年02月06日 10:40:50 UTC (rev 417)
@@ -71,17 +71,11 @@
 
 %files
 %defattr (0655, root, bin)
-%dir %attr(0755, root, bin) %{_lib}
 %{_lib}/*
-%dir %attr(0755, root, bin) %{_libdir}
 %{_libdir}/*
-#%dir %attr(0755, root, other) %{_pkgconfigdir}
 #%{_pkgconfigdir}/*
 
 %files devel
 %defattr (0655, root, bin)
-%dir %attr(0755, root, bin) %{_includedir}
 %{_includedir}/*
-%dir %attr(0755, root, sys) %{_datadir}
-%dir %attr(0755, root, bin) %{_mandir}
 %{_mandir}/*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2011年01月30日 09:57:31
Revision: 416
 http://belenix.svn.sourceforge.net/belenix/?rev=416&view=rev
Author: moinakg
Date: 2011年01月30日 09:57:25 +0000 (2011年1月30日)
Log Message:
-----------
Add libxml2 spec.
More new macros to simplify files section in spec file.
Modified Paths:
--------------
 trunk/spec_files/rpms/include/rpmmacros
 trunk/spec_files/rpms/utils/bpkg
 trunk/spec_files/rpms/xz.spec
 trunk/spec_files/rpms/zlib.spec
Added Paths:
-----------
 trunk/spec_files/rpms/libxml2.spec
Modified: trunk/spec_files/rpms/include/rpmmacros
===================================================================
--- trunk/spec_files/rpms/include/rpmmacros	2011年01月26日 11:05:54 UTC (rev 415)
+++ trunk/spec_files/rpms/include/rpmmacros	2011年01月30日 09:57:25 UTC (rev 416)
@@ -110,7 +110,7 @@
 %optflags %{!?cc_is_gcc: %{suncc_optflags}}%{?cc_is_gcc: %{gcc_optflags}} ${EXTRA_CFLAGS}
 %cxx_optflags %{!?cc_is_gcc: %{suncc_cxx_optflags}}%{?cc_is_gcc: %{gcc_cxx_optflags}} ${EXTRA_CXXFLAGS}
 
-%_ldflags %{?debug_build: %{arch_ldadd} ${EXTRA_LDFLAGS}}%{!?debug_build: %{arch_ldadd} %{_ldopt} ${EXTRA_LDFLAGS}}
+%_ldflags %{?debug_build: %{arch_ldadd} ${EXTRA_LDFLAGS}}%{!?debug_build: %{arch_ldadd} %{_ldopt} ${EXTRA_LDFLAGS}} %{picflags}
 
 %gcc_optflags64 %{_gcc_opt_level} -m64 -fno-omit-frame-pointer %{_gcc_picflags} -pipe
 %gcc_cxx_optflags64 %{_gxx_opt_level} -m64 -fno-omit-frame-pointer %{_gcc_picflags} -pipe
@@ -125,6 +125,8 @@
 %_datadir %{_prefix}/share
 %_defaultdocdir %{_datadir}/doc
 %_docdir %{_datadir}/doc
+%_gtkdocdir %{_datadir}/gtk-doc
+%_gtkdoc_htmldir %{_datadir}/gtk-doc/html
 %_localstatedir /var
 %_rootsbindir /sbin
 %_smfdir %{_localstatedir}/svc
@@ -157,6 +159,8 @@
 %_sbindir32_spec %{?use_arch64:%dir %attr (0755, root, bin) %{_sbindir32}}
 %_libdir_spec %dir %attr (0755, root, bin) %{_libdir}
 %_libdir32_spec %{?use_arch64:%dir %attr (0755, root, bin) %{_libdir32}}
+%_lib_spec %dir %attr (0755, root, bin) %{_lib}
+%_lib32_spec %{?use_arch64:%dir %attr (0755, root, bin) %{_lib32}}
 %_pkgconfigdir_spec %dir %attr (0755, root, other) %{_pkgconfigdir}
 %_sysconfdir_spec %dir %attr (0755, root, sys) %{_sysconfdir}
 %_localstatedir_spec %dir %attr (0755, root, sys) %{_localstatedir}
@@ -168,6 +172,8 @@
 %_localedir_spec %dir %attr (0755, root, other) %{_localedir}
 %_includedir_spec %dir %attr (0755, root, bin) %{_includedir}
 %_docdir_spec %dir %attr (0755, root, other) %{_datadir}/doc
+%_gtkdocdir_spec %dir %attr (0755, root, bin) %{_gtkdocdir}
+%_gtkdoc_htmldir_spec %dir %attr (0755, root, bin) %{_gtkdoc_htmldir}
 %_appdir_spec %dir %attr (0755, root, other) %{_datadir}/apps
 %_applications_spec %dir %attr (0755, root, other) %{_datadir}/applications
 %_configdir_spec %dir %attr (0755, root, other) %{_datadir}/config
@@ -177,9 +183,16 @@
 
 
 #
+# Some predefined optimization flags
+#
+%gcc_opt_sse2 -msse2 -ftree-vectorize
+%gcc_opt_graphite -ftree-loop-linear -floop-block -floop-interchange -floop-strip-mine
+
+#
 # Useful macros to avoid postinstall script messing.
 #
 %find_info() %{_rpmhome}/find-info.sh %{buildroot} %{_infodir} %{name}
 %install_info() %{_rpmhome}/install-info.sh %{_infodir} %{name}
 %uninstall_info() %{_rpmhome}/uninstall-info.sh %{_infodir} %{name}
 
+
Added: trunk/spec_files/rpms/libxml2.spec
===================================================================
--- trunk/spec_files/rpms/libxml2.spec	 (rev 0)
+++ trunk/spec_files/rpms/libxml2.spec	2011年01月30日 09:57:25 UTC (rev 416)
@@ -0,0 +1,201 @@
+%define pyname python2.6
+
+Name: libxml2
+Summary: Library providing XML and HTML support
+Version: 2.7.8
+Release: 1%{?dist}
+License: MIT
+Group: Development/Libraries
+Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
+URL: http://xmlsoft.org/
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+#BuildRequires: python python-devel
+BuildRequires: zlib-devel pkgconfig
+
+%description
+This library allows to manipulate XML files. It includes support 
+to read, modify and write XML and HTML files. There is DTDs support
+this includes parsing and validation even with complex DtDs, either
+at parse time or later once the document has been modified. The output
+can be a simple SAX stream or and in-memory DOM like representations.
+In this case one can use the built-in XPath and XPointer implementation
+to select subnodes or ranges. A flexible Input/Output mechanism is
+available, with existing HTTP and FTP modules and combined to an
+URI library.
+
+%package devel
+Summary: Libraries, includes, etc. to develop XML and HTML applications
+Group: Development/Libraries
+Requires: libxml2 = %{version}-%{release}
+Requires: zlib-devel
+Requires: pkgconfig
+
+%description devel
+Libraries, include files, etc you can use to develop XML applications.
+This library allows to manipulate XML files. It includes support 
+to read, modify and write XML and HTML files. There is DTDs support
+this includes parsing and validation even with complex DtDs, either
+at parse time or later once the document has been modified. The output
+can be a simple SAX stream or and in-memory DOM like representations.
+In this case one can use the built-in XPath and XPointer implementation
+to select subnodes or ranges. A flexible Input/Output mechanism is
+available, with existing HTTP and FTP modules and combined to an
+URI library.
+
+%package python
+Summary: Python bindings for the libxml2 library
+Group: Development/Libraries
+Requires: libxml2 = %{version}-%{release}
+
+%description python
+The libxml2-python package contains a module that permits applications
+written in the Python programming language to use the interface
+supplied by the libxml2 library to manipulate XML files.
+
+This library allows to manipulate XML files. It includes support 
+to read, modify and write XML and HTML files. There is DTDs support
+this includes parsing and validation even with complex DTDs, either
+at parse time or later once the document has been modified.
+
+%prep
+%bsetup
+
+%build
+cd libxml2-%{version}
+export LDFLAGS="%_ldflags -flto"
+export CFLAGS="%optflags -std=gnu99"
+export CXXFLAGS="%cxx_optflags"
+export PATH="%{_bindir}:${PATH}"
+export PYTHON="%{_bindir}/%{pyname}"
+
+%if %{build_64bit}
+CFLAGS="${CFLAGS} %{gcc_opt_sse2} -flto %{gcc_opt_graphite}"
+%else
+CFLAGS="${CFLAGS} -flto %{gcc_opt_graphite}"
+%endif
+
+./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --libdir=%{_libdir} \
+ --mandir=%{_mandir} \
+ --datadir=%{_datadir} \
+ --docdir=%{_docdir}/libxml2-%{version} \
+ --sysconfdir=%{_sysconfdir} \
+ --with-python=%{_bindir}/%{pyname} \
+ --enable-shared=yes \
+ --disable-static
+
+gmake 
+
+%install
+rm -fr %{buildroot}
+cd libxml2-%{version}
+gmake install DESTDIR=${RPM_BUILD_ROOT}
+
+gzip -9 doc/libxml2-api.xml
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+# multiarch crazyness on timestamp differences or Makefile/binaries for examples
+touch -m --reference=$RPM_BUILD_ROOT/%{_includedir}/libxml2/libxml/parser.h $RPM_BUILD_ROOT/%{_bindir}/xml2-config
+(cd doc/examples ; make clean ; rm -rf .deps Makefile)
+cp AUTHORS NEWS README Copyright TODO ${RPM_BUILD_ROOT}%{_docdir}/libxml2-%{version}
+mkdir ${RPM_BUILD_ROOT}%{_docdir}/libxml2-%{version}/python
+cp python/TODO python/libxml2class.txt python/tests/*.py doc/*.py doc/python.html ${RPM_BUILD_ROOT}%{_docdir}/libxml2-%{version}/python
+rm -f ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/site-packages/*.la
+mkdir -p ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/vendor-packages
+mkdir -p ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/lib-dynload
+mv ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/site-packages/*.py* ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/vendor-packages
+reldir=$(echo %{_libdir} | gsed 's,/,,ドル;s,/[^/]\+,../,g')%{_lib}
+mkdir -p ${RPM_BUILD_ROOT}%{_lib}
+(cd ${RPM_BUILD_ROOT}%{_libdir}
+ for f in *.so*
+ do
+ mv ${f} ${reldir}
+ ln -s ${reldir}/${f}
+ done)
+
+%if %{build_64bit}
+mkdir ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/lib-dynload/64
+mv ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/site-packages/*.so ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/lib-dynload/64
+%else
+mv ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/site-packages/*.so ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/lib-dynload
+%endif
+
+rm -rf ${RPM_BUILD_ROOT}%{_libdir32}/%{pyname}/site-packages
+rm -rf ${RPM_BUILD_ROOT}%{_gtkdocdir}
+rm -rf ${RPM_BUILD_ROOT}%{_docdir}/libxml2-python-%{version}
+
+%clean
+rm -fr %{buildroot}
+
+%files
+%defattr(-, root, bin)
+%{_prefix_spec}
+%{_datadir_spec}
+%{_mandir_spec}
+%{_mandir}/*
+
+%{_lib_spec}
+%{_lib32_spec}
+%{_lib}/lib*.so*
+%{_libdir32_spec}
+%{_libdir_spec}
+%{_libdir}/lib*.so*
+%{_bindir32_spec}
+%{_bindir_spec}
+%{_bindir}/xmllint
+%{_bindir}/xmlcatalog
+%{_bindir}/xml2-config
+
+%files devel
+%defattr(-, root, bin)
+%{_prefix_spec}
+%{_libdir32_spec}
+%{_libdir_spec}
+%{_includedir_spec}
+%{_includedir}/*
+%{_aclocaldir_spec}
+%{_aclocaldir}/libxml.m4
+%{_pkgconfigdir_spec}
+%{_pkgconfigdir}/libxml-2.0.pc
+
+%defattr(0755, root, bin)
+%{_libdir}/*.sh
+
+%{_datadir_spec}
+%{_docdir_spec}
+%dir %{_docdir}/libxml2-%{version}
+
+%defattr(-, root, other)
+%{_docdir}/libxml2-%{version}/AUTHORS
+%{_docdir}/libxml2-%{version}/Copyright
+%{_docdir}/libxml2-%{version}/examples
+%{_docdir}/libxml2-%{version}/html
+%{_docdir}/libxml2-%{version}/NEWS
+%{_docdir}/libxml2-%{version}/README
+%{_docdir}/libxml2-%{version}/TODO
+
+%files python
+%defattr(-, root, bin)
+%{_prefix_spec}
+%{_libdir32_spec}
+%if !%{build_64bit}
+%{_libdir_spec}
+%endif
+%dir %{_libdir32}/%{pyname}
+%dir %{_libdir32}/%{pyname}/vendor-packages
+%dir %{_libdir32}/%{pyname}/lib-dynload
+%{_libdir32}/%{pyname}/vendor-packages/*
+%{_libdir32}/%{pyname}/lib-dynload/*
+
+%{_datadir_spec}
+%{_docdir_spec}
+%dir %{_docdir}/libxml2-%{version}
+%dir %{_docdir}/libxml2-%{version}/python
+
+%defattr(-, root, other)
+%{_docdir}/libxml2-%{version}/python/*
+
+%changelog
+
+
Modified: trunk/spec_files/rpms/utils/bpkg
===================================================================
--- trunk/spec_files/rpms/utils/bpkg	2011年01月26日 11:05:54 UTC (rev 415)
+++ trunk/spec_files/rpms/utils/bpkg	2011年01月30日 09:57:25 UTC (rev 416)
@@ -3,6 +3,11 @@
 PKG_CONFIG_ALLOW_SYSTEM_LIBS="yes"
 export PKG_CONFIG_ALLOW_SYSTEM_LIBS
 
+CC=${CC:-/usr/bin/gcc}
+CXX=${CXX:-/usr/bin/g++}
+
+export CC CXX
+
 if [ "1ドル" = "build" ]
 then
 	shift
Modified: trunk/spec_files/rpms/xz.spec
===================================================================
--- trunk/spec_files/rpms/xz.spec	2011年01月26日 11:05:54 UTC (rev 415)
+++ trunk/spec_files/rpms/xz.spec	2011年01月30日 09:57:25 UTC (rev 416)
@@ -20,13 +20,17 @@
 Summary: Libraries for decoding LZMA compression
 Group: System Environment/Libraries
 License: LGPLv2+
+%if %gcc_compiler
+Requires: libstdc++
+Requires: libgcc
+%endif
 
 %description libs
 Libraries for decoding files compressed with LZMA or XZ utils.
 
 %package devel
 Summary: Development files for the LZMA compression algo
-Requires: %name
+Requires: %{name}-libs = %{version}-%{release}
 
 %description devel
 Development header files and documentation for the XZ utils and library package.
@@ -131,11 +135,13 @@
 %{_pkgconfigdir_spec}
 %{_pkgconfigdir}/*
 
-%defattr (-, root, other)
 %{_datadir_spec}
 %{_docdir_spec}
-%{_docdir}/*
+%dir %{_docdir}/xz
 
+%defattr (-, root, other)
+%{_docdir}/xz/*
+
 %if %build_l10n
 %files l10n
 %defattr (-, root, other)
Modified: trunk/spec_files/rpms/zlib.spec
===================================================================
--- trunk/spec_files/rpms/zlib.spec	2011年01月26日 11:05:54 UTC (rev 415)
+++ trunk/spec_files/rpms/zlib.spec	2011年01月30日 09:57:25 UTC (rev 416)
@@ -30,14 +30,16 @@
 
 %build
 export CFLAGS="%optflags"
-export LDSHARED="$CC -shared %_ldflags"
+
 %if %build_64bit
 %if %gcc_compiler
 CFLAGS="$CFLAGS -O3 -msse2 -ftree-vectorize -flto -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all -ftree-loop-distribution"
+export LDSHARED="$CC -shared %_ldflags -flto"
 %endif
 %else
 %if %gcc_compiler
 CFLAGS="$CFLAGS -O3 -flto -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all -ftree-loop-distribution"
+export LDSHARED="$CC -shared %_ldflags -flto"
 %endif
 %endif
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2011年01月26日 11:06:02
Revision: 415
 http://belenix.svn.sourceforge.net/belenix/?rev=415&view=rev
Author: moinakg
Date: 2011年01月26日 11:05:54 +0000 (2011年1月26日)
Log Message:
-----------
Bump down Zlib package to avoid trouble with libxml2.
Add new packages.
More macro definitions.
Modified Paths:
--------------
 trunk/spec_files/rpms/gcc.spec
 trunk/spec_files/rpms/include/rpmmacros
 trunk/spec_files/rpms/mpc.spec
 trunk/spec_files/rpms/utils/bpkg
 trunk/spec_files/rpms/zlib.spec
Added Paths:
-----------
 trunk/spec_files/rpms/ext-sources/gmp-mparam.h
 trunk/spec_files/rpms/ext-sources/gmp.h
 trunk/spec_files/rpms/ext-sources/ppl.hh
 trunk/spec_files/rpms/ext-sources/ppl_c.h
 trunk/spec_files/rpms/ext-sources/pwl.hh
 trunk/spec_files/rpms/patches/pkg-config-0.21-compat-loop.patch
 trunk/spec_files/rpms/patches/pkg-config-dnl.patch
 trunk/spec_files/rpms/patches/pkg-config-lib64-excludes.patch
 trunk/spec_files/rpms/pkgconfig.spec
 trunk/spec_files/rpms/xz.spec
Removed Paths:
-------------
 trunk/spec_files/rpms/macros
Added: trunk/spec_files/rpms/ext-sources/gmp-mparam.h
===================================================================
--- trunk/spec_files/rpms/ext-sources/gmp-mparam.h	 (rev 0)
+++ trunk/spec_files/rpms/ext-sources/gmp-mparam.h	2011年01月26日 11:05:54 UTC (rev 415)
@@ -0,0 +1,11 @@
+/* This file is here to prevent a file conflict on multiarch systems. A
+ * conflict will occur because gmp-mparam.h has arch-specific definitions.
+ *
+ * DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */
+
+#if defined(_LP64)
+#include "gmp-mparam-64.h"
+#else
+#include "gmp-mparam-i386.h"
+#endif
+
Added: trunk/spec_files/rpms/ext-sources/gmp.h
===================================================================
--- trunk/spec_files/rpms/ext-sources/gmp.h	 (rev 0)
+++ trunk/spec_files/rpms/ext-sources/gmp.h	2011年01月26日 11:05:54 UTC (rev 415)
@@ -0,0 +1,11 @@
+/* This file is here to prevent a file conflict on multiarch systems. A
+ * conflict will occur because gmp.h has arch-specific definitions.
+ *
+ * DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */
+
+#if defined(_LP64)
+#include "gmp-64.h"
+#else
+#include "gmp-i386.h"
+#endif
+
Added: trunk/spec_files/rpms/ext-sources/ppl.hh
===================================================================
--- trunk/spec_files/rpms/ext-sources/ppl.hh	 (rev 0)
+++ trunk/spec_files/rpms/ext-sources/ppl.hh	2011年01月26日 11:05:54 UTC (rev 415)
@@ -0,0 +1,29 @@
+/* This is the header file switcher of the Parma Polyhedra Library.
+ Copyright (C) 2001-2009 Roberto Bagnara <ba...@cs...>
+
+This file is part of the Parma Polyhedra Library (PPL).
+
+The PPL is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+The PPL is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software Foundation,
+Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA.
+
+For the most up-to-date information see the Parma Polyhedra Library
+site: http://www.cs.unipr.it/ppl/ . */
+
+#if defined(__amd64)
+#include "ppl-x86_64.hh"
+#elif defined(__i386)
+#include "ppl-i386.hh"
+#else
+#error "This architecture is not supported by the currently installed ppl-devel packages."
+#endif
Added: trunk/spec_files/rpms/ext-sources/ppl_c.h
===================================================================
--- trunk/spec_files/rpms/ext-sources/ppl_c.h	 (rev 0)
+++ trunk/spec_files/rpms/ext-sources/ppl_c.h	2011年01月26日 11:05:54 UTC (rev 415)
@@ -0,0 +1,29 @@
+/* Header file switcher for the C interface. -*- C -*-
+ Copyright (C) 2001-2009 Roberto Bagnara <ba...@cs...>
+
+This file is part of the Parma Polyhedra Library (PPL).
+
+The PPL is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+The PPL is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software Foundation,
+Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA.
+
+For the most up-to-date information see the Parma Polyhedra Library
+site: http://www.cs.unipr.it/ppl/ . */
+
+#if defined(__amd64)
+#include "ppl_c-x86_64.h"
+#elif defined(__i386)
+#include "ppl_c-i386.h"
+#else
+#error "This architecture is not supported by the currently installed ppl-devel packages."
+#endif
Added: trunk/spec_files/rpms/ext-sources/pwl.hh
===================================================================
--- trunk/spec_files/rpms/ext-sources/pwl.hh	 (rev 0)
+++ trunk/spec_files/rpms/ext-sources/pwl.hh	2011年01月26日 11:05:54 UTC (rev 415)
@@ -0,0 +1,29 @@
+/* This is the header file switcher of the Parma Watchdog Library.
+ Copyright (C) 2001-2009 Roberto Bagnara <ba...@cs...>
+
+This file is part of the Parma Watchdog Library (PWL).
+
+The PWL is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3 of the License, or (at your
+option) any later version.
+
+The PWL is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software Foundation,
+Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA.
+
+For the most up-to-date information see the CS@Parma software
+site: http://www.cs.unipr.it/Software/ . */
+
+#if defined(__amd64)
+#include "pwl-x86_64.hh"
+#elif defined(__i386)
+#include "pwl-i386.hh"
+#else
+#error "This architecture is not supported by the currently installed ppl-pwl-devel packages."
+#endif
Modified: trunk/spec_files/rpms/gcc.spec
===================================================================
--- trunk/spec_files/rpms/gcc.spec	2011年01月23日 07:18:39 UTC (rev 414)
+++ trunk/spec_files/rpms/gcc.spec	2011年01月26日 11:05:54 UTC (rev 415)
@@ -1,4 +1,3 @@
-%define build_l10n 1
 %define build_gcc_with_gnu_ld 0
 %define build_libstdcxx_docs 0
 %define osrev %(/usr/bin/uname -r)
@@ -341,7 +340,7 @@
 %if %build_l10n
 %files -n gcc-l10n
 %defattr (-, root, bin)
-%dir %attr (0755, root, bin) %{_prefix}
+%dir %attr (0755, root, sys) %{_prefix}
 %dir %attr (0755, root, sys) %{_datadir}
 %attr (-, root, other) %{_datadir}/locale
 %endif
Modified: trunk/spec_files/rpms/include/rpmmacros
===================================================================
--- trunk/spec_files/rpms/include/rpmmacros	2011年01月23日 07:18:39 UTC (rev 414)
+++ trunk/spec_files/rpms/include/rpmmacros	2011年01月26日 11:05:54 UTC (rev 415)
@@ -13,7 +13,11 @@
 %__id_u /usr/bin/id -u
 %_arch64 amd64
 %_arch32 i86
+%build_l10n 1
 
+# Dont want repackaging
+%_repackage_all_erasures 0
+
 # Turn on XZ compression for binary RPMs.
 %_binary_payload w7.xzdio
 
@@ -49,18 +53,21 @@
 %qt4_bin_path64 /usr/qt4/bin/%{_arch64}
 
 %_bindir64 %{_exec_prefix}/bin/%{_arch64}
+%_sbindir64 %{_exec_prefix}/sbin/%{_arch64}
 %_libdir64 %{_exec_prefix}/lib/%{_arch64}
 %_libexecdir64 %{_exec_prefix}/libexec/%{_arch64}
 %_lib64 /lib/%{_arch64}
 %_pkgconfigdir64 %{_libdir64}/pkgconfig
 
 %_bindir %{?use_arch64:%{_bindir64}}%{!?use_arch64:%{_exec_prefix}/bin}
+%_sbindir %{?use_arch64:%{_sbindir64}}%{!?use_arch64:%{_exec_prefix}/sbin}
 %_libdir %{?use_arch64:%{_libdir64}}%{!?use_arch64:%{_exec_prefix}/%{_lib}}
 %_libexecdir %{?use_arch64:%{_libexecdir64}}%{!?use_arch64:%{_exec_prefix}/libexec}
 %_lib %{?use_arch64:%{_lib64}}%{!?use_arch64:/lib}
 %_pkgconfigdir %{?use_arch64:%{_pkgconfigdir64}}%{!?use_arch64:%{_libdir}/pkgconfig}
 
 %_bindir32 %{_exec_prefix}/bin
+%_sbindir32 %{_exec_prefix}/sbin
 %_libdir32 %{_exec_prefix}/lib
 %_libexecdir32 %{_exec_prefix}/libexec
 %_lib32 /lib
@@ -93,8 +100,8 @@
 %_gcc_opt_level %{?debug_build: -g}%{!?debug_build: -O2}
 %_gxx_opt_level %{?debug_build: -g}%{!?debug_build: -O2}
 
-%gcc_optflags %{_gcc_opt_level} %{_gcc_arch_flag} -fno-omit-frame-pointer %{_gcc_picflags} 
-%gcc_cxx_optflags %{_gxx_opt_level} %{_gcc_arch_flag} -fno-omit-frame-pointer %{_gcc_picflags}
+%gcc_optflags %{_gcc_opt_level} %{_gcc_arch_flag} -fno-omit-frame-pointer %{_gcc_picflags} -pipe
+%gcc_cxx_optflags %{_gxx_opt_level} %{_gcc_arch_flag} -fno-omit-frame-pointer %{_gcc_picflags} -pipe
 
 %suncc_optflags -i %{_suncc_opt_level} %{_suncc_arch_flag} -xstrconst -xpentium -mr -xregs=no%%frameptr %{_suncc_picflags}
 %suncc_cxx_optflags -i %{_suncxx_opt_level} %{_suncc_arch_flag} -pentium -mr -norunpath -xregs=no%%frameptr %{_suncc_picflags}
@@ -105,8 +112,8 @@
 
 %_ldflags %{?debug_build: %{arch_ldadd} ${EXTRA_LDFLAGS}}%{!?debug_build: %{arch_ldadd} %{_ldopt} ${EXTRA_LDFLAGS}}
 
-%gcc_optflags64 %{_gcc_opt_level} -m64 -fno-omit-frame-pointer %{_gcc_picflags}
-%gcc_cxx_optflags64 %{_gxx_opt_level} -m64 -fno-omit-frame-pointer %{_gcc_picflags}
+%gcc_optflags64 %{_gcc_opt_level} -m64 -fno-omit-frame-pointer %{_gcc_picflags} -pipe
+%gcc_cxx_optflags64 %{_gxx_opt_level} -m64 -fno-omit-frame-pointer %{_gcc_picflags} -pipe
 
 %suncc_optflags64 -i %{_suncc_opt_level} -m64 -xstrconst -xpentium -mr -xregs=no%%frameptr %{_suncc_picflags}
 %suncc_cxx_optflags64 -i %{_suncxx_opt_level} -m64 -pentium -mr -norunpath -xregs=no%%frameptr %{_suncc_picflags}
@@ -115,4 +122,64 @@
 %cxx_optflags64 %{!?cc_is_gcc: %{suncc_cxx_optflags64}}%{?cc_is_gcc: %{gcc_cxx_optflags64}} ${EXTRA_CXXFLAGS}
 %_ldflags64 %{?debug_build: %{arch_ldadd64} ${EXTRA_LDFLAGS}}%{!?debug_build: %{arch_ldadd64} %{_ldopt} ${EXTRA_LDFLAGS}}
 
+%_datadir %{_prefix}/share
+%_defaultdocdir %{_datadir}/doc
 %_docdir %{_datadir}/doc
+%_localstatedir /var
+%_rootsbindir /sbin
+%_smfdir %{_localstatedir}/svc
+%_manifestdir %{_smfdir}/manifest
+%_kerneldir /kernel
+%_platformdir /platform
+%_devicesdir /devices
+%_devdir /dev
+%_initdir %{_sysconfdir}/init.d
+%_bootdir /boot
+%_pkgconfigdir %{_libdir}/pkgconfig
+%_localedir %{_datadir}/locale
+%_aclocaldir %{_datadir}/aclocal
+%bsetup %setup -q -c -n %name-%version%{?use_arch64:-64}
+
+#
+# Standard directory permissions.
+#
+%_kerneldir_spec %dir %attr (0755, root, sys) %{_kerneldir}
+%_platformdir_spec %dir %attr (0755, root, sys) %{_platformdir}
+%_devicesdir_spec %dir %attr (0755, root, sys) %{_devicesdir}
+%_devdir_spec %dir %attr (0755, root, sys) %{_devdir}
+%_initdir_spec %dir %attr (0755, root, sys) %{_initdir}
+%_rootsbindir_spec %dir %attr (0755, root, sys) %{_rootsbindir}
+%_bootdir_spec %dir %attr (0755, root, sys) %{_bootdir}
+%_prefix_spec %dir %attr (0755, root, sys) %{_prefix}
+%_bindir_spec %dir %attr (0755, root, bin) %{_bindir}
+%_bindir32_spec %{?use_arch64:%dir %attr (0755, root, bin) %{_bindir32}}
+%_sbindir_spec %dir %attr (0755, root, bin) %{_sbindir}
+%_sbindir32_spec %{?use_arch64:%dir %attr (0755, root, bin) %{_sbindir32}}
+%_libdir_spec %dir %attr (0755, root, bin) %{_libdir}
+%_libdir32_spec %{?use_arch64:%dir %attr (0755, root, bin) %{_libdir32}}
+%_pkgconfigdir_spec %dir %attr (0755, root, other) %{_pkgconfigdir}
+%_sysconfdir_spec %dir %attr (0755, root, sys) %{_sysconfdir}
+%_localstatedir_spec %dir %attr (0755, root, sys) %{_localstatedir}
+%_smfdir_spec %dir %attr (0755, root, sys) %{_smfdir}
+%_manifestdir_spec %dir %attr (0755, root, sys) %{_manifestdir}
+%_datadir_spec %dir %attr (0755, root, sys) %{_datadir}
+%_mandir_spec %dir %attr (0755, root, bin) %{_mandir}
+%_aclocaldir_spec %dir %attr (0755, root, other) %{_aclocaldir}
+%_localedir_spec %dir %attr (0755, root, other) %{_localedir}
+%_includedir_spec %dir %attr (0755, root, bin) %{_includedir}
+%_docdir_spec %dir %attr (0755, root, other) %{_datadir}/doc
+%_appdir_spec %dir %attr (0755, root, other) %{_datadir}/apps
+%_applications_spec %dir %attr (0755, root, other) %{_datadir}/applications
+%_configdir_spec %dir %attr (0755, root, other) %{_datadir}/config
+%_iconsdir_spec %dir %attr (0755, root, other) %{_datadir}/icons
+%_autostart_spec %dir %attr (0755, root, sys) %{_datadir}/autostart
+%_templatesdir_spec %dir %attr (0755, root, sys) %{_datadir}/templates
+
+
+#
+# Useful macros to avoid postinstall script messing.
+#
+%find_info() %{_rpmhome}/find-info.sh %{buildroot} %{_infodir} %{name}
+%install_info() %{_rpmhome}/install-info.sh %{_infodir} %{name}
+%uninstall_info() %{_rpmhome}/uninstall-info.sh %{_infodir} %{name}
+
Deleted: trunk/spec_files/rpms/macros
===================================================================
--- trunk/spec_files/rpms/macros	2011年01月23日 07:18:39 UTC (rev 414)
+++ trunk/spec_files/rpms/macros	2011年01月26日 11:05:54 UTC (rev 415)
@@ -1,55 +0,0 @@
-%sf_download %{!?sf_download: http://downloads.sourceforge.net}
-%kde_mirror %{!?kde_mirror: ftp://mirrors.dotsrc.org/kde/stable}
-%kde4_version %{!?kde4_version: 4.2.3}
-%cc_is_gcc %{!?cc_is_gcc: 1}
-
-%xfce_pkg_version 4.4.2
-%xfce_src_url http://www.us.xfce.org/archive/xfce-%{xfce_pkg_version}/src
-%restart_fmri $BASEDIR/share/desktop-cache/restart_fmri
-
-%if %{?_with_gnu_iconv:1}{!?_with_gnu_iconv:0}
-%arch_ldadd -L%{_libdir} -R%{_libdir} -Wl,-zignore -R/usr/gnu/lib -lgnuintl -lgnuiconv
-%else
-%arch_ldadd -L%{_libdir} -R%{_libdir}
-%endif
-
-%_gcc_picflags -fPIC -DPIC
-%_suncc_picflags -KPIC -DPIC
-
-#%if %{?debug_build:1}{!?debug_build:0}
-%if %{debug_build}
-%_suncc_opt_level -g
-%_suncxx_opt_level -g
-%_gcc_opt_level -g
-%_gxx_opt_level -g
-%else
-%_gcc_opt_level -O2
-%_gxx_opt_level -O2
-%_suncc_opt_level -xO4 -xspace
-%_suncxx_opt_level -xO3 -xspace
-%endif
-
-%gcc_optflags %_gcc_opt_level -march=pentium3 -fno-omit-frame-pointer %gcc_picflags
-%gcc_cxx_optflags %_gxx_opt_level -march=pentium3 -fno-omit-frame-pointer %gcc_picflags
-
-%suncc_optflags -i %_suncc_opt_level -xstrconst -xpentium -mr -xregs=no%%frameptr
-%suncc_cxx_optflags -i %_suncxx_opt_level -pentium -mr -norunpath -xregs=no%%frameptr
-
-%if %{cc_is_gcc}
-
-%picflags %gcc_picflags
-%optflags %gcc_optflags
-%cxx_optflags %gcc_cxx_optflags
-%_gpp_version %(g++ --version | head -1 | cut -f3 -d' ')
-%_cxx_libdir %{_prefix}/lib/g++/%{_gpp_version}
-
-%else
-# cc is not gcc
-
-%picflags %suncc_picflags
-%optflags %suncc_optflags ${EXTRA_CFLAGS}
-%cxx_optflags %suncc_cxx_optflags ${EXTRA_CXXFLAGS}
-%_cxx_libdir %{_prefix}/lib
-
-%endif
-
Modified: trunk/spec_files/rpms/mpc.spec
===================================================================
--- trunk/spec_files/rpms/mpc.spec	2011年01月23日 07:18:39 UTC (rev 414)
+++ trunk/spec_files/rpms/mpc.spec	2011年01月26日 11:05:54 UTC (rev 415)
@@ -69,21 +69,16 @@
 cd ..
 
 rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
+%find_info
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post devel
-if [ -f %{_infodir}/mpc.info.gz ]; then # for --excludedocs
- /sbin/install-info %{_infodir}/mpc.info.gz %{_infodir}/dir || :
-fi
+%install_info
 
 %preun devel
-if [ 1ドル = 0 ]; then
- if [ -f %{_infodir}/mpc.info.gz ]; then # for --excludedocs
- /sbin/install-info --delete %{_infodir}/mpc.info.gz %{_infodir}/dir || :
- fi
-fi
+%uninstall_info
 
 %files
 %defattr (-, root, bin)
@@ -95,7 +90,7 @@
 %dir %attr (0755, root, bin) %{_includedir}
 %{_includedir}/*.h
 %dir %attr (0755, root, bin) %{_infodir}
-%{_infodir}/*.info*
+%{_infodir}/*
 
 %changelog
 * Wed May 06 2009 - mo...@be...
Added: trunk/spec_files/rpms/patches/pkg-config-0.21-compat-loop.patch
===================================================================
--- trunk/spec_files/rpms/patches/pkg-config-0.21-compat-loop.patch	 (rev 0)
+++ trunk/spec_files/rpms/patches/pkg-config-0.21-compat-loop.patch	2011年01月26日 11:05:54 UTC (rev 415)
@@ -0,0 +1,65 @@
+--- pkg-config-0.21/parse.c.compat-loop	2007年01月29日 16:31:15.000000000 -0500
++++ pkg-config-0.21/parse.c	2007年01月29日 16:32:08.000000000 -0500
+@@ -1186,61 +1186,7 @@
+ 
+ pkg->path_position = G_MAXINT;
+ 
+- if (strcmp (name, "glib") == 0)
+- {
+- char *output;
+-
+- debug_spew ("Calling glib-config\n");
+- 
+- pkg->version = backticks ("glib-config --version");
+- if (pkg->version == NULL)
+- {
+- g_free (pkg);
+- return NULL;
+- }
+- 
+- pkg->name = g_strdup ("GLib");
+- pkg->key = g_strdup ("glib");
+- pkg->description = g_strdup ("C Utility Library");
+-
+- output = backticks ("glib-config --libs");
+- parse_libs (pkg, output, "glib-config");
+- g_free (output);
+-
+- output = backticks ("glib-config --cflags");
+- parse_cflags (pkg, output, "glib-config");
+- g_free (output);
+-
+- return pkg;
+- }
+- else if (strcmp (name, "gtk+") == 0)
+- {
+- char *output;
+-
+- debug_spew ("Calling gtk-config\n");
+- 
+- pkg->version = backticks ("gtk-config --version");
+- if (pkg->version == NULL)
+- {
+- g_free (pkg);
+- return NULL;
+- }
+- 
+- pkg->name = g_strdup ("GTK+");
+- pkg->key = g_strdup ("gtk+");
+- pkg->description = g_strdup ("GIMP Tool Kit");
+-
+- output = backticks ("gtk-config --libs");
+- parse_libs (pkg, output, "gtk-config");
+- g_free (output);
+-
+- output = backticks ("gtk-config --cflags");
+- parse_cflags (pkg, output, "gtk-config");
+- g_free (output);
+-
+- return pkg;
+- }
+- else if (strcmp (name, "libgnomevfs") == 0)
++ if (strcmp (name, "libgnomevfs") == 0)
+ {
+ char *output;
+ 
Added: trunk/spec_files/rpms/patches/pkg-config-dnl.patch
===================================================================
--- trunk/spec_files/rpms/patches/pkg-config-dnl.patch	 (rev 0)
+++ trunk/spec_files/rpms/patches/pkg-config-dnl.patch	2011年01月26日 11:05:54 UTC (rev 415)
@@ -0,0 +1,21 @@
+diff -up pkg-config-0.25/pkg.m4.dnl pkg-config-0.25/pkg.m4
+--- pkg-config-0.25/pkg.m4.dnl	2010年07月08日 12:49:24.795813001 -0400
++++ pkg-config-0.25/pkg.m4	2010年07月08日 12:49:52.804680655 -0400
+@@ -135,7 +135,7 @@ $1ドル_PKG_ERRORS
+ Consider adjusting the PKG_CONFIG_PATH environment variable if you
+ installed software in a non-standard prefix.
+ 
+-_PKG_TEXT])
++_PKG_TEXT])dnl
+ ])
+ elif test $pkg_failed = untried; then
+ 	AC_MSG_RESULT([no])
+@@ -146,7 +146,7 @@ path to pkg-config.
+ 
+ _PKG_TEXT
+ 
+-To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
++To get pkg-config, see <http://pkg-config.freedesktop.org/>.])dnl
+ ])
+ else
+ 	1ドル[]_CFLAGS=$pkg_cv_[]1ドル[]_CFLAGS
Added: trunk/spec_files/rpms/patches/pkg-config-lib64-excludes.patch
===================================================================
--- trunk/spec_files/rpms/patches/pkg-config-lib64-excludes.patch	 (rev 0)
+++ trunk/spec_files/rpms/patches/pkg-config-lib64-excludes.patch	2011年01月26日 11:05:54 UTC (rev 415)
@@ -0,0 +1,63 @@
+=== modified file 'pkg.c'
+--- pkg.c	2008年03月23日 20:39:07 +0000
++++ pkg.c	2008年06月06日 18:49:58 +0000
+@@ -936,31 +936,44 @@
+ g_slist_foreach (system_directories, (GFunc) g_free, NULL);
+ g_slist_free (system_directories);
+ 
++
++ system_directories = g_slist_prepend (NULL, "/usr/lib");
+ #ifdef PREFER_LIB64
+-#define SYSTEM_LIBDIR "/usr/lib64"
+-#else
+-#define SYSTEM_LIBDIR "/usr/lib"
++ system_directories = g_slist_prepend (system_directories, "/usr/lib/64");
+ #endif
+ count = 0;
+ iter = pkg->L_libs;
+ while (iter != NULL)
+ {
+- if (strcmp (iter->data, "-L" SYSTEM_LIBDIR) == 0 ||
+- strcmp (iter->data, "-L " SYSTEM_LIBDIR) == 0)
++ GSList *subiter = system_directories;
++ while (subiter != NULL)
+ {
+- debug_spew ("Package %s has -L" SYSTEM_LIBDIR " in Libs\n",
+- pkg->name);
+- if (g_getenv ("PKG_CONFIG_ALLOW_SYSTEM_LIBS") == NULL)
+- { 
+- iter->data = NULL;
+- ++count;
+- debug_spew ("Removing -L" SYSTEM_LIBDIR " from libs for %s\n", pkg->key);
++ gboolean is_system = FALSE;
++ const char *linker_arg = iter->data;
++ const char *system_libpath = subiter->data;
++ if (strncmp (linker_arg, "-L ", 3) == 0 &&
++ strcmp (linker_arg + 3, system_libpath) == 0)
++ is_system = TRUE;
++ else if (strncmp (linker_arg, "-L", 2) == 0 &&
++ strcmp (linker_arg + 2, system_libpath) == 0)
++ is_system = TRUE;
++ if (is_system)
++ {
++ debug_spew ("Package %s has -L %s in Libs\n",
++ pkg->name, system_libpath);
++ if (g_getenv ("PKG_CONFIG_ALLOW_SYSTEM_LIBS") == NULL)
++ { 
++ iter->data = NULL;
++ ++count;
++ debug_spew ("Removing -L %s from libs for %s\n", system_libpath, pkg->key);
++ break;
++ }
+ }
++ subiter = subiter->next;
+ }
+-
+ iter = iter->next;
+ }
+-#undef SYSTEM_LIBDIR
++ g_slist_free (system_directories);
+ 
+ while (count)
+ {
+
Added: trunk/spec_files/rpms/pkgconfig.spec
===================================================================
--- trunk/spec_files/rpms/pkgconfig.spec	 (rev 0)
+++ trunk/spec_files/rpms/pkgconfig.spec	2011年01月26日 11:05:54 UTC (rev 415)
@@ -0,0 +1,66 @@
+Name: pkgconfig
+Summary: A tool for determining compilation options
+Version: 0.25
+URL: http://pkgconfig.freedesktop.org
+Source: http://www.freedesktop.org/software/pkgconfig/releases/pkg-config-%{version}.tar.gz
+Patch1: pkg-config-0.21-compat-loop.patch
+Patch2: pkg-config-lib64-excludes.patch
+Patch3: pkg-config-dnl.patch
+License: GPLv2+
+Release: 1%{?dist}
+Group: Development/Tool
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+#Requires: SUNWlibm
+
+%description
+The pkgconfig tool determines compilation options. For each required
+library, it reads the configuration file and outputs the necessary
+compiler and linker flags.
+ 
+%prep
+%bsetup
+
+%build
+cd pkg-config-%{version}
+export LDFLAGS="%_ldflags"
+export CFLAGS="%optflags"
+export CXXFLAGS="%cxx_optflags"
+export SHELL="/usr/bin/bash"
+
+bash ./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --mandir=%{_mandir} \
+ --datadir=%{_datadir} \
+ --sysconfdir=%{_sysconfdir} \
+ --with-pc-path=%{_libdir}/pkgconfig:%{_datadir}/pkgconfig
+gmake
+cd ..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd pkg-config-%{version}
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
+cd ..
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_bindir32_spec}
+%{_bindir_spec}
+%{_bindir}/*
+%{_datadir_spec}
+%{_mandir_spec}
+%{_mandir}/*
+%{_docdir_spec}
+%{_docdir}/*
+
+%defattr (-, root, other)
+%{_aclocaldir_spec}
+%{_aclocaldir}/*
+
+%changelog
Modified: trunk/spec_files/rpms/utils/bpkg
===================================================================
--- trunk/spec_files/rpms/utils/bpkg	2011年01月23日 07:18:39 UTC (rev 414)
+++ trunk/spec_files/rpms/utils/bpkg	2011年01月26日 11:05:54 UTC (rev 415)
@@ -1,5 +1,8 @@
 #!/bin/sh -x
 
+PKG_CONFIG_ALLOW_SYSTEM_LIBS="yes"
+export PKG_CONFIG_ALLOW_SYSTEM_LIBS
+
 if [ "1ドル" = "build" ]
 then
 	shift
@@ -10,6 +13,10 @@
 
 	if [ "1ドル" = "--32bit" ]
 	then
+		PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig"
+		PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/bin/i86:/usr/local/bin/amd64
+		export PKG_CONFIG_PATH PATH
+
 		shift
 		spec="1ドル"
 		RPMBUILD_PARAMS='--target=i686-pc-solaris2.11 --define "_arch i686"'
@@ -18,15 +25,28 @@
 
 	elif [ "1ドル" = "--both" ]
 	then
+		PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig:/usr/share/pkgconfig"
+		PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin/amd64:/usr/bin/amd64:/usr/sbin/amd64:/usr/local/bin/amd64
+		export PKG_CONFIG_PATH PATH
+
 		shift
 		spec="1ドル"
 		eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -ba ${spec}"
 		[ $? -ne 0 ] && exit 1
+
+		PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig"
+		PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin/amd64
+		export PKG_CONFIG_PATH PATH
+
 		RPMBUILD_PARAMS='--target=i686-pc-solaris2.11 --define "_arch i686"'
 		eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -bb ${spec}"
 		[ $? -ne 0 ] && exit 1
 
 	else
+		PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig:/usr/share/pkgconfig"
+		PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin:/usr/gnu/bin/amd64:/usr/bin/amd64:/usr/sbin/amd64:/usr/local/bin/amd64
+		export PKG_CONFIG_PATH PATH
+
 		spec="1ドル"
 		eval "rpmbuild ${RPMBUILD_PARAMS} ${CC_IS_GCC} -ba ${spec}"
 		[ $? -ne 0 ] && exit 1
Added: trunk/spec_files/rpms/xz.spec
===================================================================
--- trunk/spec_files/rpms/xz.spec	 (rev 0)
+++ trunk/spec_files/rpms/xz.spec	2011年01月26日 11:05:54 UTC (rev 415)
@@ -0,0 +1,152 @@
+Name: xz
+Summary: Utilities for the LZMA compression algo and XZ container format
+Version: 5.0.0
+%define tarball_version 5.0.0
+URL: http://tukaani.org/xz/
+Source: http://tukaani.org/xz/xz-%{tarball_version}.tar.gz
+License: LGPLv2+
+Release: 1%{?dist}
+Group: Applications/File
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: %{name}-libs = %{version}-%{release}
+
+%description
+XZ Utils is free general-purpose data compression software with high
+compression ratio. XZ Utils were written for POSIX-like systems
+(GNU/Linux, *BSDs, etc.), but also work on some not-so-POSIX systems
+like Windows. XZ Utils are the successor to LZMA Utils. 
+
+%package libs
+Summary: Libraries for decoding LZMA compression
+Group: System Environment/Libraries
+License: LGPLv2+
+
+%description libs
+Libraries for decoding files compressed with LZMA or XZ utils.
+
+%package devel
+Summary: Development files for the LZMA compression algo
+Requires: %name
+
+%description devel
+Development header files and documentation for the XZ utils and library package.
+
+%if %build_l10n
+%package l10n
+Version: %{version}
+Group: System Environment/Libraries
+License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
+Summary: %{summary} - l10n files
+Requires: %{name}
+%endif
+
+%prep
+%if %gcc_compiler
+%else
+error "This spec file requires /usr/bin/g++. Please set your environment variables."
+%endif
+%bsetup
+
+%build
+#
+# Need to force some shell info to point to bash because the scripts
+# are for bash.
+#
+export SHELL="/bin/bash"
+export CONFIG_SHELL="/bin/bash"
+export MAKESHELL="/bin/bash"
+export GCC="yes"
+export CC=/usr/bin/gcc
+export CXX=/usr/bin/gcc
+export LFS_CFLAGS=`/usr/bin/getconf LFS_CFLAGS`
+
+cd xz-%{tarball_version}
+export LDFLAGS="%_ldflags -lstdc++"
+export CFLAGS="%optflags ${LFS_CFLAGS} -fno-strict-aliasing"
+export CXXFLAGS="%cxx_optflags ${LFS_CFLAGS} -fno-strict-aliasing"
+
+%if %{build_64bit}
+CFLAGS="${CFLAGS} -msse2 -ftree-vectorize -flto -ftree-loop-linear -floop-parallelize-all -floop-block"
+%else
+CFLAGS="${CFLAGS} -flto -ftree-loop-linear -floop-parallelize-all -floop-block"
+%endif
+
+./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --libdir=%{_libdir} \
+ --mandir=%{_mandir} \
+ --datadir=%{_datadir} \
+ --docdir=%{_docdir}/xz \
+ --sysconfdir=%{_sysconfdir} \
+ --enable-shared=yes \
+ --disable-static
+
+/usr/gnu/bin/sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+/usr/gnu/bin/sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+make VERBOSE=1
+cd ..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+export SHELL="/bin/bash"
+export CONFIG_SHELL="/bin/bash"
+export MAKESHELL="/bin/bash"
+
+cd xz-%{tarball_version}
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
+cd ..
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_prefix_spec}
+%{_bindir32_spec}
+%{_bindir_spec}
+%{_bindir}/*
+%{_datadir_spec}
+%{_mandir_spec}
+%{_mandir}/*
+
+%files libs
+%defattr (-, root, bin)
+%{_prefix_spec}
+%{_libdir32_spec}
+%{_libdir_spec}
+%{_libdir}/*.so*
+
+%files devel
+%defattr (-, root, bin)
+%{_prefix_spec}
+%{_includedir_spec}
+%{_includedir}/*
+
+%{_libdir32_spec}
+%{_libdir_spec}
+%{_pkgconfigdir_spec}
+%{_pkgconfigdir}/*
+
+%defattr (-, root, other)
+%{_datadir_spec}
+%{_docdir_spec}
+%{_docdir}/*
+
+%if %build_l10n
+%files l10n
+%defattr (-, root, other)
+%{_prefix_spec}
+%{_datadir_spec}
+%{_localedir_spec}
+%{_localedir}/*
+%endif
+
+%changelog
+* Fri Sep 18 2009 - moinakg(at)belenix<dot>org
+- Major update to new XZ version needed for KDE4.
+* Fri Jul 03 2009 - Moinak Ghosh <moinakg@belenix(dot)org>
+- Initial version
Modified: trunk/spec_files/rpms/zlib.spec
===================================================================
--- trunk/spec_files/rpms/zlib.spec	2011年01月23日 07:18:39 UTC (rev 414)
+++ trunk/spec_files/rpms/zlib.spec	2011年01月26日 11:05:54 UTC (rev 415)
@@ -1,10 +1,10 @@
 Summary: The zlib compression and decompression library
 Name: zlib
-Version: 1.2.5
-Release: 2%{?dist}
+Version: 1.2.3
+Release: 1%{?dist}
 Group: System Environment/Libraries
-Source: http://www.zlib.net/zlib-%{version}.tar.bz2
-Patch1: zlib-1.2.5-gentoo.patch
+#Source: http://www.zlib.net/zlib-%{version}.tar.bz2
+Source: http://prdownloads.sourceforge.net/libpng/zlib-1.2.3.tar.gz
 URL: http://www.gzip.org/zlib/
 License: zlib and Boost
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -27,21 +27,21 @@
 
 %prep
 %setup -q 
-%patch1 -p1
 
 %build
 export CFLAGS="%optflags"
+export LDSHARED="$CC -shared %_ldflags"
 %if %build_64bit
 %if %gcc_compiler
-CFLAGS="$CFLAGS -O2 -msse2 -ftree-vectorize -flto -ftree-loop-linear -floop-interchange -floop-block"
+CFLAGS="$CFLAGS -O3 -msse2 -ftree-vectorize -flto -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all -ftree-loop-distribution"
 %endif
 %else
 %if %gcc_compiler
-CFLAGS="$CFLAGS -O2 -flto -ftree-loop-linear -floop-interchange -floop-block"
+CFLAGS="$CFLAGS -O3 -flto -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all -ftree-loop-distribution"
 %endif
 %endif
 
-./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix}
+bash ./configure --shared --libdir=%{buildroot}/%{_libdir} --includedir=%{buildroot}/%{_includedir} --prefix=%{buildroot}/%{_prefix}
 gmake
 
 %install
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2011年01月23日 07:18:48
Revision: 414
 http://belenix.svn.sourceforge.net/belenix/?rev=414&view=rev
Author: moinakg
Date: 2011年01月23日 07:18:39 +0000 (2011年1月23日)
Log Message:
-----------
Initial RPM5 spec files for basic Gcc4 based toolchain.
Added Paths:
-----------
 trunk/spec_files/rpms/
 trunk/spec_files/rpms/cloog.spec
 trunk/spec_files/rpms/ext-sources/
 trunk/spec_files/rpms/gcc.spec
 trunk/spec_files/rpms/gmp.spec
 trunk/spec_files/rpms/graphviz.spec
 trunk/spec_files/rpms/include/
 trunk/spec_files/rpms/include/rpmmacros
 trunk/spec_files/rpms/include/sysinfo
 trunk/spec_files/rpms/macros
 trunk/spec_files/rpms/mpc.spec
 trunk/spec_files/rpms/mpfr.spec
 trunk/spec_files/rpms/patches/
 trunk/spec_files/rpms/patches/gcc4-01-nameser_compat.diff
 trunk/spec_files/rpms/patches/gcc4-02-handle_pragma_pack_push_pop.diff
 trunk/spec_files/rpms/patches/gcc45-c++-builtin-redecl.patch
 trunk/spec_files/rpms/patches/gcc45-libgomp-omp_h-multilib.patch
 trunk/spec_files/rpms/patches/gcc45-libstdc++-docs.patch
 trunk/spec_files/rpms/patches/gcc45-pr33763.patch
 trunk/spec_files/rpms/patches/gcc45-pr38757.patch
 trunk/spec_files/rpms/patches/ppl-01-CS.diff
 trunk/spec_files/rpms/patches/ppl-02-defs.diff
 trunk/spec_files/rpms/patches/zlib-1.2.5-gentoo.patch
 trunk/spec_files/rpms/ppl.spec
 trunk/spec_files/rpms/utils/
 trunk/spec_files/rpms/utils/bpkg
 trunk/spec_files/rpms/zlib.spec
Added: trunk/spec_files/rpms/cloog.spec
===================================================================
--- trunk/spec_files/rpms/cloog.spec	 (rev 0)
+++ trunk/spec_files/rpms/cloog.spec	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,111 @@
+Name: cloog
+Summary: CLooG is a free software and library to generate code for scanning Z-polyhedra
+Version: 0.15.9
+URL: http://www.cloog.org
+Source: ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-%{version}.tar.gz
+Release: 1%{?dist}
+Group: System Environment/Libraries
+License: GPLv2+
+BuildRoot: %{_tmppath}/cloog-ppl-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: zlib
+#Requires: SUNWlibms
+Requires: ppl >= 0.10
+Requires: gmp >= 4.1.3
+Requires: libgcc
+BuildRequires: gcc >= 4.4.0
+BuildRequires: ppl-devel >= 0.10
+BuildRequires: gmp-devel >= 4.1.3
+
+%description
+CLooG is a software which generates loops for scanning Z-polyhedra. That is,
+CLooG finds the code or pseudo-code where each integral point of one or more
+parametrized polyhedron or parametrized polyhedra union is reached. CLooG is
+designed to avoid control overhead and to produce a very efficient code.
+
+%package devel
+Summary: Development tools for the ppl based version of Chunky Loop Generator
+Group: Development/Libraries
+Requires: %name = %{version}-%{release}
+Requires: gcc >= 4.4.0
+Requires: ppl-devel >= 0.10
+Requires: gmp-devel >= 4.1.3
+
+%description devel
+The header files and dynamic shared libraries of the Chunky Loop Generator.
+
+%prep
+%setup -q -c -n %name-%version
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+cd cloog-ppl-%{version}
+export CFLAGS="%optflags"
+export CXXFLAGS="%cxx_optflags"
+export LDFLAGS="%_ldflags"
+export CPPFLAGS="-I/usr/include -I/usr/include/gmp"
+
+./configure --prefix=%{_prefix} --mandir=%{_mandir} \
+ --bindir=%{_bindir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libexecdir} \
+ --sysconfdir=%{_sysconfdir} \
+ --infodir=%{_infodir} \
+ --with-pic \
+ --with-ppl \
+ --enable-shared \
+ --disable-static
+
+gmake -j $CPUS
+cd ..
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd cloog-ppl-%{version}
+gmake install DESTDIR=$RPM_BUILD_ROOT
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
+cd ..
+
+rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post devel
+PATH=/usr/bin:/usr/sfw/bin; export PATH
+for info in cloog.info
+do
+ install-info --quiet --info-dir=%{_infodir} %{_infodir}/$info
+done
+
+%preun devel
+PATH=/usr/bin:/usr/sfw/bin; export PATH
+for info in cloog.info
+do
+ install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/$info
+done
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/cloog
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*.so*
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, bin) %{_infodir}
+%{_infodir}/*
+
+%changelog
+* Wed May 06 2009 - mo...@be...
+- Initial spec file.
Added: trunk/spec_files/rpms/gcc.spec
===================================================================
--- trunk/spec_files/rpms/gcc.spec	 (rev 0)
+++ trunk/spec_files/rpms/gcc.spec	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,399 @@
+%define build_l10n 1
+%define build_gcc_with_gnu_ld 0
+%define build_libstdcxx_docs 0
+%define osrev %(/usr/bin/uname -r)
+%define gcc_target_platform %(/usr/bin/uname -p)-%{_target_vendor}-solaris%{osrev}
+
+Name: gcc
+Summary: GNU Gcc compiler suite (C, C++, Fortran)
+Version: 4.5.2
+Release: 2%{?dist}
+Group: Development/Languages
+%define full_ver %{version}
+Source: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.bz2
+Group: System Environment/Libraries
+License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
+
+Patch1: gcc4-01-nameser_compat.diff
+Patch2: gcc4-02-handle_pragma_pack_push_pop.diff
+Patch3: gcc45-c++-builtin-redecl.patch
+Patch4: gcc45-libgomp-omp_h-multilib.patch
+Patch5: gcc45-pr33763.patch
+Patch6: gcc45-pr38757.patch
+Patch7: gcc45-libstdc++-docs.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: gmp-devel
+BuildRequires: libmpc-devel
+Requires: gmp
+Requires: libmpc
+Requires: libgcc
+#BuildRequires: gnu-binutils
+#Requires: gnu-binutils
+BuildRequires: mpfr-devel
+BuildRequires: ppl-devel
+BuildRequires: cloog-devel
+Requires: mpfr
+Requires: ppl
+Requires: cloog
+%if %{build_libstdcxx_docs}
+#BuildRequires: doxygen
+#BuildRequires: graphviz
+%endif
+
+%description
+The gcc package contains the GNU Compiler Collection version %{version}
+You'll need this package in order to compile C code.
+
+%package -n libgcc
+Summary: Basic GNU gcc support library required by applications
+Version: %{version}
+Group: Development/Libraries
+License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
+#Requires: libc
+
+%description
+This package contains GCC shared support library which is needed
+e.g. for exception handling support.
+
+%if %build_l10n
+%package -n gcc-l10n
+Version: %{version}
+Group: System Environment/Libraries
+License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
+Summary: %{summary} - l10n files
+Requires: %{name}
+%endif
+
+%package -n libstdc++
+Summary: GNU Standard C++ Library
+Version: %{version}
+Group: System Environment/Libraries
+License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
+#Requires: libc
+
+%description -n libstdc++
+The libstdc++ package contains a rewritten standard compliant GCC Standard
+C++ Library.
+
+%package -n libstdc++-docs
+Summary: GNU Standard C++ Library Documentation
+Version: %{version}
+Group: Development/Documentation
+License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
+Requires: libstdc++
+
+%description -n libstdc++-docs
+HTML documentation files for libstdc++.
+
+%package -n libobjc
+Summary: Objective-C runtime
+Version: %{version}
+Group: System Environment/Libraries
+License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
+#Requires: libc
+
+%description -n libobjc
+This package contains Objective-C shared library which is needed to run
+Objective-C dynamically linked programs.
+
+%package -n libgfortran
+Summary: Fortran runtime
+Version: %{version}
+Group: System Environment/Libraries
+License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
+#Requires: libc
+
+%description -n libgfortran
+This package contains Fortran shared library which is needed to run
+Fortran dynamically linked programs.
+
+%package -n libgomp
+Summary: GCC OpenMP v3.0 shared support library
+Version: %{version}
+Group: System Environment/Libraries
+License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions
+#Requires: libc
+
+%description -n libgomp
+This package contains GCC shared support library which is needed
+for OpenMP v3.0 support.
+
+
+%prep
+if [ "x${CC}" = "x" ]
+then
+	echo "Compiler not defined. Please set the CC and CXX environment variables."
+	exit 1
+fi
+
+%setup -q -c -n %{name}-%version
+mkdir build
+cd gcc-%{full_ver}
+%patch2 -p1
+%patch3 -p0
+%patch4 -p0
+%patch5 -p0
+%patch6 -p0
+%patch7 -p0
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+export PATH=/usr/gnu/bin:`dirname ${CC}`:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/usr/sfw/bin
+cd build
+
+%if %build_l10n
+nlsopt=-enable-nls
+%else
+nlsopt=-disable-nls
+%endif
+%define ld_options -zignore -zcombreloc -Bdirect 
+
+export CONFIG_SHELL=/usr/bin/bash
+export CFLAGS=""
+%if %gcc_compiler
+export CPP=cpp
+%else
+export CPP="cc -E -Xs"
+%endif
+export STAGE1_CFLAGS="-DHANDLE_PRAGMA_PACK_PUSH_POP=1"
+export CFLAGS_FOR_TARGET="-g -O3 -I/usr/include/gmp -I/usr/include/mpfr"
+export LDFLAGS="-Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect"
+export LD_OPTIONS="%ld_options"
+export CPPFLAGS="-I/usr/include/gmp -I/usr/include/mpfr"
+
+%if %build_gcc_with_gnu_ld
+export LD="/usr/gnu/bin/ld"
+%endif
+
+../gcc-%{full_ver}/configure			\
+	--prefix=%{_prefix}			\
+ --mandir=%{_mandir}			\
+	--infodir=%{_infodir}			\
+	--with-as=/usr/bin/gas		 \
+	--with-gnu-as				\
+%if %build_gcc_with_gnu_ld
+	--with-ld=/usr/gnu/bin/gld		\
+	--with-gnu-ld				\
+%else
+	--with-ld=/usr/ccs/bin/ld		\
+	--without-gnu-ld			\
+%endif
+	--enable-languages=c,c++,fortran,objc,obj-c++	\
+	--enable-shared				\
+	--disable-static			\
+	--enable-decimal-float			\
+ --enable-multilib 			\
+ --with-system-zlib 			\
+ --enable-gather-detailed-mem-stats	\
+ --enable-largefile			\
+ --enable-symvers			\
+ --without-system-libunwind		\
+ --disable-libmudflap			\
+ --with-long-double-128			\
+ --enable-__cxa_atexit \
+ --enable-checking=release \
+%ifarch x86_64
+ --with-arch_32=i686 \
+%endif
+ --enable-decimal-float			\
+ --enable-lto \
+	$nlsopt
+
+ #--with-ppl=%{_prefix}			
+gmake -j $CPUS bootstrap
+
+%if %{build_libstdcxx_docs}
+cd %{gcc_target_platform}/libstdc++-v3
+make doc-html-doxygen
+make doc-man-doxygen
+cd ../..
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+export CONFIG_SHELL=/usr/bin/bash
+export CFLAGS="%optflags"
+export STAGE1_CFLAGS="$(CFLAGS) -DHANDLE_PRAGMA_PACK_PUSH_POP=1"
+export CFLAGS_FOR_TARGET="-g -O3"
+export LDFLAGS="%_ldflags"
+export LD_OPTIONS="%ld_options"
+
+cd build
+gmake install DESTDIR=$RPM_BUILD_ROOT
+
+cd $RPM_BUILD_ROOT
+%patch1 -p0
+
+cd $RPM_BUILD_ROOT%{_prefix}
+ln -s share/man man
+
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+rm -f $RPM_BUILD_ROOT%{_libdir32}/libiberty*
+rm -f $RPM_BUILD_ROOT%{_libdir64}/libiberty*
+rm -f $RPM_BUILD_ROOT%{_libdir32}/libssp*
+rm -f $RPM_BUILD_ROOT%{_libdir64}/libssp*
+rm -f $RPM_BUILD_ROOT%{_libdir32}/libsupc*
+rm -f $RPM_BUILD_ROOT%{_libdir64}/libsupc*
+rm -f $RPM_BUILD_ROOT%{_libdir32}/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir64}/*.la
+
+%if %build_l10n
+%else
+# REMOVE l10n FILES
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -n gcc
+PATH=/usr/bin:/usr/sfw/bin; export PATH
+for info in gcc.info cpp.info gccint.info cppinternals.info gccinstall.info gfortran.info
+do
+ install-info --info-dir=%{_infodir} %{_infodir}/$info
+done
+
+%preun -n gcc
+PATH=/usr/bin:/usr/sfw/bin; export PATH
+retval=0
+for info in gcc.info cpp.info gccint.info cppinternals.info gccinstall.info gfortran.info
+do
+ install-info --info-dir=%{_infodir} --delete %{_infodir}/$info
+done
+
+%files 
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_prefix}
+%{_prefix}/man
+%dir %attr (0755, root, bin) %{_bindir32}
+%{_bindir32}/*
+%dir %attr (0755, root, bin) %{_libdir32}
+%{_libdir32}/gcc
+%dir %attr (0755, root, bin) %{_libexecdir32}
+%{_libexecdir32}/gcc
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, bin) %{_mandir}
+%dir %attr (0755, root, bin) %{_mandir}/man1
+%{_mandir}/man1/*.1
+%dir %attr (0755, root, bin) %{_mandir}/man7
+%{_mandir}/man7/*.7
+%dir %attr(0755, root, bin) %{_infodir}
+%{_infodir}/*
+%defattr (-, root, bin)
+%{_includedir}
+
+%files -n libgcc
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_prefix}
+%dir %attr (0755, root, bin) %{_libdir32}
+%{_libdir32}/libgcc_s*
+%dir %attr (0755, root, bin) %{_libdir64}
+%{_libdir64}/libgcc_s*
+
+%files -n libstdc++
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_prefix}
+%dir %attr (0755, root, bin) %{_libdir32}
+%{_libdir32}/libstdc++*
+%dir %attr (0755, root, bin) %{_libdir64}
+%{_libdir64}/libstdc++*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, bin) %{_datadir}/gcc-%{version}
+%{_datadir}/gcc-%{version}/*
+
+%files -n libobjc
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_prefix}
+%dir %attr (0755, root, bin) %{_libdir32}
+%{_libdir32}/libobjc*
+%dir %attr (0755, root, bin) %{_libdir64}
+%{_libdir64}/libobjc*
+
+%files -n libgfortran
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_prefix}
+%dir %attr (0755, root, bin) %{_libdir32}
+%{_libdir32}/libgfortran*
+%dir %attr (0755, root, bin) %{_libdir64}
+%{_libdir64}/libgfortran*
+
+%files -n libgomp
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_prefix}
+%dir %attr (0755, root, bin) %{_libdir32}
+%{_libdir32}/libgomp*
+%dir %attr (0755, root, bin) %{_libdir64}
+%{_libdir64}/libgomp*
+
+%if %{build_libstdcxx_docs}
+%files -n libstdc++-docs
+%defattr(-,root,bin)
+%{_mandir}/man3/*
+%doc libstdc++-v3/html
+%endif
+
+%if %build_l10n
+%files -n gcc-l10n
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_prefix}
+%dir %attr (0755, root, sys) %{_datadir}
+%attr (-, root, other) %{_datadir}/locale
+%endif
+
+%changelog
+* Sat Sep 12 2009 - moinakg(at)belenix<dot>org
+- Fix package version.
+* Sat Aug 29 2009 - Moinak Ghosh <moinakg<at>belenix(dot)org>
+- Bump version to 4.4.1.
+- Add patch required for successful Wine build.
+* Sat Aug 15 2009 - Moinak Ghosh <moinakg<at>belenix(dot)org>
+- Patch a header bug.
+* Wed May 06 2009 - mo...@be...
+- Enable building with ClooG and PPL libs to get the Graphite framework.
+* Thu Apr 30 2009 - mo...@be...
+- Bump to 4.4.0 release version.
+* Tue Apr 28 2009 - mo...@be...
+- Delete commented patch lines.
+* Tue Apr 21 2009 - mo...@be...
+- Bump to 4.4 pre-release snapshot. Comment out unneeded patches.
+- Add configure options as tested for OSUNIX.
+* Tue Aug 12 2008 - mo...@be...
+- Change to use Solaris linker by default. GNU linker does not support versioned
+- symbols in shared libraries.
+* Tue Jun 26 2008 - rus...@gm...
+- fixed libunwind bug. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27880
+* Mon Jun 23 2008 - rus...@gm...
+- added pragma pack support, bump up gcc to 4.2.4
+* Mon Mar 10 2008 - la...@su...
+- add missing defattr
+* Sun Mar 2 2008 - Mark Wright <mar...@in...>
+- Add gcc-01-libtool-rpath.diff patch for a problem where
+- the old, modified libtool 1.4 in gcc 4.2.3 drops
+- -rpath /usr/gnu/lib when building libstdc++.so.6.0.9.
+* Fri Feb 29 2008 - Mark Wright <mar...@in...>
+- Bump to 4.2.3. Remove patch for 32787 as it is upstreamed into gcc 4.2.3.
+* Sat Jan 26 2008 - Moinak Ghosh <moi...@su...>
+- Refactor package to have SFEgcc and SFEgccruntime.
+* Sun Oct 14 2007 - Mark Wright <mar...@in...>
+- Bump to 4.2.2.
+* Wed Aug 15 2007 - Mark Wright <mar...@in...>
+- Change from /usr/ccs/bin/ld to /usr/gnu/bin/ld, this change
+ requires SFEbinutils built with binutils-01-bug-2495.diff,
+ binutils-02-ld-m-elf_i386.diff and binutils-03-lib-amd64-ld-so-1.diff.
+ Add objc to --enable-languages, add --enable-decimal-float.
+* Wed Jul 24 2007 - Mark Wright <mar...@in...>
+- Bump to 4.2.1, add patch for gcc bug 32787.
+* Wed May 16 2007 - Doug Scott <do...@tr...>
+- Bump to 4.2.0
+* Tue Mar 20 2007 - Doug Scott <do...@tr...>
+- Added LD_OPTIONS so libs in /usr/gnu/lib will be found
+* Sun Mar 7 2007 - Doug Scott <do...@tr...>
+- change to use GNU as from SFEbinutils
+* Sun Mar 7 2007 - Doug Scott <do...@tr...>
+- Initial spec
Added: trunk/spec_files/rpms/gmp.spec
===================================================================
--- trunk/spec_files/rpms/gmp.spec	 (rev 0)
+++ trunk/spec_files/rpms/gmp.spec	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,194 @@
+Name: gmp
+Summary: GNU Multiple Presicion Arithmetic Library
+Group: libraries/math
+Version: 4.3.2
+Release: 2%{?dist}
+Source: http://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
+Source1: gmp.h
+Source2: gmp-mparam.h
+URL: http://swox.com/gmp/
+License: LGPLv3+
+Group: System Environment/Libraries
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+The gmp package contains GNU MP, a library for arbitrary precision
+arithmetic, signed integers operations, rational numbers and floating
+point numbers. GNU MP is designed for speed, for both small and very
+large operands. GNU MP is fast because it uses fullwords as the basic
+arithmetic type, it uses fast algorithms, it carefully optimizes
+assembly code for many CPUs' most common inner loops, and it generally
+emphasizes speed over simplicity/elegance in its operations.
+
+%package devel
+Summary: %{summary} - development files
+Requires: %name
+
+%description devel
+The libraries, header files and documentation for using the GNU MP 
+arbitrary precision library in applications.
+
+If you want to develop applications which will use the GNU MP library,
+you'll need to install the gmp-devel package. You'll also need to
+install the gmp package.
+
+%prep
+%setup -q -c -n %name-%version
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+%if %cc_is_gcc
+CFLAGS_GEN="-fno-builtin -finline-functions -std=c99 -D_REENTRANT -D__EXTENSIONS__=1 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_XPG6 -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_C_SOURCE=200112L -D__XOPEN_OR_POSIX -D_STRICT_STDC -D_STRICT_STDC__ -D_STDC_C99 -D_ISOC99_SOURCE -DNDEBUG -DPIC -fPIC -z combreloc -z redlocsym -z ignore -z rescan -z absexec -s"
+export CPPFLAGS="-fexceptions"
+
+#
+# Our Gcc wrappers to kick out -lc.
+#
+cat <<EOT1 > gcc
+#!/bin/sh
+
+args=\`echo "\$@" | sed 's/\-lc//g'\`
+exec $CC \$args
+EOT1
+
+cat <<EOT2 > g++
+#!/bin/sh
+
+args=\`echo "\$@" | sed 's/\-lc//g'\`
+exec $CXX \$args
+EOT2
+
+chmod +x ./gcc ./g++
+CC=`pwd`/gcc
+CXX=`pwd`/g++
+export CC CXX
+
+%else
+CFLAGS_GEN="-features=extinl -xbuiltin=%none -xcsi -xinline=%auto -xustr=ascii_utf16_ushort -xalias_level=std -xthreadvar=%all -mt -D_REENTRANT -D__EXTENSIONS__=1 -xF=%none -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=600 -D_XPG6 -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_C_SOURCE=200112L -D__XOPEN_OR_POSIX -D_STRICT_STDC -D_STRICT_STDC__ -D_STDC_C99 -D_ISOC99_SOURCE -DNDEBUG -DPIC -KPIC -z combreloc -z redlocsym -z ignore -z rescan -z absexec -s"
+%endif
+
+export LDFLAGS="%_ldflags -lgcc_s"
+cd gmp-%{version}
+
+%if %{build_64bit}
+export CFLAGS="-m64 -mfpmath=sse,387 -msse2 -fPIC -DPIC -mtune=opteron -O3 -fomit-frame-pointer -fno-builtin -finline-functions -D_REENTRANT -D__EXTENSIONS__=1"
+export CXXFLAGS="-m64 -mfpmath=sse,387 -msse2 -fPIC -DPIC -mtune=opteron -O2 -fno-builtin -finline-functions -D_REENTRANT -D__EXTENSIONS__=1"
+export ABI=64
+
+cp configure configure.orig
+cat configure.orig | gsed 's/cclist="gcc cc"/cclist="gcc cc"; host_cpu="x86_64"/
+/# PATH needs CR/a archive_cmds_need_lc=no; archive_cmds_need_lc_CXX=no
+/archive_cmds_need_lc=yes/archive_cmds_need_lc=no/g
+/archive_cmds_need_lc_CXX=yes/archive_cmds_need_lc_CXX=no/g' > configure
+%else
+
+export CFLAGS="-fPIC -DPIC -O2 -march=pentium3 -fno-builtin -finline-functions -D_REENTRANT -D__EXTENSIONS__=1"
+export CXXFLAGS="-fPIC -DPIC -O2 -march=pentium3 -fno-builtin -finline-functions -D_REENTRANT -D__EXTENSIONS__=1"
+export ABI=32
+
+cp configure configure.orig
+cat configure.orig | gsed '/# PATH needs CR/a archive_cmds_need_lc=no; archive_cmds_need_lc_CXX=no
+/archive_cmds_need_lc=yes/archive_cmds_need_lc=no/g
+/archive_cmds_need_lc_CXX=yes/archive_cmds_need_lc_CXX=no/g' > configure
+%endif
+
+
+./configure --prefix=%{_prefix}		\
+	 --mandir=%{_mandir}		\
+ --libdir=%{_libdir} \
+ --infodir=%{_infodir} \
+ --libexecdir=%{_libexecdir} \
+ --sysconfdir=%{_sysconfdir} \
+ --includedir=%{_includedir}/gmp \
+ --enable-cxx --enable-mpbsd
+make -j $CPUS 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd gmp-%{version}
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib*la
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+
+#
+# For GMP 64Bit headers are different from 32Bit headers
+#
+%if %{build_64bit}
+mv $RPM_BUILD_ROOT/%{_includedir}/gmp.h $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-64.h
+cp gmp-mparam.h $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-mparam-64.h
+chmod 0644 $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-mparam-64.h
+%else
+
+mv $RPM_BUILD_ROOT/%{_includedir}/gmp.h $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-i386.h
+cp gmp-mparam.h $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-mparam-i386.h
+chmod 0644 $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-mparam-i386.h
+%endif
+
+cp %{SOURCE1} $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp.h
+chmod 0644 $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp.h
+cp %{SOURCE2} $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-mparam.h
+chmod 0644 $RPM_BUILD_ROOT/%{_includedir}/gmp/gmp-mparam.h
+
+mv $RPM_BUILD_ROOT/%{_includedir}/mp.h $RPM_BUILD_ROOT/%{_includedir}/gmp/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post devel
+PATH=/usr/bin:/usr/sfw/bin; export PATH
+retval=0
+for info in gmp.info gmp.info-1 gmp.info-2
+do
+ install-info --quiet --info-dir=%{_infodir} %{_infodir}/$info
+done
+exit $retval
+
+%preun devel
+PATH=/usr/bin:/usr/sfw/bin; export PATH
+retval=0
+for info in gmp.info gmp.info-1 gmp.info-2
+do
+ install-info --quiet --info-dir=%{_infodir} --delete %{_infodir}/$info
+done
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/lib*.so*
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/info
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%dir %attr (0755, root, bin) %{_includedir}/gmp
+%{_includedir}/gmp/*.h
+
+%changelog
+* Wed May 06 2009 - mo...@be...
+- Enable building C++ library, build with Gcc4.4.
+- Fix installation of 64Bit headers.
+* Fri Apr 17 2009 - mo...@gm...
+- Bump version and remove upstreamed patch.
+* Sun Feb 24 2008 - mo...@gm...
+- Change to avoid wierd error from make.
+* Fri Nov 02 2007 - no...@us...
+- Remove Requires/BuildRequires to SFEreadline
+* Fri Aug 17 2007 - tr...@ac...
+- Fix x86_64 build
+* Sat Jun 30 2007 - no...@us...
+- Use http url in Source.
+* Tue Mar 07 2007 - do...@tr...
+- enabled 64-bit build and added speedup patch for AMD64
+* Fri Jun 23 2006 - la...@su...
+- rename to SFEgmp
+- bump to 4.2.1
+- create devel subpkg
+- update attributes
+* Thu Nov 17 2005 - la...@su...
+- create
Added: trunk/spec_files/rpms/graphviz.spec
===================================================================
--- trunk/spec_files/rpms/graphviz.spec	 (rev 0)
+++ trunk/spec_files/rpms/graphviz.spec	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,271 @@
+## WORK IN PROGRESS
+%define perl_vers 5.10
+%define ruby_vers 1.8
+%define python_vers python2.4
+%define tcl_vers tcl8.4
+
+Name: graphviz
+Summary: Graph drawing tools and libraries
+Version: 2.26.3
+Source: http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-%{version}.tar.gz
+URL: http://www.graphviz.org
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%include default-depend.inc
+Requires: SUNWlibtool
+Requires: SUNWgd2
+Requires: SUNWlexpt
+Requires: SUNWfontconfig
+Requires: SUNWlexpt
+%if %{SFEfreetype}
+Requires: SFEfreetype
+%else
+Requires: SUNWfreetype2
+%endif
+Requires: SUNWgnome-base-libs
+Requires: SUNWjpg
+%if %cc_is_gcc
+Requires: SFEgccruntime
+%else
+Requires: SUNWlibC
+%endif
+Requires: SUNWpng
+%if %{SFEfreetype}
+BuildRequires: SFEfreetype-devel
+%else
+BuildRequires: SUNWfreetype2
+%endif
+BuildRequires: SUNWgnome-base-libs-devel
+BuildRequires: SUNWlibtool
+BuildRequires: SUNWPython-devel
+BuildRequires: SUNWTcl
+BuildRequires: SUNWperl584core
+BuildRequires: SUNWruby18u
+BuildRequires: SFEswig
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+Requires: %name
+
+%prep
+%setup -q -c -n %name-%version
+%ifarch amd64 sparcv9
+cp -rp graphviz-%{version} graphviz-%{version}-64
+%endif
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+OPATH="$PATH"
+
+%ifarch amd64 sparcv9
+cd graphviz-%{version}-64
+
+export CPPFLAGS="-I%{_prefix}/X11/include -I%{_prefix}/include/gd2 -D_SYS_MODE_H"
+export CFLAGS="%optflags64"
+export CXXFLAGS="%cxx_optflags64"
+export LDFLAGS="%_ldflags64 %{xorg_lib_path64} -lgd"
+export PATH="%{_bindir}/%{_arch64}:%{_prefix}/gnu/bin/%{_arch64}:${OPATH}"
+
+#libtoolize --copy --force
+#aclocal $ACLOCAL_FLAGS
+#autoheader
+#automake -a -c -f
+#autoconf
+#bash ./autogen.sh
+
+# Perl, Ruby are disabled in 64bit build as there is no 64bit perl in default osol
+# base.
+./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir}/%{_arch64} \
+ --libdir=%{_libdir}/%{_arch64} \
+ --mandir=%{_mandir} \
+ --enable-static=no \
+ --enable-ltdl \
+ --disable-rpath \
+ --disable-sharp \
+ --disable-guile \
+ --disable-io \
+ --disable-java \
+ --disable-lua \
+ --disable-ocaml \
+ --disable-php \
+ --disable-perl \
+ --disable-ruby \
+ $TCL_OPTS
+
+make -j$CPUS
+cd ..
+%endif
+
+cd graphviz-%{version}
+export CPPFLAGS="-I%{_prefix}/X11/include -I%{_prefix}/include/gd2 -D_SYS_MODE_H"
+export CFLAGS="%optflags"
+export CXXFLAGS="%cxx_optflags"
+export LDFLAGS="%_ldflags %{xorg_lib_path} -lgd"
+export PATH="$OPATH"
+
+#libtoolize --copy --force
+#aclocal $ACLOCAL_FLAGS
+#autoheader
+#automake -a -c -f
+#autoconf
+#bash ./autogen.sh
+./configure --prefix=%{_prefix} \
+ --mandir=%{_mandir} \
+ --enable-static=no \
+ --enable-ltdl \
+ --disable-rpath \
+ --disable-sharp \
+ --disable-guile \
+ --disable-io \
+ --disable-java \
+ --disable-lua \
+ --disable-ocaml \
+ --disable-php \
+ $TCL_OPTS
+
+make -j$CPUS
+cd ..
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+OPATH="$PATH"
+
+%ifarch amd64 sparcv9
+cd graphviz-%{version}-64
+export PATH="%{_bindir}/%{_arch64}:%{_prefix}/gnu/bin/%{_arch64}:${OPATH}"
+
+make install DESTDIR=$RPM_BUILD_ROOT
+cd ..
+%endif
+
+cd graphviz-%{version}
+export PATH="$OPATH"
+make install DESTDIR=$RPM_BUILD_ROOT
+cd ..
+
+find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
+
+rm -rf ${RPM_BUILD_ROOT}%{_mandir}/mann
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+LD_LIBRARY_PATH=${PKG_INSTALL_ROOT}%{_libdir}:${PKG_INSTALL_ROOT}%{_prefix}/gnu/lib
+export LD_LIBRARY_PATH
+$PKG_INSTALL_ROOT%{_bindir}/dot -c
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/lib*.so*
+%dir %attr (0755, root, bin) %{_libdir}/graphviz
+%{_libdir}/graphviz/*
+
+%ifarch amd64 sparcv9
+%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
+%{_libdir}/%{_arch64}/lib*.so*
+%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}/graphviz
+%{_libdir}/%{_arch64}/graphviz/*
+%endif
+
+%dir %attr (0755, root, bin) %{_prefix}/perl5
+%dir %attr (0755, root, bin) %{_prefix}/perl5/vendor_perl
+%dir %attr (0755, root, bin) %{_prefix}/perl5/vendor_perl/%{perl_vers}
+%dir %attr (0755, root, bin) %{_prefix}/perl5/vendor_perl/%{perl_vers}/i86pc-solaris-64int
+%{_prefix}/perl5/vendor_perl/%{perl_vers}/i86pc-solaris-64int/*
+%dir %attr (0755, root, bin) %{_prefix}/ruby
+%dir %attr (0755, root, bin) %{_prefix}/ruby/%{ruby_vers}
+%dir %attr (0755, root, bin) %{_prefix}/ruby/%{ruby_vers}/lib
+%dir %attr (0755, root, bin) %{_prefix}/ruby/%{ruby_vers}/lib/ruby
+%dir %attr (0755, root, bin) %{_prefix}/ruby/%{ruby_vers}/lib/ruby/site_ruby
+%dir %attr (0755, root, bin) %{_prefix}/ruby/%{ruby_vers}/lib/ruby/site_ruby/%{ruby_vers}
+%dir %attr (0755, root, bin) %{_prefix}/ruby/%{ruby_vers}/lib/ruby/site_ruby/%{ruby_vers}/i386-solaris2.11
+%{_prefix}/ruby/%{ruby_vers}/lib/ruby/site_ruby/%{ruby_vers}/i386-solaris2.11/*
+%dir %attr (0755, root, bin) %{_libdir}/%{python_vers}
+%dir %attr (0755, root, bin) %{_libdir}/%{python_vers}/site-packages
+%{_libdir}/%{python_vers}/site-packages/*
+%dir %attr (0755, root, bin) %{_libdir}/%{tcl_vers}
+%{_libdir}/%{tcl_vers}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, bin) %{_mandir}
+%dir %attr (0755, root, bin) %{_mandir}/man1
+%{_mandir}/man1/*.1
+%dir %attr (0755, root, bin) %{_mandir}/man3
+%{_mandir}/man3/*.3*
+%dir %attr (0755, root, bin) %{_mandir}/man7
+%{_mandir}/man7/*.7
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_datadir}/graphviz
+%{_datadir}/graphviz/*
+
+%ifarch amd64 sparcv9
+%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
+%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
+%{_libdir}/%{_arch64}/pkgconfig/*
+%endif
+
+%changelog
+* Sat Aug 15 2009 - Moinak Ghosh <moinakg<at>belenix(dot)org>
+- Fix postinstall script to find the correct libraries in an ALTROOT install environment.
+* Mon Jun 15 2009 - moinakg@belenix(dot)org
+- Add 64Bit build.
+* Sat Jun 21 2008 - mo...@gm...
+- Fix build
+- Add entries for Perl, Tcl and Python plugins.
+* Mon Apr 28 2008 - <shivakumar dot gn at gmail dot com>
+- Fixed usage of macro in if condition
+* Thu Jan 24 2008 - no...@us...
+- Replace SFEruby to SUNWruby18u
+* Wed Jan 17 2008 - moi...@su...
+- Do not disable perl.
+- Prevent sys/mode.h from being pulled in via perl.h by defining _SYS_MODE_H. This
+- allows the perl plugin to be built.
+* Wed Jan 16 2008 - moi...@su...
+- Bump version to 2.16.1
+- Remove SUNWfontconfig-devel from BuildRequires. SUNWfontconfig package includes
+- devel components.
+- Changed SFElibtool dep to SUNWlibtool.
+- Remove unneeded patches.
+* Thu Oct 25 2007 - no...@us...
+- Add configure option --disale-perl 
+- Add patch gd-ldflags.diff
+- Add /usr/include/gd2 to CFLAGS
+* Wed Oct 17 2007 - la...@su...
+- add /usr/X11 to search paths for FOX
+- allow building with either SUNWlexpt or SFEexpat
+* Mon Sep 24 2007 - tr...@ac...
+- Allow building with Tcl 8.4 (newer SUNWTcl)
+* Thu Mar 22 2007 - no...@us...
+- Add patch arith-h to export arith.h to let anjuta build pass.
+ This patch is already in cvs head, should be removed in next release.
+* Fri Aug 17 2007 - tr...@ac...
+- Bump to 2.14
+- Update dependencies, disable optional plugins
+* Thu Mar 22 2007 - no...@us...
+- Add patch tclsh.diff and ruby-lib.diff to build pass.
+- Add Requires/BuildRequries after check-deps.pl run.
+* Wed Mar 07 2007 - day...@us...
+- Bump to 2.12. Delete more *.la files in %install. Add URL field.
+* Tue Nov 07 2006 - Eric Boutilier
+- Initial spec
Added: trunk/spec_files/rpms/include/rpmmacros
===================================================================
--- trunk/spec_files/rpms/include/rpmmacros	 (rev 0)
+++ trunk/spec_files/rpms/include/rpmmacros	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,118 @@
+#
+# Some useful constants, utilities.
+#
+%sf_download %{!?sf_download: http://downloads.sourceforge.net}
+%kde_mirror %{!?kde_mirror: ftp://mirrors.dotsrc.org/kde/stable}
+%kde4_version %{!?kde4_version: 4.2.3}
+#cc_is_gcc %{expand:%%(strings ${CC-:x} 2>/dev/null | grep sunmath >/dev/null; echo $?)}
+%gcc_compiler %{?cc_is_gcc:1}%{!?cc_is_gcc:0}
+%xfce_pkg_version 4.4.2
+%xfce_src_url http://www.us.xfce.org/archive/xfce-%{xfce_pkg_version}/src
+%restart_fmri $BASEDIR/share/desktop-cache/restart_fmri
+%_gpp_version %(g++ --version | head -1 | cut -f3 -d' ')
+%__id_u /usr/bin/id -u
+%_arch64 amd64
+%_arch32 i86
+
+# Turn on XZ compression for binary RPMs.
+%_binary_payload w7.xzdio
+
+%build_64bit %{?use_arch64:1}%{!?use_arch64:0}
+#
+# Define a variety of 32-bit and 64-bit paths. If the macro %use_arch64 is defined
+# to '1' then all default paths point to 64-bit directories. Otherwise the corresponding
+# pathname macro with '64' appended will point to the 64-bit dir.
+#
+%gnu_bin %{!?use_arch64:/usr/gnu/bin}%{?use_arch64:/usr/gnu/bin/%{_arch64}}
+%gnu_inc /usr/gnu/include
+%gnu_lib %{!?use_arch64:/usr/gnu/lib}%{?use_arch64:/usr/gnu/lib/%{_arch64}}
+%gnu_lib_path -L%{gnu_lib} -R%{gnu_lib}
+%sfw_bin %{!?use_arch64:/usr/sfw/bin}%{?use_arch64:/usr/sfw/bin/%{_arch64}}
+%sfw_inc /usr/sfw/include
+%sfw_lib %{!?use_arch64:/usr/sfw/lib}%{?use_arch64:/usr/sfw/lib/%{_arch64}}
+%sfw_lib_path -L%{sfw_lib} -R%{sfw_lib}
+%xorg_bin %{!?use_arch64:/usr/X11/bin}%{?use_arch64:/usr/X11/bin/%{_arch64}}
+%xorg_lib %{!?use_arch64:/usr/X11/lib}%{?use_arch64:/usr/X11/lib/%{_arch64}}
+%xorg_inc /usr/X11/include
+%xorg_lib_path -L%{xorg_lib} -R%{xorg_lib}
+%qt4_bin_path %{!?use_arch64:/usr/qt4/bin}%{?use_arch64:/usr/qt4/bin/%{_arch64}}
+
+%gnu_bin64 /usr/gnu/bin/%{_arch64}
+%gnu_lib64 /usr/gnu/lib/%{_arch64}
+%gnu_lib_path64 -L%{gnu_lib64} -R%{gnu_lib64}
+%sfw_bin64 /usr/sfw/bin/%{_arch64}
+%sfw_lib64 /usr/sfw/lib/%{_arch64}
+%sfw_lib_path64 -L%{sfw_lib64} -R%{sfw_lib64}
+%xorg_bin64 /usr/X11/bin/%{_arch64}
+%xorg_lib64 /usr/X11/lib/%{_arch64}
+%xorg_lib_path64 -L%{xorg_lib64} -R%{xorg_lib64}
+%qt4_bin_path64 /usr/qt4/bin/%{_arch64}
+
+%_bindir64 %{_exec_prefix}/bin/%{_arch64}
+%_libdir64 %{_exec_prefix}/lib/%{_arch64}
+%_libexecdir64 %{_exec_prefix}/libexec/%{_arch64}
+%_lib64 /lib/%{_arch64}
+%_pkgconfigdir64 %{_libdir64}/pkgconfig
+
+%_bindir %{?use_arch64:%{_bindir64}}%{!?use_arch64:%{_exec_prefix}/bin}
+%_libdir %{?use_arch64:%{_libdir64}}%{!?use_arch64:%{_exec_prefix}/%{_lib}}
+%_libexecdir %{?use_arch64:%{_libexecdir64}}%{!?use_arch64:%{_exec_prefix}/libexec}
+%_lib %{?use_arch64:%{_lib64}}%{!?use_arch64:/lib}
+%_pkgconfigdir %{?use_arch64:%{_pkgconfigdir64}}%{!?use_arch64:%{_libdir}/pkgconfig}
+
+%_bindir32 %{_exec_prefix}/bin
+%_libdir32 %{_exec_prefix}/lib
+%_libexecdir32 %{_exec_prefix}/libexec
+%_lib32 /lib
+%_pkgconfigdir32 %{_libdir}/pkgconfig
+
+%_cxx_libdir %{?use_arch64:%{_prefix}/lib/g++/%{_gpp_version}/%{_arch64}}%{!?use_arch64:%{_prefix}/lib/g++/%{_gpp_version}}
+%_cxx_libdir64 %{_prefix}/lib/g++/%{_gpp_version}/%{_arch64}
+
+#
+# Define Gcc and SUN Studio compiler flags and linker flags. If %debug_build is '1' then
+# debug symbols are built. If %use_arch64 is defined to '1' then default path arguments
+# are all 64-bit paths.
+#
+%arch_ld -L%{_libdir} -R%{_libdir} %{?use_arch64:-m64}%{!?use_arch64:-m32}
+%arch_ldextra -Wl,-zignore -R%{gnu_lib} -lgnuintl -lgnuiconv
+%arch_ldadd %{arch_ld} %{?with_gnu_iconv:%{arch_ldextra}}
+%_ldopt -Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect
+%_gcc_arch_flag %{?use_arch64:-m64}%{!?use_arch64:-march=pentium3 -m32}
+%_suncc_arch_flag %{?use_arch64:-m64}%{!?use_arch64:-m32}
+
+%arch_ld64 -L%{_libdir64} -R%{_libdir64} -m64
+%arch_ldextra64 -Wl,-zignore -R%{gnu_lib64} -lgnuintl -lgnuiconv
+%arch_ldadd64 %{arch_ld64} %{?with_gnu_iconv:%{arch_ldextra64}}
+
+%_gcc_picflags -fPIC -DPIC
+%_suncc_picflags -KPIC -DPIC
+
+%_suncc_opt_level %{?debug_build: -g}%{!?debug_build: -xO4 -xspace}
+%_suncxx_opt_level %{?debug_build: -g}%{!?debug_build: -xO3 -xspace}
+%_gcc_opt_level %{?debug_build: -g}%{!?debug_build: -O2}
+%_gxx_opt_level %{?debug_build: -g}%{!?debug_build: -O2}
+
+%gcc_optflags %{_gcc_opt_level} %{_gcc_arch_flag} -fno-omit-frame-pointer %{_gcc_picflags} 
+%gcc_cxx_optflags %{_gxx_opt_level} %{_gcc_arch_flag} -fno-omit-frame-pointer %{_gcc_picflags}
+
+%suncc_optflags -i %{_suncc_opt_level} %{_suncc_arch_flag} -xstrconst -xpentium -mr -xregs=no%%frameptr %{_suncc_picflags}
+%suncc_cxx_optflags -i %{_suncxx_opt_level} %{_suncc_arch_flag} -pentium -mr -norunpath -xregs=no%%frameptr %{_suncc_picflags}
+
+%picflags %{!?cc_is_gcc: %{_suncc_picflags}}%{?cc_is_gcc: %{_gcc_picflags}}
+%optflags %{!?cc_is_gcc: %{suncc_optflags}}%{?cc_is_gcc: %{gcc_optflags}} ${EXTRA_CFLAGS}
+%cxx_optflags %{!?cc_is_gcc: %{suncc_cxx_optflags}}%{?cc_is_gcc: %{gcc_cxx_optflags}} ${EXTRA_CXXFLAGS}
+
+%_ldflags %{?debug_build: %{arch_ldadd} ${EXTRA_LDFLAGS}}%{!?debug_build: %{arch_ldadd} %{_ldopt} ${EXTRA_LDFLAGS}}
+
+%gcc_optflags64 %{_gcc_opt_level} -m64 -fno-omit-frame-pointer %{_gcc_picflags}
+%gcc_cxx_optflags64 %{_gxx_opt_level} -m64 -fno-omit-frame-pointer %{_gcc_picflags}
+
+%suncc_optflags64 -i %{_suncc_opt_level} -m64 -xstrconst -xpentium -mr -xregs=no%%frameptr %{_suncc_picflags}
+%suncc_cxx_optflags64 -i %{_suncxx_opt_level} -m64 -pentium -mr -norunpath -xregs=no%%frameptr %{_suncc_picflags}
+
+%optflags64 %{!?cc_is_gcc: %{suncc_optflags64}}%{?cc_is_gcc: %{gcc_optflags64}} ${EXTRA_CFLAGS}
+%cxx_optflags64 %{!?cc_is_gcc: %{suncc_cxx_optflags64}}%{?cc_is_gcc: %{gcc_cxx_optflags64}} ${EXTRA_CXXFLAGS}
+%_ldflags64 %{?debug_build: %{arch_ldadd64} ${EXTRA_LDFLAGS}}%{!?debug_build: %{arch_ldadd64} %{_ldopt} ${EXTRA_LDFLAGS}}
+
+%_docdir %{_datadir}/doc
Added: trunk/spec_files/rpms/include/sysinfo
===================================================================
--- trunk/spec_files/rpms/include/sysinfo	 (rev 0)
+++ trunk/spec_files/rpms/include/sysinfo	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,8 @@
+/lib
+/usr
+/sbin
+/kernel
+/usr/lib
+/usr/local
+/usr/local/lib
+/bin/sh
Added: trunk/spec_files/rpms/macros
===================================================================
--- trunk/spec_files/rpms/macros	 (rev 0)
+++ trunk/spec_files/rpms/macros	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,55 @@
+%sf_download %{!?sf_download: http://downloads.sourceforge.net}
+%kde_mirror %{!?kde_mirror: ftp://mirrors.dotsrc.org/kde/stable}
+%kde4_version %{!?kde4_version: 4.2.3}
+%cc_is_gcc %{!?cc_is_gcc: 1}
+
+%xfce_pkg_version 4.4.2
+%xfce_src_url http://www.us.xfce.org/archive/xfce-%{xfce_pkg_version}/src
+%restart_fmri $BASEDIR/share/desktop-cache/restart_fmri
+
+%if %{?_with_gnu_iconv:1}{!?_with_gnu_iconv:0}
+%arch_ldadd -L%{_libdir} -R%{_libdir} -Wl,-zignore -R/usr/gnu/lib -lgnuintl -lgnuiconv
+%else
+%arch_ldadd -L%{_libdir} -R%{_libdir}
+%endif
+
+%_gcc_picflags -fPIC -DPIC
+%_suncc_picflags -KPIC -DPIC
+
+#%if %{?debug_build:1}{!?debug_build:0}
+%if %{debug_build}
+%_suncc_opt_level -g
+%_suncxx_opt_level -g
+%_gcc_opt_level -g
+%_gxx_opt_level -g
+%else
+%_gcc_opt_level -O2
+%_gxx_opt_level -O2
+%_suncc_opt_level -xO4 -xspace
+%_suncxx_opt_level -xO3 -xspace
+%endif
+
+%gcc_optflags %_gcc_opt_level -march=pentium3 -fno-omit-frame-pointer %gcc_picflags
+%gcc_cxx_optflags %_gxx_opt_level -march=pentium3 -fno-omit-frame-pointer %gcc_picflags
+
+%suncc_optflags -i %_suncc_opt_level -xstrconst -xpentium -mr -xregs=no%%frameptr
+%suncc_cxx_optflags -i %_suncxx_opt_level -pentium -mr -norunpath -xregs=no%%frameptr
+
+%if %{cc_is_gcc}
+
+%picflags %gcc_picflags
+%optflags %gcc_optflags
+%cxx_optflags %gcc_cxx_optflags
+%_gpp_version %(g++ --version | head -1 | cut -f3 -d' ')
+%_cxx_libdir %{_prefix}/lib/g++/%{_gpp_version}
+
+%else
+# cc is not gcc
+
+%picflags %suncc_picflags
+%optflags %suncc_optflags ${EXTRA_CFLAGS}
+%cxx_optflags %suncc_cxx_optflags ${EXTRA_CXXFLAGS}
+%_cxx_libdir %{_prefix}/lib
+
+%endif
+
Added: trunk/spec_files/rpms/mpc.spec
===================================================================
--- trunk/spec_files/rpms/mpc.spec	 (rev 0)
+++ trunk/spec_files/rpms/mpc.spec	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,102 @@
+Name: libmpc
+Version: 0.8.2
+Release: 0.2%{?dist}
+Summary: C library for multiple precision complex arithmetic
+URL: http://www.multiprecision.org/
+Source: http://www.multiprecision.org/mpc/download/mpc-%{version}.tar.gz
+Group: Development/Libraries
+License: GPLv3+
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: gmp
+BuildRequires: gmp-devel
+#Requires: gcc-runtime
+BuildRequires: mpfr-devel
+Requires: mpfr
+
+%description
+MPC is a C library for the arithmetic of complex numbers with
+arbitrarily high precision and correct rounding of the result. It is
+built upon and follows the same principles as Mpfr.
+
+%package devel
+Summary: %{summary} - development files
+Requires: %name
+Requires: gmp-devel
+Requires: mpfr-devel
+
+%description devel
+Header files and shared object symlinks for MPC library.
+
+%prep
+%setup -q -c -n %name-%version
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+cd mpc-%{version}
+%if %gcc_compiler
+export CPPFLAGS="%optflags -std=gnu99 -I/usr/include/gmp -I/usr/include/mpfr"
+export CFLAGS="%optflags -std=gnu99 -I/usr/include/gmp -I/usr/include/mpfr"
+%else
+export CPPFLAGS="%optflags -xc99=%%all -I/usr/include/gmp -I/usr/include/mpfr"
+export CFLAGS="%optflags -xc99=%%all -I/usr/include/gmp -I/usr/include/mpfr"
+%endif
+export LDFLAGS="%_ldflags"
+export EGREP=egrep
+
+./configure --prefix=%{_prefix} --mandir=%{_mandir} \
+ --bindir=%{_bindir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libexecdir} \
+ --sysconfdir=%{_sysconfdir} \
+ --enable-shared \
+ --disable-static
+
+gmake -j$CPUS
+cd ..
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd mpc-%{version}
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
+cd ..
+
+rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post devel
+if [ -f %{_infodir}/mpc.info.gz ]; then # for --excludedocs
+ /sbin/install-info %{_infodir}/mpc.info.gz %{_infodir}/dir || :
+fi
+
+%preun devel
+if [ 1ドル = 0 ]; then
+ if [ -f %{_infodir}/mpc.info.gz ]; then # for --excludedocs
+ /sbin/install-info --delete %{_infodir}/mpc.info.gz %{_infodir}/dir || :
+ fi
+fi
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*.so*
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*.h
+%dir %attr (0755, root, bin) %{_infodir}
+%{_infodir}/*.info*
+
+%changelog
+* Wed May 06 2009 - mo...@be...
+- Initial spec file.
Added: trunk/spec_files/rpms/mpfr.spec
===================================================================
--- trunk/spec_files/rpms/mpfr.spec	 (rev 0)
+++ trunk/spec_files/rpms/mpfr.spec	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,110 @@
+Name: mpfr
+Summary: C library for multiple-precision floating-point computations
+Version: 3.0.0
+Release: 3%{?dist}
+Source: http://www.mpfr.org/mpfr-current/mpfr-%{version}.tar.bz2
+License: LGPLv3+ and GPLv3+ and GFDL
+Group: System Environment/Libraries
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: gmp-devel
+Requires: gmp >= 4.2.1
+
+%description
+The MPFR library is a C library for multiple-precision floating-point
+computations with "correct rounding". The MPFR is efficient and 
+also has a well-defined semantics. It copies the good ideas from the 
+ANSI/IEEE-754 standard for double-precision floating-point arithmetic 
+(53-bit mantissa). MPFR is based on the GMP multiple-precision library.
+
+%package devel
+Summary: %{summary} - developer files
+Group: Development/Libraries
+Requires: %name = %{version}-%{release}
+Requires: gmp-devel
+
+%description devel
+Header files and documentation for using the MPFR 
+multiple-precision floating-point library in applications.
+
+If you want to develop applications which will use the MPFR library,
+you'll need to install the mpfr-devel package. You'll also need to
+install the mpfr package.
+
+%prep
+%setup -q -c -n %name-%version
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+cd mpfr-%{version}
+export CFLAGS="%optflags -I%{_includedir}/gmp"
+export CXXFLAGS="%cxx_optflags -I%{_includedir}/gmp"
+export LDFLAGS="%_ldflags"
+
+./configure --prefix=%{_prefix}		\
+ --libdir=%{_libdir}		\
+ --mandir=%{_mandir}		\
+ --docdir=%{_docdir} \
+	 --infodir=%{_infodir}	\
+	 --without-emacs		\
+	 --enable-shared		\
+	 --disable-static		\
+ --disable-assert \
+	 $nlsopt
+
+gmake -j $CPUS
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd mpfr-%{version}
+gmake install DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post devel
+PATH=/usr/bin:/usr/sfw/bin; export PATH
+for info in mpfr.info
+do
+ install-info --quiet --info-dir=%{_infodir} %{_infodir}/$info
+done
+
+%preun devel
+PATH=/usr/bin:/usr/sfw/bin; export PATH
+for info in mpfr.info
+do
+ install-info --info-dir=%{_infodir} --delete %{_infodir}/mpfr.info
+done
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/lib*.so*
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr(0755, root, bin) %{_infodir}
+%{_infodir}/*
+%dir %attr(0755, root, other) %{_docdir}
+%{_docdir}/*
+
+%changelog
+* Wed May 06 2009 - mo...@be...
+- Bump version to 2.4.1
+* Tue Feb 12 2008 <pradhap (at) gmail.com>
+- Bumped up the version to 2.3.1
+* Wed Oct 3 2007 - Doug Scott <do...@tr...>
+- bump to 2.3.0
+* Tue Mar 7 2007 - Doug Scott <do...@tr...>
+- Initial spec
Added: trunk/spec_files/rpms/patches/gcc4-01-nameser_compat.diff
===================================================================
--- trunk/spec_files/rpms/patches/gcc4-01-nameser_compat.diff	 (rev 0)
+++ trunk/spec_files/rpms/patches/gcc4-01-nameser_compat.diff	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,11 @@
+--- usr/lib/gcc/i386-pc-solaris2.11/4.5.2/include-fixed/arpa/nameser_compat.h.orig	2009年05月19日 21:45:18.170331634 +0530
++++ usr/lib/gcc/i386-pc-solaris2.11/4.5.2/include-fixed/arpa/nameser_compat.h	2009年05月19日 21:45:53.297976467 +0530
+@@ -127,7 +127,7 @@
+ 	 * which will force your compiles to bomb until you fix
+ 	 * the above macros.
+ 	 */
+-	error "Undefined or invalid BYTE_ORDER";
++# error "Undefined or invalid BYTE_ORDER";
+ #endif
+ 
+ /*
Added: trunk/spec_files/rpms/patches/gcc4-02-handle_pragma_pack_push_pop.diff
===================================================================
--- trunk/spec_files/rpms/patches/gcc4-02-handle_pragma_pack_push_pop.diff	 (rev 0)
+++ trunk/spec_files/rpms/patches/gcc4-02-handle_pragma_pack_push_pop.diff	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,9 @@
+--- gcc-4.2.3/gcc/config/sol2-10.h.orig	2009年01月23日 22:52:36.811847756 +0100
++++ gcc-4.2.3/gcc/config/sol2-10.h	2009年01月23日 23:01:22.694640931 +0100
+@@ -21,3 +21,6 @@
+ /* Solaris 10 has the float and long double forms of math functions. */
+ #undef TARGET_C99_FUNCTIONS
+ #define TARGET_C99_FUNCTIONS 1
++
++/* Define this so we can compile MS code for use with WINE. */
++#define HANDLE_PRAGMA_PACK_PUSH_POP
Added: trunk/spec_files/rpms/patches/gcc45-c++-builtin-redecl.patch
===================================================================
--- trunk/spec_files/rpms/patches/gcc45-c++-builtin-redecl.patch	 (rev 0)
+++ trunk/spec_files/rpms/patches/gcc45-c++-builtin-redecl.patch	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,102 @@
+2007年10月02日 Jakub Jelinek <ja...@re...>
+
+	* decl.c (duplicate_decls): When redeclaring a builtin function,
+	keep the merged decl builtin whenever types match, even if new
+	decl defines a function.
+
+	* gcc.dg/builtins-65.c: New test.
+	* g++.dg/ext/builtin10.C: New test.
+
+--- gcc/cp/decl.c.jj	2007年10月01日 22:11:09.000000000 +0200
++++ gcc/cp/decl.c	2007年10月02日 11:39:46.000000000 +0200
+@@ -2001,23 +2001,21 @@ duplicate_decls (tree newdecl, tree oldd
+ 	 DECL_ARGUMENTS (olddecl) = DECL_ARGUMENTS (newdecl);
+ 	 DECL_RESULT (olddecl) = DECL_RESULT (newdecl);
+ 	}
++ /* If redeclaring a builtin function, it stays built in. */
++ if (types_match && DECL_BUILT_IN (olddecl))
++	{
++	 DECL_BUILT_IN_CLASS (newdecl) = DECL_BUILT_IN_CLASS (olddecl);
++	 DECL_FUNCTION_CODE (newdecl) = DECL_FUNCTION_CODE (olddecl);
++	 /* If we're keeping the built-in definition, keep the rtl,
++	 regardless of declaration matches. */
++	 COPY_DECL_RTL (olddecl, newdecl);
++	}
+ if (new_defines_function)
+ 	/* If defining a function declared with other language
+ 	 linkage, use the previously declared language linkage. */
+ 	SET_DECL_LANGUAGE (newdecl, DECL_LANGUAGE (olddecl));
+ else if (types_match)
+ 	{
+-	 /* If redeclaring a builtin function, and not a definition,
+-	 it stays built in. */
+-	 if (DECL_BUILT_IN (olddecl))
+-	 {
+-	 DECL_BUILT_IN_CLASS (newdecl) = DECL_BUILT_IN_CLASS (olddecl);
+-	 DECL_FUNCTION_CODE (newdecl) = DECL_FUNCTION_CODE (olddecl);
+-	 /* If we're keeping the built-in definition, keep the rtl,
+-		 regardless of declaration matches. */
+-	 COPY_DECL_RTL (olddecl, newdecl);
+-	 }
+-
+ 	 DECL_RESULT (newdecl) = DECL_RESULT (olddecl);
+ 	 /* Don't clear out the arguments if we're just redeclaring a
+ 	 function. */
+--- gcc/testsuite/gcc.dg/builtins-65.c.jj	2007年10月02日 11:23:51.000000000 +0200
++++ gcc/testsuite/gcc.dg/builtins-65.c	2007年10月02日 11:24:12.000000000 +0200
+@@ -0,0 +1,25 @@
++/* { dg-do compile } */
++/* { dg-options "-O2" } */
++
++typedef __SIZE_TYPE__ size_t;
++extern void __chk_fail (void);
++extern int snprintf (char *, size_t, const char *, ...);
++extern inline __attribute__((gnu_inline, always_inline)) int snprintf (char *a, size_t b, const char *fmt, ...)
++{
++ if (__builtin_object_size (a, 0) != -1UL && __builtin_object_size (a, 0) < b)
++ __chk_fail ();
++ return __builtin_snprintf (a, b, fmt, __builtin_va_arg_pack ());
++}
++extern int snprintf (char *, size_t, const char *, ...) __asm ("mysnprintf");
++
++char buf[10];
++
++int
++main (void)
++{
++ snprintf (buf, 10, "%d%d\n", 10, 10);
++ return 0;
++}
++
++/* { dg-final { scan-assembler "mysnprintf" } } */
++/* { dg-final { scan-assembler-not "__chk_fail" } } */
+--- gcc/testsuite/g++.dg/ext/builtin10.C.jj	2007年10月02日 11:19:45.000000000 +0200
++++ gcc/testsuite/g++.dg/ext/builtin10.C	2007年10月02日 11:23:26.000000000 +0200
+@@ -0,0 +1,27 @@
++// { dg-do compile }
++// { dg-options "-O2" }
++
++typedef __SIZE_TYPE__ size_t;
++extern "C" {
++extern void __chk_fail (void);
++extern int snprintf (char *, size_t, const char *, ...);
++extern inline __attribute__((gnu_inline, always_inline)) int snprintf (char *a, size_t b, const char *fmt, ...)
++{
++ if (__builtin_object_size (a, 0) != -1UL && __builtin_object_size (a, 0) < b)
++ __chk_fail ();
++ return __builtin_snprintf (a, b, fmt, __builtin_va_arg_pack ());
++}
++extern int snprintf (char *, size_t, const char *, ...) __asm ("mysnprintf");
++}
++
++char buf[10];
++
++int
++main (void)
++{
++ snprintf (buf, 10, "%d%d\n", 10, 10);
++ return 0;
++}
++
++// { dg-final { scan-assembler "mysnprintf" } }
++// { dg-final { scan-assembler-not "__chk_fail" } }
Added: trunk/spec_files/rpms/patches/gcc45-libgomp-omp_h-multilib.patch
===================================================================
--- trunk/spec_files/rpms/patches/gcc45-libgomp-omp_h-multilib.patch	 (rev 0)
+++ trunk/spec_files/rpms/patches/gcc45-libgomp-omp_h-multilib.patch	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,17 @@
+2008年06月09日 Jakub Jelinek <ja...@re...>
+
+	* omp.h.in (omp_nest_lock_t): Fix up for Linux multilibs.
+
+--- libgomp/omp.h.in.jj	2008年06月09日 13:34:05.000000000 +0200
++++ libgomp/omp.h.in	2008年06月09日 13:34:48.000000000 +0200
+@@ -42,8 +42,8 @@ typedef struct
+ 
+ typedef struct
+ {
+- unsigned char _x[@OMP_NEST_LOCK_SIZE@] 
+- __attribute__((__aligned__(@OMP_NEST_LOCK_ALIGN@)));
++ unsigned char _x[8 + sizeof (void *)] 
++ __attribute__((__aligned__(sizeof (void *))));
+ } omp_nest_lock_t;
+ #endif
+ 
Added: trunk/spec_files/rpms/patches/gcc45-libstdc++-docs.patch
===================================================================
--- trunk/spec_files/rpms/patches/gcc45-libstdc++-docs.patch	 (rev 0)
+++ trunk/spec_files/rpms/patches/gcc45-libstdc++-docs.patch	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,47 @@
+--- libstdc++-v3/doc/html/index.html.jj	2010年06月30日 09:48:38.000000000 +0200
++++ libstdc++-v3/doc/html/index.html	2010年07月01日 16:22:25.066491878 +0200
+@@ -12,7 +12,8 @@
+ <div>
+ <h1>The GNU C++ Library Documentation</h1>
+ 
+-<p>Copyright 2008, 2009 FSF</p>
++<p>Release 4.5.0</p>
++<p>Copyright 2008, 2009, 2010 FSF</p>
+ 
+ <p>
+ Permission is granted to copy, distribute and/or modify this
+--- libstdc++-v3/doc/html/api.html.jj	2010年06月30日 09:48:38.000000000 +0200
++++ libstdc++-v3/doc/html/api.html	2010年07月01日 16:24:39.158429410 +0200
+@@ -17,27 +17,12 @@ useful for examining the signatures of p
+ the library classes, finding out what is in a particular include
+ file, looking at inheritance diagrams, etc.
+ </p><p>
+-The source-level documentation for the most recent releases can be
+-viewed online:
+-</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>
+- <a class="ulink" href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.4/index.html" target="_top">for the 3.4 release
++The source-level documentation can be viewed here:
++</p>
++<div class="itemizedlist"><ul type="disc">
++ <li><p>
++ <a class="ulink" href="api/index.html" target="_top">for the 4.5 release
+ </a>
+- </p></li><li class="listitem"><p>
+- <a class="ulink" href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.1/index.html" target="_top">for the 4.1 release
+- </a>
+- </p></li><li class="listitem"><p>
+- <a class="ulink" href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.2/index.html" target="_top">for the 4.2 release
+- </a>
+- </p></li><li class="listitem"><p>
+- <a class="ulink" href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.3/index.html" target="_top">for the 4.3 release
+- </a>
+- </p></li><li class="listitem"><p>
+- <a class="ulink" href="http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-4.4/index.html" target="_top">for the 4.4 release
+- </a>
+- </p></li><li class="listitem"><p>
+- <a class="ulink" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/index.html" target="_top">"the latest collection"
+- </a>
+- (For the main development tree; see the date on the first page.)
+ </p></li></ul></div><p>
+ This generated HTML collection, as above, is also available for download in the libstdc++ snapshots directory at
+ <code class="literal">&lt;URL:ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/&gt;</code>.
Added: trunk/spec_files/rpms/patches/gcc45-pr33763.patch
===================================================================
--- trunk/spec_files/rpms/patches/gcc45-pr33763.patch	 (rev 0)
+++ trunk/spec_files/rpms/patches/gcc45-pr33763.patch	2011年01月23日 07:18:39 UTC (rev 414)
@@ -0,0 +1,153 @@
+2007年11月06日 Jakub Jelinek <ja...@re...>
+
+	PR tree-optimization/33763
+	* gcc.dg/pr33763.c: New test.
+	* g++.dg/opt/inline13.C: New test.
+
+2007年11月06日 Jan Hubicka <jh...@su...>
+
+	PR tree-optimization/33763
+	* tree-inline.c (expand_call_inline): Silently ignore always_inline
+	attribute for redefined extern inline functions.
+
+--- gcc/tree-inline.c.jj	2007年11月06日 09:29:04.000000000 +0100
++++ gcc/tree-inline.c	2007年11月06日 16:19:12.000000000 +0100
+@@ -3157,6 +3157,12 @@ expand_call_inline (basic_block bb, gimp
+ 	goto egress;
+ 
+ if (lookup_attribute ("always_inline", DECL_ATTRIBUTES (fn))
++	/* For extern inline functions that get redefined we always
++	 silently ignored alway_inline flag. Better behaviour would
++	 be to be able to keep both bodies and use extern inline body
++	 for inlining, but we can't do that because frontends overwrite
++	 the body. */
++	 && !cg_edge->callee->local.redefined_extern_inline
+ 	 /* Avoid warnings during early inline pass. */
+ 	 && cgraph_global_info_ready)
+ 	{
+--- gcc/testsuite/gcc.dg/pr33763.c.jj	2007年11月06日 16:19:12.000000000 +0100
++++ gcc/testsuite/gcc.dg/pr33763.c	2007年11月06日 16:19:12.000000000 +0100
+@@ -0,0 +1,60 @@
++/* PR tree-optimization/33763 */
++/* { dg-do compile } */
++/* { dg-options "-O2" } */
++
++typedef struct
++{
++ void *a;
++ void *b;
++} T;
++extern void *foo (const char *, const char *);
++extern void *bar (void *, const char *, T);
++extern int baz (const char *, int);
++
++extern inline __attribute__ ((always_inline, gnu_inline)) int
++baz (const char *x, int y)
++{
++ return 2;
++}
++
++int
++baz (const char *x, int y)
++{
++ return 1;
++}
++
++int xa, xb;
++
++static void *
++inl (const char *x, const char *y)
++{
++ T t = { &xa, &xb };
++ int *f = (int *) __builtin_malloc (sizeof (int));
++ const char *z;
++ int o = 0;
++ void *r = 0;
++
++ for (z = y; *z; z++)
++ {
++ if (*z == 'r')
++	o |= 1;
++ if (*z == 'w')
++	o |= 2;
++ }
++ if (o == 1)
++ *f = baz (x, 0);
++ if (o == 2)
++ *f = baz (x, 1);
++ if (o == 3)
++ *f = baz (x, 2);
++
++ if (o && *f > 0)
++ r = bar (f, "w", t);
++ return r;
++}
++
++void *
++foo (const char *x, const char *y)
++{
++ return inl (x, y);
+...
 
[truncated message content]
From: belenix-notify <bel...@li...> - 2010年01月31日 06:34:37
Revision: 413
 http://belenix.svn.sourceforge.net/belenix/?rev=413&view=rev
Author: moinakg
Date: 2010年01月31日 06:34:31 +0000 (2010年1月31日)
Log Message:
-----------
* Initial description.
Added Paths:
-----------
 trunk/misc/libtaskq/README
Added: trunk/misc/libtaskq/README
===================================================================
--- trunk/misc/libtaskq/README	 (rev 0)
+++ trunk/misc/libtaskq/README	2010年01月31日 06:34:31 UTC (rev 413)
@@ -0,0 +1,455 @@
+
+The libtaskq library intends to provide a userland implementation of the
+Task Queue facility from the OpenSolaris kernel. Task Queues are used
+extensively in the OpenSolaris kernel and provides a flexible framework
+for thread management with a simple interface. It is somewhat similar to
+Dispatch Queues from Apple's Grand Central Dispatch, but is more flexible.
+
+For now the full description of the Task Queue framework is reproduced from
+the OpenSolaris kernel documentation below. Note that the current userland
+implementation does not cover every feature described below and some of the
+semantics in the description below may be relevant only in a kernel context.
+This description will be updated in due course.
+============================================================================
+/*
+ * Kernel task queues: general-purpose asynchronous task scheduling.
+ *
+ * A common problem in kernel programming is the need to schedule tasks
+ * to be performed later, by another thread. There are several reasons
+ * you may want or need to do this:
+ *
+ * (1) The task isn't time-critical, but your current code path is.
+ *
+ * (2) The task may require grabbing locks that you already hold.
+ *
+ * (3) The task may need to block (e.g. to wait for memory), but you
+ * cannot block in your current context.
+ *
+ * (4) Your code path can't complete because of some condition, but you can't
+ * sleep or fail, so you queue the task for later execution when condition
+ * disappears.
+ *
+ * (5) You just want a simple way to launch multiple tasks in parallel.
+ *
+ * Task queues provide such a facility. In its simplest form (used when
+ * performance is not a critical consideration) a task queue consists of a
+ * single list of tasks, together with one or more threads to service the
+ * list. There are some cases when this simple queue is not sufficient:
+ *
+ * (1) The task queues are very hot and there is a need to avoid data and lock
+ *	contention over global resources.
+ *
+ * (2) Some tasks may depend on other tasks to complete, so they can't be put in
+ *	the same list managed by the same thread.
+ *
+ * (3) Some tasks may block for a long time, and this should not block other
+ *	tasks in the queue.
+ *
+ * To provide useful service in such cases we define a "dynamic task queue"
+ * which has an individual thread for each of the tasks. These threads are
+ * dynamically created as they are needed and destroyed when they are not in
+ * use. The API for managing task pools is the same as for managing task queues
+ * with the exception of a taskq creation flag TASKQ_DYNAMIC which tells that
+ * dynamic task pool behavior is desired.
+ *
+ * Dynamic task queues may also place tasks in the normal queue (called "backing
+ * queue") when task pool runs out of resources. Users of task queues may
+ * disallow such queued scheduling by specifying TQ_NOQUEUE in the dispatch
+ * flags.
+ *
+ * The backing task queue is also used for scheduling internal tasks needed for
+ * dynamic task queue maintenance.
+ *
+ * INTERFACES ==================================================================
+ *
+ * taskq_t *taskq_create(name, nthreads, pri, minalloc, maxall, flags);
+ *
+ *	Create a taskq with specified properties.
+ *	Possible 'flags':
+ *
+ *	 TASKQ_DYNAMIC: Create task pool for task management. If this flag is
+ *		specified, 'nthreads' specifies the maximum number of threads in
+ *		the task queue. Task execution order for dynamic task queues is
+ *		not predictable.
+ *
+ *		If this flag is not specified (default case) a
+ *		single-list task queue is created with 'nthreads' threads
+ *		servicing it. Entries in this queue are managed by
+ *		taskq_ent_alloc() and taskq_ent_free() which try to keep the
+ *		task population between 'minalloc' and 'maxalloc', but the
+ *		latter limit is only advisory for TQ_SLEEP dispatches and the
+ *		former limit is only advisory for TQ_NOALLOC dispatches. If
+ *		TASKQ_PREPOPULATE is set in 'flags', the taskq will be
+ *		prepopulated with 'minalloc' task structures.
+ *
+ *		Since non-DYNAMIC taskqs are queues, tasks are guaranteed to be
+ *		executed in the order they are scheduled if nthreads == 1.
+ *		If nthreads > 1, task execution order is not predictable.
+ *
+ *	 TASKQ_PREPOPULATE: Prepopulate task queue with threads.
+ *		Also prepopulate the task queue with 'minalloc' task structures.
+ *
+ *	 TASKQ_THREADS_CPU_PCT: This flag specifies that 'nthreads' should be
+ *		interpreted as a percentage of the # of online CPUs on the
+ *		system. The taskq subsystem will automatically adjust the
+ *		number of threads in the taskq in response to CPU online
+ *		and offline events, to keep the ratio. nthreads must be in
+ *		the range [0,100].
+ *
+ *		The calculation used is:
+ *
+ *			MAX((ncpus_online * percentage)/100, 1)
+ *
+ *		This flag is not supported for DYNAMIC task queues.
+ *		This flag is not compatible with TASKQ_CPR_SAFE.
+ *
+ *	 TASKQ_CPR_SAFE: This flag specifies that users of the task queue will
+ *		use their own protocol for handling CPR issues. This flag is not
+ *		supported for DYNAMIC task queues. This flag is not compatible
+ *		with TASKQ_THREADS_CPU_PCT.
+ *
+ *	The 'pri' field specifies the default priority for the threads that
+ *	service all scheduled tasks.
+ *
+ * taskq_t *taskq_create_instance(name, instance, nthreads, pri, minalloc,
+ * maxall, flags);
+ *
+ *	Like taskq_create(), but takes an instance number (or -1 to indicate
+ *	no instance).
+ *
+ * taskq_t *taskq_create_proc(name, nthreads, pri, minalloc, maxall, proc,
+ * flags);
+ *
+ *	Like taskq_create(), but creates the taskq threads in the specified
+ *	system process. If proc != &p0, this must be called from a thread
+ *	in that process.
+ *
+ * taskq_t *taskq_create_sysdc(name, nthreads, minalloc, maxall, proc,
+ * dc, flags);
+ *
+ *	Like taskq_create_proc(), but the taskq threads will use the
+ *	System Duty Cycle (SDC) scheduling class with a duty cycle of dc.
+ *
+ * void taskq_destroy(tap):
+ *
+ *	Waits for any scheduled tasks to complete, then destroys the taskq.
+ *	Caller should guarantee that no new tasks are scheduled in the closing
+ *	taskq.
+ *
+ * taskqid_t taskq_dispatch(tq, func, arg, flags):
+ *
+ *	Dispatches the task "func(arg)" to taskq. The 'flags' indicates whether
+ *	the caller is willing to block for memory. The function returns an
+ *	opaque value which is zero iff dispatch fails. If flags is TQ_NOSLEEP
+ *	or TQ_NOALLOC and the task can't be dispatched, taskq_dispatch() fails
+ *	and returns (taskqid_t)0.
+ *
+ *	ASSUMES: func != NULL.
+ *
+ *	Possible flags:
+ *	 TQ_NOSLEEP: Do not wait for resources; may fail.
+ *
+ *	 TQ_NOALLOC: Do not allocate memory; may fail. May only be used with
+ *		non-dynamic task queues.
+ *
+ *	 TQ_NOQUEUE: Do not enqueue a task if it can't dispatch it due to
+ *		lack of available resources and fail. If this flag is not
+ *		set, and the task pool is exhausted, the task may be scheduled
+ *		in the backing queue. This flag may ONLY be used with dynamic
+ *		task queues.
+ *
+ *		NOTE: This flag should always be used when a task queue is used
+ *		for tasks that may depend on each other for completion.
+ *		Enqueueing dependent tasks may create deadlocks.
+ *
+ *	 TQ_SLEEP: May block waiting for resources. May still fail for
+ *		dynamic task queues if TQ_NOQUEUE is also specified, otherwise
+ *		always succeed.
+ *
+ *	 TQ_FRONT: Puts the new task at the front of the queue. Be careful.
+ *
+ *	NOTE: Dynamic task queues are much more likely to fail in
+ *		taskq_dispatch() (especially if TQ_NOQUEUE was specified), so it
+ *		is important to have backup strategies handling such failures.
+ *
+ * void taskq_wait(tq):
+ *
+ *	Waits for all previously scheduled tasks to complete.
+ *
+ *	NOTE: It does not stop any new task dispatches.
+ *	 Do NOT call taskq_wait() from a task: it will cause deadlock.
+ *
+ * void taskq_suspend(tq)
+ *
+ *	Suspend all task execution. Tasks already scheduled for a dynamic task
+ *	queue will still be executed, but all new scheduled tasks will be
+ *	suspended until taskq_resume() is called.
+ *
+ * int taskq_suspended(tq)
+ *
+ *	Returns 1 if taskq is suspended and 0 otherwise. It is intended to
+ *	ASSERT that the task queue is suspended.
+ *
+ * void taskq_resume(tq)
+ *
+ *	Resume task queue execution.
+ *
+ * int taskq_member(tq, thread)
+ *
+ *	Returns 1 if 'thread' belongs to taskq 'tq' and 0 otherwise. The
+ *	intended use is to ASSERT that a given function is called in taskq
+ *	context only.
+ *
+ * system_taskq
+ *
+ *	Global system-wide dynamic task queue for common uses. It may be used by
+ *	any subsystem that needs to schedule tasks and does not need to manage
+ *	its own task queues. It is initialized quite early during system boot.
+ *
+ * IMPLEMENTATION ==============================================================
+ *
+ * This is schematic representation of the task queue structures.
+ *
+ * taskq:
+ * +-------------+
+ * | tq_lock | +---< taskq_ent_free()
+ * +-------------+ |
+ * |... | | tqent: tqent:
+ * +-------------+ | +------------+ +------------+
+ * | tq_freelist |-->| tqent_next |--> ... ->| tqent_next |
+ * +-------------+ +------------+ +------------+
+ * |... | | ... | | ... |
+ * +-------------+ +------------+ +------------+
+ * | tq_task | |
+ * | | +-------------->taskq_ent_alloc()
+ * +--------------------------------------------------------------------------+
+ * | | | tqent tqent |
+ * | +---------------------+ +--> +------------+ +--> +------------+ |
+ * | | ...		 | | | func, arg | | | func, arg | |
+ * +>+---------------------+ <---|-+ +------------+ <---|-+ +------------+ |
+ * | tq_taskq.tqent_next | ----+ | | tqent_next | --->+ | | tqent_next |--+
+ * +---------------------+	 | +------------+ ^ | +------------+
+ * +-| tq_task.tqent_prev |	 +--| tqent_prev | | +--| tqent_prev | ^
+ * | +---------------------+	 +------------+ | +------------+ |
+ * | |...		 |	 | ... | | | ... | |
+ * | +---------------------+	 +------------+ | +------------+ |
+ * | ^ | |
+ * | | | |
+ * +--------------------------------------+--------------+ TQ_APPEND() -+
+ * | | |
+ * |... | taskq_thread()-----+
+ * +-------------+
+ * | tq_buckets |--+-------> [ NULL ] (for regular task queues)
+ * +-------------+ |
+ * | DYNAMIC TASK QUEUES:
+ * |
+ * +-> taskq_bucket[nCPU]		taskq_bucket_dispatch()
+ * +-------------------+ ^
+ * +--->| tqbucket_lock | |
+ * | +-------------------+ +--------+ +--------+
+ * | | tqbucket_freelist |-->| tqent |-->...| tqent | ^
+ * | +-------------------+<--+--------+<--...+--------+ |
+ * | | ... | | thread | | thread | |
+ * | +-------------------+ +--------+ +--------+ |
+ * | +-------------------+ |
+ * taskq_dispatch()--+--->| tqbucket_lock | TQ_APPEND()------+
+ * TQ_HASH() | +-------------------+ +--------+ +--------+
+ * | | tqbucket_freelist |-->| tqent |-->...| tqent |
+ * | +-------------------+<--+--------+<--...+--------+
+ * | | ... | | thread | | thread |
+ * | +-------------------+ +--------+ +--------+
+ *		 +--->	...
+ *
+ *
+ * Task queues use tq_task field to link new entry in the queue. The queue is a
+ * circular doubly-linked list. Entries are put in the end of the list with
+ * TQ_APPEND() and processed from the front of the list by taskq_thread() in
+ * FIFO order. Task queue entries are cached in the free list managed by
+ * taskq_ent_alloc() and taskq_ent_free() functions.
+ *
+ *	All threads used by task queues mark t_taskq field of the thread to
+ *	point to the task queue.
+ *
+ * Taskq Thread Management -----------------------------------------------------
+ *
+ * Taskq's non-dynamic threads are managed with several variables and flags:
+ *
+ *	* tq_nthreads	- The number of threads in taskq_thread() for the
+ *			 taskq.
+ *
+ *	* tq_active	- The number of threads not waiting on a CV in
+ *			 taskq_thread(); includes newly created threads
+ *			 not yet counted in tq_nthreads.
+ *
+ *	* tq_nthreads_target
+ *			- The number of threads desired for the taskq.
+ *
+ *	* tq_flags & TASKQ_CHANGING
+ *			- Indicates that tq_nthreads != tq_nthreads_target.
+ *
+ *	* tq_flags & TASKQ_THREAD_CREATED
+ *			- Indicates that a thread is being created in the taskq.
+ *
+ * During creation, tq_nthreads and tq_active are set to 0, and
+ * tq_nthreads_target is set to the number of threads desired. The
+ * TASKQ_CHANGING flag is set, and taskq_thread_create() is called to
+ * create the first thread. taskq_thread_create() increments tq_active,
+ * sets TASKQ_THREAD_CREATED, and creates the new thread.
+ *
+ * Each thread starts in taskq_thread(), clears the TASKQ_THREAD_CREATED
+ * flag, and increments tq_nthreads. It stores the new value of
+ * tq_nthreads as its "thread_id", and stores its thread pointer in the
+ * tq_threadlist at the (thread_id - 1). We keep the thread_id space
+ * densely packed by requiring that only the largest thread_id can exit during
+ * normal adjustment. The exception is during the destruction of the
+ * taskq; once tq_nthreads_target is set to zero, no new threads will be created
+ * for the taskq queue, so every thread can exit without any ordering being
+ * necessary.
+ *
+ * Threads will only process work if their thread id is <= tq_nthreads_target.
+ *
+ * When TASKQ_CHANGING is set, threads will check the current thread target
+ * whenever they wake up, and do whatever they can to apply its effects.
+ *
+ * TASKQ_THREAD_CPU_PCT --------------------------------------------------------
+ *
+ * When a taskq is created with TASKQ_THREAD_CPU_PCT, we store their requested
+ * percentage in tq_threads_ncpus_pct, start them off with the correct thread
+ * target, and add them to the taskq_cpupct_list for later adjustment.
+ *
+ * We register taskq_cpu_setup() to be called whenever a CPU changes state. It
+ * walks the list of TASKQ_THREAD_CPU_PCT taskqs, adjusts their nthread_target
+ * if need be, and wakes up all of the threads to process the change.
+ *
+ * Dynamic Task Queues Implementation ------------------------------------------
+ *
+ * For a dynamic task queues there is a 1-to-1 mapping between a thread and
+ * taskq_ent_structure. Each entry is serviced by its own thread and each thread
+ * is controlled by a single entry.
+ *
+ * Entries are distributed over a set of buckets. To avoid using modulo
+ * arithmetics the number of buckets is 2^n and is determined as the nearest
+ * power of two roundown of the number of CPUs in the system. Tunable
+ * variable 'taskq_maxbuckets' limits the maximum number of buckets. Each entry
+ * is attached to a bucket for its lifetime and can't migrate to other buckets.
+ *
+ * Entries that have scheduled tasks are not placed in any list. The dispatch
+ * function sets their "func" and "arg" fields and signals the corresponding
+ * thread to execute the task. Once the thread executes the task it clears the
+ * "func" field and places an entry on the bucket cache of free entries pointed
+ * by "tqbucket_freelist" field. ALL entries on the free list should have "func"
+ * field equal to NULL. The free list is a circular doubly-linked list identical
+ * in structure to the tq_task list above, but entries are taken from it in LIFO
+ * order - the last freed entry is the first to be allocated. The
+ * taskq_bucket_dispatch() function gets the most recently used entry from the
+ * free list, sets its "func" and "arg" fields and signals a worker thread.
+ *
+ * After executing each task a per-entry thread taskq_d_thread() places its
+ * entry on the bucket free list and goes to a timed sleep. If it wakes up
+ * without getting new task it removes the entry from the free list and destroys
+ * itself. The thread sleep time is controlled by a tunable variable
+ * `taskq_thread_timeout'.
+ *
+ * There are various statistics kept in the bucket which allows for later
+ * analysis of taskq usage patterns. Also, a global copy of taskq creation and
+ * death statistics is kept in the global taskq data structure. Since thread
+ * creation and death happen rarely, updating such global data does not present
+ * a performance problem.
+ *
+ * NOTE: Threads are not bound to any CPU and there is absolutely no association
+ * between the bucket and actual thread CPU, so buckets are used only to
+ *	 split resources and reduce resource contention. Having threads attached
+ *	 to the CPU denoted by a bucket may reduce number of times the job
+ *	 switches between CPUs.
+ *
+ *	 Current algorithm creates a thread whenever a bucket has no free
+ *	 entries. It would be nice to know how many threads are in the running
+ *	 state and don't create threads if all CPUs are busy with existing
+ *	 tasks, but it is unclear how such strategy can be implemented.
+ *
+ *	 Currently buckets are created statically as an array attached to task
+ *	 queue. On some system with nCPUs < max_ncpus it may waste system
+ *	 memory. One solution may be allocation of buckets when they are first
+ *	 touched, but it is not clear how useful it is.
+ *
+ * SUSPEND/RESUME implementation -----------------------------------------------
+ *
+ *	Before executing a task taskq_thread() (executing non-dynamic task
+ *	queues) obtains taskq's thread lock as a reader. The taskq_suspend()
+ *	function gets the same lock as a writer blocking all non-dynamic task
+ *	execution. The taskq_resume() function releases the lock allowing
+ *	taskq_thread to continue execution.
+ *
+ *	For dynamic task queues, each bucket is marked as TQBUCKET_SUSPEND by
+ *	taskq_suspend() function. After that taskq_bucket_dispatch() always
+ *	fails, so that taskq_dispatch() will either enqueue tasks for a
+ *	suspended backing queue or fail if TQ_NOQUEUE is specified in dispatch
+ *	flags.
+ *
+ *	NOTE: taskq_suspend() does not immediately block any tasks already
+ *	 scheduled for dynamic task queues. It only suspends new tasks
+ *	 scheduled after taskq_suspend() was called.
+ *
+ *	taskq_member() function works by comparing a thread t_taskq pointer with
+ *	the passed thread pointer.
+ *
+ * LOCKS and LOCK Hierarchy ----------------------------------------------------
+ *
+ * There are three locks used in task queues:
+ *
+ * 1) The taskq_t's tq_lock, protecting global task queue state.
+ *
+ * 2) Each per-CPU bucket has a lock for bucket management.
+ *
+ * 3) The global taskq_cpupct_lock, which protects the list of
+ * TASKQ_THREADS_CPU_PCT taskqs.
+ *
+ * If both (1) and (2) are needed, tq_lock should be taken *after* the bucket
+ * lock.
+ *
+ * If both (1) and (3) are needed, tq_lock should be taken *after*
+ * taskq_cpupct_lock.
+ *
+ * DEBUG FACILITIES ------------------------------------------------------------
+ *
+ * For DEBUG kernels it is possible to induce random failures to
+ * taskq_dispatch() function when it is given TQ_NOSLEEP argument. The value of
+ * taskq_dmtbf and taskq_smtbf tunables control the mean time between induced
+ * failures for dynamic and static task queues respectively.
+ *
+ * Setting TASKQ_STATISTIC to 0 will disable per-bucket statistics.
+ *
+ * TUNABLES --------------------------------------------------------------------
+ *
+ *	system_taskq_size	- Size of the global system_taskq.
+ *				 This value is multiplied by nCPUs to determine
+ *				 actual size.
+ *				 Default value: 64
+ *
+ *	taskq_minimum_nthreads_max
+ *				- Minimum size of the thread list for a taskq.
+ *				 Useful for testing different thread pool
+ *				 sizes by overwriting tq_nthreads_target.
+ *
+ *	taskq_thread_timeout	- Maximum idle time for taskq_d_thread()
+ *				 Default value: 5 minutes
+ *
+ *	taskq_maxbuckets	- Maximum number of buckets in any task queue
+ *				 Default value: 128
+ *
+ *	taskq_search_depth	- Maximum # of buckets searched for a free entry
+ *				 Default value: 4
+ *
+ *	taskq_dmtbf		- Mean time between induced dispatch failures
+ *				 for dynamic task queues.
+ *				 Default value: UINT_MAX (no induced failures)
+ *
+ *	taskq_smtbf		- Mean time between induced dispatch failures
+ *				 for static task queues.
+ *				 Default value: UINT_MAX (no induced failures)
+ *
+ * CONDITIONAL compilation -----------------------------------------------------
+ *
+ * TASKQ_STATISTIC	- If set will enable bucket statistic (default).
+ *
+ */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2010年01月31日 05:57:55
Revision: 412
 http://belenix.svn.sourceforge.net/belenix/?rev=412&view=rev
Author: moinakg
Date: 2010年01月31日 05:57:49 +0000 (2010年1月31日)
Log Message:
-----------
* Use SUN Studio
Modified Paths:
--------------
 trunk/misc/libtaskq/Makefile
Modified: trunk/misc/libtaskq/Makefile
===================================================================
--- trunk/misc/libtaskq/Makefile	2010年01月30日 18:18:35 UTC (rev 411)
+++ trunk/misc/libtaskq/Makefile	2010年01月31日 05:57:49 UTC (rev 412)
@@ -27,12 +27,12 @@
 
 objs = taskq.o kernel.o
 mcp_objs = mcp.o
-CFLAGS = -D_FILE_OFFSET_BITS=64 -std=c99 -D__EXTENSIONS__ -fPIC -DPIC -I.
-LDFLAGS = -lthread -lumem -L /usr/gnu/lib -R /usr/gnu/lib
+CFLAGS = -D_FILE_OFFSET_BITS=64 -xc99=%all -D__EXTENSIONS__ -fPIC -DPIC -I.
+LDFLAGS = -lthread -lumem 
 INC = 
-CC = gcc
-SHLIB_FLAGS = -shared
-MCP_LDFLAGS = -L. -R. -ltaskq -L /usr/gnu/lib -R /usr/gnu/lib
+CC = /opt/SUNWspro/bin/cc
+SHLIB_FLAGS = -G
+MCP_LDFLAGS = -L. -R. -ltaskq
 
 # Uncomment this for debugging information in the files
 DEBUG = -g
@@ -64,5 +64,5 @@
 	@chmod 0755 $(DESTDIR)/usr/lib/libtaskq.so.1
 	@ln -s $(DESTDIR)/usr/lib/libtaskq.so libtaskq.so.1
 	@cp libtaskq.h $(DESTDIR)/usr/include
- @cp libtaskq_defs.h $(DESTDIR)/usr/include
+	@cp libtaskq_defs.h $(DESTDIR)/usr/include
 	@chmod 0444 $(DESTDIR)/usr/include/libtaskq*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2010年01月30日 18:18:42
Revision: 411
 http://belenix.svn.sourceforge.net/belenix/?rev=411&view=rev
Author: moinakg
Date: 2010年01月30日 18:18:35 +0000 (2010年1月30日)
Log Message:
-----------
* Fix install target.
Modified Paths:
--------------
 trunk/misc/libtaskq/Makefile
Modified: trunk/misc/libtaskq/Makefile
===================================================================
--- trunk/misc/libtaskq/Makefile	2010年01月30日 17:44:32 UTC (rev 410)
+++ trunk/misc/libtaskq/Makefile	2010年01月30日 18:18:35 UTC (rev 411)
@@ -60,6 +60,9 @@
 
 install:
 	@mkdir -p $(DESTDIR)/usr/lib
-	@cp btaskq.so.1 $(DESTDIR)/usr/lib
+	@cp libtaskq.so.1 $(DESTDIR)/usr/lib
 	@chmod 0755 $(DESTDIR)/usr/lib/libtaskq.so.1
 	@ln -s $(DESTDIR)/usr/lib/libtaskq.so libtaskq.so.1
+	@cp libtaskq.h $(DESTDIR)/usr/include
+ @cp libtaskq_defs.h $(DESTDIR)/usr/include
+	@chmod 0444 $(DESTDIR)/usr/include/libtaskq*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2010年01月30日 17:44:45
Revision: 410
 http://belenix.svn.sourceforge.net/belenix/?rev=410&view=rev
Author: moinakg
Date: 2010年01月30日 17:44:32 +0000 (2010年1月30日)
Log Message:
-----------
* Refactor common defines into new header.
* Add new header for external programs.
* Add example multithreaded cp program.
Modified Paths:
--------------
 trunk/misc/libtaskq/Makefile
 trunk/misc/libtaskq/taskq.c
 trunk/misc/libtaskq/taskq.h
Added Paths:
-----------
 trunk/misc/libtaskq/libtaskq.h
 trunk/misc/libtaskq/libtaskq_defs.h
 trunk/misc/libtaskq/mcp.c
Modified: trunk/misc/libtaskq/Makefile
===================================================================
--- trunk/misc/libtaskq/Makefile	2009年12月09日 17:18:22 UTC (rev 409)
+++ trunk/misc/libtaskq/Makefile	2010年01月30日 17:44:32 UTC (rev 410)
@@ -26,26 +26,37 @@
 #
 
 objs = taskq.o kernel.o
-CFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c99 -D__EXTENSIONS__ -fPIC -DPIC
-LDFLAGS = -lthread -lumem
+mcp_objs = mcp.o
+CFLAGS = -D_FILE_OFFSET_BITS=64 -std=c99 -D__EXTENSIONS__ -fPIC -DPIC -I.
+LDFLAGS = -lthread -lumem -L /usr/gnu/lib -R /usr/gnu/lib
 INC = 
+CC = gcc
+SHLIB_FLAGS = -shared
+MCP_LDFLAGS = -L. -R. -ltaskq -L /usr/gnu/lib -R /usr/gnu/lib
 
 # Uncomment this for debugging information in the files
 DEBUG = -g
 
-all: libtaskq.so.1
+all: libtaskq.so.1 mcp
 
 libtaskq.so.1: $(objs)
 	@echo Linking
-	@gcc -shared $(DEBUG) $(CFLAGS) $(LDFLAGS) $(objs) -o libtaskq.so.1
+	$(CC) $(SHLIB_FLAGS) $(DEBUG) $(CFLAGS) $(LDFLAGS) $(objs) -o libtaskq.so.1
+	ln -sf libtaskq.so.1 libtaskq.so
 
 .c.o:
 	@echo Compiling $<
-	@gcc -c $< $(DEBUG) $(INC) $(CFLAGS)
+	$(CC) -c $< $(DEBUG) $(INC) $(CFLAGS)
 
+mcp: libtaskq.so.1 $(mcp_objs)
+	@echo Linking mcp
+	$(CC) $(DEBUG) $(CFLAGS) $(MCP_LDFLAGS) $(mcp_objs) -o mcp
+
 clean:
 	@rm -f *.o
 	@rm -f libtaskq.so.1
+	@rm -f libtaskq.so
+	@rm -f mcp
 
 install:
 	@mkdir -p $(DESTDIR)/usr/lib
Added: trunk/misc/libtaskq/libtaskq.h
===================================================================
--- trunk/misc/libtaskq/libtaskq.h	 (rev 0)
+++ trunk/misc/libtaskq/libtaskq.h	2010年01月30日 17:44:32 UTC (rev 410)
@@ -0,0 +1,50 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
+ *
+ * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ * or http://www.opensolaris.org/os/licensing.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ * If applicable, add the following below this CDDL HEADER, with the
+ * fields enclosed by brackets "[]" replaced with your own identifying
+ * information: Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ */
+
+/*
+ * Copyright 2010 Moinak Ghosh.
+ */
+
+#ifndef _LIBTASKQ_H
+#define _LIBTASKQ_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <libtaskq_defs.h>
+
+/*
+ * Externally visible task queue interfaces.
+ */
+extern taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t);
+extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t);
+extern void taskq_destroy(taskq_t *);
+extern void taskq_wait(taskq_t *);
+extern int taskq_member(taskq_t *, void *);
+extern void system_taskq_init(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _LIBTASKQ_H */
+
Added: trunk/misc/libtaskq/libtaskq_defs.h
===================================================================
--- trunk/misc/libtaskq/libtaskq_defs.h	 (rev 0)
+++ trunk/misc/libtaskq/libtaskq_defs.h	2010年01月30日 17:44:32 UTC (rev 410)
@@ -0,0 +1,58 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
+ *
+ * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ * or http://www.opensolaris.org/os/licensing.
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+ * If applicable, add the following below this CDDL HEADER, with the
+ * fields enclosed by brackets "[]" replaced with your own identifying
+ * information: Portions Copyright [yyyy] [name of copyright owner]
+ *
+ * CDDL HEADER END
+ */
+
+/*
+ * Copyright 2010 Moinak Ghosh.
+ */
+
+#ifndef _LIBTASKQ_DEFS_H
+#define _LIBTASKQ_DEFS_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Externally visible task queue interfaces.
+ */
+typedef struct taskq taskq_t;
+typedef uintptr_t taskqid_t;
+typedef void (task_func_t)(void *);
+
+#define minclsyspri	60
+#define maxclsyspri	99
+
+extern taskq_t *system_taskq;
+
+#define TASKQ_PREPOPULATE	0x0001
+#define TASKQ_CPR_SAFE		0x0002	/* Use CPR safe protocol */
+#define TASKQ_DYNAMIC		0x0004	/* Use dynamic thread scheduling */
+
+#define TQ_SLEEP	0x0		/* Can block for memory */
+#define TQ_NOSLEEP	0x01		/* cannot block for memory; may fail */
+#define TQ_NOQUEUE	0x02		/* Do not enqueue if can't dispatch */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _LIBTASKQ_DEFS_H */
+
Added: trunk/misc/libtaskq/mcp.c
===================================================================
--- trunk/misc/libtaskq/mcp.c	 (rev 0)
+++ trunk/misc/libtaskq/mcp.c	2010年01月30日 17:44:32 UTC (rev 410)
@@ -0,0 +1,193 @@
+#include <sys/stat.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <locale.h>
+#include <string.h>
+#include <strings.h>
+#include <errno.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <math.h>
+#include <libtaskq.h>
+
+/* Copy in units of 256K */
+#define SEGSIZE 262144
+
+struct cp_args {
+	char *fromf;
+	char *tof;
+	uint64_t pos;
+	uint64_t sz;
+	int rv;
+	int cnum;
+};
+
+static int errorflag = 0;
+
+/*
+ * Copy the given segment of a file to the target file.
+ */
+void
+do_copy(void *arg) {
+	struct cp_args *carg = (struct cp_args *)arg;
+	int from_fd, to_fd, rv;
+	size_t rbytes, wbytes, sz;
+	char *segment;
+	uint64_t bytes_to_copy;
+
+	carg->rv = 0;
+	from_fd = open(carg->fromf, O_RDONLY);
+	if (from_fd == -1) {
+		fprintf(stderr, "Failed to open %s: %s\n", carg->fromf,
+		 strerror(errno));
+		carg->rv = 1;
+		return;
+	}
+
+	to_fd = open(carg->tof, O_WRONLY | O_CREAT,
+	 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+	if (to_fd == -1) {
+		fprintf(stderr, "Failed to open %s: %s\n", carg->tof,
+		 strerror(errno));
+		(void) close(from_fd);
+		carg->rv = 1;
+		return;
+	}
+
+	if (lseek(from_fd, carg->pos, SEEK_SET) == -1) {
+		fprintf(stderr, "Seek failed on %s: %s\n", carg->fromf,
+		 strerror(errno));
+		(void) close(from_fd);
+		(void) close(to_fd);
+		carg->rv = 1;
+		return;
+	}
+
+	if (lseek(to_fd, carg->pos, SEEK_SET) == -1) {
+		fprintf(stderr, "Seek failed on %s: %s\n", carg->tof,
+		 strerror(errno));
+		(void) close(from_fd);
+		(void) close(to_fd);
+		carg->rv = 1;
+		return;
+	}
+
+	segment = (char *)malloc(SEGSIZE);
+	if (segment == NULL) {
+		fprintf(stderr, "Memory allocation failure.\n");
+		(void) close(from_fd);
+		(void) close(to_fd);
+		carg->rv = 1;
+		return;
+	}
+
+	rv = 0;
+	rbytes = wbytes = 0;
+	bytes_to_copy = carg->sz;
+	for (;;) {
+		if (errorflag)
+			break;
+
+		sz = bytes_to_copy > SEGSIZE ? SEGSIZE: bytes_to_copy;
+		rbytes = read(from_fd, segment, sz);
+		if (rbytes <= 0)
+			break;
+
+		wbytes = write(to_fd, segment, rbytes);
+		if (wbytes != rbytes) {
+			fprintf(stderr, "Segment %d write failed: %s\n", carg->cnum,
+			 strerror(errno));
+			errorflag = 1;
+			break;
+		}
+
+		if (bytes_to_copy <= 0)
+			break;
+	}
+
+	(void) close(from_fd);
+	(void) close(to_fd);
+	free(segment);
+}
+
+int
+main(int argc, char *argv[]) {
+	int from_fd, to_fd, i;
+	struct stat statbuf;
+	uint64_t span, rem, pos;
+	struct cp_args *carg;
+	taskq_t *tq;
+	int nthreads = 0;
+	char *from, *to;
+
+	if (argc < 3) {
+		printf("Usage: mcp <from file> <to file>\n\n");
+		return (1);
+	}
+
+	from = argv[1]; to = argv[2];
+	from_fd = open(from, O_RDONLY);
+	if (from_fd == -1) {
+		fprintf(stderr, "Failed to open %s: %s\n", from,
+		 strerror(errno));
+		return (1);
+	}
+
+	to_fd = open(to, O_WRONLY | O_CREAT | O_TRUNC,
+	 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+	if (to_fd == -1) {
+		fprintf(stderr, "Failed to open %s: %s\n", to,
+		 strerror(errno));
+		(void) close(to_fd);
+		return (1);
+	}
+	(void) close(to_fd);
+
+	if (fstat(from_fd, &statbuf) == -1) {
+		fprintf(stderr, "Failed to get attributes for %s: %s\n", from,
+		 strerror(errno));
+		(void) close(from_fd);
+		(void) close(to_fd);
+		return (1);
+	}
+	(void) close(from_fd);
+
+	if (statbuf.st_size == 0) {
+		fprintf(stderr, "Nothing to copy!\n");
+		return (1);
+	}
+
+	/*
+	 * Number of copy threads == num cores * 2 upto a max of 16.
+	 */
+	nthreads = sysconf(_SC_NPROCESSORS_ONLN) * 2;
+	if (nthreads > 16)
+		nthreads = 16;
+	span = statbuf.st_size / nthreads;
+	rem = statbuf.st_size % nthreads;
+	pos = 0;
+
+	tq = taskq_create("copy_taskg", nthreads, minclsyspri, 4, nthreads+2,
+	 TASKQ_DYNAMIC | TASKQ_PREPOPULATE);
+
+	for (i = 0; i < nthreads; i++) {
+		carg = (struct cp_args *)malloc(sizeof (struct cp_args));
+		carg->fromf = from;
+		carg->tof = to;
+		carg->pos = pos;
+		if (i == nthreads - 1)
+			carg->sz = span + rem;
+		else
+			carg->sz = span;
+
+		if (taskq_dispatch(tq, do_copy, (void *)carg, TQ_SLEEP) == 0) {
+			fprintf(stderr, "taskq_dispatch failed.\n");
+			taskq_wait(tq);
+			return (1);
+		}
+	}
+
+	taskq_wait(tq);
+	return (0);
+}
+
Modified: trunk/misc/libtaskq/taskq.c
===================================================================
--- trunk/misc/libtaskq/taskq.c	2009年12月09日 17:18:22 UTC (rev 409)
+++ trunk/misc/libtaskq/taskq.c	2010年01月30日 17:44:32 UTC (rev 410)
@@ -63,7 +63,7 @@
 	} else {
 		mutex_exit(&tq->tq_lock);
 		if (tq->tq_nalloc >= tq->tq_maxalloc) {
-			if (!(tqflags & KM_SLEEP)) {
+			if (!(tqflags & TQ_SLEEP)) {
 				mutex_enter(&tq->tq_lock);
 				return (NULL);
 			}
@@ -190,7 +190,7 @@
 	if (flags & TASKQ_PREPOPULATE) {
 		mutex_enter(&tq->tq_lock);
 		while (minalloc-- > 0)
-			task_free(tq, task_alloc(tq, KM_SLEEP));
+			task_free(tq, task_alloc(tq, TQ_SLEEP));
 		mutex_exit(&tq->tq_lock);
 	}
 
@@ -220,7 +220,7 @@
 	tq->tq_minalloc = 0;
 	while (tq->tq_nalloc != 0) {
 		ASSERT(tq->tq_freelist != NULL);
-		task_free(tq, task_alloc(tq, KM_SLEEP));
+		task_free(tq, task_alloc(tq, TQ_SLEEP));
 	}
 
 	mutex_exit(&tq->tq_lock);
Modified: trunk/misc/libtaskq/taskq.h
===================================================================
--- trunk/misc/libtaskq/taskq.h	2009年12月09日 17:18:22 UTC (rev 409)
+++ trunk/misc/libtaskq/taskq.h	2010年01月30日 17:44:32 UTC (rev 410)
@@ -63,6 +63,7 @@
 /*#include <sys/resource.h>*/
 #include <sys/byteorder.h>
 #include <sys/list.h>
+#include "libtaskq_defs.h"
 
 /*
 * Debugging
@@ -258,20 +259,6 @@
 /*
 * Task queues
 */
-typedef struct taskq taskq_t;
-typedef uintptr_t taskqid_t;
-typedef void (task_func_t)(void *);
-
-#define	TASKQ_PREPOPULATE	0x0001
-#define	TASKQ_CPR_SAFE		0x0002	/* Use CPR safe protocol */
-#define	TASKQ_DYNAMIC		0x0004	/* Use dynamic thread scheduling */
-
-#define	TQ_SLEEP	KM_SLEEP	/* Can block for memory */
-#define	TQ_NOSLEEP	KM_NOSLEEP	/* cannot block for memory; may fail */
-#define	TQ_NOQUEUE	0x02	/* Do not enqueue if can't dispatch */
-
-extern taskq_t *system_taskq;
-
 extern taskq_t	*taskq_create(const char *, int, pri_t, int, int, uint_t);
 extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t);
 extern void	taskq_destroy(taskq_t *);
@@ -292,12 +279,8 @@
 extern void delay(clock_t ticks);
 
 #define	gethrestime_sec() time(NULL)
-
 #define	max_ncpus	64
 
-#define	minclsyspri	60
-#define	maxclsyspri	99
-
 extern void libtaskq_init(int);
 extern void libtaskq_fini(void);
 
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2009年12月09日 17:18:35
Revision: 409
 http://belenix.svn.sourceforge.net/belenix/?rev=409&view=rev
Author: moinakg
Date: 2009年12月09日 17:18:22 +0000 (2009年12月09日)
Log Message:
-----------
	* SFElxmlpp.spec
	 Lxml++ package.
	* run-build
	 Add support for building with /usr/sfw/bin/gcc
Modified Paths:
--------------
 trunk/spec_files/run-build
Added Paths:
-----------
 trunk/spec_files/SFElxmlpp.spec
Added: trunk/spec_files/SFElxmlpp.spec
===================================================================
--- trunk/spec_files/SFElxmlpp.spec	 (rev 0)
+++ trunk/spec_files/SFElxmlpp.spec	2009年12月09日 17:18:22 UTC (rev 409)
@@ -0,0 +1,130 @@
+#
+# spec file for package SFElxmlpp
+#
+#
+%include Solaris.inc
+%ifarch amd64 sparcv9
+%include arch64.inc
+%endif
+%include base.inc
+
+Name:			SFElxmlpp
+License:		LGPLv2+
+Group:			System Environment/Libraries
+Version:		2.26.0
+Summary:		C++ wrapper for the libxml2 XML parser library
+Source:			http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.26/libxml++-%{version}.tar.bz2
+
+URL:			http://libxmlplusplus.sourceforge.net/
+BuildRoot:		%{_tmppath}/%{name}-%{version}-build
+SUNW_BaseDir:		%{_prefix}
+Requires: SUNWlxml
+BuildRequires: SUNWlxml-devel
+Requires: SUNWglibmm
+BuildRequires: SUNWglibmm-devel
+BuildRequires: SFEdoxygen
+BuildRequires: SFEgraphviz
+%if %cc_is_gcc
+Requires: SFEgccruntime
+%endif
+
+%description
+libxml++ is a C++ wrapper for the libxml2 XML parser library. It's original
+author is Ari Johnson and it is currently maintained by Christophe de Vienne
+and Murray Cumming.
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %{name}
+Requires: SUNWlxml-devel
+Requires: SUNWglibmm-devel
+Requires: SFEdoxygen
+Requires: SFEgraphviz
+
+%prep
+%setup -q -c -n %name-%version
+#%ifarch amd64 sparcv9
+#cp -pr libxml++-%{version} libxml++-%{version}-64
+#%endif
+
+%build
+
+# 64Bit build disabled since SUNWglibmm is not 64Bit yet.
+#%ifarch amd64 sparcv9
+#cd libxml++-%{version}-64
+#export CFLAGS="-m64 -march=opteron -fno-omit-frame-pointer -O2"
+#export CXXFLAGS="-m64 -march=opteron -fno-omit-frame-pointer -O2"
+#export LDFLAGS="-m64 %{gnu_lib_path64} -lintl -liconv -L/lib/%{_arch64} -R/lib/%{_arch64} -L$RPM_BUILD_ROOT%{_libdir}"
+#./configure \
+# --prefix=%{_prefix} \
+# --sysconfdir=%{_sysconfdir} \
+# --libdir=%{_libdir}/%{_arch64} \
+# --disable-static \
+# --mandir=%{_mandir} \
+# --infodir=%{_infodir}
+#
+#gmake
+#cd ..
+#%endif
+
+cd libxml++-%{version}
+export CFLAGS="-march=pentium3 -fno-omit-frame-pointer -O2"
+export CXXFLAGS="-march=pentium3 -fno-omit-frame-pointer -O2"
+export LDFLAGS="%{gnu_lib_path} -lintl -liconv -L/lib -R/lib -L$RPM_BUILD_ROOT%{_libdir}"
+./configure \
+ --prefix=%{_prefix} \
+ --sysconfdir=%{_sysconfdir} \
+ --libdir=%{_libdir} \
+ --disable-static \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir}
+ 
+gmake
+
+%install
+rm -rf $RPM_BUILD_ROOT
+#%ifarch amd64 sparcv9
+#cd libxml++-%{version}-64
+#make install DESTDIR=$RPM_BUILD_ROOT
+#rm -f $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/lib*a
+#cd ..
+#%endif
+
+cd libxml++-%{version}
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT%{_infodir}
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/lib*.so*
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+
+#%ifarch amd64 sparcv9
+#%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
+#%{_libdir}/%{_arch64}/lib*.so*
+#%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
+#%{_libdir}/%{_arch64}/pkgconfig/*
+#%endif
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%dir %attr (0755, root, bin) %{_libdir}/libxml++-2.6
+%{_libdir}/libxml++-2.6/*
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_docdir}
+%{_docdir}/*
+
+%changelog
+* Tue Jan 22 2008 - moi...@su...
+- Initial spec.
Modified: trunk/spec_files/run-build
===================================================================
--- trunk/spec_files/run-build	2009年12月07日 16:20:21 UTC (rev 408)
+++ trunk/spec_files/run-build	2009年12月09日 17:18:22 UTC (rev 409)
@@ -49,6 +49,17 @@
 PATH=/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/usr/sfw/bin
 export PATH
 
+elif [ "$cmp" = "sfw_gcc" ]
+then
+export CC=/usr/sfw/bin/gcc
+export CXX=/usr/sfw/bin/g++
+
+export CXXFLAGS_EXTRA="-L/usr/sfw/lib -R/usr/sfw/lib"
+export CFLAGS_EXTRA="-L/usr/sfw/lib -R/usr/sfw/lib"
+export LDFLAGS_EXTRA="-L/usr/sfw/lib -R/usr/sfw/lib"
+PATH=/usr/sfw/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/usr/gnu/bin
+export PATH
+
 else
 PATH=/opt/SUNWspro/bin:/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/usr/sfw/bin
 export PATH
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2009年12月07日 16:20:33
Revision: 408
 http://belenix.svn.sourceforge.net/belenix/?rev=408&view=rev
Author: moinakg
Date: 2009年12月07日 16:20:21 +0000 (2009年12月07日)
Log Message:
-----------
	* SFEllvm.spec
	* patches/llvm-01-destdir.diff
	* patches/llvm-02-destdir-clang.diff
	* patches/llvm-03-tclsh_check.diff
	* patches/llvm-04-timestamp.diff
	* patches/llvm-05-fixes.diff
	* patches/llvm-06-ps3.diff
	* SFEwormux.spec
	* ext-sources/wormux.desktop
	* patches/wormux-01-cflags.diff
	* patches/wormux-02-solaris.diff
	* SFEstarfighter.spec
	* ext-sources/starfighter.png
	* patches/starfighter-01-makefile.diff
	* SFEquesoglc.spec
	* SFEasio-gpp.spec
	 New packages.
	* SFElua.spec
	 Add PIC flags for position-independent code.
	* SFEopenal.spec
	 Fix gcc4 build. Fix pkgconfig file.
	* patches/vegastrike-00-char-fix.diff
	* ext-sources/Free-Art-License
	 Misc files missed out in earlier commit.
Modified Paths:
--------------
 trunk/spec_files/SFElua.spec
 trunk/spec_files/SFEopenal.spec
Added Paths:
-----------
 trunk/spec_files/SFEasio-gpp.spec
 trunk/spec_files/SFEllvm.spec
 trunk/spec_files/SFEquesoglc.spec
 trunk/spec_files/SFEstarfighter.spec
 trunk/spec_files/SFEwormux.spec
 trunk/spec_files/ext-sources/Free-Art-License
 trunk/spec_files/ext-sources/starfighter.png
 trunk/spec_files/ext-sources/wormux.desktop
 trunk/spec_files/patches/llvm-01-destdir.diff
 trunk/spec_files/patches/llvm-02-destdir-clang.diff
 trunk/spec_files/patches/llvm-03-tclsh_check.diff
 trunk/spec_files/patches/llvm-04-timestamp.diff
 trunk/spec_files/patches/llvm-05-fixes.diff
 trunk/spec_files/patches/llvm-06-ps3.diff
 trunk/spec_files/patches/starfighter-01-makefile.diff
 trunk/spec_files/patches/vegastrike-00-char-fix.diff
 trunk/spec_files/patches/wormux-01-cflags.diff
 trunk/spec_files/patches/wormux-02-solaris.diff
Added: trunk/spec_files/SFEasio-gpp.spec
===================================================================
--- trunk/spec_files/SFEasio-gpp.spec	 (rev 0)
+++ trunk/spec_files/SFEasio-gpp.spec	2009年12月07日 16:20:21 UTC (rev 408)
@@ -0,0 +1,71 @@
+#
+# Copyright 2008 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+
+%define cc_is_gcc 1
+%include base.inc
+
+%define major 1
+%define minor 4
+%define patchlevel 1
+
+# If SFEasio is not install. Make sure all files are installed
+%define SFEasio	%(/usr/bin/pkginfo -q SFEasio && echo 1 || echo 0)
+
+Name: SFEasio-gpp
+Summary: Asio is a cross-platform C++ library for network and low-level I/O programming (g++-built)
+Version: %{major}.%{minor}.%{patchlevel}
+License: Boost Software License 1.0
+Source: %{sf_download}/asio/asio-%{major}.%{minor}.%{patchlevel}.zip
+URL: https://sourceforge.net/projects/asio/
+
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: SFEboost-gpp
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+
+%prep
+%setup -q -n asio-%{major}.%{minor}.%{patchlevel}
+rm -rf ../boost*
+
+%build
+
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+export CC=gcc
+export CXX=g++
+export CXXFLAGS="%gcc_cxx_optflags -I%{_includedir}/boost/gcc4"
+export LDFLAGS="%_ldflags -L/lib -R/lib -L%{_cxx_libdir} -R%{_cxx_libdir} -L%{_libdir}/boost/gcc4 -R%{_libdir}/boost/gcc4"
+
+./configure --prefix=%{_prefix}		\
+ --mandir=%{_mandir}		\
+ --includedir=%{_includedir}	\
+ --datadir=%{_datadir}	\
+ --libdir=%{_cxx_libdir}	\
+ --sysconfdir=%{_sysconfdir}	
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT nobase_includeHEADERS_INSTALL='ginstall -D -p -m644'
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_includedir}
+
+%changelog
+* Mon Dec 07 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/SFEllvm.spec
===================================================================
--- trunk/spec_files/SFEllvm.spec	 (rev 0)
+++ trunk/spec_files/SFEllvm.spec	2009年12月07日 16:20:21 UTC (rev 408)
@@ -0,0 +1,305 @@
+#
+# spec file for package SFEllvm
+#
+#
+%include Solaris.inc
+%include base.inc
+
+Name:			SFEllvm
+Summary:		The Low Level Virtual Machine 
+Group:			Development/Languages
+License: NCSA
+Version:		2.6
+Source:			http://llvm.org/releases/%{version}/llvm-%{version}.tar.gz
+Source1: http://llvm.org/releases/%{version}/clang-%{version}.tar.gz
+Patch1: llvm-01-destdir.diff
+Patch2: llvm-02-destdir-clang.diff
+Patch3: llvm-03-tclsh_check.diff
+Patch4: llvm-04-timestamp.diff
+Patch5: llvm-05-fixes.diff
+Patch6: llvm-06-ps3.diff
+
+URL:			http://llvm.org/
+BuildRoot:		%{_tmppath}/%{name}-%{version}-build
+SUNW_BaseDir:		%{_prefix}
+BuildRequires: SUNWbison
+BuildRequires: SUNWflexlex
+BuildRequires: SFEgcc
+BuildRequires: SUNWltdl
+BuildRequires: SFEdoxygen
+BuildRequires: SFEgraphviz
+BuildRequires: SUNWperl584usr
+Requires: SUNWlibffi
+Requires: SUNWocaml
+%if %cc_is_gcc
+Requires: SFEgccruntime
+%endif
+
+%description
+LLVM is a compiler infrastructure designed for compile-time,
+link-time, runtime, and idle-time optimization of programs from
+arbitrary programming languages. The compiler infrastructure includes
+mirror sets of programming tools as well as libraries with equivalent
+functionality.
+
+%package devel
+Summary: Libraries and header files for LLVM
+Group: Development/Languages
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %{name}
+Requires: SUNWbison
+Requires: SUNWflexlex
+Requires: SFEgcc
+Requires: SUNWltdl
+
+%package doc
+Summary: Documentation for LLVM
+Group: Documentation
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+
+%description doc
+Documentation for the LLVM compiler infrastructure.
+
+%package -n SFEclang
+Summary: A C language family frontend for LLVM
+License: NCSA
+Group: Development/Languages
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %{name}
+
+%description -n SFEclang
+clang: noun
+ 1. A loud, resonant, metallic sound.
+ 2. The strident call of a crane or goose.
+ 3. C-language family front-end toolkit.
+
+The goal of the Clang project is to create a new C, C++, Objective C
+and Objective C++ front-end for the LLVM compiler. Its tools are built
+as libraries and designed to be loosely-coupled and extendable.
+
+%package -n SFEclang-analyzer
+Summary: A source code analysis framework
+License: NCSA
+Group: Development/Languages 
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: SFEclang
+Requires: SUNWPython26
+
+%description -n SFEclang-analyzer
+The Clang Static Analyzer consists of both a source code analysis
+framework and a standalone tool that finds bugs in C and Objective-C
+programs. The standalone tool is invoked from the command-line, and is
+intended to run in tandem with a build of a project or code base.
+
+%package -n SFEclang-doc
+Summary: Documentation for Clang
+Group: Documentation
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+
+%description -n SFEclang-doc
+Documentation for the Clang compiler front-end.
+
+%package apidoc
+Summary: API documentation for LLVM
+Group: Development/Languages
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+
+%description apidoc
+API documentation for the LLVM compiler infrastructure.
+
+%prep
+%setup -q -c -n %name-%version
+gunzip -c %{SOURCE1} | gtar xf -
+mv clang-%{version} llvm-%{version}/tools/clang
+cd llvm-%{version}
+
+%patch1 -p0
+pushd tools/clang
+%patch2 -p0
+popd
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support bitreader ipa system target transformutils mc |' tools/opt/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support bitreader ipa system target transformutils mc scalaropts |' tools/llvm-as/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support bitreader ipa system target transformutils mc scalaropts |' tools/llvm-dis/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support bitreader ipa system target transformutils mc scalaropts selectiondag asmprinter |' tools/llc/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS = |LINK_COMPONENTS = core analysis codegen support bitreader ipa system target transformutils mc scalaropts |' tools/llvm-ranlib/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS = |LINK_COMPONENTS = core analysis codegen support bitreader ipa system target transformutils mc scalaropts |' tools/llvm-ar/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS = |LINK_COMPONENTS = core analysis codegen support ipa system target transformutils mc scalaropts |' tools/llvm-nm/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS = |LINK_COMPONENTS = core analysis codegen support bitreader ipa system target transformutils mc |' tools/llvm-ld/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS = |LINK_COMPONENTS = core codegen support ipa system target transformutils mc scalaropts |' tools/llvm-prof/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS = |LINK_COMPONENTS = core analysis codegen support ipa system target transformutils mc scalaropts archive |' tools/llvm-link/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support ipa system target transformutils mc scalaropts asmprinter executionengine x86info |' tools/lli/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support ipa system target transformutils mc scalaropts |' tools/llvm-extract/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support bitreader ipa system target transformutils mc scalaropts |' tools/llvm-db/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support ipa system target transformutils mc archive |' tools/bugpoint/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support ipa system target transformutils mc scalaropts |' tools/llvm-bcanalyzer/Makefile
+%{gnu_bin}/sed -i 's|MC support|MC support core analysis codegen bitreader ipa system target transformutils mc scalaropts selectiondag asmprinter |' tools/llvm-mc/Makefile
+%{gnu_bin}/sed -i 's|ipo selectiondag|ipo selectiondag target core analysis support ipa system asmprinter mc transformutils scalaropts |' tools/clang/tools/clang-cc/Makefile
+%{gnu_bin}/sed -i 's|clangBasic.a|clangBasic.a clangIndex.a |' tools/clang/tools/clang-cc/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support ipa system target transformutils scalaropts ipo selectiondag asmprinter bitwriter |' tools/clang/tools/index-test/Makefile
+%{gnu_bin}/sed -i 's|clangBasic.a|clangBasic.a clangParse.a clangAnalysis.a clangRewrite.a clangCodeGen.a |' tools/clang/tools/index-test/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen ipa system target transformutils mc scalaropts |' tools/clang/tools/driver/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support ipa system target transformutils scalaropts ipo selectiondag asmprinter bitwriter |' tools/clang/tools/wpa/Makefile
+%{gnu_bin}/sed -i 's|clangBasic.a|clangBasic.a clangParse.a clangAnalysis.a clangRewrite.a clangCodeGen.a |' tools/clang/tools/wpa/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support bitreader ipa system target transformutils mc scalaropts selectiondag asmprinter executionengine x86info |' examples/BrainF/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support bitreader ipa system target transformutils mc scalaropts selectiondag asmprinter executionengine x86info |' examples/Fibonacci/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support bitreader ipa system target transformutils mc scalaropts selectiondag asmprinter executionengine x86info |' examples/HowToUseJIT/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support bitreader ipa system target transformutils mc scalaropts selectiondag asmprinter executionengine x86info |' examples/Kaleidoscope/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support bitreader ipa system target transformutils mc scalaropts |' examples/ModuleMaker/Makefile
+%{gnu_bin}/sed -i 's|LINK_COMPONENTS := |LINK_COMPONENTS := core analysis codegen support bitreader ipa system target transformutils mc scalaropts selectiondag asmprinter executionengine x86info |' examples/ParallelJIT/Makefile
+
+#%{gnu_bin}/sed -i 's/-fomit-frame-pointer//' Makefile.rules
+
+
+%build
+cd llvm-%{version}
+export LDFLAGS="%{gnu_lib_path} -lintl -liconv -L/lib -R/lib -Wl,-z,allextract"
+export PATH=/usr/perl5/5.8.4/bin:${PATH}
+mkdir obj
+cd obj
+bash ../configure \
+ --prefix=%{_prefix} \
+ --sysconfdir=%{_sysconfdir} \
+ --libdir=%{_libdir}/llvm \
+ --disable-assertions \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir} \
+ --enable-shared=yes \
+ --enable-static=no \
+ --enable-debug-runtime \
+ --enable-jit
+ 
+# configure does not properly specify libdir
+%{gnu_bin}/sed -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/%{_libdir}/llvm|g' Makefile.config
+
+gmake VERBOSE=1 OPTIMIZE_OPTION="-O2 -march=pentium3 -fno-strict-aliasing"
+cd ../..
+
+%check
+cd llvm-%{version}/obj
+gmake check
+# some clang tests still fail, preserve test results
+(cd tools/clang && gmake test 2>&1) | tee ../testlog.txt || true
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+#%ifarch amd64 sparcv9
+#cd apr-%{version}-64
+#make install DESTDIR=$RPM_BUILD_ROOT
+#
+#cd ..
+#%endif
+
+cd llvm-%{version}/obj
+export PATH=/usr/perl5/5.8.4/bin:${PATH}
+%{gnu_bin}/sed -i 's/groff -Tps -man/cat/' tools/clang/docs/tools/Makefile
+%{gnu_bin}/sed -i 's/groff -Tps -man/cat/' docs/CommandGuide/Makefile
+%{gnu_bin}/sed -i 's/:= $(PROJ_docsdir)/:= $(DESTDIR)$(PROJ_docsdir)/' docs/CommandGuide/Makefile
+%{gnu_bin}/sed -i 's/:= $(PROJ_mandir)/:= $(DESTDIR)$(PROJ_mandir)/' docs/CommandGuide/Makefile
+%{gnu_bin}/sed -i 's/:= $(PROJ_docsdir)/:= $(DESTDIR)$(PROJ_docsdir)/' docs/CommandGuide/Makefile
+
+chmod -x examples/Makefile
+gmake install DESTDIR=$RPM_BUILD_ROOT PROJ_docsdir=$RPM_BUILD_ROOT/moredocs
+cd ..
+
+# Static analyzer not installed by default:
+# http://clang-analyzer.llvm.org/installation#OtherPlatforms
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/libexec
+# link clang-cc for scan-build to find
+ln -s %{_libexecdir}/clang-cc $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/libexec/
+# create launchers
+for f in scan-{build,view}; do
+	ln -s %{_libdir}/clang-analyzer/$f $RPM_BUILD_ROOT%{_bindir}/$f
+done 
+
+cd tools/clang/utils
+cp -p ccc-analyzer $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/libexec/
+
+for f in scan-build scanview.css sorttable.js; do
+	cp -p $f $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/
+done
+cd ../../../
+
+#
+# Move documentation back to build directory
+#
+rm -rf moredocs
+mv $RPM_BUILD_ROOT/$RPM_BUILD_ROOT/moredocs .
+rm -rf $RPM_BUILD_ROOT/var
+rm -f moredocs/*.tar.gz
+rm -f moredocs/ocamldoc/html/*.tar.gz 
+
+# And prepare Clang documentation
+#
+mkdir -p clang-docs
+for f in LICENSE.TXT NOTES.txt README.txt TODO.txt; do
+	ln -f tools/clang/$f clang-docs/
+done
+
+# Get rid of erroneously installed example files.
+rm -f $RPM_BUILD_ROOT%{_libdir}/llvm/*LLVMHello.* 
+
+# Remove deprecated tools.
+rm -f $RPM_BUILD_ROOT%{_bindir}/gcc{as,ld}
+
+# FIXME file this bug
+%{gnu_bin}/sed -i 's,ABS_RUN_DIR/lib",ABS_RUN_DIR/%{_lib}/llvm",' \
+	$RPM_BUILD_ROOT%{_bindir}/llvm-config
+
+mv $RPM_BUILD_ROOT%{_prefix}%{_libdir}/llvm $RPM_BUILD_ROOT%{_libdir}
+rm -rf $RPM_BUILD_ROOT%{_prefix}%{_libdir}
+chmod -x $RPM_BUILD_ROOT%{_libdir}/llvm/*.a 
+rm -rf $RPM_BUILD_ROOT/export
+mv $RPM_BUILD_ROOT%{_prefix}/libexec/* $RPM_BUILD_ROOT%{_libdir}
+rm -rf $RPM_BUILD_ROOT%{_prefix}/libexec
+
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/llvm
+cp -rp moredocs/* $RPM_BUILD_ROOT%{_docdir}/llvm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%dir %attr (0755, root, bin) %{_libdir}/ocaml
+%{_libdir}/ocaml/*.cm*
+%{_libdir}/ocaml/*.ml*
+%dir %attr (0755, root, bin) %{_libdir}/clang-analyzer
+%{_libdir}/clang-analyzer/*
+%dir %attr (0755, root, bin) %{_libdir}/clang
+%{_libdir}/clang/*
+%dir %attr (0755, root, bin) %{_libdir}/llvm
+%{_libdir}/llvm/*.so*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, bin) %{_mandir}
+%{_mandir}/*
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%dir %attr (0755, root, bin) %{_libdir}/ocaml
+%{_libdir}/ocaml/*.a
+%dir %attr (0755, root, bin) %{_libdir}/llvm
+%{_libdir}/llvm/*.a
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_docdir}
+%{_docdir}/*
+
+%changelog
+* Mon Dec 07 2009 - Moinak Ghosh
+- Initial spec.
Modified: trunk/spec_files/SFElua.spec
===================================================================
--- trunk/spec_files/SFElua.spec	2009年12月07日 16:07:16 UTC (rev 407)
+++ trunk/spec_files/SFElua.spec	2009年12月07日 16:20:21 UTC (rev 408)
@@ -24,6 +24,9 @@
 CPUS=1
 fi
 
+(cd src
+ %{gnu_bin}/sed -i 's/-DLUA_USE_DLOPEN/-DLUA_USE_DLOPEN -fPIC -DPIC/' Makefile)
+
 make solaris
 
 %install
@@ -51,6 +54,8 @@
 %{_datadir}/lua/*
 
 %changelog
+* Mon Dec 07 2009 - Moinak Ghosh
+- Add PIC flags for position-independent code.
 * Thu Mar 05 2009 - sob...@gm...
 - Fix patch and bump to version 5.1.4
 * Tue Sep 11 2007 - Petr Sobotka sob...@ce...
Modified: trunk/spec_files/SFEopenal.spec
===================================================================
--- trunk/spec_files/SFEopenal.spec	2009年12月07日 16:07:16 UTC (rev 407)
+++ trunk/spec_files/SFEopenal.spec	2009年12月07日 16:20:21 UTC (rev 408)
@@ -6,7 +6,7 @@
 %include Solaris.inc
 
 %define src_name	openal
-%define src_url		http://www.openal.org/openal_webstf/downloads
+%define src_url		http://www.belenix.org/binfiles
 
 Name: SFEopenal
 Summary: OpenAL is a cross-platform 3D audio API
@@ -42,7 +42,7 @@
 
 
 %if %cc_is_gcc
-export CFLAGS="%optflags -D__EXTENSIONS__"
+export CFLAGS="%optflags -std=c99 -D__EXTENSIONS__"
 export CPP="$CC -E"
 
 %else
@@ -66,13 +66,18 @@
 --sysconfdir=%{_sysconfdir} \
 --enable-shared		\
 	 --disable-static
-make clean
-make # -j$CPUS 
 
+export echo=echo
+gmake clean ECHO=echo
+gmake ECHO=echo # -j$CPUS 
+
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+export echo=echo
+make install DESTDIR=$RPM_BUILD_ROOT ECHO=echo
 rm $RPM_BUILD_ROOT/%{_libdir}/lib*.*a
+cp $RPM_BUILD_ROOT%{_libdir}/pkgconfig/openal.pc .
+cat openal.pc | sed 's/Requires: @requirements@//' > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/openal.pc
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -91,6 +96,8 @@
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Mon Dec 07 2009 - Moinak Ghosh
+- Fix gcc4 build. Fix pkgconfig file.
 * Thu Feb 21 2008 - moi...@su...
 - Fixed build with Gcc.
 * Tue Jun 5 2007 - do...@tr...
Added: trunk/spec_files/SFEquesoglc.spec
===================================================================
--- trunk/spec_files/SFEquesoglc.spec	 (rev 0)
+++ trunk/spec_files/SFEquesoglc.spec	2009年12月07日 16:20:21 UTC (rev 408)
@@ -0,0 +1,132 @@
+#
+# Copyright 2007 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+%ifarch amd64 sparcv9
+%include arch64.inc
+%endif
+%include base.inc
+
+Name: SFEquesoglc
+Summary: The OpenGL Character Renderer
+Version: 0.7.1
+Group: System Environment/Libraries
+License: LGPLv2+
+URL: http://quesoglc.sourceforge.net/
+Source: %{sf_download}/quesoglc/quesoglc-%{version}.tar.gz
+
+SUNW_BaseDir: /
+#SUNW_Copyright: %{name}.copyright
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+Requires: SUNWfontconfig
+Requires: SUNWfreetype2
+BuildRequires: SUNWgnome-common-devel
+Requires: SFEfreeglut
+BuildRequires: SFEfreeglut-devel
+Requires: SFElibfribidi
+BuildRequires: SFElibfribidi-devel
+Requires: SFEglew
+Requires: SUNWxorg-clientlibs
+BuildRequires: SUNWxorg-headers
+BuildRequires: SFEdoxygen
+
+%description
+The OpenGL Character Renderer (GLC) is a state machine that provides OpenGL
+programs with character rendering services via an application programming
+interface (API).
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: /
+%include default-depend.inc
+Requires: %name
+Requires: SUNWgnome-common-devel
+Requires: SFEfreeglut-devel
+Requires: SFElibfribidi-devel
+Requires: SFEglew
+Requires: SUNWxorg-headers
+Requires: SFEdoxygen
+
+%description devel
+This package provides the libraries, include files, and other resources needed
+for developing GLC applications.
+
+%prep
+%setup -q -c -n %name-%version
+cd quesoglc-%{version}
+rm -f include/GL/{glxew,wglew,glew}.h
+ln -s %{xorg_inc}/GL/{glxew,wglew,glew}.h include/GL/
+#%patch6 -p1
+cd ..
+
+%ifarch amd64 sparcv9
+cp -pr quesoglc-%{version} quesoglc-%{version}-64
+%endif
+
+%build
+# 64Bit build disabled till we get 64Bit libfribidi
+#%ifarch amd64 sparcv9
+#cd quesoglc-%{version}-64
+#export CFLAGS="-m64 -fPIC -DPIC -I/usr/X11/include"
+#export CXXFLAGS="-m64 -fPIC -DPIC -I/usr/X11/include"
+#export LDFLAGS="%{_ldflags64} %{gnu_lib_path64}"
+#
+#./configure --prefix=%{_prefix} \
+# --bindir=%{_bindir}/%{_arch64} \
+# --libdir=%{_libdir}/%{_arch64} \
+# --mandir=%{_mandir} \
+# --disable-static
+#gmake
+#cd ..
+#%endif
+
+cd quesoglc-%{version}
+export CFLAGS="-fPIC -DPIC -I/usr/X11/include"
+export LDFLAGS="%{_ldflags} %{gnu_lib_path}"
+
+./configure --prefix=%{_prefix} \
+ --mandir=%{_mandir} \
+ --disable-static
+gmake
+cd docs; doxygen
+cd ../..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+#%ifarch amd64 sparcv9
+#cd quesoglc-%{version}-64
+#gmake install DESTDIR=$RPM_BUILD_ROOT
+#rm -f $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/libGLC.la
+#cd ..
+#%endif
+
+cd quesoglc-%{version}
+gmake install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/libGLC.la
+mkdir -p $RPM_BUILD_ROOT%{xorg_inc}/GL
+mv $RPM_BUILD_ROOT%{_includedir}/GL/* $RPM_BUILD_ROOT%{xorg_inc}/GL
+rmdir $RPM_BUILD_ROOT%{_includedir}/GL
+rmdir $RPM_BUILD_ROOT%{_includedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_basedir}
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_basedir}
+%dir %attr (0755, root, bin) %{xorg_inc}
+%{xorg_inc}/*
+
+%changelog
+* Mon Dec 07 2009 - Moinak Ghosh
+- Initial spec
Added: trunk/spec_files/SFEstarfighter.spec
===================================================================
--- trunk/spec_files/SFEstarfighter.spec	 (rev 0)
+++ trunk/spec_files/SFEstarfighter.spec	2009年12月07日 16:20:21 UTC (rev 408)
@@ -0,0 +1,101 @@
+#
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+%include base.inc
+
+Name: SFEstarfighter
+Summary: Project: Starfighter, a space arcade game
+Version: 1.1
+License: GPLv2+
+Group: Amusements/Games
+Source: http://www.parallelrealities.co.uk/download/starfighter/starfighter-1.1-1.tar.gz
+Source1: starfighter.png
+Patch0: starfighter-01-makefile.diff
+
+URL: http://www.parallelrealities.co.uk/projects/starfighter.php
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: SUNWxorg-mesa
+BuildRequires: SUNWxorg-headers
+Requires: SFEsdl
+BuildRequires: SFEsdl-devel
+Requires: SFEsdl-mixer
+BuildRequires: SFEsdl-mixer-devel
+Requires: SFEsdl-image
+BuildRequires: SFEsdl-image-devel
+Requires: SUNWgnome-desktop-prefs
+BuildRequires: SUNWgnome-common-devel
+
+%description
+After decades of war one company, who had gained powerful supplying both sides
+with weaponary, steps forwards and crushes both warring factions in one swift
+movement. Using far superior weaponary and AI craft, the company was completely
+unstoppable and now no one can stand in their way. Thousands began to perish
+under the iron fist of the company. The people cried out for a saviour, for
+someone to light this dark hour... and someone did.
+
+This game features 26 missions over 4 star systems and boss battles.
+
+%prep
+%setup -q -c -n %name-%version
+cd starfighter-%{version}
+%patch0 -p1
+%{gnu_bin}/sed -i 's#install -m#ginstall -m#' makefile
+%{gnu_bin}/sed -i 's#LIBS =#LIBS = %{gnu_lib_path}#' makefile
+
+%build
+cd starfighter-%{version}
+export LDFLAGS="%{_ldflags}"
+export CFLAGS="%{optflags}"
+
+gmake PREFIX="%{_prefix}" OPTFLAGS="%{optflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd starfighter-%{version}
+gmake install PREFIX="%{_prefix}" DESTDIR=$RPM_BUILD_ROOT
+
+ginstall -D -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/starfighter.png
+
+# Install menu entry
+cat > starfighter.desktop << EOF
+[Desktop Entry]
+Name=Project: Starfighter
+Comment=Space Arcade Game
+Icon=starfighter
+Exec=starfighter
+Terminal=false
+Type=Application
+Categories=Game;ArcadeGame;
+Encoding=UTF-8
+EOF
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
+desktop-file-install \
+	--vendor "belenix" \
+	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
+	starfighter.desktop
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr(0755, root, bin) %{_datadir}/starfighter
+%{_datadir}/starfighter/*
+
+%defattr (-, root, other)
+%dir %attr (0755, root, other) %{_datadir}/applications
+%{_datadir}/applications/*
+%dir %attr (0755, root, other) %{_datadir}/pixmaps
+%{_datadir}/pixmaps/*
+
+%changelog
+* Mon Dec 07 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/SFEwormux.spec
===================================================================
--- trunk/spec_files/SFEwormux.spec	 (rev 0)
+++ trunk/spec_files/SFEwormux.spec	2009年12月07日 16:20:21 UTC (rev 408)
@@ -0,0 +1,152 @@
+#
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+%include base.inc
+
+Name: SFEwormux
+Summary: 2D convivial mass murder game
+Version: 0.8.5
+License: GPLv2+
+Group: Amusements/Games
+Source: http://download.gna.org/wormux/wormux-%{version}.tar.bz2
+Source1: wormux.desktop
+Patch1: wormux-01-cflags.diff
+Patch2: wormux-02-solaris.diff
+
+URL: http://www.wormux.org/
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: SFEsdl-image
+BuildRequires: SFEsdl-image-devel
+Requires: SFEsdl-gfx
+BuildRequires: SFEsdl-gfx-devel
+Requires: SUNWpng
+BuildRequires: SUNWpng-devel
+Requires: SFEsdl-ttf
+BuildRequires: SFEsdl-ttf-devel
+Requires: SFEsdl-mixer
+BuildRequires: SFEsdl-mixer-devel
+Requires: SFEsdl-net
+BuildRequires: SFEsdl-net-devel
+Requires: SUNWcurl
+BuildRequires: SUNWcurl-devel
+Requires: SUNWgnome-desktop-prefs
+BuildRequires: SUNWgnome-common-devel
+Requires: SFEwormux-data
+Requires: SFElxmlpp
+BuildRequires: SFElxmlpp-devel
+
+%description
+Battle your favorite free software mascots in the Wormux arena. With big
+sticks of dynamite, grenades, baseball bats, and bazookas you can exterminate
+your opponent in a 2D cartoon style scenery. The goal of the game is to
+destroy all of your opponents' mascots.
+
+%package data
+Summary: Data files for wormux
+Group: Amusements/Games
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+
+%if %build_l10n
+%package l10n
+Summary: %{summary} - l10n files
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %{name}
+%endif
+
+%prep
+%setup -q -c -n %name-%version
+cd wormux-%{version}
+%patch1 -p1
+%patch2 -p1
+
+for m in `find . -name Makefile.in`
+do
+	cp ${m} ${m}.orig
+	cat ${m}.orig | sed 's#-Wl,--as-needed##' > ${m}
+done
+cd ..
+
+%build
+cd wormux-%{version}
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+export CXXCFLAGS="%{cxx_optflags} -fno-strict-aliasing"
+export LDFLAGS="%{_ldflags} %{xorg_lib_path} -lX11"
+export CPPFLAGS="-D__EXTENSIONS__"
+export cxx_present="yes"
+
+./configure --prefix=%{_prefix} --datadir=%{_datadir} \
+ --disable-rpath \
+ --disable-debug --with-distributor="BeleniX"
+
+gmake
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd wormux-%{version}
+gmake install DESTDIR=$RPM_BUILD_ROOT
+cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications/wormux.desktop
+ginstall -d $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/apps/
+ginstall -p -m 644 data/wormux_32x32.png \
+ $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/apps/wormux.png
+
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/wormux
+cp COPYING* $RPM_BUILD_ROOT%{_docdir}/wormux
+cp AUTHORS $RPM_BUILD_ROOT%{_docdir}/wormux
+cp ChangeLog $RPM_BUILD_ROOT%{_docdir}/wormux
+cp -rp doc/howto* $RPM_BUILD_ROOT%{_docdir}/wormux
+
+%if %build_l10n
+%else
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
+%endif
+
+%post
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+%postun
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr(0755, root, other) %{_datadir}/pixmaps
+%{_datadir}/pixmaps/*
+%dir %attr (0755, root, bin) %{_mandir}
+%{_mandir}/*
+%dir %attr (0755, root, other) %{_docdir}
+%{_docdir}/*
+
+%defattr (-, root, other)
+%dir %attr (0755, root, other) %{_datadir}/applications
+%{_datadir}/applications/*
+%dir %attr (0755, root, other) %{_datadir}/icons
+%{_datadir}/icons/*
+
+%files data
+%defattr (-, root, bin)
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr(0755, root, bin) %{_datadir}/wormux
+%{_datadir}/wormux/*
+
+%if %build_l10n
+%files l10n
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_datadir}
+%attr (-, root, other) %{_datadir}/locale
+%endif
+
+%changelog
+* Mon Dec 07 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/ext-sources/Free-Art-License
===================================================================
--- trunk/spec_files/ext-sources/Free-Art-License	 (rev 0)
+++ trunk/spec_files/ext-sources/Free-Art-License	2009年12月07日 16:20:21 UTC (rev 408)
@@ -0,0 +1,235 @@
+Free Art license [ Copyleft Attitude ]
+
+version 1.2
+
+Preamble:
+
+With this Free Art License, you are authorised to copy, distribute and freely
+transform the work of art while respecting the rights of the originator.
+
+Far from ignoring the author's rights, this license recognises them and
+protects them. It reformulates their principle while making it possible for the
+public to make creative use of the works of art. Whereas current literary and
+artistic property rights result in restriction of the public's access to works
+of art, the goal of the Free Art License is to encourage such access.
+
+The intention is to make work accessible and to authorise the use of its
+resources by the greatest number of people: to use it in order to increase its
+use, to create new conditions for creation in order to multiply the
+possibilities of creation, while respecting the originators in according them
+recognition and defending their moral rights.
+
+In fact, with the arrival of the digital age, the invention of the Internet and
+free software, a new approach to creation and production has made its
+appearance. It also encourages a continuation of the process of experimentation
+undertaken by many contemporary artists.
+
+Knowledge and creativity are resources which, to be true to themselves, must
+remain free, i.e. remain a fundamental search which is not directly related to
+a concrete application. Creating means discovering the unknown, means inventing
+a reality without any heed to realism. Thus, the object(ive) of art is not
+equivalent to the finished and defined art object. This is the basic aim of
+this Free Art License: to promote and protect artistic practice freed from the
+rules of the market economy.
+
+-------- Definitions
+
+The work of art: A communal work which includes the initial artwork as well as
+all subsequent contributions (subsequent originals and copies). It is created
+at the initiative of the original artist who, by this license, defines the
+conditions according to which the contributions are made.
+
+The original work of art: This is the artwork created by the initiator of the
+communal work, of which copies will be modified by whosoever wishes.
+
+Subsequent works: These are the additions put forward by the artists who
+contribute to the formation of the work by taking advantage of the right to
+reproduction, distribution and modification that this license confers on them.
+
+The Original (the work's source or resource): A dated example of the work, of
+its definition, of its partition or of its program which the originator
+provides as the reference for all future updatings, interpretations, copies or
+reproductions.
+
+Copy: Any reproduction of an original as defined by this license.
+
+The author or the artist of the initial work of art: This is the person who
+created the work which is at the heart of the ramifications of this modified
+work of art. By this license, the author determines the conditions under which
+these modifications are made.
+
+Contributor: Any person who contributes to the creation of the work of art. He
+is the author or the artist of an original art object resulting from the
+modification of a copy of the initial artwork or the modification of a copy of
+a subsequent work of art.
+
+
+1. Aims
+
+The aim of this license is to define the conditions according to which you can
+use this work freely.
+
+
+2. Extent Of The Usage
+
+This work of art is subject to copyright, and the author, by this license,
+specifies the extent to which you can copy, distribute and modify it.
+
+
+2.1 Freedom to Copy (or of Reproduction)
+
+You have the right to copy this work of art for your personal use, for your
+friends or for any other person, by employing whatever technique you choose.
+
+
+2.2 Freedom to Distribute, to Interpret (or of Representation)
+
+You can freely distribute the copies of these works, modified or not, whatever
+their medium, wherever you wish, for a fee or for free, if you observe all the
+following conditions:
+- attach this license, in its entirety, to the copies or indicate precisely
+ where the license can be found,
+- specify to the recipient the name of the author of the originals,
+- specify to the recipient where he will be able to access the originals
+ (original and subsequent). The author of the original may, if he wishes, give
+ you the right to broadcast/distribute the original under the same conditions
+ as the copies.
+
+
+2.3 Freedom to Modify
+
+You have the right to modify the copies of the originals (original and
+subsequent), partially or otherwise, respecting the conditions set out in
+article 2.2 , in the event of distribution (or representation) of the modified
+copy. The author of the original may, if he wishes, give you the right to
+modify the original under the same conditions as the copies.
+
+
+3. Incorporation of Artwork
+
+All the elements of this work of art must remain free, which is why you are not
+allowed to integrate the originals (originals and subsequents) into another
+work which would not be subject to this license.
+
+
+4. Your Author's Rights
+
+The object of this license is not to deny your author's rights on your
+contribution. By choosing to contribute to the evolution of this work of art,
+you only agree to give to others the same rights with regard to your
+contribution as those which were granted to you by this license.
+
+
+5. Duration of the Licence
+
+This license takes effect as of your acceptance of its provisions. The fact of
+copying, distributing, or of modifying the work constitutes a tacit agreement.
+This license will remain in force for as long as the copyright which is
+attached to the work of art. If you do not respect the terms of this license,
+you automatically lose the rights that it confers. If the legal status to which
+you are subject makes it impossible for you to respect the terms of this
+license, you may not make use of the rights which it confers.
+
+
+6. Various Versions of the Licence
+
+This license may undergo periodic modifications to incorporate improvements by
+its authors (instigators of the "copyleft attitude" movement) by way of new,
+numbered versions.
+
+You will have the choice of accepting the provisions contained in the version
+under which the copy was communicated to you, or alternatively, to use the
+provisions of one of the subsequent versions.
+
+
+7. Sub-licensing
+
+Sub-licenses are not authorized by the present license. Any person who wishes
+to make use of the rights that it confers will be directly bound to the author
+of the original work.
+
+
+8. The Law Applicable to this Contract
+
+This license is subject to French law.
+
+
+--------
+
+Directions for Use:
+
+- How to use the Free Art license?
+
+To benefit from the Free Art License, it is enough to specify the following on
+your work of art:
+
+[- A few lines to indicate the name of the work and to give an idea of what it
+is.] [- A few lines to describe, if necessary, the modified work of art and
+give the name of the author/artist.] Copyright © [the date] [name of the author
+or artist] (if appropriate, specify the names of the previous authors or
+artists) Copyleft: this work of art is free, you can redistribute it and/or
+modify it according to terms of the Free Art license. You will find a specimen
+of this license on the site Copyleft Attitude http://artlibre.org as well as on
+other sites.
+
+
+- Why use the Free Art license?
+
+1 / to give the greatest number of people access to your work.
+
+2 / to allow it to be freely distributed.
+
+3 / to allow it to evolve by authorising its transformation by others.
+
+4 / to be able, yourself, to use the resources of a work when it is under Free
+Art license: to copy, distribute or transform it freely.
+
+5 / This is not all: because the use of the Free Art License is also a good way
+to take liberties with the marketing system generated by the dominant economy.
+The Free Art License offers a useful legal protocol to prevent abusive
+appropriation. It will no longer be possible for someone to appropriate your
+work, short-circuiting the creative process to make personal profit from it.
+Helping yourself to a collective work in progress will be forbidden, as will
+monopolising the resources of an evolving creation for the benefit of a few.
+
+The Free Art License advocates an economy appropriate for art, based on
+sharing, exchange and joyful giving. What counts in art is also and mostly what
+is not counted.
+
+
+- When to use the Free Art License ?
+
+It is not the goal of the Free Art License to eliminate copyright or author's
+rights. Quite the opposite, it is about reformulating the relevance of these
+rights while taking today's environment into account. It is about the right to
+freedom of movement, to free copying and to free transformation of works of
+art. The right to work in freedom for art and artists.
+
+1 / Each time you want to use or put this right into practice, use the Free Art
+License.
+
+2 / Each time you want to create works which can evolve and be freely copied,
+freely distributed and freely transformed: use the Free Art License.
+
+3 / Each time you want to have the possibility of copying, distributing or
+transforming a work: check that it is under Free Art License. If it is not, you
+are liable to be breaking the law.
+
+
+- To which types of art can the Free Art License be applied?
+
+This license can be applied to digital as well as to non-digital art. It was
+born out of observation of the world of free software and the Internet, but its
+applicability is not limited to the digital media. You can put a painting, a
+novel, a sculpture, a drawing, a piece of music, a poem, an installation, a
+video, a film, a recipe, a CD-rom, a Web site, or a performance under the Free
+Art License, in short any creation which has some claim to be a work of art.
+
+
+This license has a history: it was born at the meeting " Copyleft Attitude "
+http://artlibre.org which took place at "Accès Local" and "Public" in Paris at
+the beginning of the year 2000. For the first time, it brought computer
+specialists and freeware activists together with contemporary artists and
+members of the art world.
+
+
Added: trunk/spec_files/ext-sources/starfighter.png
===================================================================
(Binary files differ)
Property changes on: trunk/spec_files/ext-sources/starfighter.png
___________________________________________________________________
Added: svn:mime-type
 + application/octet-stream
Added: trunk/spec_files/ext-sources/wormux.desktop
===================================================================
--- trunk/spec_files/ext-sources/wormux.desktop	 (rev 0)
+++ trunk/spec_files/ext-sources/wormux.desktop	2009年12月07日 16:20:21 UTC (rev 408)
@@ -0,0 +1,17 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=Wormux
+Type=Application
+Icon=wormux
+Exec=wormux
+Terminal=false
+StartupNotify=false
+Comment=A 2D game where funny characters launch funny weapons
+Comment[de]=Ein 2D Spiel mit lustigen Figuren und Waffen
+Comment[es]=Un juego en 2D donde extraños personajes se destripan con alegría
+Comment[fr_FR]=Un jeu en 2D où de drôles de personnages s'étripent joyeusement
+Comment[it]=Un gioco in 2D dove dei simpatici personaggi si sparano allegramente
+Comment[pl]=Gra 2D, w której zabawne postacie używają zabawnego uzbojenia
+Comment[ro]=Un joc în 2D în care personaje amuzante lansează arme amuzante
+Categories=Game;StrategyGame;
Added: trunk/spec_files/patches/llvm-01-destdir.diff
===================================================================
--- trunk/spec_files/patches/llvm-01-destdir.diff	 (rev 0)
+++ trunk/spec_files/patches/llvm-01-destdir.diff	2009年12月07日 16:20:21 UTC (rev 408)
@@ -0,0 +1,360 @@
+From 5a380ce5d1c8d5a1474764a7a54a1e2072fddb03 Mon Sep 17 00:00:00 2001
+From: Erick Tryzelaar <ida...@us...>
+Date: 2009年8月21日 11:59:01 -0700
+Subject: [PATCH] Rewrite makefiles to explicitly reference DESTDIR so we can not bake DESTDIR
+ into the O'Caml symlinks.
+MIME-Version: 1.0
+Content-Type: multipart/mixed; boundary="------------1.6.4"
+
+This is a multi-part message in MIME format.
+--------------1.6.4
+Content-Type: text/plain; charset=UTF-8; format=fixed
+Content-Transfer-Encoding: 8bit
+
+---
+ Makefile.config.in | 16 +++++++-------
+ Makefile.rules | 46 ++++++++++++++++++++++----------------------
+ docs/CommandGuide/Makefile | 6 ++--
+ docs/Makefile | 24 +++++++++++-----------
+ docs/tutorial/Makefile | 2 +-
+ lib/VMCore/Makefile | 4 +-
+ tools/gccas/Makefile | 4 +-
+ tools/gccld/Makefile | 4 +-
+ tools/llvm-config/Makefile | 4 +-
+ 9 files changed, 55 insertions(+), 55 deletions(-)
+
+
+--------------1.6.4
+Content-Type: text/x-patch; name="0001-Rewrite-makefiles-to-explicitly-reference-DESTDIR-so.patch"
+Content-Transfer-Encoding: 8bit
+Content-Disposition: attachment; filename="0001-Rewrite-makefiles-to-explicitly-reference-DESTDIR-so.patch"
+
+diff --git Makefile.config.in Makefile.config.in
+index ecd0595..73656f7 100644
+--- Makefile.config.in
++++ Makefile.config.in
+@@ -76,14 +76,14 @@ endif
+ 
+ LLVMMAKE := $(LLVM_SRC_ROOT)/make
+ 
+-PROJ_bindir := $(DESTDIR)$(PROJ_prefix)/bin
+-PROJ_libdir := $(DESTDIR)$(PROJ_prefix)/lib
+-PROJ_datadir := $(DESTDIR)$(PROJ_prefix)/share
+-PROJ_docsdir := $(DESTDIR)$(PROJ_prefix)/docs/llvm
+-PROJ_etcdir := $(DESTDIR)$(PROJ_prefix)/etc/llvm
+-PROJ_includedir := $(DESTDIR)$(PROJ_prefix)/include
+-PROJ_infodir := $(DESTDIR)$(PROJ_prefix)/info
+-PROJ_mandir := $(DESTDIR)$(PROJ_prefix)/share/man
++PROJ_bindir := $(PROJ_prefix)/bin
++PROJ_libdir := $(PROJ_prefix)/lib
++PROJ_datadir := $(PROJ_prefix)/share
++PROJ_docsdir := $(PROJ_prefix)/docs/llvm
++PROJ_etcdir := $(PROJ_prefix)/etc/llvm
++PROJ_includedir := $(PROJ_prefix)/include
++PROJ_infodir := $(PROJ_prefix)/info
++PROJ_mandir := $(PROJ_prefix)/share/man
+ 
+ # Determine if we're on a unix type operating system
+ LLVM_ON_UNIX:=@LLVM_ON_UNIX@
+diff --git Makefile.rules Makefile.rules
+index 5556684..08965f3 100644
+--- Makefile.rules
++++ Makefile.rules
+@@ -720,7 +720,7 @@ ObjectsBC := $(BaseNameSources:%=$(ObjDir)/%.bc)
+ # in the file so they get built before dependencies
+ #---------------------------------------------------------
+ 
+-$(PROJ_bindir) $(PROJ_libdir) $(PROJ_includedir) $(PROJ_etcdir)::
++$(DESTDIR)$(PROJ_bindir) $(DESTDIR)$(PROJ_libdir) $(DESTDIR)$(PROJ_includedir) $(DESTDIR)$(PROJ_etcdir)::
+ 	$(Verb) $(MKDIR) $@
+ 
+ # To create other directories, as needed, and timestamp their creation
+@@ -842,22 +842,22 @@ install-local::
+ uninstall-local::
+ 	$(Echo) UnInstall circumvented with NO_INSTALL
+ else
+-install-local:: $(PROJ_etcdir) $(CONFIG_FILES)
+-	$(Echo) Installing Configuration Files To $(PROJ_etcdir)
++install-local:: $(DESTDIR)$(PROJ_etcdir) $(CONFIG_FILES)
++	$(Echo) Installing Configuration Files To $(DESTDIR)$(PROJ_etcdir)
+ 	$(Verb)for file in $(CONFIG_FILES); do \
+ if test -f $(PROJ_OBJ_DIR)/$${file} ; then \
+- $(DataInstall) $(PROJ_OBJ_DIR)/$${file} $(PROJ_etcdir) ; \
++ $(DataInstall) $(PROJ_OBJ_DIR)/$${file} $(DESTDIR)$(PROJ_etcdir) ; \
+ elif test -f $(PROJ_SRC_DIR)/$${file} ; then \
+- $(DataInstall) $(PROJ_SRC_DIR)/$${file} $(PROJ_etcdir) ; \
++ $(DataInstall) $(PROJ_SRC_DIR)/$${file} $(DESTDIR)$(PROJ_etcdir) ; \
+ else \
+ $(ECHO) Error: cannot find config file $${file}. ; \
+ fi \
+ 	done
+ 
+ uninstall-local::
+-	$(Echo) Uninstalling Configuration Files From $(PROJ_etcdir)
++	$(Echo) Uninstalling Configuration Files From $(DESTDIR)$(PROJ_etcdir)
+ 	$(Verb)for file in $(CONFIG_FILES); do \
+-	 $(RM) -f $(PROJ_etcdir)/$${file} ; \
++	 $(RM) -f $(DESTDIR)$(PROJ_etcdir)/$${file} ; \
+ 	done
+ endif
+ 
+@@ -944,7 +944,7 @@ endif
+ ifdef BYTECODE_DESTINATION
+ ModuleDestDir := $(BYTECODE_DESTINATION)
+ else
+-ModuleDestDir := $(PROJ_libdir)
++ModuleDestDir := $(DESTDIR)$(PROJ_libdir)
+ endif
+ 
+ ifdef NO_INSTALL
+@@ -1023,17 +1023,17 @@ install-local::
+ uninstall-local::
+ 	$(Echo) Uninstall circumvented with NO_INSTALL
+ else
+-DestSharedLib = $(PROJ_libdir)/lib$(LIBRARYNAME)$(SHLIBEXT)
++DestSharedLib = $(DESTDIR)$(PROJ_libdir)/lib$(LIBRARYNAME)$(SHLIBEXT)
+ 
+ install-local:: $(DestSharedLib)
+ 
+-$(DestSharedLib): $(LibName.SO) $(PROJ_libdir)
++$(DestSharedLib): $(LibName.SO) $(DESTDIR)$(PROJ_libdir)
+ 	$(Echo) Installing $(BuildMode) Shared Library $(DestSharedLib)
+ 	$(Verb) $(INSTALL) $(LibName.SO) $(DestSharedLib)
+ 
+ uninstall-local::
+ 	$(Echo) Uninstalling $(BuildMode) Shared Library $(DestSharedLib)
+-	-$(Verb) $(RM) -f $(PROJ_libdir)/lib$(LIBRARYNAME).*
++	-$(Verb) $(RM) -f $(DESTDIR)$(PROJ_libdir)/lib$(LIBRARYNAME).*
+ endif
+ endif
+ 
+@@ -1078,7 +1078,7 @@ endif
+ ifdef BYTECODE_DESTINATION
+ BytecodeDestDir := $(BYTECODE_DESTINATION)
+ else
+-BytecodeDestDir := $(PROJ_libdir)
++BytecodeDestDir := $(DESTDIR)$(PROJ_libdir)
+ endif
+ 
+ DestBytecodeLib = $(BytecodeDestDir)/lib$(LIBRARYNAME).bca
+@@ -1141,13 +1141,13 @@ install-local::
+ uninstall-local::
+ 	$(Echo) Uninstall circumvented with NO_INSTALL
+ else
+-DestArchiveLib := $(PROJ_libdir)/lib$(LIBRARYNAME).a
++DestArchiveLib := $(DESTDIR)$(PROJ_libdir)/lib$(LIBRARYNAME).a
+ 
+ install-local:: $(DestArchiveLib)
+ 
+-$(DestArchiveLib): $(LibName.A) $(PROJ_libdir)
++$(DestArchiveLib): $(LibName.A) $(DESTDIR)$(PROJ_libdir)
+ 	$(Echo) Installing $(BuildMode) Archive Library $(DestArchiveLib)
+-	$(Verb) $(MKDIR) $(PROJ_libdir)
++	$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_libdir)
+ 	$(Verb) $(INSTALL) $(LibName.A) $(DestArchiveLib)
+ 
+ uninstall-local::
+@@ -1225,11 +1225,11 @@ install-local::
+ uninstall-local::
+ 	$(Echo) Uninstall circumvented with NO_INSTALL
+ else
+-DestTool = $(PROJ_bindir)/$(TOOLNAME)$(EXEEXT)
++DestTool = $(DESTDIR)$(PROJ_bindir)/$(TOOLNAME)$(EXEEXT)
+ 
+ install-local:: $(DestTool)
+ 
+-$(DestTool): $(ToolBuildPath) $(PROJ_bindir)
++$(DestTool): $(ToolBuildPath) $(DESTDIR)$(PROJ_bindir)
+ 	$(Echo) Installing $(BuildMode) $(DestTool)
+ 	$(Verb) $(ProgInstall) $(ToolBuildPath) $(DestTool)
+ 
+@@ -1824,25 +1824,25 @@ uninstall-local::
+ else
+ install-local::
+ 	$(Echo) Installing include files
+-	$(Verb) $(MKDIR) $(PROJ_includedir)
++	$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir)
+ 	$(Verb) if test -d "$(PROJ_SRC_ROOT)/include" ; then \
+ 	 cd $(PROJ_SRC_ROOT)/include && \
+ 	 for hdr in `find . -type f '!' '(' -name '*~' \
+ 	 -o -name '.#*' -o -name '*.in' ')' -print | grep -v CVS | \
+ 	 grep -v .svn` ; do \
+-	 instdir=`dirname "$(PROJ_includedir)/$$hdr"` ; \
++	 instdir=`dirname "$(DESTDIR)$(PROJ_includedir)/$$hdr"` ; \
+ 	 if test \! -d "$$instdir" ; then \
+ 	 $(EchoCmd) Making install directory $$instdir ; \
+ 	 $(MKDIR) $$instdir ;\
+ 	 fi ; \
+-	 $(DataInstall) $$hdr $(PROJ_includedir)/$$hdr ; \
++	 $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
+ 	 done ; \
+ 	fi
+ ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
+ 	$(Verb) if test -d "$(PROJ_OBJ_ROOT)/include" ; then \
+ 	 cd $(PROJ_OBJ_ROOT)/include && \
+ 	 for hdr in `find . -type f -print | grep -v CVS` ; do \
+-	 $(DataInstall) $$hdr $(PROJ_includedir)/$$hdr ; \
++	 $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
+ 	 done ; \
+ 	fi
+ endif
+@@ -1854,10 +1854,10 @@ uninstall-local::
+ 	 $(RM) -f `find . -path '*/Internal' -prune -o '(' -type f \
+ 	 '!' '(' -name '*~' -o -name '.#*' \
+ -o -name '*.in' ')' -print ')' | \
+- grep -v CVS | sed 's#^#$(PROJ_includedir)/#'` ; \
++ grep -v CVS | sed 's#^#$(DESTDIR)$(PROJ_includedir)/#'` ; \
+ 	 cd $(PROJ_SRC_ROOT)/include && \
+ 	 $(RM) -f `find . -path '*/Internal' -prune -o '(' -type f -name '*.in' \
+- -print ')' | sed 's#\.in$$##;s#^#$(PROJ_includedir)/#'` ; \
++ -print ')' | sed 's#\.in$$##;s#^#$(DESTDIR)$(PROJ_includedir)/#'` ; \
+ 	fi
+ endif
+ endif
+diff --git docs/Makefile docs/Makefile
+index 310c4bd..30cd8a7 100644
+--- docs/Makefile
++++ docs/Makefile
+@@ -48,11 +48,11 @@ generated:: doxygen ocamldoc
+ 
+ install-html: $(PROJ_OBJ_DIR)/html.tar.gz
+ 	$(Echo) Installing HTML documentation
+-	$(Verb) $(MKDIR) $(PROJ_docsdir)/html
+-	$(Verb) $(MKDIR) $(PROJ_docsdir)/html/img
+-	$(Verb) $(DataInstall) $(HTML) $(PROJ_docsdir)/html
+-	$(Verb) $(DataInstall) $(IMAGES) $(PROJ_docsdir)/html/img
+-	$(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(PROJ_docsdir)
++	$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html
++	$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/img
++	$(Verb) $(DataInstall) $(HTML) $(DESTDIR)$(PROJ_docsdir)/html
++	$(Verb) $(DataInstall) $(IMAGES) $(DESTDIR)$(PROJ_docsdir)/html/img
++	$(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(DESTDIR)$(PROJ_docsdir)
+ 
+ $(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
+ 	$(Echo) Packaging HTML documentation
+@@ -63,11 +63,11 @@ $(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
+ 
+ install-doxygen: doxygen
+ 	$(Echo) Installing doxygen documentation
+-	$(Verb) $(MKDIR) $(PROJ_docsdir)/html/doxygen
+-	$(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(PROJ_docsdir)
++	$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/doxygen
++	$(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(DESTDIR)$(PROJ_docsdir)
+ 	$(Verb) cd $(PROJ_OBJ_DIR)/doxygen && \
+ 	 $(FIND) . -type f -exec \
+-	 $(DataInstall) {} $(PROJ_docsdir)/html/doxygen \;
++	 $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/html/doxygen \;
+ 
+ doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz
+ 
+@@ -94,11 +94,11 @@ $(LLVM_SRC_ROOT)/docs/userloc.html:
+ 
+ install-ocamldoc: ocamldoc
+ 	$(Echo) Installing ocamldoc documentation
+-	$(Verb) $(MKDIR) $(PROJ_docsdir)/ocamldoc/html
+-	$(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(PROJ_docsdir)
++	$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html
++	$(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(DESTDIR)$(PROJ_docsdir)
+ 	$(Verb) cd $(PROJ_OBJ_DIR)/ocamldoc && \
+ 	 $(FIND) . -type f -exec \
+-	 $(DataInstall) {} $(PROJ_docsdir)/ocamldoc/html \;
++	 $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html \;
+ 
+ ocamldoc: regen-ocamldoc $(PROJ_OBJ_DIR)/ocamldoc.tar.gz
+ 
+@@ -122,4 +122,4 @@ $(PROJ_OBJ_DIR)/ocamldoc.tar.gz:
+ 
+ uninstall-local::
+ 	$(Echo) Uninstalling Documentation
+-	$(Verb) $(RM) -rf $(PROJ_docsdir)
++	$(Verb) $(RM) -rf $(DESTDIR)$(PROJ_docsdir)
+diff --git docs/tutorial/Makefile docs/tutorial/Makefile
+index 6169bb8..9082ad4 100644
+--- docs/tutorial/Makefile
++++ docs/tutorial/Makefile
+@@ -12,7 +12,7 @@ include $(LEVEL)/Makefile.common
+ 
+ HTML := $(wildcard $(PROJ_SRC_DIR)/*.html)
+ EXTRA_DIST := $(HTML) index.html
+-HTML_DIR := $(PROJ_docsdir)/html/tutorial
++HTML_DIR := $(DESTDIR)$(PROJ_docsdir)/html/tutorial
+ 
+ install-local:: $(HTML)
+ 	$(Echo) Installing HTML Tutorial Documentation
+diff --git lib/VMCore/Makefile lib/VMCore/Makefile
+index e9d3dc8..c4817a5 100644
+--- lib/VMCore/Makefile
++++ lib/VMCore/Makefile
+@@ -29,5 +29,5 @@ $(GENFILE): $(ObjDir)/Intrinsics.gen.tmp
+ 	 changed significantly. )
+ 
+ install-local:: $(GENFILE)
+-	$(Echo) Installing $(PROJ_includedir)/llvm/Intrinsics.gen
+-	$(Verb) $(DataInstall) $(GENFILE) $(PROJ_includedir)/llvm/Intrinsics.gen
++	$(Echo) Installing $(DESTDIR)$(PROJ_includedir)/llvm/Intrinsics.gen
++	$(Verb) $(DataInstall) $(GENFILE) $(DESTDIR)$(PROJ_includedir)/llvm/Intrinsics.gen
+diff --git tools/gccas/Makefile tools/gccas/Makefile
+index ff84d96..594f9e4 100644
+--- tools/gccas/Makefile
++++ tools/gccas/Makefile
+@@ -10,9 +10,9 @@ LEVEL = ../..
+ 
+ include $(LEVEL)/Makefile.common
+ 
+-install-local:: $(PROJ_bindir)/gccas
++install-local:: $(DESTDIR)$(PROJ_bindir)/gccas
+ 	
+-$(PROJ_bindir)/gccas : gccas.sh Makefile
++$(DESTDIR)$(PROJ_bindir)/gccas : gccas.sh Makefile
+ 	$(Echo) Installing gccas shell script.
+ 	$(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
+ 	$(Verb) chmod 0755 $@
+diff --git tools/gccld/Makefile tools/gccld/Makefile
+index b2d3f73..8ec0307 100644
+--- tools/gccld/Makefile
++++ tools/gccld/Makefile
+@@ -11,9 +11,9 @@ LEVEL = ../..
+ 
+ include $(LEVEL)/Makefile.common
+ 
+-install-local:: $(PROJ_bindir)/gccld
++install-local:: $(DESTDIR)$(PROJ_bindir)/gccld
+ 	
+-$(PROJ_bindir)/gccld : gccld.sh Makefile
++$(DESTDIR)$(PROJ_bindir)/gccld : gccld.sh Makefile
+ 	$(Echo) Installing gccld shell script.
+ 	$(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
+ 	$(Verb) chmod 0755 $@
+diff --git tools/llvm-config/Makefile tools/llvm-config/Makefile
+index 6eedca0..8659681 100644
+--- tools/llvm-config/Makefile
++++ tools/llvm-config/Makefile
+@@ -87,6 +87,6 @@ clean-local::
+ 	 $(LibDeps) GenLibDeps.out
+ install-local:: all-local
+ 	$(Echo) Installing llvm-config
+-	$(Verb) $(MKDIR) $(PROJ_bindir)
+-	$(Verb) $(ScriptInstall) $(ToolDir)/llvm-config $(PROJ_bindir)
++	$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_bindir)
++	$(Verb) $(ScriptInstall) $(ToolDir)/llvm-config $(DESTDIR)$(PROJ_bindir)
+ 
+
+--------------1.6.4--
+
+
+diff -u docs/CommandGuide/Makefile.orig docs/CommandGuide/Makefile
+--- docs/CommandGuide/Makefile.orig	2009年08月31日 11:55:32.000000000 +0530
++++ docs/CommandGuide/Makefile	2009年11月21日 22:47:46.565727470 +0530
+@@ -36,9 +36,9 @@
+ include $(LEVEL)/Makefile.common
+ 
+ SRC_DOC_DIR=$(PROJ_SRC_DIR)/
+-DST_HTML_DIR=$(PROJ_OBJ_DIR)/
+-DST_MAN_DIR=$(PROJ_OBJ_DIR)/
+-DST_PS_DIR=$(PROJ_OBJ_DIR)/
++DST_HTML_DIR=$(DESTDIR)$(PROJ_OBJ_DIR)/
++DST_MAN_DIR=$(DESTDIR)$(PROJ_OBJ_DIR)/
++DST_PS_DIR=$(DESTDIR)$(PROJ_OBJ_DIR)/
+ 
+ endif
+ 
Added: trunk/spec_files/patches/llvm-02-destdir-clang.diff
===================================================================
--- trunk/spec_files/patches/llvm-02-destdir-clang.diff	 (rev 0)
+++ trunk/spec_files/patches/llvm-02-destdir-clang.diff	2009年12月07日 16:20:21 UTC (rev 408)
@@ -0,0 +1,99 @@
+From 01c48a60e0a3bcd2e4d6829f2f0186d4ee6ef504 Mon Sep 17 00:00:00 2001
+From: Erick Tryzelaar <er...@pi...>
+Date: 2009年8月21日 12:37:18 -0700
+Subject: [PATCH] Use LLVM's new DESTDIR-less PROJ_* variables.
+MIME-Version: 1.0
+Content-Type: multipart/mixed; boundary="------------1.6.4"
+
+This is a multi-part message in MIME format.
+--------------1.6.4
+Content-Type: text/plain; charset=UTF-8; format=fixed
+Content-Transfer-Encoding: 8bit
+
+---
+ docs/Makefile | 18 +++++++++---------
+ docs/tools/Makefile | 6 +++---
+ tools/clang-cc/Makefile | 2 +-
+ 3 files changed, 13 insertions(+), 13 deletions(-)
+
+
+--------------1.6.4
+Content-Type: text/x-patch; name="0001-Use-LLVM-s-new-DESTDIR-less-PROJ_-variables.patch"
+Content-Transfer-Encoding: 8bit
+Content-Disposition: attachment; filename="0001-Use-LLVM-s-new-DESTDIR-less-PROJ_-variables.patch"
+
+diff --git docs/Makefile docs/Makefile
+index 9b706c7..e9bbb28 100644
+--- docs/Makefile
++++ docs/Makefile
+@@ -48,11 +48,11 @@ generated:: doxygen
+ 
+ install-html: $(PROJ_OBJ_DIR)/html.tar.gz
+ 	$(Echo) Installing HTML documentation
+-	$(Verb) $(MKDIR) $(PROJ_docsdir)/html
+-	$(Verb) $(MKDIR) $(PROJ_docsdir)/html/img
+-	$(Verb) $(DataInstall) $(HTML) $(PROJ_docsdir)/html
+-#	$(Verb) $(DataInstall) $(IMAGES) $(PROJ_docsdir)/html/img
+-	$(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(PROJ_docsdir)
++	$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html
++	$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/img
++	$(Verb) $(DataInstall) $(HTML) $(DESTDIR)$(PROJ_docsdir)/html
++#	$(Verb) $(DataInstall) $(IMAGES) $(DESTDIR)$(PROJ_docsdir)/html/img
++	$(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(DESTDIR)$(PROJ_docsdir)
+ 
+ $(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
+ 	$(Echo) Packaging HTML documentation
+@@ -63,11 +63,11 @@ $(PROJ_OBJ_DIR)/html.tar.gz: $(HTML)
+ 
+ install-doxygen: doxygen
+ 	$(Echo) Installing doxygen documentation
+-	$(Verb) $(MKDIR) $(PROJ_docsdir)/html/doxygen
+-	$(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(PROJ_docsdir)
++	$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/doxygen
++	$(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(DESTDIR)$(PROJ_docsdir)
+ 	$(Verb) cd $(P...
 
[truncated message content]
From: belenix-notify <bel...@li...> - 2009年12月07日 16:07:29
Revision: 407
 http://belenix.svn.sourceforge.net/belenix/?rev=407&view=rev
Author: moinakg
Date: 2009年12月07日 16:07:16 +0000 (2009年12月07日)
Log Message:
-----------
JDS manpages from jds repo, final set.
Added Paths:
-----------
 trunk/spec_files/jds/manpages/Makefile
 trunk/spec_files/jds/manpages/Makefile.template
 trunk/spec_files/jds/manpages/man3/
 trunk/spec_files/jds/manpages/man3/at-spi.3
 trunk/spec_files/jds/manpages/man3/booktitles.ent
 trunk/spec_files/jds/manpages/man3/java-gnome.3
 trunk/spec_files/jds/manpages/man3/libFLAC.3
 trunk/spec_files/jds/manpages/man3/libIDL-2.3
 trunk/spec_files/jds/manpages/man3/libORBit-2.3
 trunk/spec_files/jds/manpages/man3/libORBitCosNaming-2.3
 trunk/spec_files/jds/manpages/man3/libart_lgpl_2.3
 trunk/spec_files/jds/manpages/man3/libatk-1.0.3
 trunk/spec_files/jds/manpages/man3/libatkmm-1.6.3
 trunk/spec_files/jds/manpages/man3/libaudiofile.3
 trunk/spec_files/jds/manpages/man3/libbabl-0.0.3
 trunk/spec_files/jds/manpages/man3/libbonobo-2.3
 trunk/spec_files/jds/manpages/man3/libbonobo-activation.3
 trunk/spec_files/jds/manpages/man3/libbonoboui-2.3
 trunk/spec_files/jds/manpages/man3/libcairo.3
 trunk/spec_files/jds/manpages/man3/libcamel-1.2.3
 trunk/spec_files/jds/manpages/man3/libcanberra-gtk.3
 trunk/spec_files/jds/manpages/man3/libcanberra.3
 trunk/spec_files/jds/manpages/man3/libclutter-cairo-0.8.3
 trunk/spec_files/jds/manpages/man3/libclutter-glx-0.8.3
 trunk/spec_files/jds/manpages/man3/libclutter-gst-0.8.3
 trunk/spec_files/jds/manpages/man3/libclutter-gtk-0.8.3
 trunk/spec_files/jds/manpages/man3/libcroco-0.6.3
 trunk/spec_files/jds/manpages/man3/libcryptui.3
 trunk/spec_files/jds/manpages/man3/libcspi.3
 trunk/spec_files/jds/manpages/man3/libdbus-1.3
 trunk/spec_files/jds/manpages/man3/libdbus-glib-1.3
 trunk/spec_files/jds/manpages/man3/libdevhelp-1.3
 trunk/spec_files/jds/manpages/man3/libebook-1.2.3
 trunk/spec_files/jds/manpages/man3/libecal-1.2.3
 trunk/spec_files/jds/manpages/man3/libedata-book-1.2.3
 trunk/spec_files/jds/manpages/man3/libedata-cal-1.2.3
 trunk/spec_files/jds/manpages/man3/libedataserver-1.2.3
 trunk/spec_files/jds/manpages/man3/libedataserverui-1.2.3
 trunk/spec_files/jds/manpages/man3/libenchant.3
 trunk/spec_files/jds/manpages/man3/libesd.3
 trunk/spec_files/jds/manpages/man3/libespeak.3
 trunk/spec_files/jds/manpages/man3/libfreettsdriver.so.3
 trunk/spec_files/jds/manpages/man3/libgailutil.3
 trunk/spec_files/jds/manpages/man3/libgamin-1.3
 trunk/spec_files/jds/manpages/man3/libgconf-2.3
 trunk/spec_files/jds/manpages/man3/libgcrypt.3
 trunk/spec_files/jds/manpages/man3/libgdata-1.2.3
 trunk/spec_files/jds/manpages/man3/libgdata-google-1.2.3
 trunk/spec_files/jds/manpages/man3/libgdk-x11-2.0.3
 trunk/spec_files/jds/manpages/man3/libgdk_pixbuf-2.0.3
 trunk/spec_files/jds/manpages/man3/libgdk_pixbuf_xlib-2.0.3
 trunk/spec_files/jds/manpages/man3/libgdkmm-2.4.3
 trunk/spec_files/jds/manpages/man3/libgegl-0.0.3
 trunk/spec_files/jds/manpages/man3/libggz.3
 trunk/spec_files/jds/manpages/man3/libggzcore.3
 trunk/spec_files/jds/manpages/man3/libggzmod.3
 trunk/spec_files/jds/manpages/man3/libgio-2.0.3
 trunk/spec_files/jds/manpages/man3/libgiomm-2.4.3
 trunk/spec_files/jds/manpages/man3/libglade-2.0.3
 trunk/spec_files/jds/manpages/man3/libgladeui-1.3
 trunk/spec_files/jds/manpages/man3/libglib-2.0.3
 trunk/spec_files/jds/manpages/man3/libglibmm-2.4.3
 trunk/spec_files/jds/manpages/man3/libgmime.3
 trunk/spec_files/jds/manpages/man3/libgmodule-2.0.3
 trunk/spec_files/jds/manpages/man3/libgnome-2.3
 trunk/spec_files/jds/manpages/man3/libgnome-desktop-2.3
 trunk/spec_files/jds/manpages/man3/libgnome-keyring.3
 trunk/spec_files/jds/manpages/man3/libgnome-mag.3
 trunk/spec_files/jds/manpages/man3/libgnome-media-profiles.3
 trunk/spec_files/jds/manpages/man3/libgnomecanvas-2.3
 trunk/spec_files/jds/manpages/man3/libgnomeprint-2-2.3
 trunk/spec_files/jds/manpages/man3/libgnomeprintui-2-2.3
 trunk/spec_files/jds/manpages/man3/libgnomespeech.3
 trunk/spec_files/jds/manpages/man3/libgnomeui-2.3
 trunk/spec_files/jds/manpages/man3/libgnomevfs-2.3
 trunk/spec_files/jds/manpages/man3/libgnutls.3
 trunk/spec_files/jds/manpages/man3/libgnutlsxx.3
 trunk/spec_files/jds/manpages/man3/libgobject-2.0.3
 trunk/spec_files/jds/manpages/man3/libgpg-error.3
 trunk/spec_files/jds/manpages/man3/libgpilotd.3
 trunk/spec_files/jds/manpages/man3/libgpilotdcm.3
 trunk/spec_files/jds/manpages/man3/libgpilotdconduit.3
 trunk/spec_files/jds/manpages/man3/libgsf-1.3
 trunk/spec_files/jds/manpages/man3/libgsf-gnome-1.3
 trunk/spec_files/jds/manpages/man3/libgstbase-0.10.3
 trunk/spec_files/jds/manpages/man3/libgstreamer-0.10.3
 trunk/spec_files/jds/manpages/man3/libgthread-2.0.3
 trunk/spec_files/jds/manpages/man3/libgtk-vnc-1.0.3
 trunk/spec_files/jds/manpages/man3/libgtk-x11-2.0.3
 trunk/spec_files/jds/manpages/man3/libgtkhtml-3.14.3
 trunk/spec_files/jds/manpages/man3/libgtkhtml-editor.3
 trunk/spec_files/jds/manpages/man3/libgtkmm-2.4.3
 trunk/spec_files/jds/manpages/man3/libgtksourceview-1.0.3
 trunk/spec_files/jds/manpages/man3/libgtksourceview-2.0.3
 trunk/spec_files/jds/manpages/man3/libgtkspell.3
 trunk/spec_files/jds/manpages/man3/libgtop-2.0.3
 trunk/spec_files/jds/manpages/man3/libical.3
 trunk/spec_files/jds/manpages/man3/libicalss.3
 trunk/spec_files/jds/manpages/man3/libicalvcal.3
 trunk/spec_files/jds/manpages/man3/libjpeg.3
 trunk/spec_files/jds/manpages/man3/libloginhelper.3
 trunk/spec_files/jds/manpages/man3/libnotify.3
 trunk/spec_files/jds/manpages/man3/libogg.3
 trunk/spec_files/jds/manpages/man3/liboil-0.3.3
 trunk/spec_files/jds/manpages/man3/libotr.3
 trunk/spec_files/jds/manpages/man3/libpanel-applet-2.3
 trunk/spec_files/jds/manpages/man3/libpango-1.0.3
 trunk/spec_files/jds/manpages/man3/libpangocairo-1.0.3
 trunk/spec_files/jds/manpages/man3/libpangoft2-1.0.3
 trunk/spec_files/jds/manpages/man3/libpangomm-1.4.3
 trunk/spec_files/jds/manpages/man3/libpangox-1.0.3
 trunk/spec_files/jds/manpages/man3/libpangoxft-1.0.3
 trunk/spec_files/jds/manpages/man3/libpigment-0.3.3
 trunk/spec_files/jds/manpages/man3/libpigment-gtk-0.3.3
 trunk/spec_files/jds/manpages/man3/libpigment-imaging-0.3.3
 trunk/spec_files/jds/manpages/man3/libpisock.3
 trunk/spec_files/jds/manpages/man3/libpisync.3
 trunk/spec_files/jds/manpages/man3/libpng.3
 trunk/spec_files/jds/manpages/man3/libpngpf.3
 trunk/spec_files/jds/manpages/man3/libpopt.3
 trunk/spec_files/jds/manpages/man3/libproxy.3
 trunk/spec_files/jds/manpages/man3/libpurple-client.3
 trunk/spec_files/jds/manpages/man3/libpurple.3
 trunk/spec_files/jds/manpages/man3/librsvg-2.3
 trunk/spec_files/jds/manpages/man3/libsigc-2.0.3
 trunk/spec_files/jds/manpages/man3/libsoup-2.4.3
 trunk/spec_files/jds/manpages/man3/libspeex.3
 trunk/spec_files/jds/manpages/man3/libspeexdsp.3
 trunk/spec_files/jds/manpages/man3/libspi.3
 trunk/spec_files/jds/manpages/man3/libtasn1.3
 trunk/spec_files/jds/manpages/man3/libtheora.3
 trunk/spec_files/jds/manpages/man3/libtheoradec.3
 trunk/spec_files/jds/manpages/man3/libtheoraenc.3
 trunk/spec_files/jds/manpages/man3/libtiff.3
 trunk/spec_files/jds/manpages/man3/libunique-1.0.3
 trunk/spec_files/jds/manpages/man3/libvorbis.3
 trunk/spec_files/jds/manpages/man3/libvte.3
 trunk/spec_files/jds/manpages/man3/smancommon.ent
 trunk/spec_files/jds/manpages/man3tiff/
 trunk/spec_files/jds/manpages/man3tiff/TIFFCheckTile.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFClientOpen.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFClose.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFComputeStrip.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFComputeTile.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFCurrentDirectory.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFCurrentRow.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFCurrentStrip.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFCurrentTile.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFDefaultStripSize.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFDefaultTileSize.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFError.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFFdOpen.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFFileName.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFFileno.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFFindCODEC.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFFlush.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFFlushData.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFGetBitRevTable.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFGetField.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFGetFieldDefaulted.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFGetMode.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFGetVersion.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFIsByteSwapped.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFIsMSB2LSB.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFIsTiled.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFIsUpSampled.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFLastDirectory.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFNumberOfStrips.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFNumberOfTiles.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFOpen.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFPrintDirectory.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFRGBAImage.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFRGBAImageBegin.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFRGBAImageEnd.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFRGBAImageGet.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFRGBAImageOK.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFRGBAImageOriented.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFRasterScanlineSize.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFReadBufferSetup.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFReadDirectory.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFReadEncodedStrip.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFReadEncodedTile.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFReadRGBAImage.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFReadRGBAStrip.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFReadRGBATile.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFReadRawStrip.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFReadRawTile.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFReadScanline.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFReadTile.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFRegisterCODEC.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFReverseBits.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFScanlineSize.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFSetDirectory.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFSetErrorHandler.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFSetField.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFSetSubDirectory.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFSetWarningHandler.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFStripSize.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFSwabArrayOfLong.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFSwabArrayOfShort.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFSwabLong.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFSwabShort.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFTileRowSize.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFTileSize.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFUnRegisterCODEC.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFVGetField.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFVGetFieldDefaulted.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFVSetField.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFVStripSize.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFVTileSize.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFWarning.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFWriteBufferSetup.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFWriteDirectory.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFWriteEncodedStrip.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFWriteEncodedTile.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFWriteRawStrip.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFWriteRawTile.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFWriteScanline.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFWriteTile.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFbuffer.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFcodec.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFmemory.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFquery.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFsize.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFstrip.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFswab.3tiff
 trunk/spec_files/jds/manpages/man3tiff/TIFFtile.3tiff
 trunk/spec_files/jds/manpages/man3tiff/_TIFFfree.3tiff
 trunk/spec_files/jds/manpages/man3tiff/_TIFFmalloc.3tiff
 trunk/spec_files/jds/manpages/man3tiff/_TIFFmemcmp.3tiff
 trunk/spec_files/jds/manpages/man3tiff/_TIFFmemcpy.3tiff
 trunk/spec_files/jds/manpages/man3tiff/_TIFFmemset.3tiff
 trunk/spec_files/jds/manpages/man3tiff/_TIFFrealloc.3tiff
 trunk/spec_files/jds/manpages/sun-manpages/
 trunk/spec_files/jds/manpages/sun-manpages/ipython.1
Added: trunk/spec_files/jds/manpages/Makefile
===================================================================
--- trunk/spec_files/jds/manpages/Makefile	 (rev 0)
+++ trunk/spec_files/jds/manpages/Makefile	2009年12月07日 16:07:16 UTC (rev 407)
@@ -0,0 +1,1207 @@
+## 
+# Makefile for generateing man page tarballs that are used in each of the 
+# SUNW*.spec files
+# 
+# Generates : $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz
+# e.g. sun-manpage-tarballs/*.tar.gz
+#
+# Usage :
+# "make" : Rebuilds all man page tarballs
+#
+# "make check-used" : Outputs list of man pages not being used.
+#
+# "make check-version" : Prints current man page tarball version
+#
+# "make $(PACKAGE)-manpages-$(MANPAGE_VERSION).tar.gz
+# e.g. "make SUNWgnome-panel-manpages-0.1.tar.gz"
+# will only generate SUNWgnome-panel's man page tarball
+#
+# For each package that contains man pages.
+# - Ensure all relevant man pages for your package are located under the 
+# correct man page section dir i.e.
+# entities/man1/man1m/man3/man3tiff/man4/man5
+# - Add Package name to PACKAGES Variable
+# e.g. PACKAGES = \
+# SUNWgnome-panel \
+# SUNWyour-package
+#
+# - Add two package specific variables 
+# PACKAGE_PAGES - Full path of all manpages for this package
+# e.g. SUNWgnome-panel_PAGES = man1/gnome-panel.1 etc...
+# PACKAGE.PAGES - Assigned to $(PACKAGE_PAGES).
+# e.g. SUNWgnome-panel.PAGES: $(SUNWgnome-panel_PAGES)
+#
+#
+# To Add new man pages to existing packages
+# -----------------------------------------
+# Put very simply, all that is required from engineers is to make some changes 
+# and commit in SVN.
+#
+# - Ensure the man page exists in SVN under the relevant man page section sub 
+# dir
+# - Add man page to the SUNW<package>_PAGES Makefile variable
+# e.g. For a new gnome-panel man page it would be added to 
+# SUNWgnome-panel_PAGES
+# - Remake tarballs
+# $ make
+# This will re-generate all man page tarballs. 
+# - Copy newly generated tarball from sun-manpage-tarballs to package build 
+# sources e.g. /jds/packages/SOURCES, and ensure package builds and manpages 
+# install correctly.
+# - New man page tarball will be generated by RE for each nightly, and for each
+# milestone build.
+# - Commit change back to subverison, e.g. new/amended man pagees, 
+# Solaris/manpages/Makefile, Solaris/S*.spec files if affected.
+#
+#
+# MANPAGE_VERSION is maintained by RE and only gets bumped when spec-files gets
+# branched. PLEASE do not change this.
+#
+SHELL=/bin/ksh
+MANPAGE_VERSION=0.1
+MANPAGE_DIR=sun-manpages
+TARBALL_DIR=sun-manpage-tarballs
+SGML2ROFF=/usr/lib/sgml/sgml2roff
+GZIP=/usr/bin/gzip
+TAR=/usr/bin/tar
+AWK=/usr/bin/awk
+MAKE=/usr/sfw/bin/gmake
+GREP=/usr/bin/grep
+
+PACKAGES = \
+	SUNWIPython			\
+	SUNWTiff			\
+	SUNWbabl			\
+	SUNWcheese			\
+	SUNWclutter			\
+	SUNWclutter-gst			\
+	SUNWclutter-gtk			\
+	SUNWclutter-cairo		\
+	SUNWdia				\
+	SUNWdbus			\
+	SUNWdbus-glib			\
+	SUNWdrivel			\
+	SUNWespeak			\
+	SUNWevolution-libs		\
+	SUNWevolution-exchange		\
+	SUNWevolution			\
+	SUNWevolution-webcal		\
+	SUNWevolution-data-server	\
+	SUNWfirefox			\
+	SUNWfsexam			\
+	SUNWgamin			\
+	SUNWgegl			\
+	SUNWglibmm			\
+	SUNWgnome-a11y-dasher		\
+	SUNWgnome-a11y-gok		\
+	SUNWgnome-a11y-libs		\
+	SUNWgnome-a11y-mousetweaks	\
+	SUNWgnome-a11y-poke		\
+	SUNWgnome-a11y-reader		\
+	SUNWgnome-a11y-speech		\
+	SUNWgnome-archive-mgr		\
+	SUNWgnome-audio			\
+	SUNWglib2			\
+	SUNWcairo			\
+	SUNWpango			\
+	SUNWlibatk			\
+	SUNWgtk2			\
+	SUNWlibglade			\
+	SUNWlibart			\
+	SUNWlibgnomecanvas		\
+	SUNWgnome-base-libs-java	\
+	SUNWgnome-calculator		\
+	SUNWgnome-camera		\
+	SUNWgnome-cd-burner		\
+	SUNWgnome-cd			\
+	SUNWgnome-character-map		\
+	SUNWgnome-common-devel		\
+	SUNWgnome-component		\
+	SUNWgnome-config-editor		\
+	SUNWgnome-config		\
+	SUNWgnome-crash-report		\
+	SUNWgnome-desktop-prefs		\
+	SUNWgnome-devhelp		\
+	SUNWgnome-dialog		\
+	SUNWgnome-display-mgr		\
+	SUNWgnome-file-mgr		\
+	SUNWgnome-games			\
+	SUNWgnome-gtksourceview		\
+	SUNWgnome-gvfs			\
+	SUNWgnome-help-viewer		\
+	SUNWgnome-hex-editor		\
+	SUNWgnome-im-client		\
+	SUNWgnome-img-viewer		\
+	SUNWgnome-libs			\
+	SUNWgnome-media-apps		\
+	SUNWgnome-media-player		\
+	SUNWgnome-media			\
+	SUNWgnome-meeting		\
+	SUNWgnome-menu-editor		\
+	SUNWgnome-nettool		\
+	SUNWgnome-panel			\
+	SUNWgnome-pdf-viewer		\
+	SUNWgnome-pilot			\
+	SUNWgnome-power-manager		\
+	SUNWgnome-print			\
+	SUNWgnome-remote-desktop	\
+	SUNWgnome-removable-media	\
+	SUNWgnome-session		\
+	SUNWgnome-spell			\
+	SUNWgnome-system-tools		\
+	SUNWgnome-system-monitor	\
+	SUNWgnome-terminal		\
+	SUNWgnome-text-editor		\
+	SUNWgnome-ui-designer		\
+	SUNWgnome-utils			\
+	SUNWgnome-vfs			\
+	SUNWgnome-wm			\
+	SUNWgnutls			\
+	SUNWgtkmm			\
+	SUNWgtkspell			\
+	SUNWgtk-vnc			\
+	SUNWjpg				\
+	SUNWlibcanberra			\
+	SUNWlibcroco			\
+	SUNWlibgcrypt			\
+	SUNWlibgmime			\
+	SUNWlibgpg-error		\
+	SUNWlibgsf			\
+	SUNWlibgtop			\
+	SUNWlibical			\
+	SUNWliboil			\
+	SUNWlibpopt			\
+	SUNWlibproxy			\
+	SUNWlibrsvg			\
+	SUNWlibsoup			\
+	SUNWlibtasn1			\
+	SUNWnwam-manager		\
+	SUNWogg-vorbis			\
+	SUNWpangomm			\
+	SUNWpilot-link			\
+	SUNWpng				\
+	SUNWprint-monitor		\
+	SUNWrealplayer			\
+	SUNWseahorse			\
+	SUNWsigcpp			\
+	SUNWthunderbird		 \
+	SUNWvinagre			\
+	SUNWlibunique			\
+	SUNWvirt-manager		\
+	SUNWw3m				\
+	SUNWxdg-user-dirs		\
+	SUNWxdg-user-dirs-gtk \
+ SUNWlibpigment \
+ SUNWflac \
+ SUNWspeex \
+ SUNWlibtheora 
+
+all: TARBALLS
+
+SUNWTiff_PAGES =					\
+	man1/fax2ps.1					\
+	man1/fax2tiff.1					\
+	man1/gif2tiff.1					\
+	man1/pal2rgb.1					\
+	man1/ppm2tiff.1					\
+	man1/ras2tiff.1					\
+	man1/rgb2ycbcr.1				\
+	man1/thumbnail.1				\
+	man1/tiff2bw.1					\
+	man1/tiff2ps.1					\
+	man1/tiffcmp.1					\
+	man1/tiffcp.1					\
+	man1/tiffdither.1				\
+	man1/tiffdump.1					\
+	man1/tiffinfo.1					\
+	man1/tiffmedian.1				\
+	man1/tiffsplit.1				\
+	man3/libtiff.3					\
+	man3tiff/TIFFCheckTile.3tiff			\
+	man3tiff/TIFFClientOpen.3tiff			\
+	man3tiff/TIFFClose.3tiff			\
+	man3tiff/TIFFComputeStrip.3tiff			\
+	man3tiff/TIFFComputeTile.3tiff			\
+	man3tiff/TIFFCurrentDirectory.3tiff		\
+	man3tiff/TIFFCurrentRow.3tiff			\
+	man3tiff/TIFFCurrentStrip.3tiff			\
+	man3tiff/TIFFCurrentTile.3tiff			\
+	man3tiff/TIFFDefaultStripSize.3tiff		\
+	man3tiff/TIFFDefaultTileSize.3tiff		\
+	man3tiff/TIFFError.3tiff			\
+	man3tiff/TIFFFdOpen.3tiff			\
+	man3tiff/TIFFFileName.3tiff			\
+	man3tiff/TIFFFileno.3tiff			\
+	man3tiff/TIFFFindCODEC.3tiff			\
+	man3tiff/TIFFFlush.3tiff			\
+	man3tiff/TIFFFlushData.3tiff			\
+	man3tiff/TIFFGetBitRevTable.3tiff		\
+	man3tiff/TIFFGetField.3tiff			\
+	man3tiff/TIFFGetFieldDefaulted.3tiff		\
+	man3tiff/TIFFGetMode.3tiff			\
+	man3tiff/TIFFGetVersion.3tiff			\
+	man3tiff/TIFFIsByteSwapped.3tiff		\
+	man3tiff/TIFFIsMSB2LSB.3tiff			\
+	man3tiff/TIFFIsTiled.3tiff			\
+	man3tiff/TIFFIsUpSampled.3tiff			\
+	man3tiff/TIFFLastDirectory.3tiff		\
+	man3tiff/TIFFNumberOfStrips.3tiff		\
+	man3tiff/TIFFNumberOfTiles.3tiff		\
+	man3tiff/TIFFOpen.3tiff				\
+	man3tiff/TIFFPrintDirectory.3tiff		\
+	man3tiff/TIFFRGBAImage.3tiff			\
+	man3tiff/TIFFRGBAImageBegin.3tiff		\
+	man3tiff/TIFFRGBAImageEnd.3tiff			\
+	man3tiff/TIFFRGBAImageGet.3tiff			\
+	man3tiff/TIFFRGBAImageOK.3tiff			\
+	man3tiff/TIFFRGBAImageOriented.3tiff		\
+	man3tiff/TIFFRasterScanlineSize.3tiff		\
+	man3tiff/TIFFReadBufferSetup.3tiff		\
+	man3tiff/TIFFReadDirectory.3tiff		\
+	man3tiff/TIFFReadEncodedStrip.3tiff		\
+	man3tiff/TIFFReadEncodedTile.3tiff		\
+	man3tiff/TIFFReadRGBAImage.3tiff		\
+	man3tiff/TIFFReadRGBAStrip.3tiff		\
+	man3tiff/TIFFReadRGBATile.3tiff			\
+	man3tiff/TIFFReadRawStrip.3tiff			\
+	man3tiff/TIFFReadRawTile.3tiff			\
+	man3tiff/TIFFReadScanline.3tiff			\
+	man3tiff/TIFFReadTile.3tiff			\
+	man3tiff/TIFFRegisterCODEC.3tiff		\
+	man3tiff/TIFFReverseBits.3tiff			\
+	man3tiff/TIFFScanlineSize.3tiff			\
+	man3tiff/TIFFSetDirectory.3tiff			\
+	man3tiff/TIFFSetErrorHandler.3tiff		\
+	man3tiff/TIFFSetField.3tiff			\
+	man3tiff/TIFFSetSubDirectory.3tiff		\
+	man3tiff/TIFFSetWarningHandler.3tiff		\
+	man3tiff/TIFFStripSize.3tiff			\
+	man3tiff/TIFFSwabArrayOfLong.3tiff		\
+	man3tiff/TIFFSwabArrayOfShort.3tiff		\
+	man3tiff/TIFFSwabLong.3tiff			\
+	man3tiff/TIFFSwabShort.3tiff			\
+	man3tiff/TIFFTileRowSize.3tiff			\
+	man3tiff/TIFFTileSize.3tiff			\
+	man3tiff/TIFFUnRegisterCODEC.3tiff		\
+	man3tiff/TIFFVGetField.3tiff			\
+	man3tiff/TIFFVGetFieldDefaulted.3tiff		\
+	man3tiff/TIFFVSetField.3tiff			\
+	man3tiff/TIFFVStripSize.3tiff			\
+	man3tiff/TIFFVTileSize.3tiff			\
+	man3tiff/TIFFWarning.3tiff			\
+	man3tiff/TIFFWriteBufferSetup.3tiff		\
+	man3tiff/TIFFWriteDirectory.3tiff		\
+	man3tiff/TIFFWriteEncodedStrip.3tiff		\
+	man3tiff/TIFFWriteEncodedTile.3tiff		\
+	man3tiff/TIFFWriteRawStrip.3tiff		\
+	man3tiff/TIFFWriteRawTile.3tiff			\
+	man3tiff/TIFFWriteScanline.3tiff		\
+	man3tiff/TIFFWriteTile.3tiff			\
+	man3tiff/TIFFbuffer.3tiff			\
+	man3tiff/TIFFcodec.3tiff			\
+	man3tiff/TIFFmemory.3tiff			\
+	man3tiff/TIFFquery.3tiff			\
+	man3tiff/TIFFsize.3tiff				\
+	man3tiff/TIFFstrip.3tiff			\
+	man3tiff/TIFFswab.3tiff				\
+	man3tiff/TIFFtile.3tiff				\
+	man3tiff/_TIFFfree.3tiff			\
+	man3tiff/_TIFFmalloc.3tiff			\
+	man3tiff/_TIFFmemcmp.3tiff			\
+	man3tiff/_TIFFmemcpy.3tiff			\
+	man3tiff/_TIFFmemset.3tiff			\
+	man3tiff/_TIFFrealloc.3tiff
+SUNWTiff.PAGES: $(SUNWTiff_PAGES)
+
+SUNWcheese_PAGES = 	\
+	man1/cheese.1
+SUNWcheese.PAGES: $(SUNWcheese_PAGES)
+
+SUNWdbus_PAGES =	\
+	man1/dbus-cleanup-sockets.1	\
+	man1/dbus-daemon.1		\
+	man1/dbus-launch.1		\
+	man1/dbus-monitor.1		\
+	man1/dbus-send.1		\
+	man1/dbus-uuidgen.1		\
+	man3/libdbus-1.3
+SUNWdbus.PAGES: $(SUNWdbus_PAGES)
+
+SUNWdbus-glib_PAGES =			\
+	man1/dbus-binding-tool.1	\
+	man3/libdbus-glib-1.3
+SUNWdbus-glib.PAGES: $(SUNWdbus-glib_PAGES)
+
+SUNWevolution-libs_PAGES = \
+ man1/gtkhtml-editor-test.1 \
+	man3/libgtkhtml-editor.3 \
+	man3/libgtkhtml-3.14.3
+SUNWevolution-libs.PAGES: $(SUNWevolution-libs_PAGES)
+
+SUNWevolution-exchange_PAGES =				\
+	man1/exchange-connector-setup.1
+SUNWevolution-exchange.PAGES: $(SUNWevolution-exchange_PAGES)
+
+SUNWevolution_PAGES =		\
+	man1/evolution.1	\
+	man3/libecal-1.2.3
+SUNWevolution.PAGES: $(SUNWevolution_PAGES)
+
+SUNWevolution-data-server_PAGES =	\
+	man3/libedata-book-1.2.3	\
+	man3/libedata-cal-1.2.3		\
+	man3/libedataserver-1.2.3	\
+	man3/libedataserverui-1.2.3 \
+	man3/libcamel-1.2.3	\
+	man3/libgdata-google-1.2.3	\
+	man3/libebook-1.2.3	\
+	man3/libgdata-1.2.3
+SUNWevolution-data-server.PAGES: $(SUNWevolution-data-server_PAGES)
+
+SUNWevolution-webcal_PAGES =				\
+	man1/evolution-webcal.1
+SUNWevolution-webcal.PAGES: $(SUNWevolution-webcal_PAGES)
+
+SUNWfirefox_PAGES =	\
+	man1/firefox.1
+SUNWfirefox.PAGES: $(SUNWfirefox_PAGES)
+
+SUNWgnome-a11y-dasher_PAGES =			\
+	man1/dasher.1
+SUNWgnome-a11y-dasher.PAGES: $(SUNWgnome-a11y-dasher_PAGES)
+
+SUNWgnome-a11y-gok_PAGES =			\
+	man1/create-branching-keyboard.1	\
+	man1/gok.1
+SUNWgnome-a11y-gok.PAGES: $(SUNWgnome-a11y-gok_PAGES)
+
+SUNWgnome-a11y-libs_PAGES =		\
+	man1/magnifier.1		\
+	man1/at-spi-registryd.1		\
+	man3/at-spi.3			\
+	man3/libspi.3			\
+	man3/libloginhelper.3		\
+	man3/libgnome-mag.3		\
+	man3/libcspi.3
+SUNWgnome-a11y-libs.PAGES: $(SUNWgnome-a11y-libs_PAGES)
+
+SUNWgnome-a11y-mousetweaks_PAGES =	\
+	man1/mousetweaks.1		\
+	man1/dwell-click-applet.1	\
+	man1/pointer-capture-applet.1
+SUNWgnome-a11y-mousetweaks.PAGES: $(SUNWgnome-a11y-mousetweaks_PAGES)
+
+SUNWIPython_PAGES =		\
+	man1/ipython.1		\
+	man1/pycolor.1
+SUNWIPython.PAGES: $(SUNWIPython_PAGES)
+
+SUNWgnome-a11y-reader_PAGES =	\
+	man1/orca.1
+SUNWgnome-a11y-reader.PAGES: $(SUNWgnome-a11y-reader_PAGES)
+
+SUNWgnome-a11y-speech_PAGES =		\
+	man1/test-speech.1		\
+	man1/espeak-synthesis-driver.1	\
+	man1/freetts-synthesis-driver.1	\
+	man3/libfreettsdriver.so.3	\
+	man3/libgnomespeech.3	
+SUNWgnome-a11y-speech.PAGES: $(SUNWgnome-a11y-speech_PAGES)
+
+SUNWgnome-a11y-poke_PAGES =	\
+	man1/accerciser.1
+SUNWgnome-a11y-poke.PAGES: $(SUNWgnome-a11y-poke_PAGES)
+
+SUNWgnome-archive-mgr_PAGES =	\
+	man1/file-roller.1
+SUNWgnome-archive-mgr.PAGES: $(SUNWgnome-archive-mgr_PAGES)
+
+SUNWgnome-audio_PAGES =			\
+	man1/audiofile-config.1		\
+	man1/esd-config.1		\
+	man1/esdcat.1			\
+	man1/esdctl.1			\
+	man1/esdmon.1			\
+	man1/esdplay.1			\
+	man1/esdrec.1			\
+	man1/esdsample.1		\
+	man3/libaudiofile.3		\
+	man3/libesd.3
+SUNWgnome-audio.PAGES: $(SUNWgnome-audio_PAGES)
+
+SUNWglib2_PAGES =				\
+	man1/glib-genmarshal.1			\
+	man1/glib-gettextize.1			\
+	man1/glib-mkenums.1			\
+	man1/gobject-query.1			\
+	man3/libgio-2.0.3			\
+	man3/libglib-2.0.3			\
+	man3/libgmodule-2.0.3			\
+	man3/libgobject-2.0.3			\
+	man3/libgthread-2.0.3			\
+	man5/gnome-interfaces.5			\
+	entities/gnomecommon.ent
+SUNWglib2.PAGES: $(SUNWglib2_PAGES)
+
+SUNWcairo_PAGES =				\
+	man3/libcairo.3
+SUNWcairo.PAGES: $(SUNWcairo_PAGES)
+
+SUNWpango_PAGES =				\
+	man1/pango-querymodules.1		\
+	man3/libpango-1.0.3			\
+	man3/libpangocairo-1.0.3		\
+	man3/libpangoft2-1.0.3			\
+	man3/libpangoxft-1.0.3			\
+	man3/libpangox-1.0.3
+SUNWpango.PAGES: $(SUNWpango_PAGES)
+
+SUNWlibatk_PAGES =				\
+	man3/libatk-1.0.3
+SUNWlibatk.PAGES: $(SUNWlibatk_PAGES)
+
+SUNWgtk2_PAGES =				\
+	man1/gdk-pixbuf-csource.1		\
+	man1/gdk-pixbuf-query-loaders.1		\
+	man1/gtk-query-immodules-2.0.1		\
+	man1/gtk-update-icon-cache.1		\
+	man1/gtk-builder-convert.1		\
+	man3/libgailutil.3			\
+	man3/libgdk-x11-2.0.3			\
+	man3/libgdk_pixbuf-2.0.3		\
+	man3/libgdk_pixbuf_xlib-2.0.3		\
+	man3/libgtk-x11-2.0.3
+SUNWgtk2.PAGES: $(SUNWgtk2_PAGES)
+
+SUNWlibglade_PAGES =				\
+	man3/libglade-2.0.3
+SUNWlibglade.PAGES: $(SUNWlibglade_PAGES)
+
+SUNWlibart_PAGES =				\
+	man1/libart2-config.1			\
+	man3/libart_lgpl_2.3
+SUNWlibart.PAGES: $(SUNWlibart_PAGES)
+
+SUNWlibgnomecanvas_PAGES =			\
+	man3/libgnomecanvas-2.3
+SUNWlibgnomecanvas.PAGES: $(SUNWlibgnomecanvas_PAGES)
+
+SUNWgnome-base-libs-java_PAGES =		\
+	man3/java-gnome.3
+SUNWgnome-base-libs-java.PAGES: $(SUNWgnome-base-libs-java_PAGES)
+
+SUNWgnome-calculator_PAGES =	\
+	man1/gcalctool.1			\
+	man1/gnome-calculator.1
+SUNWgnome-calculator.PAGES: $(SUNWgnome-calculator_PAGES)
+
+SUNWgnome-cd-burner_PAGES =		\
+	man1/nautilus-cd-burner.1
+SUNWgnome-cd-burner.PAGES: $(SUNWgnome-cd-burner_PAGES)
+
+SUNWgnome-cd_PAGES =	\
+	man1/gnome-cd.1 \
+	man1/sound-juicer.1
+SUNWgnome-cd.PAGES: $(SUNWgnome-cd_PAGES)
+
+SUNWgnome-character-map_PAGES =	\
+	man1/charmap.1				\
+	man1/gucharmap.1			\
+	man1/gnome-character-map.1
+SUNWgnome-character-map.PAGES: $(SUNWgnome-character-map_PAGES)
+
+SUNWgnome-common-devel_PAGES =	\
+	man1/intltool-extract.1		\
+	man1/intltool-merge.1		\
+	man1/intltool-prepare.1		\
+	man1/intltool-update.1		\
+	man1/intltoolize.1		\
+	man1/pkg-config.1
+SUNWgnome-common-devel.PAGES: $(SUNWgnome-common-devel_PAGES)
+
+SUNWgnome-component_PAGES =			\
+	man1/orbit-idl-2.1			\
+	man1/activation-client.1		\
+	man1/orbit2-config.1			\
+	man1/bonobo-slay.1			\
+	man3/libORBit-2.3			\
+	man3/libbonobo-activation.3		\
+	man3/libIDL-2.3				\
+	man3/libbonobo-2.3			\
+	man3/libORBitCosNaming-2.3
+SUNWgnome-component.PAGES: $(SUNWgnome-component_PAGES)
+
+SUNWgnome-config-editor_PAGES =	\
+	man1/gconf-editor.1
+SUNWgnome-config-editor.PAGES: $(SUNWgnome-config-editor_PAGES)
+
+SUNWgnome-config_PAGES =	\
+	man1/gconftool-2.1	\
+	man3/libgconf-2.3
+SUNWgnome-config.PAGES: $(SUNWgnome-config_PAGES)
+
+SUNWgnome-crash-report_PAGES =	\
+	man1/bug-buddy.1
+SUNWgnome-crash-report.PAGES: $(SUNWgnome-crash-report_PAGES)
+
+SUNWgnome-desktop-prefs_PAGES =				\
+	man1/update-desktop-database.1			\
+	man1/gnome-accessibility-keyboard-properties.1	\
+	man1/gnome-appearance-properties.1		\
+	man1/gnome-at-properties.1			\
+	man1/gnome-control-center.1			\
+	man1/gnome-default-applications-properties.1	\
+	man1/gnome-display-properties.1			\
+	man1/gnome-keybinding-properties.1		\
+	man1/gnome-keyboard-properties.1		\
+	man1/gnome-mouse-properties.1			\
+	man1/gnome-network-preferences.1		\
+	man1/gnome-window-properties.1			\
+	man1/gnome-font-viewer.1
+SUNWgnome-desktop-prefs.PAGES: $(SUNWgnome-desktop-prefs_PAGES)
+
+SUNWgnome-dialog_PAGES =	\
+	man1/zenity.1		\
+	man1/gdialog.1
+SUNWgnome-dialog.PAGES: $(SUNWgnome-dialog_PAGES)
+
+SUNWgnome-display-mgr_PAGES =		\
+	man1/gdmXnest.1			\
+	man1/gdmXnestchooser.1		\
+	man1/gdmflexiserver.1		\
+	man1/gdmphotosetup.1		\
+	man1/gdmthemetester.1		\
+	man1/gdmdynamic.1		\
+	man1m/gdm.1m			\
+	man1m/gdmsetup.1m		\
+	man1m/gdm-binary.1m		\
+	man1m/gdm-restart.1m		\
+	man1m/gdm-safe-restart.1m	\
+	man1m/gdm-stop.1m
+SUNWgnome-display-mgr.PAGES: $(SUNWgnome-display-mgr_PAGES)
+
+SUNWgnome-file-mgr_PAGES =				\
+	man1/nautilus.1					\
+	man1/nautilus-file-management-properties.1
+SUNWgnome-file-mgr.PAGES: $(SUNWgnome-file-mgr_PAGES)
+
+SUNWgnome-gtksourceview_PAGES =	\
+	man3/libgtksourceview-1.0.3 \
+	man3/libgtksourceview-2.0.3 
+SUNWgnome-gtksourceview.PAGES: $(SUNWgnome-gtksourceview_PAGES)
+
+SUNWgnome-gvfs_PAGES =	\
+	man1/gvfs-cat.1	\
+	man1/gvfs-copy.1	\
+	man1/gvfs-info.1	\
+	man1/gvfs-less.1	\
+	man1/gvfs-ls.1	\
+	man1/gvfs-mkdir.1	\
+	man1/gvfs-monitor-dir.1	\
+	man1/gvfs-monitor-file.1	\
+	man1/gvfs-mount.1	\
+	man1/gvfs-move.1	\
+	man1/gvfs-rename.1	\
+	man1/gvfs-open.1	\
+	man1/gvfs-rm.1	\
+	man1/gvfs-save.1	\
+	man1/gvfs-trash.1	\
+	man1/gvfs-tree.1
+SUNWgnome-gvfs.PAGES: $(SUNWgnome-gvfs_PAGES)
+
+SUNWgnome-help-viewer_PAGES =	\
+	man1/gnome-help.1	\
+	man1/yelp.1
+SUNWgnome-help-viewer.PAGES: $(SUNWgnome-help-viewer_PAGES)
+
+SUNWgnome-hex-editor_PAGES =	\
+	man1/ghex2.1
+SUNWgnome-hex-editor.PAGES: $(SUNWgnome-hex-editor_PAGES)
+
+SUNWgnome-im-client_PAGES =	\
+	man1/pidgin.1							\
+	man1/purple-remote.1			\
+	man1/purple-send.1				\
+	man1/purple-send-async.1	\
+	man1/purple-url-handler.1	\
+	man1/otr_mackey.1					\
+	man1/otr_modify.1					\
+	man1/otr_parse.1					\
+	man1/otr_readforge.1			\
+	man1/otr_remac.1					\
+	man1/otr_sesskeys.1 \
+	man3/libpurple.3			 \
+	man3/libpurple-client.3		\
+	man3/libotr.3
+
+SUNWgnome-im-client.PAGES: $(SUNWgnome-im-client_PAGES)
+
+SUNWgnome-meeting_PAGES = \
+ man1/ekiga.1
+SUNWgnome-meeting.PAGES: $(SUNWgnome-meeting_PAGES)
+
+SUNWgnome-img-viewer_PAGES =	\
+	man1/eog.1
+SUNWgnome-img-viewer.PAGES: $(SUNWgnome-img-viewer_PAGES)
+
+SUNWgnome-libs_PAGES =					\
+	man1/scrollkeeper-config.1			\
+	man1/scrollkeeper-devel.1			\
+	man1/scrollkeeper-extract.1			\
+	man1/scrollkeeper-gen-seriesid.1		\
+	man1/scrollkeeper-get-cl.1			\
+	man1/scrollkeeper-get-content-list.1		\
+	man1/scrollkeeper-get-extended-content-list.1	\
+	man1/scrollkeeper-get-index-from-docpath.1	\
+	man1/scrollkeeper-get-toc-from-docpath.1	\
+	man1/scrollkeeper-get-toc-from-id.1		\
+	man1/scrollkeeper-install.1			\
+	man1/scrollkeeper-preinstall.1			\
+	man1/scrollkeeper-rebuilddb.1			\
+	man1/scrollkeeper-uninstall.1			\
+	man1/scrollkeeper-update.1			\
+	man1/scrollkeeper.1				\
+	man1/gnome-open.1				\
+	man1/gnome-keyring-daemon.1			\
+	man3/libbonoboui-2.3				\
+	man3/libgnome-2.3				\
+	man3/libgnomeui-2.3				\
+	man3/libgnome-keyring.3
+SUNWgnome-libs.PAGES: $(SUNWgnome-libs_PAGES)
+
+SUNWgnome-media-apps_PAGES =			\
+	man1/gnome-sound-recorder.1		\
+	man1/gnome-audio-profiles-properties.1	\
+	man1/gnome-volume-control.1		\
+	man1/gstreamer-properties.1 \
+	man3/libgnome-media-profiles.3
+SUNWgnome-media-apps.PAGES: $(SUNWgnome-media-apps_PAGES)
+
+SUNWgnome-media-player_PAGES =	 \
+	man1/rhythmbox.1 \
+	man1/rhythmbox-client.1 \
+	man1/totem.1 \
+	man1/totem-audio-preview.1 \
+	man1/totem-video-indexer.1 \
+	man1/totem-video-thumbnailer.1
+SUNWgnome-media-player.PAGES: $(SUNWgnome-media-player_PAGES)
+
+SUNWgnome-media_PAGES =			\
+	man1/gst-feedback.1		\
+	man1/gst-inspect.1		\
+	man1/gst-launch.1		\
+	man1/gst-typefind.1		\
+	man1/gst-xmlinspect.1		\
+	man1/gst-xmllaunch.1		\
+	man3/libgstreamer-0.10.3	\
+	man3/libgstbase-0.10.3		\
+	man5/gst-std-options.5
+SUNWgnome-media.PAGES: $(SUNWgnome-media_PAGES)
+
+SUNWgnome-menu-editor_PAGES =		\
+	man1/alacarte.1
+SUNWgnome-menu-editor.PAGES: $(SUNWgnome-menu-editor_PAGES)
+
+SUNWgnome-panel_PAGES =				\
+	man1/gnome-about.1			\
+	man1/gnome-desktop-item-edit.1		\
+	man1/gnome-panel.1			\
+	man1/notify-send.1			\
+	man1/gnome-cleanup.1			\
+	man3/libgnome-desktop-2.3		\
+	man3/libpanel-applet-2.3		\
+	man3/libnotify.3		\
+	man5/gnome-std-options.5
+SUNWgnome-panel.PAGES: $(SUNWgnome-panel_PAGES)
+
+SUNWgnome-pdf-viewer_PAGES =	\
+	man1/evince.1 \
+	man1/gpdf.1 \
+	man1/ggv.1
+SUNWgnome-pdf-viewer.PAGES: $(SUNWgnome-pdf-viewer_PAGES)
+
+SUNWgnome-pilot_PAGES =			\
+	man1/gpilot-install-file.1	\
+	man1/gpilotd-control-applet.1 \
+	man1/gpilotd.1 \
+	man3/libgpilotd.3		\
+	man3/libgpilotdcm.3		\
+	man3/libgpilotdconduit.3		
+SUNWgnome-pilot.PAGES: $(SUNWgnome-pilot_PAGES)
+
+SUNWpilot-link_PAGES =			\
+	man3/libpisock.3		\
+	man3/libpisync.3		
+SUNWpilot-link.PAGES: $(SUNWpilot-link_PAGES)
+
+SUNWgnome-print_PAGES =			\
+	man1/gnome-printinfo.1		\
+	man3/libgnomeprint-2-2.3	\
+	man3/libgnomeprintui-2-2.3
+SUNWgnome-print.PAGES: $(SUNWgnome-print_PAGES)
+
+SUNWgnome-removable-media_PAGES =	\
+	man1/gnome-volcheck.1
+SUNWgnome-removable-media.PAGES: $(SUNWgnome-removable-media_PAGES)
+
+SUNWgnome-remote-desktop_PAGES = 	\
+	man1/vino-server.1		\
+	man1/vino-passwd.1		\
+	man1/vino-preferences.1
+SUNWgnome-remote-desktop.PAGES: $(SUNWgnome-remote-desktop_PAGES)
+
+SUNWgnome-session_PAGES =			\
+	man1/gnome-session.1			\
+	man1/gnome-session-properties.1		\
+	man1/gnome-session-save.1		\
+	man1/gnome-wm.1
+SUNWgnome-session.PAGES: $(SUNWgnome-session_PAGES)
+
+SUNWgnome-system-tools_PAGES =	\
+	man1/network-admin.1 	\
+	man1/services-admin.1 	\
+	man1/shares-admin.1 	\
+	man1/time-admin.1 	\
+	man1/users-admin.1
+SUNWgnome-system-tools.PAGES: $(SUNWgnome-system-tools_PAGES)
+
+SUNWgnome-system-monitor_PAGES =	\
+	man1/gnome-system-monitor.1
+SUNWgnome-system-monitor.PAGES: $(SUNWgnome-system-monitor_PAGES)
+
+SUNWgnome-terminal_PAGES =	\
+	man1/gnome-terminal.1	\
+	man1/vte.1		\
+	man3/libvte.3
+SUNWgnome-terminal.PAGES: $(SUNWgnome-terminal_PAGES)
+
+SUNWgnome-text-editor_PAGES =	\
+	man1/gedit.1		\
+	man1/gnome-text-editor.1
+SUNWgnome-text-editor.PAGES: $(SUNWgnome-text-editor_PAGES)
+
+SUNWgnome-ui-designer_PAGES =	\
+	man1/glade-3.1
+SUNWgnome-ui-designer.PAGES: $(SUNWgnome-ui-designer_PAGES)
+
+SUNWgnome-utils_PAGES =				\
+	man1/gnome-dictionary.1			\
+	man1/gnome-search-tool.1		\
+	man1/gnome-panel-screenshot.1		\
+	man1/gnome-screenshot.1
+
+SUNWgnome-utils.PAGES: $(SUNWgnome-utils_PAGES)
+
+SUNWgnome-vfs_PAGES =			\
+	man1/gnomevfs-cat.1		\
+	man1/gnomevfs-copy.1		\
+	man1/gnomevfs-info.1		\
+	man1/gnomevfs-ls.1		\
+	man1/gnomevfs-mkdir.1		\
+	man1/update-mime-database.1	\
+	man3/libgnomevfs-2.3		\
+	man4/gnome-vfs-mime-magic.4	\
+	man4/gnome-vfs.applications.4	\
+	man4/gnome-vfs.keys.4		\
+	man4/gnome-vfs.mime.4
+SUNWgnome-vfs.PAGES: $(SUNWgnome-vfs_PAGES)
+
+SUNWgnome-wm_PAGES =			\
+	man1/metacity.1			\
+	man1/metacity-message.1		\
+	man1/metacity-theme-viewer.1
+SUNWgnome-wm.PAGES: $(SUNWgnome-wm_PAGES)
+
+SUNWjpg_PAGES =			\
+	man1/cjpeg.1		\
+	man1/djpeg.1		\
+	man1/jpegtran.1		\
+	man1/rdjpgcom.1		\
+	man1/wrjpgcom.1		\
+	man3/libjpeg.3
+SUNWjpg.PAGES: $(SUNWjpg_PAGES)
+
+SUNWlibical_PAGES =		\
+	man3/libical.3		\
+	man3/libicalss.3	\
+	man3/libicalvcal.3
+SUNWlibical.PAGES: $(SUNWlibical_PAGES)
+
+SUNWlibpopt_PAGES =	\
+	man3/libpopt.3
+SUNWlibpopt.PAGES: $(SUNWlibpopt_PAGES)
+
+SUNWlibrsvg_PAGES =		\
+	man1/rsvg.1		\
+	man3/librsvg-2.3
+SUNWlibrsvg.PAGES: $(SUNWlibrsvg_PAGES)
+
+SUNWogg-vorbis_PAGES =		\
+	man3/libogg.3		\
+	man3/libvorbis.3
+SUNWogg-vorbis.PAGES: $(SUNWogg-vorbis_PAGES)
+
+SUNWpng_PAGES =			\
+	man3/libpng.3		\
+	man3/libpngpf.3		\
+	man4/png.4
+SUNWpng.PAGES: $(SUNWpng_PAGES)
+
+SUNWrealplayer_PAGES =	\
+	man1/realplay.1
+SUNWrealplayer.PAGES: $(SUNWrealplayer_PAGES)
+
+SUNWthunderbird_PAGES =	\
+	man1/thunderbird.1
+SUNWthunderbird.PAGES: $(SUNWthunderbird_PAGES)
+
+SUNWgnome-devhelp_PAGES = 	\
+	man1/devhelp.1		\
+	man3/libdevhelp-1.3
+
+SUNWgnome-devhelp.PAGES: $(SUNWgnome-devhelp_PAGES)
+
+SUNWgnome-power-manager_PAGES = \
+	man1/gnome-power-manager.1	\
+	man1/gnome-power-preferences.1	\
+	man1/gnome-power-statistics.1
+SUNWgnome-power-manager.PAGES: $(SUNWgnome-power-manager_PAGES)
+
+SUNWfsexam_PAGES = 	\
+	man1/fsexam.1	\
+	man4/fsexam.4
+SUNWfsexam.PAGES: $(SUNWfsexam_PAGES)
+
+SUNWprint-monitor_PAGES = \
+	man1/ospm-pm.1 \
+	man1/ospm-preferences.1
+SUNWprint-monitor.PAGES: $(SUNWprint-monitor_PAGES)
+
+SUNWvirt-manager_PAGES = \
+ man1/virt-manager.1
+SUNWvirt-manager.PAGES: $(SUNWvirt-manager_PAGES)
+
+SUNWgnome-games_PAGES = 	\
+	man3/libggz.3		\
+	man3/libggzcore.3	\
+	man3/libggzmod.3
+SUNWgnome-games.PAGES: $(SUNWgnome-games_PAGES)
+
+SUNWxdg-user-dirs_PAGES = \
+		man1/xdg-user-dir.1 \
+		man1/xdg-user-dirs-update.1
+
+SUNWxdg-user-dirs.PAGES: $(SUNWxdg-user-dirs_PAGES)
+
+SUNWxdg-user-dirs-gtk_PAGES = \
+		man1/xdg-user-dirs-gtk-update.1
+SUNWxdg-user-dirs-gtk.PAGES: $(SUNWxdg-user-dirs-gtk_PAGES)
+
+SUNWgamin_PAGES = \
+		man1/gam_server.1	\
+		man3/libgamin-1.3
+SUNWgamin.PAGES: $(SUNWgamin_PAGES)
+
+SUNWlibtasn1_PAGES = \
+		man3/libtasn1.3	\
+		man1/libtasn1-config.1
+SUNWlibtasn1.PAGES: $(SUNWlibtasn1_PAGES)
+
+SUNWlibgmime_PAGES = \
+ man3/libgmime.3
+
+SUNWlibgmime.PAGES: $(SUNWlibgmime_PAGES)
+
+SUNWliboil_PAGES = 	\
+	man1/oil-bugreport.1 \
+	man3/liboil-0.3.3
+SUNWliboil.PAGES: $(SUNWliboil_PAGES)
+
+SUNWgnome-spell_PAGES = \
+		man1/enchant.1 \
+		man1/enchant-lsmod.1 \
+ man3/libenchant.3 
+SUNWgnome-spell.PAGES: $(SUNWgnome-spell_PAGES)
+SUNWlibgtop_PAGES = \
+ man3/libgtop-2.0.3 
+SUNWlibgtop.PAGES: $(SUNWlibgtop_PAGES)
+
+SUNWglibmm_PAGES = \
+	man3/libgiomm-2.4.3			\
+	man3/libglibmm-2.4.3			
+SUNWglibmm.PAGES: $(SUNWglibmm_PAGES)
+
+SUNWsigcpp_PAGES = \
+	man3/libsigc-2.0.3
+SUNWsigcpp.PAGES: $(SUNWsigcpp_PAGES)
+
+SUNWlibsoup_PAGES = \
+ man3/libsoup-2.4.3
+SUNWlibsoup.PAGES: $(SUNWlibsoup_PAGES)
+
+SUNWlibproxy_PAGES = \
+	man3/libproxy.3
+SUNWlibproxy.PAGES: $(SUNWlibproxy_PAGES)
+
+SUNWgnutls_PAGES = \
+		man1/libgnutls-config.1 \
+		man3/libgnutls.3 \
+ man3/libgnutlsxx.3 
+SUNWgnutls.PAGES: $(SUNWgnutls_PAGES)
+
+SUNWlibcanberra_PAGES = \
+		man1/canberra-gtk-play.1 \
+		man3/libcanberra.3 \
+		man3/libcanberra-gtk.3
+SUNWlibcanberra.PAGES: $(SUNWlibcanberra_PAGES)
+
+SUNWlibcroco_PAGES = \
+		man1/croco-0.6-config.1 \
+		man1/csslint-0.6.1 \
+		man3/libcroco-0.6.3
+SUNWlibcroco.PAGES: $(SUNWlibcroco_PAGES)
+
+SUNWlibgcrypt_PAGES = \
+		man1/libgcrypt-config.1 \
+		man1/dumpsexp.1 \
+		man3/libgcrypt.3 
+SUNWlibgcrypt.PAGES: $(SUNWlibgcrypt_PAGES)
+
+SUNWlibgpg-error_PAGES = \
+		man1/gpg-error-config.1 \
+		man1/gpg-error.1 \
+		man3/libgpg-error.3 
+SUNWlibgpg-error.PAGES: $(SUNWlibgpg-error_PAGES)
+
+SUNWgnome-camera_PAGES = \
+		man1/gphoto2-config.1 \
+		man1/gphoto2-port-config.1 \
+		man1/gexif.1
+SUNWgnome-camera.PAGES: $(SUNWgnome-camera_PAGES)
+
+SUNWgtkspell_PAGES =	\
+		man3/libgtkspell.3
+SUNWgtkspell.PAGES: $(SUNWgtkspell_PAGES)
+
+SUNWgtkmm_PAGES =	\
+		man3/libgtkmm-2.4.3	\
+		man3/libatkmm-1.6.3	\
+		man3/libgdkmm-2.4.3
+SUNWgtkmm.PAGES: $(SUNWgtkmm_PAGES)
+
+SUNWpangomm_PAGES =	\
+		man3/libpangomm-1.4.3
+SUNWpangomm.PAGES: $(SUNWpangomm_PAGES)
+
+SUNWespeak_PAGES =	\
+		man1/espeak.1		\
+		man3/libespeak.3
+SUNWespeak.PAGES: $(SUNWespeak_PAGES)
+
+SUNWgnome-nettool_PAGES =	\
+		man1/gnome-nettool.1
+SUNWgnome-nettool.PAGES: $(SUNWgnome-nettool_PAGES)
+
+SUNWnwam-manager_PAGES = \
+	man1m/nwam-manager.1m
+SUNWnwam-manager.PAGES: $(SUNWnwam-manager_PAGES)
+
+SUNWw3m_PAGES =	\
+	man1/w3m.1							 \
+	man1/w3mman.1
+SUNWw3m.PAGES: $(SUNWw3m_PAGES)
+
+SUNWlibgsf_PAGES =	 \
+	man1/gsf.1							 \
+	man1/gsf-office-thumbnailer.1 \
+	man1/gsf-vba-dump.1 \
+ man3/libgsf-1.3 \
+ man3/libgsf-gnome-1.3 
+SUNWlibgsf.PAGES: $(SUNWlibgsf_PAGES)
+
+SUNWseahorse_PAGES = \
+ man1/seahorse.1 \
+ man1/seahorse-daemon.1 \
+ man3/libcryptui.3 
+SUNWseahorse.PAGES: $(SUNWseahorse_PAGES)
+
+SUNWdia_PAGES = \
+ man1/dia.1 
+SUNWdia.PAGES: $(SUNWdia_PAGES)
+
+SUNWgtk-vnc_PAGES = \
+ man3/libgtk-vnc-1.0.3
+SUNWgtk-vnc.PAGES: $(SUNWgtk-vnc_PAGES)
+
+SUNWdrivel_PAGES = \
+ man1/drivel.1
+SUNWdrivel.PAGES: $(SUNWdrivel_PAGES)
+
+SUNWvinagre_PAGES = \
+ man1/vinagre.1
+SUNWvinagre.PAGES: $(SUNWvinagre_PAGES)
+
+SUNWlibunique_PAGES = \
+ man3/libunique-1.0.3
+SUNWlibunique.PAGES: $(SUNWlibunique_PAGES)
+
+SUNWclutter_PAGES = \
+	man3/libclutter-glx-0.8.3
+SUNWclutter.PAGES: $(SUNWclutter_PAGES)
+
+SUNWclutter-gst_PAGES = \
+	man3/libclutter-gst-0.8.3
+SUNWclutter-gst.PAGES: $(SUNWclutter-gst_PAGES)
+
+SUNWclutter-cairo_PAGES = \
+	man3/libclutter-cairo-0.8.3
+SUNWclutter-cairo.PAGES: $(SUNWclutter-cairo_PAGES)
+
+SUNWclutter-gtk_PAGES = \
+	man3/libclutter-gtk-0.8.3
+SUNWclutter-gtk.PAGES: $(SUNWclutter-gtk_PAGES)
+
+SUNWbabl_PAGES = \
+	man3/libbabl-0.0.3
+SUNWbabl.PAGES: $(SUNWbabl_PAGES)
+
+SUNWgegl_PAGES = \
+	man1/gegl.1 \
+	man3/libgegl-0.0.3
+SUNWgegl.PAGES: $(SUNWgegl_PAGES)
+
+SUNWlibpigment_PAGES=			 \
+	man3/libpigment-0.3.3		 \
+	man3/libpigment-gtk-0.3.3		\
+	man3/libpigment-imaging-0.3.3
+SUNWlibpigment.PAGES: $(SUNWlibpigment_PAGES)
+
+SUNWlibtheora_PAGES=			 \
+	man3/libtheora.3		 \
+	man3/libtheoraenc.3		 \
+	man3/libtheoradec.3 
+SUNWlibtheora.PAGES: $(SUNWlibtheora_PAGES)
+
+SUNWflac_PAGES=			 \
+	man3/libFLAC.3
+SUNWflac.PAGES: $(SUNWlibflac_PAGES)
+
+SUNWspeex_PAGES= \
+ man3/libspeex.3 \
+ man3/libspeexdsp.3 
+SUNWspeex.PAGES: $(SUNWspeex_PAGES)
+
+
+
+.SUFFIXES: -manpages-$(MANPAGE_VERSION).tar.gz .PAGES
+.SUFFIXES: .check-used .PAGES
+
+TARBALLS = $(TARBALL_DIR)/$(addsuffix -$(MANPAGE_VERSION).tar.bz2, $(PACKAGES))
+
+TARBALLS: 
+	@test -d $(TARBALL_DIR) || mkdir -p "$(TARBALL_DIR)"
+	@rm -rf $(TARBALL_DIR)/*.tar.gz
+	@test -x $(SGML2ROFF) || echo "sgml2roff utility not found"
+	@test -x $(GZIP) || echo "gzip utility not found"
+	@for package in $(PACKAGES); do \
+		$(MAKE) MAKE=\"$(MAKE)\" $$package-manpages-$(MANPAGE_VERSION).tar.gz; \
+	done
+
+%-manpages-$(MANPAGE_VERSION).tar.gz: %.PAGES
+	@test -d $(TARBALL_DIR) || mkdir -p "$(TARBALL_DIR)"
+	@if test -f $(TARBALL_DIR)/$@; then \
+		rm -f $(TARBALL_DIR)/$@; \
+	fi
+	@rm -rf $(MANPAGE_DIR)/*
+	@test -d $(MANPAGE_DIR) || mkdir -p "$(MANPAGE_DIR)"
+	@echo "Converting manpages for $@"
+	@for manpage in $($(subst .PAGES,_PAGES,$<)); do \
+		base_manpage=`basename $$manpage`; \
+		echo "	$$base_manpage"; \
+		suffix=`expr "$$base_manpage" : '.*\.\([^./]*\)$'`; \
+		if [ $$suffix = "ent" ]; then \
+			cp $$manpage $(MANPAGE_DIR); \
+		else \
+			$(SGML2ROFF) $$manpage > $(MANPAGE_DIR)/$$base_manpage; \
+			$(GREP) "<!--ARC" $$manpage | $(AWK) '{ \
+					idx1 = index($0,ドル "ARC "); \
+					idx2 = index($0,ドル "-->"); \
+					if (idx1 > 0 && idx2 > 0) { \
+						print "...\\\" " substr($0,ドル idx1+6, idx2-(idx1+6)); \
+					} \
+			}' >> $(MANPAGE_DIR)/$$base_manpage; \
+		fi;\
+		echo $$base_manpage >> $(MANPAGE_DIR)/$$suffix; \
+	done
+	@cp Makefile.template $(MANPAGE_DIR)/Makefile
+	@if test -f $(MANPAGE_DIR)/ent; then \
+		mv $(MANPAGE_DIR)/ent $(MANPAGE_DIR)/entities; \
+	fi
+	@for mantype in entities 1 1m 3 3tiff 4 5; do \
+		if test -f $(MANPAGE_DIR)/$$mantype; then \
+			echo "MAN"$$mantype"PAGES = \\" >> $(MANPAGE_DIR)/Makefile; \
+			$(AWK) '{	\
+				if (length(saved_page) > 0)	\
+				print "	" saved_page "	\\";	\
+				saved_page=$0ドル;	\
+				} \
+				END { \
+					print "	" saved_page; \
+				}' $(MANPAGE_DIR)/$$mantype >> $(MANPAGE_DIR)/Makefile; \
+			echo "" >> $(MANPAGE_DIR)/Makefile; \
+		fi; \
+	done
+	@echo "install:" >> $(MANPAGE_DIR)/Makefile
+	@for mantype in entities 1 1m 3 3tiff 4 5; do \
+		if test -f $(MANPAGE_DIR)/$$mantype; then \
+			echo "	install -d \$$(DESTDIR)\$$(MAN"$$mantype"DIR)" >> $(MANPAGE_DIR)/Makefile; \
+			echo "	for mp in \$$(MAN"$$mantype"PAGES); do \\" >> $(MANPAGE_DIR)/Makefile; \
+			echo "		 install --mode=0644 \$$\$$mp \$$(DESTDIR)\$$(MAN"$$mantype"DIR); \\" >> $(MANPAGE_DIR)/Makefile; \
+			echo "	done" >> $(MANPAGE_DIR)/Makefile; \
+			rm -f $(MANPAGE_DIR)/$$mantype; \
+		fi; \
+	done
+	@tarball=`basename "$@" .gz`; echo "Making tarball $$tarball"; \
+		$(TAR) -cf $(TARBALL_DIR)/$$tarball $(MANPAGE_DIR); \
+		$(GZIP) $(TARBALL_DIR)/$$tarball
+	@rm -rf $(MANPAGE_DIR)
+
+check-used: 
+	@test -d check-used-manpages || mkdir -p "check-used-manpages"
+	@test -d check-all-manpages || mkdir -p "check-all-manpages"
+	@rm -f unused-manpages.txt
+	@cp entities/* man*/* check-all-manpages
+	@for package in $(PACKAGES); do \
+		$(MAKE) MAKE=\"$(MAKE)\" $$package.check-used; \
+	done
+	@all_manpages=`ls check-all-manpages/*`; \
+		for manpage in $$all_manpages; do \
+			base_manpage=`basename $$manpage`; \
+			if test -f check-used-manpages/$$base_manpage; then \
+				echo "	"$$base_manpage >> /dev/null;	\
+			else \
+				echo "	"$$base_manpage >> unused-manpages.txt; \
+			fi; \
+		done
+	@if test -f unused-manpages.txt; then \
+		echo "Following Manpages are not being used in any SUNW package :"; \
+		cat unused-manpages.txt; \
+		rm -f unused-manpages.txt; \
+	else \
+		echo "All man pages are being used"; \
+	fi
+	@rm -rf check-all-manpages
+	@rm -rf check-used-manpages
+
+%.check-used: %.PAGES
+	@for manpage in $($(subst .PAGES,_PAGES,$<)); do \
+		cp $$manpage check-used-manpages; \
+	done
+
+check-version:
+	@echo $(MANPAGE_VERSION)
+
+clean:
+	rm -rf $(MANPAGE_DIR)
+	rm $(TARBALL_DIR)/*.tar.gz
+
Added: trunk/spec_files/jds/manpages/Makefile.template
===================================================================
--- trunk/spec_files/jds/manpages/Makefile.template	 (rev 0)
+++ trunk/spec_files/jds/manpages/Makefile.template	2009年12月07日 16:07:16 UTC (rev 407)
@@ -0,0 +1,10 @@
+
+MANDIR=/usr/share/man
+MAN1DIR=$(MANDIR)/man1
+MAN1mDIR=$(MANDIR)/man1m
+MAN3DIR=$(MANDIR)/man3
+MAN3tiffDIR=$(MANDIR)/man3tiff
+MAN4DIR=$(MANDIR)/man4
+MAN5DIR=$(MANDIR)/man5
+MANentitiesDIR=$(MANDIR)/entities
+
Added: trunk/spec_files/jds/manpages/man3/at-spi.3
===================================================================
--- trunk/spec_files/jds/manpages/man3/at-spi.3	 (rev 0)
+++ trunk/spec_files/jds/manpages/man3/at-spi.3	2009年12月07日 16:07:16 UTC (rev 407)
@@ -0,0 +1,7 @@
+<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
+<!--ArborText, Inc., 1988-1999, v.4002-->
+<!--ARC : LSARC 2001/650 GNOME Accessibility-->
+<!ENTITY at-spi-3 SYSTEM "libcspi.3">
+<!-- SHADOW_PAGE -->
+]>
+&at-spi-3
Property changes on: trunk/spec_files/jds/manpages/man3/at-spi.3
___________________________________________________________________
Added: svn:executable
 + *
Added: trunk/spec_files/jds/manpages/man3/booktitles.ent
===================================================================
--- trunk/spec_files/jds/manpages/man3/booktitles.ent	 (rev 0)
+++ trunk/spec_files/jds/manpages/man3/booktitles.ent	2009年12月07日 16:07:16 UTC (rev 407)
@@ -0,0 +1,4 @@
+<!ENTITY release "SunOS 5.11">
+<!ENTITY sun-copy "Copyright &copy; 2002, Sun Microsystems, Inc. All Rights Reserved.">
+<!-- Book Titles -->
+<!ENTITY ug	"GNOME 2.0 on Solaris User Guide">
Property changes on: trunk/spec_files/jds/manpages/man3/booktitles.ent
___________________________________________________________________
Added: svn:executable
 + *
Added: trunk/spec_files/jds/manpages/man3/java-gnome.3
===================================================================
--- trunk/spec_files/jds/manpages/man3/java-gnome.3	 (rev 0)
+++ trunk/spec_files/jds/manpages/man3/java-gnome.3	2009年12月07日 16:07:16 UTC (rev 407)
@@ -0,0 +1,366 @@
+<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
+<!--ArborText, Inc., 1988-1999, v.4002-->
+<!ENTITY cmd "java-gnome">
+<!ENTITY % commonents SYSTEM "smancommon.ent">
+%commonents;
+<!ENTITY % booktitles SYSTEM "booktitles.ent">
+%booktitles;
+<!ENTITY suncopy "Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved.">
+]>
+<?Pub UDT _bookmark _target>
+<?Pub Inc>
+<refentry id="java-gnome-3">
+<!-- %Z%%M% %I% %E% SMI; -->
+<refmeta><refentrytitle>&cmd;</refentrytitle><manvolnum>3</manvolnum>
+<refmiscinfo class="date">2 Nov 2006</refmiscinfo>
+<refmiscinfo class="sectdesc">&man3;</refmiscinfo>
+<refmiscinfo class="software">&release;</refmiscinfo>
+<refmiscinfo class="arch">generic</refmiscinfo>
+<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
+</refmeta>
+<indexterm><primary>&cmd;</primary></indexterm>
+<indexterm><primary>Java bindings for Cairo 2D graphic library and GNOME librar\
+ies.</primary></indexterm>
+<refnamediv id="java-gnome-3-name"><refname>&cmd</refname>
+<refpurpose>Java bindings for Cairo 2D graphic library and GNOME libraries.
+</refpurpose></refnamediv>
+
+<refsect1 id="java-gnome-3-desc"><title>&synp-tt;</title>
+<para>
+<list>
+ <item>import org.freedesktop.cairo</item>
+ <item>import org.gnu.atk</item>
+ <item>import org.gnu.gconf</item>
+ <item>import org.gnu.gdk</item>
+ <item>import org.gnu.glade</item>
+ <item>import org.gnu.glib</item>
+ <item>import org.gnu.gnome</item>
+ <item>import org.gnu.gnome.event</item>
+ <item>import org.gnu.gtk</item>
+ <item>import org.gnu.gtk.event</item>
+ <item>import org.gnu.pango</item>
+ <item>import org.gnu.gnomevte</item>
+ <item>import org.gnu.gnomevte.event</item>
+</list>
+</para>
+</refsect1>
+
+<refsect1 id="java-gnome-3-desc"><title>&desc-tt;</title>
+<para><literal>&cmd;</literal> is a set of Java bindings for the Cairo 2D \
+Freedesktop.org 
+graphics API and a subset of bindings for the GNOME 2.x Developer Platform 
+Libraries namely glib, gtk, atk, gdk, pango, gnome, glade, gconf and vte 
+which allow GNOME and GTK+ applications to be written in Java. 
+</para>
+<para>As one of the Official Gnome Platform Bindings, Java-Gnome follows the 
+GNOME schedule, and GNOME Bindings rules which guarantee API stability 
+and time-based releases.
+</para>
+<para><literal>&cmd;</literal> bindings consist of the following jars and \
+supporting jni
+libraries: glib-java, cario-java, libgtk-java, libgnome-java, 
+libglade-java, libgconf-java and libvte-java. The first four provide the 
+core drawing, widget set, font, accessibility and application support for 
+Gnome Developers. libglade-java provides support to use Glade based XML 
+UI's in Java applications, created using the Gnome Glade UI designer. 
+libgconf-java provides an interface to the Gnome configuration 
+database for Java applications. libvte-java provides access to a gnome
+terminal widget.
+</para>
+<para>Java-gnome bindings come with additional documentation: API javadoc, 
+source code jars for each library and example Java Gtk, Gnome and Glade
+applications.
+</para>
+</refsect1>
+
+<refsect1 id="java-gnome-3-intf"><title>&intf-tt;</title>
+<informaltable frame="all">
+<tgroup cols="3" colsep="1" rowsep="1">
+<colspec colname="COLSPEC0" colwidth="1*">
+<colspec colname="COLSPEC1" colwidth="1*">
+<colspec colname="COLSPEC2" colwidth="1*">
+<thead>
+<row>
+<entry align="center" valign="middle">Interface</entry>
+<entry align="center" valign="middle">Stability</entry>
+<entry align="center" valign="middle">Comment</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry>org.freedesktop.cairo</entry>
+<entry>Volatile</entry>
+<entry>
+<para>2D graphics library</para>
+</entry>
+</row>
+<row>
+<entry>org.gnu.atk</entry>
+<entry>Volatile</entry>
+<entry>
+<para>Gnome Accessibility</para>
+<para>Support</para>
+</entry>
+</row>
+<row>
+<entry>org.gnu.gconf</entry>
+<entry>Volatile</entry>
+<entry>Configuration Support</entry>
+</row>
+<row>
+<entry>org.gnu.gdk</entry>
+<entry>Volatile</entry>
+<entry>Low level drawing support</entry>
+</row>
+<row>
+<entry>org.gnu.glade</entry>
+<entry>Volatile</entry>
+<entry>Glade UI design support</entry>
+</row>
+<row>
+<entry>org.gnu.glib</entry>
+<entry>Volatile</entry>
+<entry>Low level core API</entry>
+</row>
+<row>
+<entry>org.gnu.gnome</entry>
+<entry>Volatile</entry>
+<entry>Gnome application support</entry>
+</row>
+<row>
+<entry>org.gnu.gnome.event</entry>
+<entry>Volatile</entry>
+<entry>
+<para>Gnome application</para>
+<para>event support</para>
+</entry>
+</row>
+<row>
+<entry>org.gnu.gtk</entry>
+<entry>Volatile</entry>
+<entry>Gtk widget support</entry>
+</row>
+<row>
+<entry>org.gnu.gtk.event</entry>
+<entry>Volatile</entry>
+<entry>Gtk widget event support</entry>
+</row>
+<row>
+<entry>org.gnu.pango</entry>
+<entry>Volatile</entry>
+<entry>
+<para>Gnome text</para>
+<para>rendering support</para>
+</entry>
+</row>
+<row>
+<entry>org.gnu.gnomevte</entry>
+<entry>Volatile</entry>
+<entry>
+<para>Gnome terminal</para>
+<para>widget support</para>
+</entry>
+</row>
+<row>
+<entry>org.gnu.gnomevte.event</entry>
+<entry>Volatile</entry>
+<entry>
+<para>Gnome terminal</para>
+<para>widget event support</para>
+</entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+<note>
+<para>The above interfaces have been marked as Volatile even though
+they are marked as stable by the community [part of the Official Gnome
+Bindings and so must adhere to API Binding Rules]. The reason for this
+is that the community is planning an extensive redesign of the 2.x 
+series of Java-Gnome that will be released as a new 4.x series. Primary
+goals are to incorporate some automation for interface generation and 
+simplify the exposed API, both of which will ease future maintenance
+of the bindings.
+</para>
+<para>This new redesign will break backwards compatibility. However, as much 
+as possible the community is going to keep the older interfaces around 
+for several releases after the redesign. As the two interfaces will use 
+different namespaces they will be able to be installed on the same 
+system so developers will be able to plan a controlled deprecation of 
+the 2.x API's they are using. 
+</para>
+</note>
+
+</refsect1>
+
+<refsect1 id="java-gnome-3-file"><title>&file-tt;</title>
+<para>Jar files and shared libraries:</para>
+<para>
+
+<informaltable frame="all">
+<tgroup cols="3" colsep="1" rowsep="1">
+<colspec colname="COLSPEC0" colwidth="1*">
+<colspec colname="COLSPEC1" colwidth="1*">
+<colspec colname="COLSPEC2" colwidth="1*">
+<thead>
+<row>
+<entry>Spec Files</entry>
+<entry>
+<para>Delivers Jars to:</para>
+<para><filename>/usr/share/lib/\
+java</filename></para>
+</entry>
+<entry>
+<para>Delivers libs to:</para>
+<para><filename>/usr/lib</filename></para>
+</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry align="left">SUNWgnome-base-libs-java</entry>
+<entry align="left">
+<filename>glib##.jar</filename>
+<filename>cairo##.jar</filename>
+<filename>gtk##.jar</filename>
+<filename>glade##.jar</filename>
+<filename>gnome##.jar</filename>
+</entry>
+<entry align="left"><filename>libglibjni-##.so</filename>
+<filename>libcairojni-##.so</filename>
+<filename>libgtkjni-##.so</filename>
+<filename>libgladejni-##.so</filename>
+<filename>libgnomejni-##.so</filename>
+</entry>
+</row>
+<row>
+<entry align="left">SUNWgnome-config-java</entry>
+<entry align="left"><filename>gconf##.jar</filename></entry>
+<entry align="left"><filename>libgconfjni-##.so</filename></entry>
+</row>
+<row>
+<entry align="left">SUNWgnome-terminal-java</entry>
+<entry align="left"><filename>libvte##.jar</filename></entry>
+<entry align="left"><filename>libvtejni-##.so</filename></entry>
+</row>
+</tbody>
+</tgroup>
+</informaltable>
+</para>
+<para>Documentation files:</para>
+<itemizedlist><listitem><para>API Javadoc for the Java-Gnome libraries
+<screen><userinput>/usr/share/lib/java/javadoc/java-gnome/glib-java-##/api/\
+index.html
+/usr/share/lib/java/javadoc/java-gnome/cairo-java-##/api/index.html
+/usr/share/lib/java/javadoc/java-gnome/libgtk-java-##/api/index.html
+/usr/share/lib/java/javadoc/java-gnome/libgnome-java-##/api/index.html
+/usr/share/lib/java/javadoc/java-gnome/libglade-java-##/api/index.html
+/usr/share/lib/java/javadoc/java-gnome/libgconf-java-##/api/index.html
+/usr/share/lib/java/javadoc/java-gnome/libvte-java-##/api/\
+index.html</userinput></screen></para></listitem>
+
+<listitem><para>Source jars for the Java-Gnome libraries
+<screen><userinput>/usr/share/lib/java/src/java-gnome/glib##-src.jar
+/usr/share/lib/java/src/java-gnome/cairo##-src.jar
+/usr/share/lib/java/src/java-gnome/gtk##-src.jar
+/usr/share/lib/java/src/java-gnome/gnome##-src.jar
+/usr/share/lib/java/src/java-gnome/glade##-src.jar
+/usr/share/lib/java/src/java-gnome/gconf##-src.jar
+/usr/share/lib/java/src/java-gnome/\
+vte##-src.jar</userinput></screen></para></listitem>
+<listitem><para>Examples for the Java-Gnome libraries
+<screen><userinput>/usr/share/lib/java/javadoc/java-gnome/\
+libgtk-java-##/examples/*
+/usr/share/lib/java/javadoc/java-gnome/libgnome-java-##/examples/*
+/usr/share/lib/java/javadoc/java-gnome/libglade-java-##/examples/*
+/usr/share/lib/java/javadoc/java-gnome/libgconf-java-##/examples/*
+</userinput></screen></para></listitem>
+</itemizedlist>
+</refsect1>
+
+<refsect1 ide="java-gnome-3-attr"><title>&attr-tt;</title>
+<para>See attributes(5) for descriptions of the following attributes:</para>
+<para>
+<informaltable frame="all">
+<tgroup cols="2" colsep="1" rowsep="1">
+<colspec colname="COLSPEC0" colwidth="1*">
+<colspec colname="COLSPEC1" colwidth="1*">
+<thead>
+<row>
+<entry align="left" valign="bottom">ATTRIBUTE TYPE</entry>
+<entry align="left" valign="bottom">ATTRIBUTE VALUE</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry align="left" valign="bottom">Availability</entry>
+<entry align="left" valign="bottom">SUNWgnome-base-libs-java
+SUNWgnome-config-java
+SUNWgnome-terminal-java</entry>
+</row>
+<entry align="left" valign="bottom">Interface stability<...
 
[truncated message content]
From: belenix-notify <bel...@li...> - 2009年11月30日 14:55:56
Revision: 406
 http://belenix.svn.sourceforge.net/belenix/?rev=406&view=rev
Author: moinakg
Date: 2009年11月30日 14:55:46 +0000 (2009年11月30日)
Log Message:
-----------
	* SFEwarzone2100.spec
	* patches/warzone2100-01-solaris.diff
	* patches/warzone2100-02-netlog_fix.diff
	* SFEogre.spec
	* patches/ogre-01-rpath.diff
	* patches/ogre-02-glew.diff
	* patches/ogre-03-solaris.diff
	* SFEfreeimage.spec
	* patches/freeimage-01-makefile.diff
	* patches/freeimage-03-doxygen.diff
	* SFEzziplib.spec
	* patches/zziplib-01-ldflags.diff
	* patches/zziplib-02-export-inline.diff
	* patches/zziplib-03-multilib.diff
	* SFEtoluapp.spec
	* patches/toluapp-01-makeso.diff
	* patches/toluapp-02-gcc43.diff
	* SFEtorcs.spec
	* SFEtorcs-data.spec
	* ext-sources/torcs.desktop
	* patches/torcs-01-endian.diff
	* patches/torcs-02-math.diff
	* patches/torcs-03-solaris.diff
	 New packages.
Added Paths:
-----------
 trunk/spec_files/SFEfreeimage.spec
 trunk/spec_files/SFEogre.spec
 trunk/spec_files/SFEtoluapp.spec
 trunk/spec_files/SFEtorcs-data.spec
 trunk/spec_files/SFEtorcs.spec
 trunk/spec_files/SFEwarzone2100.spec
 trunk/spec_files/SFEzziplib.spec
 trunk/spec_files/ext-sources/torcs.desktop
 trunk/spec_files/patches/freeimage-01-makefile.diff
 trunk/spec_files/patches/freeimage-03-doxygen.diff
 trunk/spec_files/patches/ogre-01-rpath.diff
 trunk/spec_files/patches/ogre-02-glew.diff
 trunk/spec_files/patches/ogre-03-solaris.diff
 trunk/spec_files/patches/toluapp-01-makeso.diff
 trunk/spec_files/patches/toluapp-02-gcc43.diff
 trunk/spec_files/patches/torcs-01-endian.diff
 trunk/spec_files/patches/torcs-02-math.diff
 trunk/spec_files/patches/torcs-03-solaris.diff
 trunk/spec_files/patches/warzone2100-01-solaris.diff
 trunk/spec_files/patches/warzone2100-02-netlog_fix.diff
 trunk/spec_files/patches/zziplib-01-ldflags.diff
 trunk/spec_files/patches/zziplib-02-export-inline.diff
 trunk/spec_files/patches/zziplib-03-multilib.diff
Added: trunk/spec_files/SFEfreeimage.spec
===================================================================
--- trunk/spec_files/SFEfreeimage.spec	 (rev 0)
+++ trunk/spec_files/SFEfreeimage.spec	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,92 @@
+#
+# spec file for package SFEfreeimage.spec
+#
+# includes module(s): freeimage
+#
+%include Solaris.inc
+
+%define src_name	FreeImage
+%define _version 3100
+%define major 3 
+
+Name: SFEfreeimage
+Summary: Multi-format image decoder library
+Version: 3.10.0
+%define maj_ver 3
+Group: System Environment/Libraries
+License: GPL+ or MPLv1.0
+Source: %{sf_download}/freeimage/%{src_name}%{_version}.zip
+URL: http://freeimage.sourceforge.net/
+Patch1:			freeimage-01-makefile.diff
+Patch3: freeimage-03-doxygen.diff
+
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+%description
+FreeImage is a library for developers who would like to support popular
+graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by
+today's multimedia applications.
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+
+%prep
+%setup -q -n %{src_name}
+%patch1 -p1
+%patch3 -p1
+
+%build
+export CXXFLAGS="%cxx_optflags -Wno-ctor-dtor-privacy"
+export CFLAGS="%optflags"
+export LDFLAGS="%_ldflags %{gnu_lib_path} -lstdc++"
+gmake LDFLAGS="${LDFLAGS}" -f Makefile.solaris
+
+# Build libfreeimageplus DIY, as the provided makefile makes libfreeimageplus
+# contain a private copy of libfreeimage <sigh>
+FIP_OBJS=
+for i in Wrapper/FreeImagePlus/src/fip*.cpp; do
+	gcc -o $i.o $RPM_OPT_FLAGS -fPIC -fvisibility=hidden \
+	 -ISource -IWrapper/FreeImagePlus -c $i
+	 FIP_OBJS="$FIP_OBJS $i.o"
+done
+gcc -shared -LDist -o Dist/libfreeimageplus-%{version}.so \
+ -Wl,-h,libfreeimageplus.so.%{major} $FIP_OBJS -lfreeimage-%{version} %{gnu_lib_path}
+ 	
+pushd Wrapper/FreeImagePlus/doc
+doxygen FreeImagePlus.dox
+popd
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make -f Makefile.solaris install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name "*.la" | xargs rm -f
+
+ginstall -m 755 Dist/libfreeimage-%{version}.so $RPM_BUILD_ROOT%{_libdir}
+ginstall -m 755 Dist/libfreeimageplus-%{version}.so $RPM_BUILD_ROOT%{_libdir}
+ln -s libfreeimageplus-%{version}.so \
+ $RPM_BUILD_ROOT%{_libdir}/libfreeimageplus.so.%{major}
+ln -s libfreeimageplus-%{version}.so $RPM_BUILD_ROOT%{_libdir}/libfreeimageplus.so
+ 	
+ginstall -p -m 644 Source/FreeImage.h $RPM_BUILD_ROOT%{_includedir}
+ginstall -p -m 644 Wrapper/FreeImagePlus/FreeImagePlus.h \
+ $RPM_BUILD_ROOT%{_includedir}
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_libdir}
+
+%files devel
+%defattr (-, root, bin)
+%{_includedir}
+
+%changelog
+* Mon Nov 30 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/SFEogre.spec
===================================================================
--- trunk/spec_files/SFEogre.spec	 (rev 0)
+++ trunk/spec_files/SFEogre.spec	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,163 @@
+#
+# spec file for package SFEogre.spec
+#
+# includes module(s): ogre
+#
+%include Solaris.inc
+
+%define src_name	ogre
+%define src_url		%{sf_download}/ogre
+%define glew_version 1.5.1
+
+Name: SFEogre
+Summary: Object-Oriented Graphics Rendering Engine
+Version: 1-6-4
+License: LGPLv2+ and CC-BY-SA and Freely redistributable without restriction and MIT
+Group: System Environment/Libraries
+URL: http://www.ogre3d.org/
+
+Source: %{src_url}/%{src_name}-v%{version}.tar.bz2
+Source1: %{sf_download}/glew/glew-%{glew_version}-src.tgz
+Patch1:			ogre-01-rpath.diff
+Patch2:			ogre-02-glew.diff
+Patch3:			ogre-03-solaris.diff
+
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+BuildRequires: SFEopenexr-devel
+Requires: SFEopenexr
+BuildRequires: SFEcegui-devel
+Requires: SFEcegui
+BuildRequires: SFEfreeimage-devel
+Requires: SFEfreeimage
+BuildRequires: SFEzziplib-devel
+Requires: SFEzziplib
+BuildRequires: SFEcal3d-devel
+Requires: SFEcal3d
+Requires: SUNWfreetype2
+Requires: SUNWxorg-mesa
+BuildRequires: SFEglew
+BuildRequires: SUNWesu
+
+%description
+OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented,
+flexible 3D engine written in C++ designed to make it easier and more
+intuitive for developers to produce applications utilising
+hardware-accelerated 3D graphics. The class library abstracts all the
+details of using the underlying system libraries like Direct3D and
+OpenGL and provides an interface based on world objects and other
+intuitive classes.
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+
+%prep
+%setup -q -c -n %name-%version
+gunzip -c %{SOURCE1} | tar xf -
+
+cd ogre
+%patch1 -p1
+%patch3 -p1
+
+# - Non-free licensed headers under RenderSystems/GL/include/GL removed
+rm RenderSystems/GL/include/GL/{gl,glext,glxext,glxtokens,wglext}.h
+
+# - GLEW sources update to 1.5.1
+cp -f ../glew/include/GL/{glew,glxew,wglew}.h RenderSystems/GL/include/GL/
+dos2unix ../glew/src/glew.c > RenderSystems/GL/src/glew.cpp
+%patch2 -p1
+
+# - Non-free chiropteraDM.pk3 under Samples/Media/packs removed
+rm Samples/Media/packs/chiropteraDM.{pk3,txt}
+
+# - Non-free fonts under Samples/Media/fonts removed
+rm Samples/Media/fonts/{bluebold,bluecond,bluehigh,solo5}.ttf
+
+# Fix path to Media files for the Samples
+sed -i 's|../../Media|%{_datadir}/OGRE/Samples/Media|g' \
+ Samples/Common/bin/resources.cfg
+
+# Remove spurious execute buts from some Media files
+chmod -x `find Samples/Media/DeferredShadingMedia -type f` \
+ Samples/Media/overlays/Example-DynTex.overlay \
+ Samples/Media/gui/TaharezLook.looknfeel \
+ Samples/Media/gui/Falagard.xsd \
+ Samples/Media/materials/scripts/Example-DynTex.material 
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+cd ogre
+ln -s `which automake-1.9` automake
+ln -s `which aclocal-1.9` aclocal
+export PATH=$PWD:$PATH
+
+X11LIBS="-L/usr/X11/lib -R/usr/X11/lib"
+export CPPFLAGS="-I/usr/X11/include"
+export CXXFLAGS="-O3 -fno-omit-frame-pointer"
+export CFLAGS="%optflags"
+export LDFLAGS="%_ldflags -lc $X11LIBS %{gnu_lib_path} -lstdc++"
+export LD_OPTIONS="-i"
+bash ./bootstrap
+./configure --prefix=%{_prefix}		\
+	 --bindir=%{_bindir}		\
+	 --mandir=%{_mandir}		\
+ --libdir=%{_libdir}		\
+ --datadir=%{_datadir}	\
+ --libexecdir=%{_libexecdir} \
+ --sysconfdir=%{_sysconfdir} \
+ --disable-rpath		\
+ --disable-cg \
+ --disable-devil \
+ --enable-openexr \
+ --enable-shared		\
+	 --disable-static
+
+# Don't use rpath!
+%{gnu_bin}/sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+%{gnu_bin}/sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
+# Stop ogre from linking the GL render plugin against the system libOgre
+# instead of the just build one.
+%{gnu_bin}/sed -i 's|-L%{_libdir}||g' `find . -name Makefile`
+
+gmake -j$CPUS 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd ogre
+make install DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT/%{_libdir}/lib*.*a
+
+# These 2 not really public header files are needed for ogre4j
+ginstall -p -m 644 \
+ OgreMain/include/OgreOptimisedUtil.h \
+ OgreMain/include/OgrePlatformInformation.h \
+ $RPM_BUILD_ROOT%{_includedir}/OGRE
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_bindir}
+%dir %attr (0755,root,bin) %{_libdir}
+%{_libdir}/lib*.so*
+%{_libdir}/OGRE
+
+%files devel
+%defattr (-, root, bin)
+%{_includedir}
+%dir %attr (0755,root,bin) %{_libdir}
+%dir %attr (0755,root,other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*.pc
+
+%changelog
+* Mon Nov 30 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/SFEtoluapp.spec
===================================================================
--- trunk/spec_files/SFEtoluapp.spec	 (rev 0)
+++ trunk/spec_files/SFEtoluapp.spec	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,82 @@
+#
+# spec file for package lua scripting language
+#
+%include Solaris.inc
+%define source_name tolua++
+%define solib tolua++-5.1
+
+Name: SFEtoluapp
+Summary: A tool to integrate C/C++ code with Lua
+Version: 1.0.92
+Group: Development/Tools
+License: Freely redistributable without restriction
+Source: http://www.codenix.com/~tolua/tolua++-%{version}.tar.bz2
+URL: http://www.codenix.com/~tolua/
+Patch1: toluapp-01-makeso.diff
+Patch2: toluapp-02-gcc43.diff
+
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{source_name}-%{version}-build
+%include default-depend.inc
+Requires: SFElua
+BuildRequires: SFEscons
+
+%description
+tolua++ is an extended version of tolua, a tool to integrate C/C++ code with
+Lua. tolua++ includes new features oriented to C++ 
+
+%package devel
+Summary: Development files for tolua++
+Group: Development/Libraries
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{source_name}-%{version}-build
+Requires: %{name}
+Requires: SFEscons
+
+%prep
+%setup -q -n %{source_name}-%{version}
+%patch1 -p1
+%patch2 -p1
+%{gnu_bin}/sed -i 's/\r//' doc/%{source_name}.html
+
+%build
+scons -Q CC="${CC}" CCFLAGS="%{optflags} -I%{_includedir}" tolua_lib=%{solib} 
+#Recompile the exe without the soname. An ugly hack.
+#gcc -o bin/%{name} src/bin/tolua.o src/bin/toluabind.o -Llib -l%{solib} -llua -ldl -lm
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+mkdir $RPM_BUILD_ROOT%{_libdir}
+mkdir $RPM_BUILD_ROOT%{_includedir}
+ginstall -m0755 bin/%{source_name} $RPM_BUILD_ROOT%{_bindir}
+ginstall -m0755 lib/lib%{solib}.so $RPM_BUILD_ROOT%{_libdir}
+ginstall -m0644 include/%{source_name}.h $RPM_BUILD_ROOT%{_includedir}
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{source_name}
+cp -rp doc/* $RPM_BUILD_ROOT%{_docdir}/%{source_name}
+
+cd $RPM_BUILD_ROOT%{_libdir}
+ln -s lib%{solib}.so libtolua++.so 
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_docdir}
+%doc %{_docdir}/*
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+
+%changelog
+* Mon Nov 30 2009 - Moinak Ghosh
+- Initial version
+
Added: trunk/spec_files/SFEtorcs-data.spec
===================================================================
--- trunk/spec_files/SFEtorcs-data.spec	 (rev 0)
+++ trunk/spec_files/SFEtorcs-data.spec	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,164 @@
+#
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+%include base.inc
+
+Name: SFEtorcs-data
+Summary: The Open Racing Car Simulator data files
+Version: 1.3.1
+License: GPLv2+ and Free Art
+Group: Amusements/Games
+Source0: http://downloads.sf.net/torcs/TORCS-%{version}-data.tgz
+Source1: http://downloads.sf.net/torcs/TORCS-%{version}-data-tracks-dirt.tgz
+Source2: http://downloads.sf.net/torcs/TORCS-%{version}-data-tracks-oval.tgz
+Source3: http://downloads.sf.net/torcs/TORCS-%{version}-data-tracks-road.tgz
+Source4: http://downloads.sf.net/torcs/TORCS-%{version}-data-cars-extra.tgz
+Source5: Free-Art-License 
+
+URL: http://torcs.org/
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+%description
+TORCS is a 3D racing cars simulator using OpenGL. The goal is to have
+programmed robots drivers racing against each others. You can also drive
+yourself with either a wheel, keyboard or mouse.
+
+This package contains the data files needed to run the game.
+
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+
+%package tracks-dirt
+Summary: The Open Racing Car Simulator additional dirt tracks
+Group: Amusements/Games
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+Requires: %{name}
+
+%description tracks-dirt
+TORCS is a 3D racing cars simulator using OpenGL. The goal is to have
+programmed robots drivers racing against each others. You can also drive
+yourself with either a wheel, keyboard or mouse.
+
+This package contains additional tracks for the game.
+
+%package tracks-oval
+Summary: The Open Racing Car Simulator additional oval tracks
+Group: Amusements/Games
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+Requires: %{name}
+
+%description tracks-oval
+TORCS is a 3D racing cars simulator using OpenGL. The goal is to have
+programmed robots drivers racing against each others. You can also drive
+yourself with either a wheel, keyboard or mouse.
+
+This package contains additional tracks for the game.
+
+%package tracks-road
+Summary: The Open Racing Car Simulator additional road tracks
+Group: Amusements/Games
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+Requires: %{name}
+
+%description tracks-road
+TORCS is a 3D racing cars simulator using OpenGL. The goal is to have
+programmed robots drivers racing against each others. You can also drive
+yourself with either a wheel, keyboard or mouse.
+
+This package contains additional tracks for the game.
+
+%package cars-extra
+Summary: The Open Racing Car Simulator additional cars
+Group: Amusements/Games
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+Requires: %{name}
+
+%description cars-extra
+TORCS is a 3D racing cars simulator using OpenGL. The goal is to have
+programmed robots drivers racing against each others. You can also drive
+yourself with either a wheel, keyboard or mouse.
+
+This package contains additional cars for the game.
+
+%prep
+[ -d %{name}-%{version} ] && rm -rf %{name}-%{version}
+mkdir %{name}-%{version}
+cd %{name}-%{version}
+# Uncompress all packages in a separate tree
+for source in %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4}; do
+ package="`basename ${source} .tgz | sed 's/TORCS-%{version}-//g'`"
+ mkdir -p ${package}%{_datadir}/games/torcs/
+ ( cd ${package}%{_datadir}/games/torcs/
+ tar xzf ${source} )
+ echo ${package} >> package.list
+done
+
+%build
+cd %{name}-%{version}
+# List each package's files
+for package in `cat package.list`; do
+ ( cd ${package}
+ find .%{_datadir}/games/torcs -type d \
+ | sed s/^./\%dir\ / > ../${package}.files
+ find .%{_datadir}/games/torcs -type f \
+ | sed s/^.// >> ../${package}.files )
+done
+
+%install
+cd %{name}-%{version}
+rm -rf $RPM_BUILD_ROOT
+# Install all trees into the main build root
+mkdir -p $RPM_BUILD_ROOT
+
+for package in `cat package.list`; do
+ cp -a ${package}/* $RPM_BUILD_ROOT
+done
+# Prepare Free-Art-License for doc inclusion
+ginstall -m 0644 %{SOURCE5} .
+mkdir -p $RPM_BUILD_ROOT%{_docdir}
+
+%clean
+cd %{name}-%{version}
+rm -rf $RPM_BUILD_ROOT
+
+%files -f data.files
+%defattr (-, root, bin)
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr(0755, root, other) %{_docdir}
+%doc Free-Art-License
+
+%files tracks-dirt -f data-tracks-dirt.files
+%defattr (-, root, bin)
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr(0755, root, other) %{_docdir}
+%doc Free-Art-License
+
+%files tracks-oval -f data-tracks-oval.files
+%defattr (-, root, bin)
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr(0755, root, other) %{_docdir}
+%doc Free-Art-License
+
+%files tracks-road -f data-tracks-road.files
+%defattr (-, root, bin)
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr(0755, root, other) %{_docdir}
+%doc Free-Art-License
+
+%files cars-extra -f data-cars-extra.files
+%defattr (-, root, bin)
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr(0755, root, other) %{_docdir}
+%doc Free-Art-License
+
+%changelog
+* Mon Nov 30 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/SFEtorcs.spec
===================================================================
--- trunk/spec_files/SFEtorcs.spec	 (rev 0)
+++ trunk/spec_files/SFEtorcs.spec	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,115 @@
+#
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+%include base.inc
+
+Name: SFEtorcs
+Summary: The Open Racing Car Simulator
+Version: 1.3.1
+License: GPLv2+
+Group: Amusements/Games
+Source: http://downloads.sf.net/torcs/TORCS-%{version}-src.tgz
+Source1: http://downloads.sf.net/torcs/TORCS-%{version}-src-robots-base.tgz
+Source2: torcs.desktop
+Patch1: torcs-01-endian.diff
+Patch2: torcs-02-math.diff
+Patch3: torcs-03-solaris.diff
+
+URL: http://torcs.org/
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: SUNWxorg-mesa
+BuildRequires: SUNWxorg-headers
+Requires: SFEfreeglut
+BuildRequires: SFEfreeglut-devel
+Requires: SFEplib
+Requires: SUNWjpg
+BuildRequires: SUNWjpg-devel
+Requires: SUNWzlib
+Requires: SUNWpng
+BuildRequires: SUNWpng-devel
+Requires: SFEopenal
+BuildRequires: SFEopenal-devel
+Requires: SFEfreealut
+BuildRequires: SFEfreealut-devel
+Requires: SUNWgnome-desktop-prefs
+BuildRequires: SUNWgnome-common-devel
+Requires: SFEtorcs-data
+Requires: SFEtorcs-data-tracks-road
+Requires: SFEtorcs-data-cars-extra
+
+%description
+TORCS is a 3D racing cars simulator using OpenGL. The goal is to have
+programmed robots drivers racing against each others. You can also drive
+yourself with either a wheel, keyboard or mouse.
+
+%prep
+%setup -q -c -n %name-%version
+gunzip -c %{SOURCE1} | tar xf - 
+cd torcs-%{version}
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+chmod -x src/libs/learning/policy.*
+
+%build
+cd torcs-%{version}
+export LDFLAGS="-L%{_libdir} -R%{_libdir} %{gnu_lib_path} -lgnuintl -lgnuiconv"
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{cxx_optflags}"
+export CPPFLAGS="-I`pwd`/src/interfaces -I`pwd`/src/modules/simu/simuv2/SOLID-2.0/src -I`pwd`/src/modules/simu/simuv2/SOLID-2.0/include -D__C99FEATURES__"
+
+./configure --prefix=%{_prefix} --datadir=%{_datadir}/torcs --enable-shared
+for m in `find . -name Makefile`
+do
+	%{gnu_bin}/sed -i 's/-maxdepth 0/-prune/g' ${m}
+done
+gmake
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cp torcs-%{version}/COPYING .
+cp torcs-%{version}/README .
+
+cd torcs-%{version}
+gmake install DESTDIR=$RPM_BUILD_ROOT
+
+# Icon for the desktop file
+ginstall -D -p -m 0644 Ticon.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/torcs.png
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
+desktop-file-install \
+	--vendor "belenix" \
+	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
+	%{SOURCE2}
+
+find $RPM_BUILD_ROOT -type d | xargs chmod 0755
+mkdir -p $RPM_BUILD_ROOT%{_docdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr (0755, root, bin) %{_datadir}/games
+%{_datadir}/games/*
+
+%defattr (-, root, other)
+%dir %attr (0755, root, other) %{_datadir}/applications
+%{_datadir}/applications/*
+%dir %attr (0755, root, other) %{_datadir}/pixmaps
+%{_datadir}/pixmaps/*
+%dir %attr (0755, root, other) %{_docdir}
+%doc COPYING README
+
+%changelog
+* Mon Nov 30 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/SFEwarzone2100.spec
===================================================================
--- trunk/spec_files/SFEwarzone2100.spec	 (rev 0)
+++ trunk/spec_files/SFEwarzone2100.spec	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,146 @@
+#
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+%include base.inc
+
+Name: SFEwarzone2100
+Summary: Innovative 3D real-time strategy
+Version: 2.2.1
+License: GPLv2+ and CC-BY-SA
+Group: Amusements/Games
+Source: http://download.gna.org/warzone/releases/2.2/warzone2100-%{version}.tar.bz2
+Source1: http://guide.wz2100.net/files/sequences.wz
+Patch1: warzone2100-01-solaris.diff
+Patch2: warzone2100-02-netlog_fix.diff
+
+URL: http://wz2100.net/
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: SUNWxorg-mesa
+BuildRequires: SUNWxorg-headers
+Requires: SFEphysfs
+BuildRequires: SFEphysfs-devel
+Requires: SUNWogg-vorbis
+BuildRequires: SUNWogg-vorbis-devel
+BuildRequires: SUNWflexlex
+BuildRequires: SUNWbison
+Requires: SFEfreealut
+BuildRequires: SFEfreealut-devel
+Requires: SUNWzlib
+Requires: SUNWpng
+BuildRequires: SUNWpng-devel
+Requires: SFEsdl-net
+BuildRequires: SFEsdl-net-devel
+Requires: SFEopenal
+BuildRequires: SFEopenal-devel
+Requires: SFEfreealut
+BuildRequires: SFEfreealut-devel
+Requires: SUNWgnome-desktop-prefs
+BuildRequires: SUNWgnome-common-devel
+Requires: SUNWlibtheora
+BuildRequires: SUNWlibtheora-devel
+Requires: SFEquesoglc
+BuildRequires: SFEquesoglc-devel
+Requires: SUNWlibpopt
+BuildRequires: SUNWlibpopt-devel
+
+%description
+Warzone 2100 was an innovative 3D real-time strategy game back in 1999, and
+most will agree it didn't enjoy the commercial success it should have had. The
+game's source code was liberated on December 6th, 2004, under a GPL license
+(see COPYING in this directory for details). Soon after that, the Warzone 2100
+ReDev project was formed to take care of its future.
+
+%package sequences
+Summary: Video file for Warzone2100
+Group: Amusements/Games
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %{name}
+
+%if %build_l10n
+%package l10n
+Summary: %{summary} - l10n files
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %{name}
+%endif
+
+%prep
+%setup -q -c -n %name-%version
+cd warzone2100-%{version}
+%patch1 -p1
+%patch2 -p1
+cd ..
+
+%build
+cd warzone2100-%{version}
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+export CXXCFLAGS="%{cxx_optflags} -fno-strict-aliasing"
+export LDFLAGS="%{_ldflags} %{xorg_lib_path} -lX11"
+export CPPFLAGS="-D__EXTENSIONS__"
+
+./configure --prefix=%{_prefix} --datadir=%{_datadir} \
+ --disable-rpath \
+ --disable-debug --with-distributor="BeleniX"
+
+gmake
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cp warzone2100-%{version}/COPYING* .
+cp warzone2100-%{version}/AUTHORS .
+cp warzone2100-%{version}/ChangeLog .
+
+cd warzone2100-%{version}
+gmake install DESTDIR=$RPM_BUILD_ROOT
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/warzone2100
+ginstall -p -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/warzone2100
+mkdir -p $RPM_BUILD_ROOT%{_docdir}
+
+%if %build_l10n
+%else
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
+%endif
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr(0755, root, bin) %{_datadir}/warzone2100
+%{_datadir}/warzone2100/base.wz
+%{_datadir}/warzone2100/mp.wz
+%dir %attr(0755, root, bin) %{_datadir}/warzone2100/mods
+%{_datadir}/warzone2100/mods/*
+%dir %attr(0755, root, bin) %{_datadir}/warzone2100/music
+%{_datadir}/warzone2100/music/*
+%dir %attr (0755, root, other) %{_docdir}
+%{_docdir}/*
+
+%defattr (-, root, other)
+%dir %attr (0755, root, other) %{_datadir}/applications
+%{_datadir}/applications/*
+%dir %attr (0755, root, other) %{_datadir}/icons
+%{_datadir}/icons/*
+
+%files sequences
+%defattr (-, root, bin)
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr(0755, root, bin) %{_datadir}/warzone2100
+%{_datadir}/warzone2100/sequences.wz
+
+%if %build_l10n
+%files l10n
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_datadir}
+%attr (-, root, other) %{_datadir}/locale
+%endif
+
+%changelog
+* Mon Nov 30 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/SFEzziplib.spec
===================================================================
--- trunk/spec_files/SFEzziplib.spec	 (rev 0)
+++ trunk/spec_files/SFEzziplib.spec	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,154 @@
+#
+# spec file for package SFEzziplib.spec
+#
+# includes module(s): zziplib
+#
+%include Solaris.inc
+%ifarch amd64 sparcv9
+%include arch64.inc
+%endif
+%include base.inc
+
+%define src_name	zziplib
+
+Name: SFEzziplib
+Summary: Lightweight library to easily extract data from zip files 
+Version: 0.13.58
+Source: %{sf_download}/%{src_name}/%{src_name}-%{version}.tar.bz2
+Patch1:			zziplib-01-ldflags.diff
+Patch2:			zziplib-02-export-inline.diff
+Patch3: zziplib-03-multilib.diff
+
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: SFEsdl
+BuildRequires: SFEsdl-devel
+Requires: SUNWzlib
+Requires: SUNWzlib
+
+%description
+The zziplib library is intentionally lightweight, it offers the ability to
+easily extract data from files archived in a single zip file. Applications
+can bundle files into a single zip archive and access them. The implementation
+is based only on the (free) subset of compression with the zlib algorithm
+which is actually used by the zip/unzip tools. 
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+
+%prep
+%setup -q -c -n %name-%version
+cd %{src_name}-%{version}
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+cp zzip/_config.h ../_config.h
+cd .. 
+
+%ifarch amd64 sparcv9
+cp -rp %{src_name}-%{version} %{src_name}-%{version}-64
+%endif
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+%ifarch amd64 sparcv9
+cd %{src_name}-%{version}-64
+
+libtoolize --force --copy
+aclocal-1.10 -I m4
+automake-1.10 -a
+autoconf --force
+export CFLAGS="%optflags64"
+export LDFLAGS="%_ldflags64"
+./configure --prefix=%{_prefix}		\
+	 --bindir=%{_bindir}/%{_arch64}		\
+	 --mandir=%{_mandir}		\
+ --libdir=%{_libdir}/%{_arch64}		\
+ --datadir=%{_datadir}	\
+ --libexecdir=%{_libexecdir}/%{_arch64} \
+ --sysconfdir=%{_sysconfdir} \
+ --enable-shared		\
+	 --disable-static
+make -j$CPUS 
+cd ..
+%endif
+
+cd %{src_name}-%{version}
+libtoolize --force --copy
+aclocal-1.10 -I m4
+automake-1.10 -a
+autoconf --force
+export CFLAGS="%optflags"
+export LDFLAGS="%_ldflags"
+./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --mandir=%{_mandir} \
+ --libdir=%{_libdir} \
+ --datadir=%{_datadir} \
+ --libexecdir=%{_libexecdir} \
+ --sysconfdir=%{_sysconfdir} \
+ --enable-shared \
+ --disable-static
+make -j$CPUS
+cd ..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%ifarch amd64 sparcv9
+cd %{src_name}-%{version}-64
+make install DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/lib*.*a
+cd ..
+%endif
+
+cd %{src_name}-%{version}
+make install DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT%{_libdir}/lib*.*a
+cd ..
+
+# Overwrite the platform specific _config.h with our own modified common one
+rm -f $RPM_BUILD_ROOT%{_includedir}/zzip/_config.h
+ginstall -p -m 0644 _config.h $RPM_BUILD_ROOT%{_includedir}/zzip/_config.h 
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_bindir}
+%dir %attr (0755,root,bin) %{_libdir}
+%{_libdir}/*.so*
+%dir %attr (0755,root,sys) %{_datadir}
+%{_mandir}
+
+%ifarch amd64 sparcv9
+%dir %attr (0755,root,bin) %{_libdir}/%{_arch64}
+%{_libdir}/%{_arch64}/*.so*
+%endif
+
+%files devel
+%defattr (-, root, bin)
+%{_includedir}
+%dir %attr (0755,root,other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+%dir %attr (0755,root,sys) %{_datadir}
+%dir %attr (0755,root,other) %{_datadir}/aclocal
+%{_datadir}/aclocal/*
+
+%ifarch amd64 sparcv9
+%dir %attr (0755,root,other) %{_libdir}/%{_arch64}/pkgconfig
+%{_libdir}/%{_arch64}/pkgconfig/*
+%endif
+
+%changelog
+* Mon Nov 30 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/ext-sources/torcs.desktop
===================================================================
--- trunk/spec_files/ext-sources/torcs.desktop	 (rev 0)
+++ trunk/spec_files/ext-sources/torcs.desktop	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=TORCS
+Comment=The Open Racing Car Simulator
+Exec=torcs
+Icon=torcs
+Terminal=false
+Type=Application
+Encoding=UTF-8
+Categories=Game;Simulation;
Added: trunk/spec_files/patches/freeimage-01-makefile.diff
===================================================================
--- trunk/spec_files/patches/freeimage-01-makefile.diff	 (rev 0)
+++ trunk/spec_files/patches/freeimage-01-makefile.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,69 @@
+diff -ur FreeImage-orig/Makefile.solaris FreeImage/Makefile.solaris
+--- FreeImage-orig/Makefile.solaris	2005年04月12日 06:32:52.000000000 +0700
++++ FreeImage/Makefile.solaris	2007年05月07日 12:02:02.694485503 +0700
+@@ -5,27 +5,26 @@
+ include Makefile.srcs
+ 
+ # General configuration variables:
+-CC = gcc
+-CPP = g++
++CPP = $(CXX)
+ AR = ar
+ 
+-INSTALLDIR = /usr/local
++INSTALLDIR = $(DESTDIR)/usr
+ 
+ # Converts cr/lf to just lf
+ DOS2UNIX = dos2unix
+ 
+-COMPILERFLAGS = -O3
+-LIBRARIES = -lstdc++
++COMPILERFLAGS = 
++LIBRARIES = 
+ 
+ MODULES = $(SRCS:.c=.o)
+ MODULES := $(MODULES:.cpp=.o)
+-CFLAGS = $(COMPILERFLAGS) $(INCLUDE)
+-CPPFLAGS = $(COMPILERFLAGS) -Wno-ctor-dtor-privacy $(INCLUDE)
++CPPFLAGS = $(INCLUDE)
+ 
+ TARGET = freeimage
+ STATICLIB = lib$(TARGET).a
+ SHAREDLIB = lib$(TARGET)-$(VER_MAJOR).$(VER_MINOR).so
+ LIBNAME = lib$(TARGET).so.$(VER_MAJOR)
++SHORTLIBNAME = lib$(TARGET).so
+ 
+ 
+ 
+@@ -44,22 +43,25 @@
+ FreeImage: $(STATICLIB) $(SHAREDLIB)
+ 
+ .c.o:
+-	$(CC) $(CFLAGS) -c $< -o $@
++	$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+ 
+ .cpp.o:
+-	$(CPP) $(CPPFLAGS) -c $< -o $@
++	$(CPP) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
+ 
+ $(STATICLIB): $(MODULES)
+ 	$(AR) r $@ $(MODULES)
+ 
+ $(SHAREDLIB): $(MODULES)
+-	$(CC) -s -G -Wl,-soname=$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
++	$(CC) -shared -Wl,-h$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES) $(LDFLAGS)
+ 
+ install:
+-	install -m 644 -o root -g root Source/FreeImage.h $(INSTALLDIR)/include
+-	install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)/lib
+-	install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR)/lib
++	mkdir -p $(INSTALLDIR)/include
++	mkdir -p $(INSTALLDIR)/lib
++	ginstall -m 644 Source/FreeImage.h $(INSTALLDIR)/include
++	ginstall -m 644 $(STATICLIB) $(INSTALLDIR)/lib
++	ginstall -m 755 $(SHAREDLIB) $(INSTALLDIR)/lib
+ 	ln -sf $(SHAREDLIB) $(INSTALLDIR)/lib/$(LIBNAME)
++	ln -sf $(SHAREDLIB) $(INSTALLDIR)/lib/$(SHORTLIBNAME)
+ 
+ clean:
+ 	rm -rf core Dist/*.* u2dtmp* $(MODULES) $(STATICLIB) $(SHAREDLIB) $(LIBNAME)
Added: trunk/spec_files/patches/freeimage-03-doxygen.diff
===================================================================
--- trunk/spec_files/patches/freeimage-03-doxygen.diff	 (rev 0)
+++ trunk/spec_files/patches/freeimage-03-doxygen.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,38 @@
+diff -up FreeImage/Wrapper/FreeImagePlus/doc/FreeImagePlus.dox~ FreeImage/Wrapper/FreeImagePlus/doc/FreeImagePlus.dox
+--- FreeImage/Wrapper/FreeImagePlus/doc/FreeImagePlus.dox~	2008年03月18日 14:39:25.000000000 +0100
++++ FreeImage/Wrapper/FreeImagePlus/doc/FreeImagePlus.dox	2008年03月18日 14:39:25.000000000 +0100
+@@ -5,7 +5,7 @@
+ #---------------------------------------------------------------------------
+ PROJECT_NAME = FreeImagePlus
+ PROJECT_NUMBER = "FreeImage 3.9.0"
+-OUTPUT_DIRECTORY = C:/Projects/FreeImage/Wrapper/FreeImagePlus/
++OUTPUT_DIRECTORY = .
+ CREATE_SUBDIRS = NO
+ OUTPUT_LANGUAGE = English
+ USE_WINDOWS_ENCODING = YES
+@@ -67,12 +67,11 @@ WARN_IF_UNDOCUMENTED = YES
+ WARN_IF_DOC_ERROR = YES
+ WARN_NO_PARAMDOC = NO
+ WARN_FORMAT = "$file:$line: $text"
+-WARN_LOGFILE = C:\Projects\FreeImage\Wrapper\FreeImagePlus\doc\doxygen.log
++WARN_LOGFILE = ./doxygen.log
+ #---------------------------------------------------------------------------
+ # configuration options related to the input files
+ #---------------------------------------------------------------------------
+-INPUT = C:/Projects/FreeImage/Source/FreeImage.h \
+- C:/Projects/FreeImage/Wrapper/FreeImagePlus/FreeImagePlus.h
++INPUT = ../../../Source/FreeImage.h ../FreeImagePlus.h
+ FILE_PATTERNS = *.h
+ RECURSIVE = YES
+ EXCLUDE = 
+@@ -106,8 +105,8 @@ IGNORE_PREFIX = 
+ GENERATE_HTML = YES
+ HTML_OUTPUT = html
+ HTML_FILE_EXTENSION = .html
+-HTML_HEADER = C:/Projects/FreeImage/Wrapper/FreeImagePlus/doc/header.html
+-HTML_FOOTER = C:/Projects/FreeImage/Wrapper/FreeImagePlus/doc/footer.html
++HTML_HEADER = ./header.html
++HTML_FOOTER = ./footer.html
+ HTML_STYLESHEET = 
+ HTML_ALIGN_MEMBERS = YES
+ GENERATE_HTMLHELP = YES
Added: trunk/spec_files/patches/ogre-01-rpath.diff
===================================================================
--- trunk/spec_files/patches/ogre-01-rpath.diff	 (rev 0)
+++ trunk/spec_files/patches/ogre-01-rpath.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,24 @@
+diff -up ogrenew/OgreMain/src/Makefile.am~ ogrenew/OgreMain/src/Makefile.am
+--- ogrenew/OgreMain/src/Makefile.am~	2007年06月30日 21:18:34.000000000 +0200
++++ ogrenew/OgreMain/src/Makefile.am	2007年06月30日 21:18:34.000000000 +0200
+@@ -185,7 +185,7 @@ endif
+ 
+ platformdir = $(libdir)
+ libOgreMain_la_LIBADD= $(STLPORT_LIBS) $(FT2_LIBS) $(ZZIPLIB_LIBS) $(GTK_LIBS) $(OGRE_THREAD_LIBS) $(PLATFORM_LIBS)
+-libOgreMain_la_LDFLAGS = $(SHARED_FLAGS) -release @PACKAGE_VERSION@ -Wl,-rpath,$(platformdir)
++libOgreMain_la_LDFLAGS = $(SHARED_FLAGS) -release @PACKAGE_VERSION@
+ #-version-info @OGREMAIN_VERSION_INFO@ -Wl,-rpath,$(platformdir)
+ #-Wl,--version-script=$(top_srcdir)/OgreMain/src/ogremain.map
+ 
+diff -up ogrenew/OgreMain/src/Makefile.in~ ogrenew/OgreMain/src/Makefile.in
+--- ogrenew/OgreMain/src/Makefile.in~	2007年06月30日 21:19:23.000000000 +0200
++++ ogrenew/OgreMain/src/Makefile.in	2007年06月30日 21:19:23.000000000 +0200
+@@ -488,7 +488,7 @@ platformdir = $(libdir)
+ libOgreMain_la_LIBADD = $(STLPORT_LIBS) $(FT2_LIBS) $(ZZIPLIB_LIBS) \
+ 	$(GTK_LIBS) $(OGRE_THREAD_LIBS) $(PLATFORM_LIBS) \
+ 	$(am__append_3)
+-libOgreMain_la_LDFLAGS = $(SHARED_FLAGS) -release @PACKAGE_VERSION@ -Wl,-rpath,$(platformdir)
++libOgreMain_la_LDFLAGS = $(SHARED_FLAGS) -release @PACKAGE_VERSION@
+ all: all-am
+ 
+ .SUFFIXES:
Added: trunk/spec_files/patches/ogre-02-glew.diff
===================================================================
--- trunk/spec_files/patches/ogre-02-glew.diff	 (rev 0)
+++ trunk/spec_files/patches/ogre-02-glew.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,109 @@
+diff -ur ogre/RenderSystems/GL/src/glew.cpp ogre.new/RenderSystems/GL/src/glew.cpp
+--- ogre/RenderSystems/GL/src/glew.cpp	2008年09月28日 11:10:34.000000000 +0400
++++ ogre.new/RenderSystems/GL/src/glew.cpp	2008年09月28日 11:12:46.000000000 +0400
+@@ -29,6 +29,10 @@
+ ** THE POSSIBILITY OF SUCH DAMAGE.
+ */
+ 
++// SJS
++#include "OgreGLSupport.h"
++// SJS
++
+ #include <GL/glew.h>
+ #if defined(_WIN32)
+ # include <GL/wglew.h>
+@@ -56,13 +60,13 @@
+ # endif /* _WIN32 */
+ # define GLEW_CONTEXT_ARG_DEF_LIST GLEWContext* ctx
+ #else /* GLEW_MX */
+-# define GLEW_CONTEXT_ARG_DEF_INIT void
+-# define GLEW_CONTEXT_ARG_VAR_INIT
+-# define GLEW_CONTEXT_ARG_DEF_LIST void
+-# define WGLEW_CONTEXT_ARG_DEF_INIT void
+-# define WGLEW_CONTEXT_ARG_DEF_LIST void
+-# define GLXEW_CONTEXT_ARG_DEF_INIT void
+-# define GLXEW_CONTEXT_ARG_DEF_LIST void
++# define GLEW_CONTEXT_ARG_DEF_INIT Ogre::GLSupport *glSupport
++# define GLEW_CONTEXT_ARG_VAR_INIT glSupport
++# define GLEW_CONTEXT_ARG_DEF_LIST Ogre::GLSupport *glSupport
++# define WGLEW_CONTEXT_ARG_DEF_INIT Ogre::GLSupport *glSupport
++# define WGLEW_CONTEXT_ARG_DEF_LIST Ogre::GLSupport *glSupport
++# define GLXEW_CONTEXT_ARG_DEF_INIT Ogre::GLSupport *glSupport
++# define GLXEW_CONTEXT_ARG_DEF_LIST Ogre::GLSupport *glSupport
+ #endif /* GLEW_MX */
+ 
+ #if defined(__APPLE__)
+@@ -80,7 +84,7 @@
+ image = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", NSADDIMAGE_OPTION_RETURN_ON_ERROR);
+ }
+ /* prepend a '_' for the Unix C symbol mangling convention */
+- symbolName = malloc(strlen((const char*)name) + 2);
++ symbolName = (char*)malloc(strlen((const char*)name) + 2);
+ strcpy(symbolName+1, (const char*)name);
+ symbolName[0] = '_';
+ symbol = NULL;
+@@ -5326,9 +5330,11 @@
+ 
+ /* ------------------------------------------------------------------------- */
+ 
+-#ifndef GLEW_MX
+-static
+-#endif
++// SJS
++//#ifndef GLEW_MX
++//static
++//#endif
++// SJS
+ GLenum glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
+ {
+ const GLubyte* s;
+@@ -7299,11 +7305,15 @@
+ 
+ #ifdef GLX_VERSION_1_2
+ 
++// FB: Patched to allow Ogre to overload glXGetCurrentDisplay
+ static GLboolean _glewInit_GLX_VERSION_1_2 (GLXEW_CONTEXT_ARG_DEF_INIT)
+ {
+ GLboolean r = GL_FALSE;
+ 
+- r = ((glXGetCurrentDisplay = (PFNGLXGETCURRENTDISPLAYPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentDisplay")) == NULL) || r;
++ if (glXGetCurrentDisplay == NULL) 
++ {
++ r = ((glXGetCurrentDisplay = (PFNGLXGETCURRENTDISPLAYPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentDisplay")) == NULL) || r;
++ }
+ 
+ return r;
+ }
+@@ -7976,18 +7986,20 @@
+ extern GLenum glxewContextInit (void);
+ #endif /* _WIN32 */
+ 
+-GLenum glewInit ()
+-{
+- GLenum r;
+- if ( (r = glewContextInit()) ) return r;
+-#if defined(_WIN32)
+- return wglewContextInit();
+-#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) /* _UNIX */
+- return glxewContextInit();
+-#else
+- return r;
+-#endif /* _WIN32 */
+-}
++// SJS
++//GLenum glewInit ()
++//{
++// GLenum r;
++// if ( (r = glewContextInit()) ) return r;
++//#if defined(_WIN32)
++// return wglewContextInit();
++//#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) /* _UNIX */
++// return glxewContextInit();
++//#else
++// return r;
++//#endif /* _WIN32 */
++//}
++// End SJS
+ 
+ #endif /* !GLEW_MX */
+ #ifdef GLEW_MX
Added: trunk/spec_files/patches/ogre-03-solaris.diff
===================================================================
--- trunk/spec_files/patches/ogre-03-solaris.diff	 (rev 0)
+++ trunk/spec_files/patches/ogre-03-solaris.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,12 @@
+--- ogre/OgreMain/src/nedmalloc/nedmalloc.c.orig	2009年11月15日 15:05:32.743664954 +0530
++++ ogre/OgreMain/src/nedmalloc/nedmalloc.c	2009年11月15日 15:06:08.381613217 +0530
+@@ -37,6 +37,9 @@
+ #ifdef WIN32
+ #include <malloc.h>
+ #endif
++#ifdef __sun
++#include <alloca.h>
++#endif
+ #define MSPACES 1
+ #define ONLY_MSPACES 1
+ #ifndef USE_LOCKS
Added: trunk/spec_files/patches/toluapp-01-makeso.diff
===================================================================
--- trunk/spec_files/patches/toluapp-01-makeso.diff	 (rev 0)
+++ trunk/spec_files/patches/toluapp-01-makeso.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,67 @@
+--- tolua++-1.0.92/SConstruct.orig	2006年04月10日 10:45:44.000000000 +0100
++++ tolua++-1.0.92/SConstruct	2006年06月02日 15:12:34.000000000 +0100
+@@ -22,7 +22,7 @@
+ opts.Add('LIBPATH', 'library path', [])
+ 
+ opts.Add('tolua_bin', 'the resulting binary', 'tolua++')
+-opts.Add('tolua_lib', 'the resulting library', 'tolua++')
++opts.Add('tolua_lib', 'the resulting library', 'tolua++-5.1')
+ opts.Add('TOLUAPP', 'the name of the tolua++ binary (to use with built_dev=1)', 'tolua++')
+ 
+ opts.Add('prefix', 'The installation prefix')
+--- tolua++-1.0.92/config_linux.py.orig	2005年04月30日 03:20:38.000000000 +0100
++++ tolua++-1.0.92/config_linux.py	2006年06月02日 15:09:03.000000000 +0100
+@@ -15,8 +15,8 @@
+ #
+ # You can see more 'generic' options for POSIX systems on config_posix.py
+ 
+-prefix = '/usr/local'
++prefix = '/usr'
+ 
+ # libraries (based on Debian's installation of lua)
+-LIBS = ['lua50', 'lualib50', 'dl', 'm']
++LIBS = ['lua', 'dl', 'm']
+ 
+--- tolua++-1.0.92/custom-5.1.py.orig	2006年02月13日 23:57:26.000000000 +0000
++++ tolua++-1.0.92/custom-5.1.py	2006年06月02日 15:10:08.000000000 +0100
+@@ -1,11 +1,11 @@
+ CC = 'gcc'
+ CCFLAGS = ['-I/usr/include/lua5.1', '-O2', '-ansi']
+ #LIBPATH = ['/usr/local/lib']
+-LIBS = ['lua5.1', 'dl', 'm']
+-prefix = '/usr/local'
++LIBS = ['lua', 'dl', 'm']
++prefix = '/usr'
+ build_dev = 1
+-ENV = {'PATH': '/usr/local/bin:/bin:/usr/bin'}
+-tolua_bin = 'tolua++5.1'
+-tolua_lib = 'tolua++5.1'
++ENV = {'PATH': '/bin:/usr/bin:/usr/local/bin'}
++tolua_bin = 'tolua++'
++tolua_lib = 'tolua++-5.1'
+ TOLUAPP = 'tolua++5.1'
+ 
+--- tolua++-1.0.92/src/lib/SCsub.orig	2005年11月28日 13:51:15.000000000 +0000
++++ tolua++-1.0.92/src/lib/SCsub	2006年06月02日 15:11:17.000000000 +0100
+@@ -9,5 +9,4 @@
+ 	'tolua_to.c',
+ 	]
+ 
+-env.lib_target = env.Library('#/lib/'+env['tolua_lib'], sources)
+-
++env.lib_target = env.SharedLibrary('#/lib/'+env['tolua_lib'], sources)
+--- tolua++-1.0.92/config_posix.py.orig	2009年11月12日 21:54:45.891050411 +0530
++++ tolua++-1.0.92/config_posix.py	2009年11月12日 21:55:22.224989891 +0530
+@@ -13,10 +13,10 @@
+ # You can also specify this directory on the command line with the 'prefix'
+ # option
+ 
+-prefix = '/usr/local'
++prefix = '/usr'
+ 
+ # libraries
+-LIBS = ['lua', 'lualib', 'm']
++LIBS = ['lua', 'dl', 'm']
+ 
+ 
+ 
Added: trunk/spec_files/patches/toluapp-02-gcc43.diff
===================================================================
--- trunk/spec_files/patches/toluapp-02-gcc43.diff	 (rev 0)
+++ trunk/spec_files/patches/toluapp-02-gcc43.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,133 @@
+diff -urN tolua++-1.0.92/include/tolua++.h tolua++-1.0.92.gcc43/include/tolua++.h
+--- tolua++-1.0.92/include/tolua++.h	2006年04月27日 05:33:40.000000000 +0200
++++ tolua++-1.0.92.gcc43/include/tolua++.h	2008年03月13日 23:20:12.000000000 +0100
+@@ -53,7 +53,7 @@
+ #define TOLUA_NOPEER	LUA_REGISTRYINDEX /* for lua 5.1 */
+ 
+ TOLUA_API const char* tolua_typename (lua_State* L, int lo);
+-TOLUA_API void tolua_error (lua_State* L, char* msg, tolua_Error* err);
++TOLUA_API void tolua_error (lua_State* L, const char* msg, tolua_Error* err);
+ TOLUA_API int tolua_isnoobj (lua_State* L, int lo, tolua_Error* err);
+ TOLUA_API int tolua_isvalue (lua_State* L, int lo, int def, tolua_Error* err);
+ TOLUA_API int tolua_isboolean (lua_State* L, int lo, int def, tolua_Error* err);
+@@ -84,16 +84,15 @@
+ TOLUA_API int tolua_register_gc (lua_State* L, int lo);
+ TOLUA_API int tolua_default_collect (lua_State* tolua_S);
+ 
+-TOLUA_API void tolua_usertype (lua_State* L, char* type);
+-TOLUA_API void tolua_beginmodule (lua_State* L, char* name);
++TOLUA_API void tolua_usertype (lua_State* L, const char* type);
++TOLUA_API void tolua_beginmodule (lua_State* L, const char* name);
+ TOLUA_API void tolua_endmodule (lua_State* L);
+-TOLUA_API void tolua_module (lua_State* L, char* name, int hasvar);
+-TOLUA_API void tolua_class (lua_State* L, char* name, char* base);
+-TOLUA_API void tolua_cclass (lua_State* L, char* lname, char* name, char* base, lua_CFunction col);
+-TOLUA_API void tolua_function (lua_State* L, char* name, lua_CFunction func);
+-TOLUA_API void tolua_constant (lua_State* L, char* name, double value);
+-TOLUA_API void tolua_variable (lua_State* L, char* name, lua_CFunction get, lua_CFunction set);
+-TOLUA_API void tolua_array (lua_State* L,char* name, lua_CFunction get, lua_CFunction set);
++TOLUA_API void tolua_module (lua_State* L, const char* name, int hasvar);
++TOLUA_API void tolua_cclass (lua_State* L, const char* lname, const char* name, const char* base, lua_CFunction col);
++TOLUA_API void tolua_function (lua_State* L, const char* name, lua_CFunction func);
++TOLUA_API void tolua_constant (lua_State* L, const char* name, double value);
++TOLUA_API void tolua_variable (lua_State* L, const char* name, lua_CFunction get, lua_CFunction set);
++TOLUA_API void tolua_array (lua_State* L, const char* name, lua_CFunction get, lua_CFunction set);
+ 
+ /* TOLUA_API void tolua_set_call_event(lua_State* L, lua_CFunction func, char* type); */
+ /* TOLUA_API void tolua_addbase(lua_State* L, char* name, char* base); */
+diff -urN tolua++-1.0.92/src/lib/tolua_is.c tolua++-1.0.92.gcc43/src/lib/tolua_is.c
+--- tolua++-1.0.92/src/lib/tolua_is.c	2005年12月19日 02:13:05.000000000 +0100
++++ tolua++-1.0.92.gcc43/src/lib/tolua_is.c	2008年03月13日 23:11:27.000000000 +0100
+@@ -85,7 +85,7 @@
+ 	return lua_tostring(L,-1);
+ }
+ 
+-TOLUA_API void tolua_error (lua_State* L, char* msg, tolua_Error* err)
++TOLUA_API void tolua_error (lua_State* L, const char* msg, tolua_Error* err)
+ {
+ 	if (msg[0] == '#')
+ 	{
+diff -urN tolua++-1.0.92/src/lib/tolua_map.c tolua++-1.0.92.gcc43/src/lib/tolua_map.c
+--- tolua++-1.0.92/src/lib/tolua_map.c	2006年03月13日 23:37:49.000000000 +0100
++++ tolua++-1.0.92.gcc43/src/lib/tolua_map.c	2008年03月13日 23:21:58.000000000 +0100
+@@ -389,7 +389,7 @@
+ 	* It creates the correspoding metatable in the registry, for both 'type' and 'const type'.
+ 	* It maps 'const type' as being also a 'type'
+ */
+-TOLUA_API void tolua_usertype (lua_State* L, char* type)
++TOLUA_API void tolua_usertype (lua_State* L, const char* type)
+ {
+ char ctype[128] = "const ";
+ strncat(ctype,type,120);
+@@ -403,7 +403,7 @@
+ /* Begin module
+ 	* It pushes the module (or class) table on the stack
+ */
+-TOLUA_API void tolua_beginmodule (lua_State* L, char* name)
++TOLUA_API void tolua_beginmodule (lua_State* L, const char* name)
+ {
+ 	if (name)
+ 	{
+@@ -426,7 +426,7 @@
+ 	* It creates a new module
+ */
+ #if 1
+-TOLUA_API void tolua_module (lua_State* L, char* name, int hasvar)
++TOLUA_API void tolua_module (lua_State* L, const char* name, int hasvar)
+ {
+ 	if (name)
+ 	{
+@@ -462,7 +462,7 @@
+ 	lua_pop(L,1); /* pop module */
+ }
+ #else
+-TOLUA_API void tolua_module (lua_State* L, char* name, int hasvar)
++TOLUA_API void tolua_module (lua_State* L, const char* name, int hasvar)
+ {
+ 	if (name)
+ 	{
+@@ -518,7 +518,7 @@
+ /* Map C class
+ 	* It maps a C class, setting the appropriate inheritance and super classes.
+ */
+-TOLUA_API void tolua_cclass (lua_State* L, char* lname, char* name, char* base, lua_CFunction col)
++TOLUA_API void tolua_cclass (lua_State* L, const char* lname, const char* name, const char* base, lua_CFunction col)
+ {
+ 	char cname[128] = "const ";
+ 	char cbase[128] = "const ";
+@@ -577,7 +577,7 @@
+ /* Map function
+ 	* It assigns a function into the current module (or class)
+ */
+-TOLUA_API void tolua_function (lua_State* L, char* name, lua_CFunction func)
++TOLUA_API void tolua_function (lua_State* L, const char* name, lua_CFunction func)
+ {
+ lua_pushstring(L,name);
+ lua_pushcfunction(L,func);
+@@ -600,7 +600,7 @@
+ /* Map constant number
+ 	* It assigns a constant number into the current module (or class)
+ */
+-TOLUA_API void tolua_constant (lua_State* L, char* name, double value)
++TOLUA_API void tolua_constant (lua_State* L, const char* name, double value)
+ {
+ 	lua_pushstring(L,name);
+ 	tolua_pushnumber(L,value);
+@@ -611,7 +611,7 @@
+ /* Map variable
+ 	* It assigns a variable into the current module (or class)
+ */
+-TOLUA_API void tolua_variable (lua_State* L, char* name, lua_CFunction get, lua_CFunction set)
++TOLUA_API void tolua_variable (lua_State* L, const char* name, lua_CFunction get, lua_CFunction set)
+ {
+ 	/* get func */
+ 	lua_pushstring(L,".get");
+@@ -663,7 +663,7 @@
+ /* Map an array
+ 	* It assigns an array into the current module (or class)
+ */
+-TOLUA_API void tolua_array (lua_State* L, char* name, lua_CFunction get, lua_CFunction set)
++TOLUA_API void tolua_array (lua_State* L, const char* name, lua_CFunction get, lua_CFunction set)
+ {
+ 	lua_pushstring(L,".get");
+ 	lua_rawget(L,-2);
Added: trunk/spec_files/patches/torcs-01-endian.diff
===================================================================
--- trunk/spec_files/patches/torcs-01-endian.diff	 (rev 0)
+++ trunk/spec_files/patches/torcs-01-endian.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,20 @@
+--- torcs-1.3.1/src/libs/tgfclient/guifont.cpp.orig	2009年11月17日 19:53:52.268376892 +0530
++++ torcs-1.3.1/src/libs/tgfclient/guifont.cpp	2009年11月17日 19:58:29.616171249 +0530
+@@ -26,6 +26,17 @@
+ #include <windows.h>
+ #elif defined(__FreeBSD__)
+ #include <machine/endian.h>
++
++#elif defined(__SVR4) && defined(__sun)
++#define LITTLE_ENDIAN 1234
++#define BIG_ENDIAN 4321
++#include <sys/byteorder.h>
++#if defined(_BIG_ENDIAN)
++#define BYTE_ORDER BIG_ENDIAN
++#else
++#define BYTE_ORDER LITTLE_ENDIAN
++#endif
++
+ #else
+ #include <endian.h>
+ #endif
Added: trunk/spec_files/patches/torcs-02-math.diff
===================================================================
--- trunk/spec_files/patches/torcs-02-math.diff	 (rev 0)
+++ trunk/spec_files/patches/torcs-02-math.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,11 @@
+--- torcs-1.3.1/src/modules/simu/simuv2/simu.cpp.orig	2009年11月17日 20:10:45.814853086 +0530
++++ torcs-1.3.1/src/modules/simu/simuv2/simu.cpp	2009年11月17日 20:11:24.564155495 +0530
+@@ -61,7 +61,7 @@
+ if (isnan(car->ctrl->brakeCmd) || isinf(car->ctrl->brakeCmd)) car->ctrl->brakeCmd = 0;
+ if (isnan(car->ctrl->clutchCmd) || isinf(car->ctrl->clutchCmd)) car->ctrl->clutchCmd = 0;
+ if (isnan(car->ctrl->steer) || isinf(car->ctrl->steer)) car->ctrl->steer = 0;
+- if (isnan(car->ctrl->gear) || isinf(car->ctrl->gear)) car->ctrl->gear = 0;
++ if (isnan((float)(car->ctrl->gear)) || isinf((float)(car->ctrl->gear))) car->ctrl->gear = 0;
+ #else
+ if (isnan(car->ctrl->accelCmd)) car->ctrl->accelCmd = 0;
+ if (isnan(car->ctrl->brakeCmd)) car->ctrl->brakeCmd = 0;
Added: trunk/spec_files/patches/torcs-03-solaris.diff
===================================================================
--- trunk/spec_files/patches/torcs-03-solaris.diff	 (rev 0)
+++ trunk/spec_files/patches/torcs-03-solaris.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,47 @@
+--- torcs-1.3.1/src/modules/graphic/ssggraph/grscene.cpp.orig	2009年11月17日 20:14:35.916521991 +0530
++++ torcs-1.3.1/src/modules/graphic/ssggraph/grscene.cpp	2009年11月17日 20:15:28.546681785 +0530
+@@ -81,7 +81,7 @@
+ ssgBranch *CarlightAnchor = 0;
+ 
+ ssgBranch *ThePits = 0;
+-ssgTransform *sun = NULL ;
++ssgTransform *Sun = NULL ;
+ 
+ static void initBackground(void);
+ 
+@@ -150,13 +150,13 @@
+ glEnable(GL_LIGHT0);
+ glEnable(GL_DEPTH_TEST);
+ 
+- if (!sun) {
+-	ssgaLensFlare *sun_obj = NULL ;
+-	sun_obj = new ssgaLensFlare () ;
+-	sun = new ssgTransform ;
+-	sun -> setTransform ( light_position ) ;
+-	sun -> addKid ( sun_obj ) ;
+-	SunAnchor-> addKid(sun) ;
++ if (!Sun) {
++	ssgaLensFlare *Sun_obj = NULL ;
++	Sun_obj = new ssgaLensFlare () ;
++	Sun = new ssgTransform ;
++	Sun -> setTransform ( light_position ) ;
++	Sun -> addKid ( Sun_obj ) ;
++	SunAnchor-> addKid(Sun) ;
+ }
+ 
+ /* GUIONS GL_TRUE */
+--- torcs-1.3.1/src/drivers/olethros/learn.cpp.orig	2009年11月17日 21:15:50.028015739 +0530
++++ torcs-1.3.1/src/drivers/olethros/learn.cpp	2009年11月17日 21:15:57.856087144 +0530
+@@ -28,6 +28,12 @@
+ #define finite _finite
+ #endif
+ 
++#if defined(__sun) && defined(__SVR4)
++#include <limits.h>
++#include <math.h>
++#define finite isfinite
++#endif
++
+ #ifdef USE_OLETHROS_NAMESPACE
+ //namespace olethros
+ //{
Added: trunk/spec_files/patches/warzone2100-01-solaris.diff
===================================================================
--- trunk/spec_files/patches/warzone2100-01-solaris.diff	 (rev 0)
+++ trunk/spec_files/patches/warzone2100-01-solaris.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,14 @@
+--- warzone2100-2.2.1/lib/script/script_parser.tab.h.orig	2009年11月18日 19:56:54.319212825 +0530
++++ warzone2100-2.2.1/lib/script/script_parser.tab.h	2009年11月18日 19:58:03.653696182 +0530
+@@ -33,6 +33,11 @@
+ This special exception was added by the Free Software Foundation in
+ version 2.2 of Bison. */
+ 
++#ifdef __sun
++/* Solaris defines a _VOID macro for pre-historic compatibility, ugh! */
++#undef _VOID
++#endif
++
+ /* Tokens. */
+ #ifndef YYTOKENTYPE
+ # define YYTOKENTYPE
Added: trunk/spec_files/patches/warzone2100-02-netlog_fix.diff
===================================================================
--- trunk/spec_files/patches/warzone2100-02-netlog_fix.diff	 (rev 0)
+++ trunk/spec_files/patches/warzone2100-02-netlog_fix.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,24 @@
+--- warzone2100-2.2.1/lib/netplay/netlog.c.orig	2009年11月18日 21:15:33.896886303 +0530
++++ warzone2100-2.2.1/lib/netplay/netlog.c	2009年11月18日 21:28:49.138128838 +0530
+@@ -52,6 +52,7 @@
+ 	"NET_RESEARCH",
+ 	"NET_TEXTMSG",
+ 	"NET_REQUESTDROID",
++ 	"NET_UNUSED_19",
+ 	"NET_PLAYERCOMPLETE",
+ 	"NET_REQUESTPLAYER",
+ 	"NET_STRUCT",
+@@ -91,8 +92,12 @@
+ 	"NET_PLAYER_LEAVING",
+ 	"NET_PLAYER_DROPPED",
+ 	"NET_GAME_FLAGS",
++ "NET_READY_REQUEST",
++	"NET_UNUSED_60",
+ 	"NET_VERSION_CHECK",
+-	"NET_REQUEST_VERSION"
++	"NET_REQUEST_VERSION",
++	"NET_REQUEST_PASSWORD",
++	"NET_PASSWORD_CHECK"
+ };
+ 
+ static PHYSFS_file	*pFileHandle = NULL;
Added: trunk/spec_files/patches/zziplib-01-ldflags.diff
===================================================================
--- trunk/spec_files/patches/zziplib-01-ldflags.diff	 (rev 0)
+++ trunk/spec_files/patches/zziplib-01-ldflags.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,13 @@
+--- zziplib-0.13.58/configure.ac.orig	2009年11月14日 22:51:22.467274532 +0530
++++ zziplib-0.13.58/configure.ac	2009年11月14日 22:50:32.886897643 +0530
+@@ -284,6 +284,10 @@
+ ZZIPLIB_LDFLAGS="-no-undefined -export-all-symbols -mconsole"
+ RESOLVES=' '
+ ;;
++ *solaris*)
++ ZZIPLIB_LDFLAGS=""
++ RESOLVES=' # '
++ ;;
+ *)
+ 
+ if test ".$can_build_shared" = .no
Added: trunk/spec_files/patches/zziplib-02-export-inline.diff
===================================================================
--- trunk/spec_files/patches/zziplib-02-export-inline.diff	 (rev 0)
+++ trunk/spec_files/patches/zziplib-02-export-inline.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,20 @@
+--- zziplib-0.13.58/zzip/zip.c.orig	2009年08月23日 17:08:22.000000000 +0530
++++ zziplib-0.13.58/zzip/zip.c	2009年11月14日 22:53:26.371576472 +0530
+@@ -88,7 +88,7 @@
+ struct zzip_dir_hdr **hdr_return,
+ zzip_plugin_io_t io);
+ 
+-_zzip_inline char *__zzip_aligned4(char *p);
++char *__zzip_aligned4(char *p);
+ 
+ /* ------------------------ harden routines ------------------------------ */
+ 
+@@ -375,7 +375,7 @@
+ * to pointer types but we do need only the lower bits in this implementation,
+ * so we can just cast the value to a long value.
+ */
+-_zzip_inline char *
++char *
+ __zzip_aligned4(char *p)
+ {
+ #define aligned4 __zzip_aligned4
Added: trunk/spec_files/patches/zziplib-03-multilib.diff
===================================================================
--- trunk/spec_files/patches/zziplib-03-multilib.diff	 (rev 0)
+++ trunk/spec_files/patches/zziplib-03-multilib.diff	2009年11月30日 14:55:46 UTC (rev 406)
@@ -0,0 +1,39 @@
+diff -Naupr zziplib-0.13.49.orig/zzip/_config.h zziplib-0.13.49/zzip/_config.h
+--- zziplib-0.13.49.orig/zzip/_config.h	2007年03月18日 12:59:51.000000000 +0100
++++ zziplib-0.13.49/zzip/_config.h	2008年12月22日 10:02:32.351372027 +0100
+@@ -130,9 +130,11 @@
+ 
+ /* whether the system defaults to 32bit off_t but can do 64bit when requested
+ */
++#if __WORDSIZE == 32
+ #ifndef ZZIP_LARGEFILE_SENSITIVE 
+ #define ZZIP_LARGEFILE_SENSITIVE 1 
+ #endif
++#endif
+ 
+ /* Name of package */
+ #ifndef ZZIP_PACKAGE 
+@@ -171,7 +173,11 @@
+ 
+ /* The number of bytes in type long */
+ #ifndef ZZIP_SIZEOF_LONG 
++#if __WORDSIZE == 32
+ #define ZZIP_SIZEOF_LONG 4 
++#elif __WORDSIZE == 64
++#define ZZIP_SIZEOF_LONG 8 
++#endif
+ #endif
+ 
+ /* The number of bytes in type short */
+@@ -194,9 +200,11 @@
+ /* #undef WORDS_BIGENDIAN */
+ 
+ /* Number of bits in a file offset, on hosts where this is settable. */
++#if __WORDSIZE == 32
+ #ifndef ZZIP__FILE_OFFSET_BITS 
+ #define ZZIP__FILE_OFFSET_BITS 64 
+ #endif
++#endif
+ 
+ /* Define for large files, on AIX-style hosts. */
+ /* #undef _LARGE_FILES */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2009年11月21日 05:11:25
Revision: 405
 http://belenix.svn.sourceforge.net/belenix/?rev=405&view=rev
Author: moinakg
Date: 2009年11月21日 05:11:15 +0000 (2009年11月21日)
Log Message:
-----------
l10n files from JDS repo, last set.
Added Paths:
-----------
 trunk/spec_files/jds/po-sun/file-roller/
 trunk/spec_files/jds/po-sun/file-roller/po-sun/
 trunk/spec_files/jds/po-sun/file-roller/po-sun/cs.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/de.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/es.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/file-roller-sun.pot
 trunk/spec_files/jds/po-sun/file-roller/po-sun/fr.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/hu.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/it.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/ja.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/ko.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/pl.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/ru.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/sv.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/file-roller/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/glade/
 trunk/spec_files/jds/po-sun/glade/po-sun/
 trunk/spec_files/jds/po-sun/glade/po-sun/cs.po
 trunk/spec_files/jds/po-sun/glade/po-sun/de.po
 trunk/spec_files/jds/po-sun/glade/po-sun/es.po
 trunk/spec_files/jds/po-sun/glade/po-sun/fr.po
 trunk/spec_files/jds/po-sun/glade/po-sun/glade-sun.pot
 trunk/spec_files/jds/po-sun/glade/po-sun/hu.po
 trunk/spec_files/jds/po-sun/glade/po-sun/it.po
 trunk/spec_files/jds/po-sun/glade/po-sun/ja.po
 trunk/spec_files/jds/po-sun/glade/po-sun/ko.po
 trunk/spec_files/jds/po-sun/glade/po-sun/pl.po
 trunk/spec_files/jds/po-sun/glade/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/glade/po-sun/ru.po
 trunk/spec_files/jds/po-sun/glade/po-sun/sv.po
 trunk/spec_files/jds/po-sun/glade/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/glade/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/glade/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/gnome-terminal/
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/de.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/es.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/gnome-terminal-sun.pot
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/it.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/vino/
 trunk/spec_files/jds/po-sun/vino/po-sun/
 trunk/spec_files/jds/po-sun/vino/po-sun/cs.po
 trunk/spec_files/jds/po-sun/vino/po-sun/de.po
 trunk/spec_files/jds/po-sun/vino/po-sun/es.po
 trunk/spec_files/jds/po-sun/vino/po-sun/fr.po
 trunk/spec_files/jds/po-sun/vino/po-sun/hu.po
 trunk/spec_files/jds/po-sun/vino/po-sun/it.po
 trunk/spec_files/jds/po-sun/vino/po-sun/ja.po
 trunk/spec_files/jds/po-sun/vino/po-sun/ko.po
 trunk/spec_files/jds/po-sun/vino/po-sun/pl.po
 trunk/spec_files/jds/po-sun/vino/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/vino/po-sun/ru.po
 trunk/spec_files/jds/po-sun/vino/po-sun/sv.po
 trunk/spec_files/jds/po-sun/vino/po-sun/vino-sun.pot
 trunk/spec_files/jds/po-sun/vino/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/vino/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/vino/po-sun/zh_TW.po
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/cs.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/cs.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/cs.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,28 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr ""
+
+# SUN_BRANDING
+#~ msgid "Create or open compressed file archives such as .ZIP or .TAR"
+#~ msgstr ""
+#~ "Vytvořit nebo otevřít kompresované souborové archivy jako jsou .ZIP nebo ."
+#~ "TAR"
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/de.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/de.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/de.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,36 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2008年10月14日 12:25+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr ""
+"GZIP, TAR und andere Typen von Archivdateien anzeigen, erstellen und "
+"bearbeiten"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Create or open compressed file archives such as .ZIP or .TAR"
+#~ msgstr ""
+#~ "Erstellen oder öffnen Sie Archive aus komprimierten Dateien wie .ZIP "
+#~ "oder .TAR"
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/es.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/es.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/es.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,33 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2008年10月15日 11:09+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr ""
+"Ver, crear y editar archivos de almacenamiento gzip, tar y de otros tipos"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Create or open compressed file archives such as .ZIP or .TAR"
+#~ msgstr "Crea o abre grupos de archivos comprimidos como .ZIP o .TAR"
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/file-roller-sun.pot
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/file-roller-sun.pot	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/file-roller-sun.pot	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,28 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL...@li...>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+# SUN_BRANDING
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/fr.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/fr.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/fr.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,33 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2008年10月14日 17:47+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr "Afficher, créer et modifier des fichiers d'archive gzip, tar et autres"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Create or open compressed file archives such as .ZIP or .TAR"
+#~ msgstr ""
+#~ "Créer ou ouvrir des fichiers archives compressés (du type ZIP ou TAR)"
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/hu.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/hu.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/hu.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,22 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/it.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/it.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/it.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,34 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2008年10月14日 18:24+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr ""
+"Visualizza, crea e modifica i file di archiviazione gzip, tar e di altro "
+"formato"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Create or open compressed file archives such as .ZIP or .TAR"
+#~ msgstr "Creare o aprire file compressi quali .ZIP o .TAR"
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/ja.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/ja.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/ja.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN TECH REVIEWED
+# SUN LING REVIEWED
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr ""
+"gzip、tar、その他のタイプのアーカイブファイルを表示、作成、および編集します"
+
+# SUN_BRANDING
+#~ msgid "Create or open compressed file archives such as .ZIP or .TAR"
+#~ msgstr ""
+#~ ".ZIP や .TAR のような圧縮されたファイルアーカイブを作成したり開きます"
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/ko.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/ko.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/ko.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr "gzip, tar 및 기타 아카이브 파일 형식을 보고, 만들고, 편집합니다."
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Create or open compressed file archives such as .ZIP or .TAR"
+#~ msgstr ".ZIP 또는 .TAR와 같은 압축형 파일 아카이브 작성 또는 열기"
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/pl.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/pl.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/pl.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,22 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/pt_BR.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/pt_BR.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/pt_BR.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2008年10月14日 17:07+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr "Visualizar, criar e editar gzip, tar e outros tipos de arquivos"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Create or open compressed file archives such as .ZIP or .TAR"
+#~ msgstr "Criar ou abrir arquivos compactados, como .ZIP ou .TAR"
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/ru.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/ru.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/ru.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,30 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2008年03月04日 17:45+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr ""
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Create or open compressed file archives such as .ZIP or .TAR"
+#~ msgstr ""
+#~ "Создание или открытие сжатых файловых архивов, таких как .ZIP или .TAR"
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/sv.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/sv.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/sv.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,22 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/zh_CN.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/zh_CN.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/zh_CN.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr "查看、创建和编辑 gzip、tar 及其他类型的归档文件"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Create or open compressed file archives such as .ZIP or .TAR"
+#~ msgstr "创建或打开已压缩的文件归档(如 .ZIP 或 .TAR)"
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/zh_HK.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/zh_HK.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/zh_HK.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr "檢視、建立及編輯 gzip、tar 與其他類型的歸檔檔案"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Create or open compressed file archives such as .ZIP or .TAR"
+#~ msgstr "建立或開啟壓縮的檔案歸檔,例如 .ZIP 或 .TAR"
Added: trunk/spec_files/jds/po-sun/file-roller/po-sun/zh_TW.po
===================================================================
--- trunk/spec_files/jds/po-sun/file-roller/po-sun/zh_TW.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/file-roller/po-sun/zh_TW.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the file-roller package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: file-roller HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月26日 00:04+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../data/file-roller.desktop.in.in.h:3
+msgid "View, create and edit gzip, tar and other types of archive files"
+msgstr "檢視、建立及編輯 gzip、tar 與其他類型的歸檔檔案"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Create or open compressed file archives such as .ZIP or .TAR"
+#~ msgstr "建立或開啟壓縮的檔案歸檔,例如 .ZIP 或 .TAR"
Added: trunk/spec_files/jds/po-sun/glade/po-sun/cs.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/cs.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/cs.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr "Vytvořit návrh uživatelského rozhranní pro gtk+ nebo GNOME aplikace"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr "Glade návrhář uživatelského rozhranní"
Added: trunk/spec_files/jds/po-sun/glade/po-sun/de.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/de.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/de.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr "Erstellen von Benutzeroberflächen für Anwendungen mit gtk+ und GNOME"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr "Benutzeroberflächen-Designer Glade"
Added: trunk/spec_files/jds/po-sun/glade/po-sun/es.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/es.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/es.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr "Cree diseños de interfaces de usuario para aplicaciones gtk+ o GNOME"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr "Diseñador de interfaces de usuario Glade"
Added: trunk/spec_files/jds/po-sun/glade/po-sun/fr.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/fr.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/fr.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr "Concevez des interfaces utilisateur destinées à des applications gtk+ ou GNOME"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr "Concepteur d’interfaces utilisateur Glade"
Added: trunk/spec_files/jds/po-sun/glade/po-sun/glade-sun.pot
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/glade-sun.pot	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/glade-sun.pot	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,52 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL...@li...>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr ""
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/glade/po-sun/hu.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/hu.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/hu.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr ""
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/glade/po-sun/it.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/it.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/it.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr "Consente di creare interfacce utente per le applicazioni gtk+ o GNOME"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr "Generatore di interfacce utente Glade"
Added: trunk/spec_files/jds/po-sun/glade/po-sun/ja.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/ja.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/ja.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,46 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr ""
+"GTK+ や GNOME アプリケーション用ユーザーインタフェースデザインを作成します"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr "Glade ユーザーインタフェースデザイン"
Added: trunk/spec_files/jds/po-sun/glade/po-sun/ko.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/ko.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/ko.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr "gtk+ 또는 GNOME 응용 프로그램용 사용자 인터페이스 디자인을 만듭니다."
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr "Glade 사용자 인터페이스 디자인 프로그램"
Added: trunk/spec_files/jds/po-sun/glade/po-sun/pl.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/pl.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/pl.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr ""
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/glade/po-sun/pt_BR.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/pt_BR.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/pt_BR.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr ""
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/glade/po-sun/ru.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/ru.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/ru.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr "Создание структуры пользовательского интерфейса для приложений gtk+ или GNOME"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr "Проектировщик пользовательского интерфейса Glade"
Added: trunk/spec_files/jds/po-sun/glade/po-sun/sv.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/sv.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/sv.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr ""
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/glade/po-sun/zh_CN.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/zh_CN.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/zh_CN.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr "为 gtk+ 或 GNOME 应用程序创建用户接口设计"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr "Glade 用户接口设计程序"
Added: trunk/spec_files/jds/po-sun/glade/po-sun/zh_HK.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/zh_HK.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/zh_HK.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr "為 gtk+ 或 GNOME 應用程式建立使用者介面設計"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr "Glade 使用者介面設計程式"
Added: trunk/spec_files/jds/po-sun/glade/po-sun/zh_TW.po
===================================================================
--- trunk/spec_files/jds/po-sun/glade/po-sun/zh_TW.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/glade/po-sun/zh_TW.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: glade HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 20:34+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:2
+msgid "Create user interface designs for gtk+ or GNOME applications"
+msgstr "為 gtk+ 或 GNOME 應用程式建立使用者介面設計"
+
+# SUN_BRANDING
+#: ../glade-2.desktop.in.h:4
+msgid "Glade User Interface Designer"
+msgstr "Glade 使用者介面設計程式"
Added: trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/cs.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/cs.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/cs.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,41 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-terminal HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 22:00+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../gnome-terminal.desktop.in.in.h:2
+msgid "Run a command line shell"
+msgstr "Spustit shell v příkazové řádce"
Added: trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/de.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/de.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/de.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0,0 +1,41 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-terminal HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 22:00+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../gnome-terminal.desktop.in.in.h:2
+msgid "Run a command line shell"
+msgstr "Befehl von der Befehlszeile ausführen"
Added: trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/es.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/es.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-terminal/po-sun/es.po	2009年11月21日 05:11:15 UTC (rev 405)
@@ -0...
 
[truncated message content]
From: belenix-notify <bel...@li...> - 2009年11月21日 05:01:14
Revision: 404
 http://belenix.svn.sourceforge.net/belenix/?rev=404&view=rev
Author: moinakg
Date: 2009年11月21日 05:01:05 +0000 (2009年11月21日)
Log Message:
-----------
	* SFEcegui.spec
	* patches/cegui-01-release-as-so-ver.diff
	* patches/cegui-02-userverso.diff
	* patches/cegui-03-new-DevIL.diff
	* patches/cegui-04-solaris.diff
	* SFEallegro.spec
	* ext-sources/SFEallegro.copyright
	* patches/allegro-01-cfg.diff
	* patches/allegro-02-nostrip.diff
	* patches/allegro-03-multilib.diff
	* patches/allegro-04-noexecmod.diff
	* patches/allegro-05-libdir.diff
	* patches/allegro-06-fullscreen-viewport.diff
	* SFEcal3d.spec
	* patches/cal3d-01-gcc43.diff
	* SFESilly.spec
	* SFElibdevil.spec
	* patches/libdevil-01-allegropicfix.diff
	 New game and graphics libs.
Added Paths:
-----------
 trunk/spec_files/SFESilly.spec
 trunk/spec_files/SFEallegro.spec
 trunk/spec_files/SFEcal3d.spec
 trunk/spec_files/SFEcegui.spec
 trunk/spec_files/SFElibdevil.spec
 trunk/spec_files/ext-sources/SFEallegro.copyright
 trunk/spec_files/patches/allegro-01-cfg.diff
 trunk/spec_files/patches/allegro-02-nostrip.diff
 trunk/spec_files/patches/allegro-03-multilib.diff
 trunk/spec_files/patches/allegro-04-noexecmod.diff
 trunk/spec_files/patches/allegro-05-libdir.diff
 trunk/spec_files/patches/allegro-06-fullscreen-viewport.diff
 trunk/spec_files/patches/cal3d-01-gcc43.diff
 trunk/spec_files/patches/cegui-01-release-as-so-ver.diff
 trunk/spec_files/patches/cegui-02-userverso.diff
 trunk/spec_files/patches/cegui-03-new-DevIL.diff
 trunk/spec_files/patches/cegui-04-solaris.diff
 trunk/spec_files/patches/libdevil-01-allegropicfix.diff
Added: trunk/spec_files/SFESilly.spec
===================================================================
--- trunk/spec_files/SFESilly.spec	 (rev 0)
+++ trunk/spec_files/SFESilly.spec	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,164 @@
+#
+# Copyright 2007 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+%define cc_is_gcc 1
+
+%ifarch amd64 sparcv9
+%include arch64.inc
+%endif
+
+%include base.inc
+
+Name: SFESilly
+Summary: Simple and easy to use library for image loading
+Version: 0.1.0
+Group: System Environment/Libraries
+License: MIT
+URL: http://www.cegui.org.uk
+Source: %{sf_download}/crayzedsgui/SILLY-%{version}.tar.gz
+Source1: %{sf_download}/crayzedsgui/SILLY-DOCS-%{version}.tar.gz
+
+SUNW_BaseDir: %{_basedir}
+#SUNW_Copyright: %{name}.copyright
+Group: Games
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+Requires: SUNWpng
+BuildRequires: SUNWpng-devel
+BuildRequires: SFEdoxygen
+Requires: SUNWjpg
+BuildRequires: SUNWjpg-devel
+Requires: SUNWzlib
+
+%description
+The Simple Image Loading LibrarY is a companion library of the CEGUI project.
+It provides a simple and easy to use library for image loading.
+
+It currently supports the following formats:
+TGA (Targa)
+JPEG (Joint Photographic Experts Group)
+PNG (Portable Network Graphics)
+
+%package devel
+Summary: Development files for SILLY
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %name
+Requires: SUNWpng-devel
+Requires: SFEdoxygen
+Requires: SUNWjpg-devel
+
+%description devel
+Development files for SILLY.
+
+%prep
+%setup -q -c -n %name-%version
+cd SILLY-%{version}
+# Don't use full path, otherwise it shows buildroot as part of the path
+%{gnu_bin}/sed -i 's|\(FULL_PATH_NAMES[ \t][ \t]*= \)YES|1円NO|' Doxyfile
+
+# Get rid of some useless noise
+%{gnu_bin}/sed -i 's|\(WARNINGS[ \t][ \t]*= \)YES|1円NO|' Doxyfile
+%{gnu_bin}/sed -i 's|\(WARN_IF_UNDOCUMENTED[ \t][ \t]*= \)YES|1円NO|' Doxyfile
+%{gnu_bin}/sed -i 's|\(WARN_IF_DOC_ERROR[ \t][ \t]*= \)YES|1円NO|' Doxyfile
+
+# Generate developer man pages
+%{gnu_bin}/sed -i 's|\(GENERATE_MAN[ \t][ \t]*= \)NO|1円YES|' Doxyfile
+
+# Multiarch hack, we are now using prebuilt HTML
+%{gnu_bin}/sed -i 's|\(GENERATE_HTML[ \t][ \t]*= \)YES|1円NO|' Doxyfile 
+cd ..
+
+%ifarch amd64 sparcv9
+cp -pr SILLY-%{version} SILLY-%{version}-64
+%endif
+
+%build
+%ifarch amd64 sparcv9
+cd SILLY-%{version}-64
+export CFLAGS="%{optflags64}"
+export CXXFLAGS="%{cxx_optflags64}"
+export LDFLAGS="%{_ldflags64} %{gnu_lib_path64}"
+
+./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir}/%{_arch64} \
+ --libdir=%{_libdir}/%{_arch64} \
+ --mandir=%{_mandir} \
+ --disable-static \
+ --with-pic
+gmake
+cd ..
+%endif
+
+cd SILLY-%{version}
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{cxx_optflags}"
+export LDFLAGS="%{_ldflags} %{gnu_lib_path}"
+
+./configure --prefix=%{_prefix} \
+ --mandir=%{_mandir} \
+ --disable-static \
+ --with-pic
+gmake
+
+#Build developer documentation
+doxygen
+cd ..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+PDIR=`pwd`
+%ifarch amd64 sparcv9
+cd SILLY-%{version}-64
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="ginstall -p"
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/*.la
+cd ..
+%endif
+
+cd ${PDIR}/SILLY-%{version}
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="ginstall -p"
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+#Install man pages
+mkdir -p %{buildroot}%{_mandir}/man3
+cp -r doc/man/man3/* %{buildroot}%{_mandir}/man3 
+cd ..
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*.so*
+
+%ifarch amd64 sparcv9
+%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
+%{_libdir}/%{_arch64}/*.so*
+%endif
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*.pc
+
+%ifarch amd64 sparcv9
+%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
+%{_libdir}/%{_arch64}/pkgconfig/*.pc
+%endif
+
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, bin) %{_mandir}
+%dir %attr (0755, root, bin) %{_mandir}/man3
+%{_mandir}/man3/*
+
+%changelog
+* Sat Nov 21 2009 - Moinak Ghosh
+- Initial version.
Added: trunk/spec_files/SFEallegro.spec
===================================================================
--- trunk/spec_files/SFEallegro.spec	 (rev 0)
+++ trunk/spec_files/SFEallegro.spec	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,231 @@
+#
+# Copyright 2007 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+%define cc_is_gcc 1
+%include usr-gnu.inc
+
+%ifarch amd64 sparcv9
+%include arch64.inc
+%endif
+
+%include base.inc
+
+Name: SFEallegro
+Summary: Game programming library
+Version: 4.2.2
+Group: System Environment/Libraries
+License: Giftware
+URL: http://alleg.sourceforge.net/
+Source: %{sf_download}/alleg/allegro-%{version}.tar.gz
+Patch1: allegro-01-cfg.diff
+Patch2: allegro-02-nostrip.diff
+Patch3: allegro-03-multilib.diff
+Patch4: allegro-04-noexecmod.diff
+Patch5: allegro-05-libdir.diff
+Patch6: allegro-06-fullscreen-viewport.diff
+
+SUNW_BaseDir: /
+SUNW_Copyright: %{name}.copyright
+Group: Games
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+Requires: SUNWgnome-audio
+BuildRequires: SUNWgnome-audio-devel
+Requires: SUNWxwplt
+Requires: SFEgccruntime
+BuildRequires: SUNWxorg-headers
+BuildRequires: SUNWzip
+
+
+%description
+Allegro is a cross-platform library intended for use in computer games
+and other types of multimedia programming. 
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: /
+%include default-depend.inc
+Requires: %name
+Requires: SUNWxorg-headers
+Requires: SUNWbash
+Requires: SFEgcc
+Requires: SUNWgnome-audio-devel
+
+%description devel
+Allegro is a cross-platform library intended for use in computer games
+and other types of multimedia programming. This package is needed to
+build programs written with Allegro. 
+
+%prep
+%setup -q -c -n %name-%version
+cd allegro-%{version}
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+cd ..
+
+%ifarch amd64 sparcv9
+cp -pr allegro-%{version} allegro-%{version}-64
+%endif
+
+%build
+%ifarch amd64 sparcv9
+cd allegro-%{version}-64
+# This source is gcc-centric, therefore...
+export CC=%{gnu_bin}/gcc
+export CFLAGS="-m64 -fPIC -DPIC -I/usr/X11/include"
+export CXXFLAGS="-m64 -fPIC -DPIC -I/usr/X11/include"
+export LDFLAGS="%{_ldflags64} %{gnu_lib_path64}"
+export allegro_cv_processor_type=%{_arch64}
+
+# The following on-the-fly patch is applied because this source's makefile
+# uses syntax that works with bash(1) but not sh(1); yet makefile.in
+# hardcodes SHELL = /bin/sh (and likely gets away with it because /bin/sh
+# on some (all?) Linux systems is symlink'd to /bin/bash.)
+# TODO: Report this upstream
+
+perl -i.orig -lpe 's/^(SHELL = \/bin\/sh).*/#1ドル/ and print "SHELL = /bin/bash"' makefile.in
+
+./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir}/%{_arch64} \
+ --libdir=%{_libdir}/%{_arch64} \
+ --mandir=%{_mandir}
+# GRRR configure insists on adding -fomit-frame-pointer, remove it 
+%{gnu_bin}/sed -i 's/-fomit-frame-pointer//g' makefile
+
+# Fix for 64Bit
+%{gnu_bin}/sed -i 's/CXXFLAGS =/CXXFLAGS = -m64/g' makefile
+
+gmake
+cd ..
+%endif
+
+cd allegro-%{version}
+# This source is gcc-centric, therefore...
+# export CFLAGS="%optflags"
+export CFLAGS="-fPIC -DPIC -I/usr/X11/include"
+export LDFLAGS="%{_ldflags} %{gnu_lib_path}"
+unset allegro_cv_processor_type
+
+# The following on-the-fly patch is applied because this source's makefile
+# uses syntax that works with bash(1) but not sh(1); yet makefile.in
+# hardcodes SHELL = /bin/sh (and likely gets away with it because /bin/sh
+# on some (all?) Linux systems is symlink'd to /bin/bash.)
+# TODO: Report this upstream
+
+perl -i.orig -lpe 's/^(SHELL = \/bin\/sh).*/#1ドル/ and print "SHELL = /bin/bash"' makefile.in
+
+./configure --prefix=%{_prefix} \
+ --mandir=%{_mandir}
+
+gmake
+cd ..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+PDIR=`pwd`
+%ifarch amd64 sparcv9
+cd allegro-%{version}-64
+make install DESTDIR=$RPM_BUILD_ROOT
+make install-man DESTDIR=$RPM_BUILD_ROOT
+ginstall -m 755 docs/makedoc $RPM_BUILD_ROOT%{_bindir}/allegro-makedoc
+ginstall -Dpm 644 allegro.cfg $RPM_BUILD_ROOT%{_sysconfdir}/allegrorc
+ginstall -dm 755 $RPM_BUILD_ROOT%{_datadir}/allegro
+
+mkdir -p $RPM_BUILD_ROOT%{_std_includedir}
+cd $RPM_BUILD_ROOT%{_std_includedir}
+ln -s ../gnu/include/allegro.h .
+ln -s ../gnu/include/allegro .
+
+mkdir -p $RPM_BUILD_ROOT%{_std_bindir}/%{_arch64}
+CONFLICTING_COMMANDS="
+ :pack:
+"
+
+cd $RPM_BUILD_ROOT%{_bindir}/%{_arch64}
+for f in *; do
+ # don't symlink conflicting commands to /usr/bin
+ echo $CONFLICTING_COMMANDS | grep ":${f}:" > /dev/null && continue
+ ( cd $RPM_BUILD_ROOT%{_std_bindir}/%{_arch64}; ln -s ../../gnu/bin/%{_arch64}/$f . )
+done
+
+mkdir -p $RPM_BUILD_ROOT%{_std_libdir}/%{_arch64}
+cd $RPM_BUILD_ROOT%{_std_libdir}/%{_arch64}
+ln -s ../../gnu/lib/%{_arch64}/liballeg* .
+
+cd $RPM_BUILD_ROOT%{_prefix}
+ln -s share/man man
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/liball{p,d}_unsharable.a
+cd ..
+%endif
+
+cd ${PDIR}/allegro-%{version}
+make install DESTDIR=$RPM_BUILD_ROOT
+ginstall -m 755 docs/makedoc $RPM_BUILD_ROOT%{_bindir}/%{_arch64}/allegro-makedoc
+
+mkdir -p $RPM_BUILD_ROOT%{_std_bindir}
+CONFLICTING_COMMANDS="
+ :pack:
+"
+
+cd $RPM_BUILD_ROOT%{_bindir}
+for f in *; do
+ # don't symlink conflicting commands to /usr/bin
+ echo $CONFLICTING_COMMANDS | grep ":${f}:" > /dev/null && continue
+ ( cd $RPM_BUILD_ROOT%{_std_bindir}; ln -s ../gnu/bin/$f . )
+done
+
+mkdir -p $RPM_BUILD_ROOT%{_std_libdir}
+cd $RPM_BUILD_ROOT%{_std_libdir}
+ln -s ../gnu/lib/liballeg* .
+chmod 755 `find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.so"`
+rm -f $RPM_BUILD_ROOT%{_libdir}/liball{p,d}_unsharable.a
+cd ..
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_basedir}
+%dir %attr (0755, root, bin) %{_std_bindir}
+%{_std_bindir}/*
+%dir %attr (0755, root, bin) %{_prefix}
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, bin) %{_std_libdir}
+%{_std_libdir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*
+%dir %attr (0755, root, sys) %{_sysconfdir}
+%attr (0644, root, bin) %{_sysconfdir}/allegrorc
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_basedir}
+%dir %attr (0755, root, bin) %{_std_includedir}
+%{_std_includedir}/*.h
+%{_std_includedir}/allegro
+%dir %attr (0755, root, bin) %{_prefix}
+%{_prefix}/man
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*.h
+%{_includedir}/allegro
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_datadir}/aclocal
+%{_datadir}/aclocal/*
+%dir %attr (0755, root, other) %{_datadir}/allegro
+%dir %attr (0755, root, bin) %{_mandir}
+%dir %attr (0755, root, bin) %{_mandir}/man3
+%{_mandir}/man3/*
+
+%changelog
+* Sat Nov 21 2009 - Moinak Ghosh
+- Initial spec
Added: trunk/spec_files/SFEcal3d.spec
===================================================================
--- trunk/spec_files/SFEcal3d.spec	 (rev 0)
+++ trunk/spec_files/SFEcal3d.spec	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,148 @@
+#
+# spec file for package SFEcal3d.spec
+#
+# includes module(s): cal3d
+#
+%include Solaris.inc
+
+%ifarch amd64 sparcv9
+%include arch64.inc
+%endif
+
+%include base.inc
+
+%define src_name	cal3d
+%define src_url		http://download.gna.org/cal3d/sources
+
+Name: SFEcal3d
+Summary: skeletal based 3D character animation library
+Version: 0.11.0
+Source: %{src_url}/%{src_name}-%{version}.tar.gz
+Patch1: cal3d-01-gcc43.diff
+
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+BuildRequires: SUNWgnome-doc-utils
+
+%description
+Cal3D is a skeletal based 3-D character animation library written in C++
+in a platform-/graphic API-independent way. 
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+Requires: SUNWgnome-doc-utils
+
+%description devel
+This package contains the header files, libraries and documentation
+for Cal3D.
+
+%prep
+%setup -q -c -n %name-%version
+cd %{src_name}-%{version}
+%patch1 -p0
+cd ..
+
+%ifarch amd64 sparcv9
+cp -pr %{src_name}-%{version} %{src_name}-%{version}-64
+%endif
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+%ifarch amd64 sparcv9
+cd %{src_name}-%{version}-64
+
+export CXXFLAGS="-m64 -O3 -Xlinker -i -fno-omit-frame-pointer"
+export CFLAGS="%optflags64"
+export LDFLAGS="%_ldflags64 -L%{_prefix}/lib/%{_arch64} -R%{_prefix}/lib/%{_arch64} %{gnu_lib_path64}"
+
+./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir}/%{_arch64} \
+ --mandir=%{_mandir} \
+ --libdir=%{_libdir}/%{_arch64} \
+ --datadir=%{_datadir} \
+ --libexecdir=%{_libexecdir}/%{_arch64} \
+ --sysconfdir=%{_sysconfdir} \
+ --enable-shared \
+ --disable-static
+gmake -j$CPUS
+cd ..
+%endif
+
+cd %{src_name}-%{version}
+export CXXFLAGS="-O3 -Xlinker -i -fno-omit-frame-pointer"
+export CFLAGS="%optflags"
+export LDFLAGS="%_ldflags"
+
+./configure --prefix=%{_prefix}		\
+	 --bindir=%{_bindir}		\
+	 --mandir=%{_mandir}		\
+ --libdir=%{_libdir}		\
+ --datadir=%{_datadir}	\
+ --libexecdir=%{_libexecdir} \
+ --sysconfdir=%{_sysconfdir} \
+ --enable-shared		\
+	 --disable-static
+gmake -j$CPUS 
+cd docs
+gmake doc-api
+cd ../..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ifarch amd64 sparcv9
+cd %{src_name}-%{version}-64
+make install DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/lib*.*a
+cd ..
+%endif
+
+cd %{src_name}-%{version}
+make install DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT%{_libdir}/lib*.*a
+
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{src_name}
+cp -rp docs/api/html $RPM_BUILD_ROOT%{_docdir}/%{src_name}
+cd ..
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_bindir}
+%dir %attr (0755,root,bin) %{_libdir}
+%{_libdir}/lib*.so*
+%dir %attr (0755,root,sys) %{_datadir}
+%{_mandir}
+
+%ifarch amd64 sparcv9
+%dir %attr (0755,root,bin) %{_libdir}/%{_arch64}
+%{_libdir}/%{_arch64}/lib*.so*
+%endif
+
+%files devel
+%defattr (-, root, bin)
+%{_includedir}
+%dir %attr (0755,root,bin) %{_libdir}
+%dir %attr (0755,root,other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+%dir %attr (0755,root,sys) %{_datadir}
+%dir %attr (0755,root,other) %{_docdir}
+%{_docdir}/*
+
+%ifarch amd64 sparcv9
+%dir %attr (0755,root,bin) %{_libdir}/%{_arch64}
+%dir %attr (0755,root,other) %{_libdir}/%{_arch64}/pkgconfig
+%{_libdir}/%{_arch64}/pkgconfig/*
+%endif
+
+%changelog
+* Sat Nov 21 2009 - Moinak Ghosh
+- Initial version.
Added: trunk/spec_files/SFEcegui.spec
===================================================================
--- trunk/spec_files/SFEcegui.spec	 (rev 0)
+++ trunk/spec_files/SFEcegui.spec	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,133 @@
+#
+# Copyright 2008 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+
+%define cc_is_gcc 1
+%include base.inc
+Name: SFEcegui
+Summary: Free library providing windowing and widgets for graphics APIs / engines
+Version: 0.6.2
+License: MIT
+Source: %{sf_download}/crayzedsgui/CEGUI-%{version}.tar.gz
+Source1: %{sf_download}/crayzedsgui/CEGUI-%{version}-DOCS.tar.gz
+Patch1:		 cegui-01-release-as-so-ver.diff
+Patch2:		 cegui-02-userverso.diff
+Patch3: cegui-03-new-DevIL.diff
+Patch4: cegui-04-solaris.diff
+
+URL: http://www.cegui.org.uk
+Group: System Environment/Libraries
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: SFElibdevil
+BuildRequires: SFElibdevil-devel
+Requires: SUNWlexpt
+Requires: SUNWfreetype2
+Requires: SUNWlxml
+Requires: SUNWxorg-mesa
+BuildRequires: SUNWxorg-headers
+Requires: SFElua
+Requires: SUNWpcre
+Requires: SFESilly
+BuildRequires: SFESilly-devel
+Requires: SFExerces-c
+BuildRequires: SFExerces-c-devel
+Requires: SFEtoluapp
+BuildRequires: SFEtoluapp-devel
+Requires: SFEglew
+
+%description
+Crazy Eddie's GUI System is a free library providing windowing and widgets for
+graphics APIs / engines where such functionality is not natively available, or
+severely lacking. The library is object orientated, written in C++, and
+targeted at games developers who should be spending their time creating great
+games, not building GUI sub-systems! 
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %name
+Requires: SFElibdevil-devel
+Requires: SUNWxorg-headers
+Requires: SFElua
+Requires: SFESilly-devel
+Requires: SFExerces-c-devel
+Requires: SFEtoluapp-devel
+Requires: SFEglew
+
+%prep
+%setup -q -n CEGUI-%{version}
+%patch1 -p1 
+%patch2 -p1 
+%patch3 -p1 
+%patch4 -p1 
+
+# Permission fixes for debuginfo RPM
+chmod -x include/falagard/*.h
+
+# Delete zero length file
+rm -f documentation/api_reference/keepme 
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+export CFLAGS="%optflags"
+export CXXFLAGS="%cxx_optflags"
+export LDFLAGS="%_ldflags"
+export Lua_CFLAGS="-I%{_includedir}"
+export Lua_LIBS="-llua"
+
+./configure --prefix=%{_prefix} --disable-static --disable-corona --enable-devil \
+ --enable-lua-module --disable-irrlicht-renderer --disable-samples \
+ --disable-directfb-renderer \
+ --with-default-xml-parser=ExpatParser --enable-silly \
+ --with-default-image-codec=SILLYImageCodec --with-pic
+
+# We do not want to get linked against a system copy of ourselves!
+sed -i 's|-L%{_libdir}||g' RendererModules/OpenGLGUIRenderer/Makefile
+# Don't use rpath!
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+gmake -j$CPUS
+
+%install
+rm -rf $RPM_BUILD_ROOT
+gmake install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/CEGUI
+cp -r documentation $RPM_BUILD_ROOT%{_docdir}/CEGUI
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*.so*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, bin) %{_datadir}/CEGUI
+%{_datadir}/CEGUI/*
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_docdir}
+%doc %{_docdir}/*
+
+%changelog
+* Sat Nov 21 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/SFElibdevil.spec
===================================================================
--- trunk/spec_files/SFElibdevil.spec	 (rev 0)
+++ trunk/spec_files/SFElibdevil.spec	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,227 @@
+#
+# spec file for package SFElibdevil.spec
+#
+# includes module(s): libdevil
+#
+%include Solaris.inc
+
+%ifarch amd64 sparcv9
+%include arch64.inc
+%endif
+
+%include base.inc
+
+%define src_name	DevIL
+Name: SFElibdevil
+Summary: Cross-platform image library
+Version: 1.7.8
+Group: System Environment/Libraries
+License: LGPLv2
+URL: http://openil.sourceforge.net/
+Source: %{sf_download}/openil/%{src_name}-%{version}.tar.gz
+Patch1:			libdevil-01-allegropicfix.diff
+
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+BuildRequires: SFElibmng-devel
+Requires: SFElibmng
+BuildRequires: SFElcms-devel
+Requires: SFElcms
+BuildRequires: SFEjasper-devel
+Requires: SFEjasper
+BuildRequires: SUNWTiff-devel
+Requires: SUNWTiff
+BuildRequires: SUNWpng-devel
+Requires: SUNWpng
+BuildRequires: SUNWjpg-devel
+Requires: SUNWjpg
+BuildRequires: SFEallegro-devel
+Requires: SFEallegro
+BuildRequires: SFEsdl-devel
+Requires: SFEsdl
+BuildRequires: SUNWxorg-headers
+Requires: SUNWxorg-mesa
+
+%description
+Developer's Image Library (DevIL) is a programmer's library to develop
+applications with very powerful image loading capabilities, yet is easy for a
+developer to learn and use. Ultimate control of images is left to the
+developer, so unnecessary conversions, etc. are not performed. DevIL utilizes
+a simple, yet powerful, syntax. DevIL can load, save, convert, manipulate,
+filter and display a wide variety of image formats.
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+Requires: %name
+Requires: SFElibmng-devel
+Requires: SFElcms-devel
+Requires: SFEjasper-devel
+Requires: SUNWTiff-devel
+Requires: SUNWpng-devel
+Requires: SUNWjpg-devel
+Requires: SFEallegro-devel
+Requires: SFEsdl-devel
+Requires: SUNWxorg-headers
+
+%description devel
+Development files for DevIL 
+
+%package ILUT
+Summary: The libILUT component of DevIL
+Group: System Environment/Libraries
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+Requires: %name
+
+%description ILUT
+The libILUT component of DevIL
+
+%package ILUT-devel
+Summary: Development files for the libILUT component of DevIL
+Group: Development/Libraries
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+Requires: %{name}-ILUT
+Requires: %{name}-devel
+Requires: SUNWgnome-common-devel
+
+%prep
+%setup -q -c -n %name-%version
+%ifarch amd64 sparcv9
+cp -pr devil-%{version} devil-%{version}-64
+cd devil-%{version}
+%patch1 -p1
+cd ..
+%endif
+
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+%ifarch amd64 sparcv9
+cd devil-%{version}-64
+
+export CFLAGS="-O2 -m64 -Dlinux=1"
+export CXXFLAGS="-O2 -m64 -Dlinux=1"
+export LDFLAGS="%_ldflags64"
+export LD_OPTIONS="-z muldefs"
+./configure --prefix=%{_prefix}		\
+	 --bindir=%{_bindir}/%{_arch64}		\
+	 --mandir=%{_mandir}		\
+ --libdir=%{_libdir}/%{_arch64}		\
+ --datadir=%{_datadir}	\
+ --libexecdir=%{_libexecdir}/%{_arch64} \
+ --sysconfdir=%{_sysconfdir} \
+ --enable-ILU \
+ --enable-ILUT \
+ --enable-x86_64=yes \
+ --enable-shared		\
+	 --disable-static
+gmake -j$CPUS 
+cd ..
+%endif
+
+cd devil-%{version}
+export CFLAGS="-O2 -Dlinux=1"
+export CXXFLAGS="-O2 -Dlinux=1"
+export LDFLAGS="%_ldflags"
+export LD_OPTIONS="-z muldefs"
+./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --mandir=%{_mandir} \
+ --libdir=%{_libdir} \
+ --datadir=%{_datadir} \
+ --libexecdir=%{_libexecdir} \
+ --sysconfdir=%{_sysconfdir} \
+ --enable-ILU \
+ --enable-ILUT \
+ --enable-shared \
+ --disable-static
+gmake -j$CPUS
+cd ..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ifarch amd64 sparcv9
+cd devil-%{version}-64
+export LD_OPTIONS="-z muldefs"
+make install DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/lib*.*a
+cd ..
+%endif
+
+cd devil-%{version}
+export LD_OPTIONS="-z muldefs"
+make install DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT%{_libdir}/lib*.*a
+cd ..
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_bindir}/ilur 
+%{_libdir}/libIL.so*
+%{_libdir}/libILU.so*
+
+%ifarch amd64 sparcv9
+%dir %attr(0755, root, bin) %{_bindir}/%{_arch64}
+%dir %attr(0755, root, bin) %{_libdir}/%{_arch64}
+%{_bindir}/%{_arch64}/ilur 
+%{_libdir}/%{_arch64}/libIL.so*
+%{_libdir}/%{_arch64}/libILU.so*
+%endif
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr(0755, root, bin) %{_libdir}
+%dir %attr(0755, root, bin) %{_includedir}/IL
+%{_includedir}/IL/devil_cpp_wrapper.hpp
+%{_includedir}/IL/il.h
+%{_includedir}/IL/ilu.h
+%{_includedir}/IL/ilu_region.h
+%dir %attr(0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/IL.pc
+%{_libdir}/pkgconfig/ILU.pc
+%dir %attr(0755, root, sys) %{_datadir}
+%{_datadir}/*
+
+%ifarch amd64 sparcv9
+%dir %attr(0755, root, bin) %{_libdir}/%{_arch64}
+%dir %attr(0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
+%{_libdir}/%{_arch64}/pkgconfig/IL.pc
+%{_libdir}/%{_arch64}/pkgconfig/ILU.pc
+%endif
+
+%files ILUT
+%defattr (-, root, bin)
+%dir %attr(0755, root, bin) %{_libdir}
+%{_libdir}/libILUT.so*
+
+%ifarch amd64 sparcv9
+%dir %attr(0755, root, bin) %{_libdir}/%{_arch64}
+%{_libdir}/%{_arch64}/libILUT.so*
+%endif
+
+%files ILUT-devel
+%defattr (-, root, bin)
+%dir %attr(0755, root, bin) %{_libdir}
+%dir %attr(0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/ILUT.pc
+%{_includedir}/IL/ilut.h
+
+%ifarch amd64 sparcv9
+%dir %attr(0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
+%{_libdir}/%{_arch64}/pkgconfig/ILUT.pc
+%endif
+
+%changelog
+* Sat Fri Nov 21 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/ext-sources/SFEallegro.copyright
===================================================================
--- trunk/spec_files/ext-sources/SFEallegro.copyright	 (rev 0)
+++ trunk/spec_files/ext-sources/SFEallegro.copyright	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,47 @@
+***********************************************************************\
+* **
+* GrIP Prototype API Interface Library **
+* for **
+* DJGPP **
+* **
+* Revision 1.00 **
+* **
+* COPYRIGHT: **
+* **
+* (C) Copyright Advanced Gravis Computer Technology Ltd 1995. **
+* All Rights Reserved. **
+* **
+* DISCLAIMER OF WARRANTIES: **
+* **
+* The following [enclosed] code is provided to you "AS IS", **
+* without warranty of any kind. You have a royalty-free right to **
+* use, modify, reproduce and distribute the following code (and/or **
+* any modified version) provided that you agree that Advanced **
+* Gravis has no warranty obligations and shall not be liable for **
+* any damages arising out of your use of this code, even if they **
+* have been advised of the possibility of such damages. This **
+* Copyright statement and Disclaimer of Warranties may not be **
+* removed. **
+* **
+\***********************************************************************
+
+ Allegro is gift-ware. It was created by a number of people working in 
+ cooperation, and is given to you freely as a gift. You may use, modify, 
+ redistribute, and generally hack it about in any way you like, and you do 
+ not have to give us anything in return. However, if you like this product 
+ you are encouraged to thank us by making a return gift to the Allegro 
+ community. This could be by writing an add-on package, providing a useful 
+ bug report, making an improvement to the library, or perhaps just 
+ releasing the sources of your program so that other people can learn from 
+ them. If you redistribute parts of this code or make a game using it, it 
+ would be nice if you mentioned Allegro somewhere in the credits, but you 
+ are not required to do this. We trust you not to abuse our generosity.
+
+ Disclaimer:
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
Added: trunk/spec_files/patches/allegro-01-cfg.diff
===================================================================
--- trunk/spec_files/patches/allegro-01-cfg.diff	 (rev 0)
+++ trunk/spec_files/patches/allegro-01-cfg.diff	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,50 @@
+--- allegro-4.2.0/allegro.cfg.config	2005年05月13日 20:37:56.000000000 +0200
++++ allegro-4.2.0/allegro.cfg	2006年01月25日 10:49:42.000000000 +0100
+@@ -548,7 +548,7 @@
+ 
+ 
+ # patch set for the DIGMID software wavetable driver
+-patches = 
++patches = /etc/timidity.cfg
+ 
+ 
+ 
+@@ -647,22 +647,21 @@
+ 
+ 
+ # edit these shell commands to whatever helper programs you want to use...
+-data = start /w notepad
+-bmp = start /w "c:\program files\accessories\mspaint.exe"
+-rle = start /w "c:\program files\accessories\mspaint.exe"
+-cmp = start /w "c:\program files\accessories\mspaint.exe"
+-xcmp = start /w "c:\program files\accessories\mspaint.exe"
+-pal = start /w "c:\program files\accessories\mspaint.exe"
+-font = start /w "c:\program files\accessories\mspaint.exe"
+-samp = start /w "c:\program files\cooledit\cool.exe"
+-midi = start /w "c:\program files\cakewalk\wincake.exe"
++# data = start /w notepad
++# bmp = start /w "c:\program files\accessories\mspaint.exe"
++# rle = start /w "c:\program files\accessories\mspaint.exe"
++# cmp = start /w "c:\program files\accessories\mspaint.exe"
++# xcmp = start /w "c:\program files\accessories\mspaint.exe"
++# pal = start /w "c:\program files\accessories\mspaint.exe"
++# font = start /w "c:\program files\accessories\mspaint.exe"
++# samp = start /w "c:\program files\cooledit\cool.exe"
++# midi = start /w "c:\program files\cakewalk\wincake.exe"
+ 
+ # or if you are using Linux you might prefer something more like:
+-#
+-# data = xterm -e fed -b
+-# bmp = gimp
+-# rle = gimp
+-# cmp = gimp
+-# xcmp = gimp
+-# pal = gimp
+-# font = gimp
++data = xterm -e vim -b
++bmp = gimp
++rle = gimp
++cmp = gimp
++xcmp = gimp
++pal = gimp
++font = gimp
Added: trunk/spec_files/patches/allegro-02-nostrip.diff
===================================================================
--- trunk/spec_files/patches/allegro-02-nostrip.diff	 (rev 0)
+++ trunk/spec_files/patches/allegro-02-nostrip.diff	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,11 @@
+--- allegro-4.2.0/misc/deplib.sh.nostrip	2006年01月23日 21:35:02.000000000 +0100
++++ allegro-4.2.0/misc/deplib.sh	2006年01月23日 21:35:09.000000000 +0100
+@@ -70,7 +70,7 @@
+ done
+ echo "$prev"
+ echo ""
+-write_code alleg LIBALLEG -s
++write_code alleg LIBALLEG ""
+ echo ""
+ echo ""
+ 
Added: trunk/spec_files/patches/allegro-03-multilib.diff
===================================================================
--- trunk/spec_files/patches/allegro-03-multilib.diff	 (rev 0)
+++ trunk/spec_files/patches/allegro-03-multilib.diff	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,19 @@
+--- allegro-4.2.2/include/allegro/platform/alunixac.hin.multilib	2007年07月15日 06:28:15.000000000 +0200
++++ allegro-4.2.2/include/allegro/platform/alunixac.hin	2007年07月23日 12:36:16.000000000 +0200
+@@ -59,10 +59,14 @@
+ #undef ALLEGRO_ASM_PREFIX
+ 
+ /* Define if assembler supports MMX. */
+-#undef ALLEGRO_MMX
++#ifdef __i386__
++#define ALLEGRO_MMX
++#endif
+ 
+ /* Define if assembler supports SSE. */
+-#undef ALLEGRO_SSE
++#ifdef __i386__
++#define ALLEGRO_SSE
++#endif
+ 
+ /* Define if target platform is Darwin. */
+ #undef ALLEGRO_DARWIN
Added: trunk/spec_files/patches/allegro-04-noexecmod.diff
===================================================================
--- trunk/spec_files/patches/allegro-04-noexecmod.diff	 (rev 0)
+++ trunk/spec_files/patches/allegro-04-noexecmod.diff	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,46 @@
+--- allegro-4.2.1/src/x/xdga2s.s~	2006年12月22日 16:14:41.000000000 +0100
++++ allegro-4.2.1/src/x/xdga2s.s	2006年12月22日 16:14:41.000000000 +0100
+@@ -24,7 +24,7 @@
+ 
+ .text
+ 
+-
++#if 0 /* this is non PIC and we have a C alternative, so don't use it! */
+ #if (!defined ALLEGRO_NO_ASM) && (defined ALLEGRO_XWINDOWS_WITH_XF86DGA2)
+ #if (!defined ALLEGRO_WITH_MODULES) || (defined ALLEGRO_MODULE)
+ 
+@@ -50,4 +50,5 @@
+ 
+ #endif
+ #endif
++#endif
+ 
+--- allegro-4.2.1/src/x/xdga2.c~	2006年12月22日 16:17:40.000000000 +0100
++++ allegro-4.2.1/src/x/xdga2.c	2006年12月22日 16:17:40.000000000 +0100
+@@ -49,7 +49,7 @@
+ static void _xdga2_acquire(BITMAP *bmp);
+ static GFX_MODE_LIST *_xdga2_fetch_mode_list(void);
+ 
+-#ifdef ALLEGRO_NO_ASM
++#if 1 /* the asm is non PIC and we have a C alternative, so don't use it! */
+ uintptr_t _xdga2_write_line(BITMAP *bmp, int line);
+ #else
+ uintptr_t _xdga2_write_line_asm(BITMAP *bmp, int line);
+@@ -559,7 +559,7 @@
+ /* Hardware acceleration has been requested */
+ 
+ /* Updates line switcher to accommodate framebuffer synchronization */
+-#ifdef ALLEGRO_NO_ASM
++#if 1 /* the asm is non PIC and we have a C alternative, so don't use it! */
+ bmp->write_bank = _xdga2_write_line;
+ bmp->read_bank = _xdga2_write_line;
+ #else
+@@ -816,7 +816,7 @@
+ }
+ 
+ 
+-#ifdef ALLEGRO_NO_ASM
++#if 1 /* the asm is non PIC and we have a C alternative, so don't use it! */
+ 
+ /* _xdga2_write_line:
+ * Returns new line and synchronizes framebuffer if needed.
Added: trunk/spec_files/patches/allegro-05-libdir.diff
===================================================================
--- trunk/spec_files/patches/allegro-05-libdir.diff	 (rev 0)
+++ trunk/spec_files/patches/allegro-05-libdir.diff	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,28 @@
+diff -up allegro-4.2.2/misc/allegro-config.in.multilib2 allegro-4.2.2/misc/allegro-config.in
+--- allegro-4.2.2/misc/allegro-config.in.multilib2	2007年07月22日 09:45:47.000000000 +0200
++++ allegro-4.2.2/misc/allegro-config.in	2007年07月24日 21:27:21.000000000 +0200
+@@ -16,15 +16,22 @@ exec_prefix=$prefix
+ exec_prefix_set=no
+ include_prefix=@INCLUDE_PREFIX@
+ include_path=@includedir@
+-lib_path=@libdir@
+ bin_path=@bindir@
++arch=$(/usr/bin/isainfo | cut -f1 -d" ")
++if [ "$arch" = "amd64" -o "$arch" = "ppc64" \
++ -o "$arch" = "ia64" ];
++then
++ lib_path="/usr/lib/amd64"
++else
++ lib_path="/usr/lib"
++fi
+ 
+ static_libs=@LINK_WITH_STATIC_LIBS@
+ lib_type=@LIB_TO_LINK@
+ 
+ accepts_frameworks=no
+ 
+-allegro_ldflags="@LDFLAGS@"
++allegro_ldflags="@LDFLAGS@"
+ allegro_libs="@LIBS@"
+ allegro_frameworks="@FRAMEWORKS@"
+ allegro_cflags=""
Added: trunk/spec_files/patches/allegro-06-fullscreen-viewport.diff
===================================================================
--- trunk/spec_files/patches/allegro-06-fullscreen-viewport.diff	 (rev 0)
+++ trunk/spec_files/patches/allegro-06-fullscreen-viewport.diff	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,16 @@
+--- allegro-4.2.2/src/x/xwin.c	2009年09月10日 22:29:53.000000000 +0200
++++ allegro-4.2.2.new/src/x/xwin.c	2009年09月10日 21:48:21.000000000 +0200
+@@ -2853,6 +2853,13 @@
+ }
+ }
+ 
++ /* Warp the pointer to the upper left corner (where our fs_window is),
++ this is necessary as the: XF86VidModeSetViewPort() call below does
++ not seem to do anything on newer Xorg servers, instead the viewport
++ seems to always be centered at the last mouse cursor position. */
++ XWarpPointer(_xwin.display, None, XDefaultRootWindow(_xwin.display),
++ 0, 0, 0, 0, 0, 0);
++
+ /* Switch video mode. */
+ if ((_xwin.modesinfo[i] == _xwin.orig_modeinfo) ||
+ !XF86VidModeSwitchToMode(_xwin.display, _xwin.screen,
Added: trunk/spec_files/patches/cal3d-01-gcc43.diff
===================================================================
--- trunk/spec_files/patches/cal3d-01-gcc43.diff	 (rev 0)
+++ trunk/spec_files/patches/cal3d-01-gcc43.diff	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,51 @@
+--- src/cal3d/hardwaremodel.cpp~	2008年02月21日 19:20:18.000000000 -0800
++++ src/cal3d/hardwaremodel.cpp	2008年02月21日 19:20:33.000000000 -0800
+@@ -12,7 +12,7 @@
+ #include "config.h"
+ #endif
+ 
+-
++#include <string.h>
+ #include "cal3d/error.h"
+ #include "cal3d/hardwaremodel.h"
+ #include "cal3d/coremodel.h"
+--- src/cal3d/platform.cpp~	2008年02月21日 19:20:26.000000000 -0800
++++ src/cal3d/platform.cpp	2008年02月21日 19:20:40.000000000 -0800
+@@ -16,6 +16,7 @@
+ // Includes //
+ //****************************************************************************//
+ 
++#include <string.h>
+ #include "cal3d/platform.h"
+ 
+ /*****************************************************************************/
+--- src/cal3d/renderer.cpp~	2008年02月21日 19:30:35.000000000 -0800
++++ src/cal3d/renderer.cpp	2008年02月21日 19:30:43.000000000 -0800
+@@ -16,6 +16,7 @@
+ // Includes //
+ //****************************************************************************//
+ 
++#include <string.h>
+ #include "cal3d/error.h"
+ #include "cal3d/renderer.h"
+ #include "cal3d/coremodel.h"
+--- src/cal3d/submesh.cpp~	2008年02月21日 19:35:00.000000000 -0800
++++ src/cal3d/submesh.cpp	2008年02月21日 19:35:10.000000000 -0800
+@@ -12,6 +12,7 @@
+ #include "config.h"
+ #endif
+ 
++#include <string.h>
+ #include "cal3d/submesh.h"
+ #include "cal3d/error.h"
+ #include "cal3d/coresubmesh.h"
+--- src/cal3d_converter.cpp~	2008年02月21日 19:40:07.000000000 -0800
++++ src/cal3d_converter.cpp	2008年02月21日 19:40:22.000000000 -0800
+@@ -9,6 +9,7 @@
+ // your option) any later version. //
+ //****************************************************************************//
+ 
++#include <strings.h>
+ #include "cal3d/cal3d.h"
+ 
+ #define SKELETON 0
Added: trunk/spec_files/patches/cegui-01-release-as-so-ver.diff
===================================================================
--- trunk/spec_files/patches/cegui-01-release-as-so-ver.diff	 (rev 0)
+++ trunk/spec_files/patches/cegui-01-release-as-so-ver.diff	2009年11月21日 05:01:05 UTC (rev 404)
@@ -0,0 +1,316 @@
+diff -up CEGUI-0.6.2/ImageCodecModules/CoronaImageCodec/Makefile.am.patch1 CEGUI-0.6.2/ImageCodecModules/CoronaImageCodec/Makefile.am
+--- CEGUI-0.6.2/ImageCodecModules/CoronaImageCodec/Makefile.am.patch1	2008年05月25日 10:25:55.000000000 +0200
++++ CEGUI-0.6.2/ImageCodecModules/CoronaImageCodec/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -4,6 +4,8 @@ pkgincludedir=$(prefix)/include/CEGUI/Im
+ if MINGW32_BUILD
+ libCEGUICoronaImageCodec_la_CPPFLAGS = -DCEGUICORONAIMAGECODEC_EXPORTS
+ libCEGUICoronaImageCodec_la_LDFLAGS = -no-undefined -avoid-version
++else
++libCEGUICoronaImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@
+ endif
+ 
+ libCEGUICoronaImageCodec_la_LIBADD = $(Corona_LIBS) $(top_builddir)/src/libCEGUIBase.la
+diff -up CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.am.patch1 CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.am
+--- CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.am.patch1	2008年05月25日 10:25:55.000000000 +0200
++++ CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -5,6 +5,8 @@ pkgincludedir=$(prefix)/include/CEGUI/Im
+ if MINGW32_BUILD
+ libCEGUIDevILImageCodec_la_CPPFLAGS = -DCEGUIDEVILIMAGECODEC_EXPORTS
+ libCEGUIDevILImageCodec_la_LDFLAGS = -no-undefined -avoid-version
++else
++libCEGUIDevILImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@
+ endif
+ 
+ libCEGUIDevILImageCodec_la_LIBADD = $(DevIL_LIBS) $(top_builddir)/src/libCEGUIBase.la
+diff -up CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.in.patch1 CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.in
+--- CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.in.patch1	2008年11月30日 21:11:37.000000000 +0100
++++ CEGUI-0.6.2/ImageCodecModules/DevILImageCodec/Makefile.in	2008年12月03日 12:14:26.000000000 +0100
+@@ -246,6 +246,7 @@ INCLUDES = -I$(top_srcdir)/include $(Dev
+ 
+ @MINGW32_BUILD_TRUE@libCEGUIDevILImageCodec_la_CPPFLAGS = -DCEGUIDEVILIMAGECODEC_EXPORTS
+ @MINGW32_BUILD_TRUE@libCEGUIDevILImageCodec_la_LDFLAGS = -no-undefined -avoid-version
++@MINGW32_BUILD_FALSE@libCEGUIDevILImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@
+ 
+ libCEGUIDevILImageCodec_la_LIBADD = $(DevIL_LIBS) $(top_builddir)/src/libCEGUIBase.la
+ 
+diff -up CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.am.patch1 CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.am
+--- CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.am.patch1	2008年05月25日 10:25:55.000000000 +0200
++++ CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -4,6 +4,8 @@ pkgincludedir=$(prefix)/include/CEGUI/Im
+ if MINGW32_BUILD
+ libCEGUIFreeImageImageCodec_la_CPPFLAGS = -DCEGUIFREEIMAGEIMAGECODEC_EXPORTS
+ libCEGUIFreeImageImageCodec_la_LDFLAGS = -no-undefined -avoid-version
++else
++libCEGUIFreeImageImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@
+ endif
+ 
+ libCEGUIFreeImageImageCodec_la_LIBADD = $(FreeImage_LIBS) $(top_builddir)/src/libCEGUIBase.la
+diff -up CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.in.patch1 CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.in
+--- CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.in.patch1	2008年11月30日 21:11:37.000000000 +0100
++++ CEGUI-0.6.2/ImageCodecModules/FreeImageImageCodec/Makefile.in	2008年12月03日 12:14:26.000000000 +0100
+@@ -245,6 +245,7 @@ INCLUDES = -I$(top_srcdir)/include $(Fre
+ 
+ @MINGW32_BUILD_TRUE@libCEGUIFreeImageImageCodec_la_CPPFLAGS = -DCEGUIFREEIMAGEIMAGECODEC_EXPORTS
+ @MINGW32_BUILD_TRUE@libCEGUIFreeImageImageCodec_la_LDFLAGS = -no-undefined -avoid-version
++@MINGW32_BUILD_FALSE@libCEGUIFreeImageImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@
+ 
+ libCEGUIFreeImageImageCodec_la_LIBADD = $(FreeImage_LIBS) $(top_builddir)/src/libCEGUIBase.la
+ 
+diff -up CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.am.patch1 CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.am
+--- CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.am.patch1	2008年05月25日 10:25:55.000000000 +0200
++++ CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -4,6 +4,8 @@ pkgincludedir=$(prefix)/include/CEGUI/Im
+ if MINGW32_BUILD
+ libCEGUISILLYImageCodec_la_CPPFLAGS = -DCEGUISILLYIMAGECODEC_EXPORTS
+ libCEGUISILLYImageCodec_la_LDFLAGS = -no-undefined -avoid-version
++else
++libCEGUISILLYImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@
+ endif
+ 
+ libCEGUISILLYImageCodec_la_LIBADD = $(SILLY_LIBS) $(top_builddir)/src/libCEGUIBase.la
+diff -up CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.in.patch1 CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.in
+--- CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.in.patch1	2008年11月30日 21:11:37.000000000 +0100
++++ CEGUI-0.6.2/ImageCodecModules/SILLYImageCodec/Makefile.in	2008年12月03日 12:14:26.000000000 +0100
+@@ -245,6 +245,7 @@ INCLUDES = -I$(top_srcdir)/include $(SIL
+ 
+ @MINGW32_BUILD_TRUE@libCEGUISILLYImageCodec_la_CPPFLAGS = -DCEGUISILLYIMAGECODEC_EXPORTS
+ @MINGW32_BUILD_TRUE@libCEGUISILLYImageCodec_la_LDFLAGS = -no-undefined -avoid-version
++@MINGW32_BUILD_FALSE@libCEGUISILLYImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@
+ 
+ libCEGUISILLYImageCodec_la_LIBADD = $(SILLY_LIBS) $(top_builddir)/src/libCEGUIBase.la
+ 
+diff -up CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.am.patch1 CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.am
+--- CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.am.patch1	2008年05月25日 10:25:55.000000000 +0200
++++ CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -4,6 +4,8 @@ pkgincludedir=$(prefix)/include/CEGUI/Im
+ if MINGW32_BUILD
+ libCEGUITGAImageCodec_la_CPPFLAGS = -DCEGUITGAIMAGECODEC_EXPORTS
+ libCEGUITGAImageCodec_la_LDFLAGS = -no-undefined -avoid-version
++else
++libCEGUITGAImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@
+ endif
+ 
+ lib_LTLIBRARIES=libCEGUITGAImageCodec.la
+diff -up CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.in.patch1 CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.in
+--- CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.in.patch1	2008年11月30日 21:11:37.000000000 +0100
++++ CEGUI-0.6.2/ImageCodecModules/TGAImageCodec/Makefile.in	2008年12月03日 12:14:26.000000000 +0100
+@@ -245,6 +245,7 @@ INCLUDES = -I$(top_srcdir)/include 
+ 
+ @MINGW32_BUILD_TRUE@libCEGUITGAImageCodec_la_CPPFLAGS = -DCEGUITGAIMAGECODEC_EXPORTS
+ @MINGW32_BUILD_TRUE@libCEGUITGAImageCodec_la_LDFLAGS = -no-undefined -avoid-version
++@MINGW32_BUILD_FALSE@libCEGUITGAImageCodec_la_LDFLAGS = -release @PACKAGE_VERSION@
+ 
+ lib_LTLIBRARIES = libCEGUITGAImageCodec.la
+ libCEGUITGAImageCodec_la_SOURCES = CEGUITGAImageCodec.cpp CEGUITGAImageCodecModule.cpp
+diff -up CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.am.patch1 CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.am
+--- CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.am.patch1	2008年07月21日 12:45:32.000000000 +0200
++++ CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -23,7 +23,7 @@ endif
+ 
+ libCEGUIOpenGLRenderer_la_LIBADD = $(OpenGL_LIBS) $(top_builddir)/src/libCEGUIBase.la
+ 
+-libCEGUIOpenGLRenderer_la_LDFLAGS += -version-info @CEGUI_OPENGL_VERSION_INFO@
++libCEGUIOpenGLRenderer_la_LDFLAGS += -release @PACKAGE_VERSION@
+ 
+ lib_LTLIBRARIES=libCEGUIOpenGLRenderer.la
+ libCEGUIOpenGLRenderer_la_SOURCES = openglrenderer.cpp opengltexture.cpp
+diff -up CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.in.patch1 CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.in
+--- CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.in.patch1	2008年11月30日 21:11:37.000000000 +0100
++++ CEGUI-0.6.2/RendererModules/OpenGLGUIRenderer/Makefile.in	2008年12月03日 12:15:36.000000000 +0100
+@@ -250,7 +250,7 @@ xerces_LIBS = @xerces_LIBS@
+ INCLUDES = $(am__append_1) -I$(top_srcdir)/include -I$(top_srcdir) $(OpenGL_CFLAGS)
+ pkginclude_HEADERS = openglrenderer.h opengltexture.h
+ 
+-libCEGUIOpenGLRenderer_la_LDFLAGS = $(am__append_2) -version-info @CEGUI_OPENGL_VERSION_INFO@
++libCEGUIOpenGLRenderer_la_LDFLAGS = $(am__append_2) -release @PACKAGE_VERSION@
+ 
+ @MINGW32_BUILD_TRUE@libCEGUIOpenGLRenderer_la_CPPFLAGS = -DOPENGL_GUIRENDERER_EXPORTS $(am__append_3)
+ 
+diff -up CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.am.patch1 CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.am
+--- CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.am.patch1	2008年05月26日 20:56:07.000000000 +0200
++++ CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -9,7 +9,7 @@ libCEGUILuaScriptModule_la_CPPFLAGS += -
+ libCEGUILuaScriptModule_la_LDFLAGS += -no-undefined -avoid-version
+ endif
+ 
+-libCEGUILuaScriptModule_la_LDFLAGS += -version-info @CEGUI_VERSION_INFO@
++libCEGUILuaScriptModule_la_LDFLAGS += -release @PACKAGE_VERSION@
+ 
+ 
+ lib_LTLIBRARIES = libCEGUILuaScriptModule.la
+diff -up CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.in.patch1 CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.in
+--- CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.in.patch1	2008年11月30日 21:11:40.000000000 +0100
++++ CEGUI-0.6.2/ScriptingModules/CEGUILua/LuaScriptModule/src/Makefile.in	2008年12月03日 12:14:26.000000000 +0100
+@@ -251,7 +251,7 @@ INCLUDES = -I$(top_srcdir)/include \
+ -I$(top_srcdir)/ScriptingModules/CEGUILua/LuaScriptModule/include\
+ $(am__append_3) $(am__append_5)
+ 
+-libCEGUILuaScriptModule_la_LDFLAGS = $(am__append_2) -version-info @CEGUI_VERSION_INFO@
++libCEGUILuaScriptModule_la_LDFLAGS = $(am__append_2) -release @PACKAGE_VERSION@
+ libCEGUILuaScriptModule_la_CPPFLAGS = $(Lua_CFLAGS) $(am__append_1)
+ 
+ lib_LTLIBRARIES = libCEGUILuaScriptModule.la
+diff -up CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.am.patch1 CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.am
+--- CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.am.patch1	2008年03月15日 17:51:39.000000000 +0100
++++ CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -7,7 +7,7 @@ libCEGUItoluapp_la_CPPFLAGS = -DTOLUA_EX
+ libCEGUItoluapp_la_LDFLAGS += -no-undefined
+ endif
+ 
+-libCEGUItoluapp_la_LDFLAGS += -version-info @CEGUI_VERSION_INFO@
++libCEGUItoluapp_la_LDFLAGS += -release @PACKAGE_VERSION@
+ 
+ lib_LTLIBRARIES = libCEGUItoluapp.la
+ 
+diff -up CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.in.patch1 CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.in
+--- CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.in.patch1	2008年11月30日 21:11:40.000000000 +0100
++++ CEGUI-0.6.2/ScriptingModules/CEGUILua/tolua++/Makefile.in	2008年12月03日 12:14:26.000000000 +0100
+@@ -244,7 +244,7 @@ xerces_CFLAGS = @xerces_CFLAGS@
+ xerces_LIBS = @xerces_LIBS@
+ INCLUDES = $(Lua_CFLAGS) -I$(top_srcdir)/ScriptingModules/CEGUILua/tolua++
+ 
+-libCEGUItoluapp_la_LDFLAGS = $(am__append_1) -version-info @CEGUI_VERSION_INFO@
++libCEGUItoluapp_la_LDFLAGS = $(am__append_1) -release @PACKAGE_VERSION@
+ 
+ @MINGW32_BUILD_TRUE@libCEGUItoluapp_la_CPPFLAGS = -DTOLUA_EXPORTS
+ 
+diff -up CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.am.patch1 CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.am
+--- CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.am.patch1	2008年05月25日 10:25:55.000000000 +0200
++++ CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -8,7 +8,7 @@ libCEGUIFalagardWRBase_la_CPPFLAGS = -DF
+ libCEGUIFalagardWRBase_la_LDFLAGS += -no-undefined -avoid-version
+ endif
+ 
+-libCEGUIFalagardWRBase_la_LDFLAGS += -version-info @CEGUI_VERSION_INFO@
++libCEGUIFalagardWRBase_la_LDFLAGS += -release @PACKAGE_VERSION@
+ 
+ libCEGUIFalagardWRBase_la_LIBADD = $(top_builddir)/src/libCEGUIBase.la
+ 
+diff -up CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.in.patch1 CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.in
+--- CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.in.patch1	2008年11月30日 21:11:41.000000000 +0100
++++ CEGUI-0.6.2/WindowRendererSets/Falagard/src/Makefile.in	2008年12月03日 12:14:26.000000000 +0100
+@@ -246,7 +246,7 @@ INCLUDES = -I$(top_srcdir)/include \
+ -I$(top_srcdir)/WindowRendererSets/Falagard/include
+ 
+ 
+-libCEGUIFalagardWRBase_la_LDFLAGS = $(am__append_1) -version-info @CEGUI_VERSION_INFO@
++libCEGUIFalagardWRBase_la_LDFLAGS = $(am__append_1) -release @PACKAGE_VERSION@
+ 
+ @MINGW32_BUILD_TRUE@libCEGUIFalagardWRBase_la_CPPFLAGS = -DFALAGARDWRBASE_EXPORTS -DCEGUIWRMODULE_EXPORTS
+ 
+diff -up CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.am.patch1 CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.am
+--- CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.am.patch1	2008年05月26日 20:56:07.000000000 +0200
++++ CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -3,6 +3,8 @@ INCLUDES = -I$(top_srcdir)/include
+ if MINGW32_BUILD
+ libCEGUITinyXMLParser_la_CPPFLAGS = -DCEGUITINYXMLPARSER_EXPORTS
+ libCEGUITinyXMLParser_la_LDFLAGS = -no-undefined -avoid-version
++else
++libCEGUITinyXMLParser_la_LDFLAGS = -release @PACKAGE_VERSION@
+ endif
+ 
+ lib_LTLIBRARIES=libCEGUITinyXMLParser.la
+diff -up CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.in.patch1 CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.in
+--- CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.in.patch1	2008年11月30日 21:11:41.000000000 +0100
++++ CEGUI-0.6.2/XMLParserModules/TinyXMLParser/Makefile.in	2008年12月03日 12:14:26.000000000 +0100
+@@ -253,6 +253,7 @@ INCLUDES = -I$(top_srcdir)/include $(am_
+ 
+ @MINGW32_BUILD_TRUE@libCEGUITinyXMLParser_la_CPPFLAGS = -DCEGUITINYXMLPARSER_EXPORTS
+ @MINGW32_BUILD_TRUE@libCEGUITinyXMLParser_la_LDFLAGS = -no-undefined -avoid-version
++@MINGW32_BUILD_FALSE@libCEGUITinyXMLParser_la_LDFLAGS = -release @PACKAGE_VERSION@
+ 
+ lib_LTLIBRARIES = libCEGUITinyXMLParser.la
+ libCEGUITinyXMLParser_la_LIBADD = $(top_builddir)/src/libCEGUIBase.la $(am__append_3)
+diff -up CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.am.patch1 CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.am
+--- CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.am.patch1	2008年05月25日 10:25:55.000000000 +0200
++++ CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -3,6 +3,8 @@ INCLUDES = -I$(top_srcdir)/include $(xer
+ if MINGW32_BUILD
+ libCEGUIXercesParser_la_CPPFLAGS = -DCEGUIXERCESPARSER_EXPORTS
+ libCEGUIXercesParser_la_LDFLAGS = -no-undefined -avoid-version
++else
++libCEGUIXercesParser_la_LDFLAGS = -release @PACKAGE_VERSION@
+ endif
+ 
+ libCEGUIXercesParser_la_LIBADD = $(xerces_LIBS) $(top_builddir)/src/libCEGUIBase.la
+diff -up CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.in.patch1 CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.in
+--- CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.in.patch1	2008年11月30日 21:11:41.000000000 +0100
++++ CEGUI-0.6.2/XMLParserModules/XercesParser/Makefile.in	2008年12月03日 12:14:26.000000000 +0100
+@@ -245,6 +245,7 @@ INCLUDES = -I$(top_srcdir)/include $(xer
+ 
+ @MINGW32_BUILD_TRUE@libCEGUIXercesParser_la_CPPFLAGS = -DCEGUIXERCESPARSER_EXPORTS
+ @MINGW32_BUILD_TRUE@libCEGUIXercesParser_la_LDFLAGS = -no-undefined -avoid-version
++@MINGW32_BUILD_FALSE@libCEGUIXercesParser_la_LDFLAGS = -release @PACKAGE_VERSION@
+ 
+ libCEGUIXercesParser_la_LIBADD = $(xerces_LIBS) $(top_builddir)/src/libCEGUIBase.la
+ 
+diff -up CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.am.patch1 CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.am
+--- CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.am.patch1	2008年05月25日 10:25:55.000000000 +0200
++++ CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -3,6 +3,8 @@ INCLUDES = -I$(top_srcdir)/include $(exp
+ if MINGW32_BUILD
+ libCEGUIExpatParser_la_CPPFLAGS = -DCEGUIEXPATPARSER_EXPORTS
+ libCEGUIExpatParser_la_LDFLAGS = -no-undefined -avoid-version
++else
++libCEGUIExpatParser_la_LDFLAGS = -release @PACKAGE_VERSION@
+ endif
+ 
+ libCEGUIExpatParser_la_LIBADD = $(expat_LIBS) $(top_builddir)/src/libCEGUIBase.la
+diff -up CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.in.patch1 CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.in
+--- CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.in.patch1	2008年11月30日 21:11:41.000000000 +0100
++++ CEGUI-0.6.2/XMLParserModules/expatParser/Makefile.in	2008年12月03日 12:14:26.000000000 +0100
+@@ -245,6 +245,7 @@ INCLUDES = -I$(top_srcdir)/include $(exp
+ 
+ @MINGW32_BUILD_TRUE@libCEGUIExpatParser_la_CPPFLAGS = -DCEGUIEXPATPARSER_EXPORTS
+ @MINGW32_BUILD_TRUE@libCEGUIExpatParser_la_LDFLAGS = -no-undefined -avoid-version
++@MINGW32_BUILD_FALSE@libCEGUIExpatParser_la_LDFLAGS = -release @PACKAGE_VERSION@
+ 
+ libCEGUIExpatParser_la_LIBADD = $(expat_LIBS) $(top_builddir)/src/libCEGUIBase.la
+ 
+diff -up CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.am.patch1 CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.am
+--- CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.am.patch1	2008年05月25日 10:25:55.000000000 +0200
++++ CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.am	2008年12月03日 12:14:26.000000000 +0100
+@@ -3,6 +3,8 @@ INCLUDES = -I$(top_srcdir)/include $(lib
+ if MINGW32_BUILD
+ libCEGUILibxmlParser_la_CPPFLAGS = -DCEGUILIBXMLPARSER_EXPORTS
+ libCEGUILibxmlParser_la_LDFLAGS = -no-undefined -avoid-version
++else
++libCEGUILibxmlParser_la_LDFLAGS = -release @PACKAGE_VERSION@
+ endif
+ 
+ libCEGUILibxmlParser_la_LIBADD = $(libxml_LIBS) $(top_builddir)/src/libCEGUIBase.la
+diff -up CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.in.patch1 CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.in
+--- CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.in.patch1	2008年11月30日 21:11:41.000000000 +0100
++++ CEGUI-0.6.2/XMLParserModules/libxmlParser/Makefile.in	2008年12月03日 12:14:26.000000000 +0100
+@@ -246,6 +246,7 @@ INCLUDES = -I$(top_srcdir)/include $(lib
+ 
+ @MINGW32_BUILD_TRUE@libCEGUILibxmlParser_la_CPPFLAGS = -DCEGUILIBXMLPARSER_EXPORTS
+ @MINGW32_BUILD_TRUE@libCEGUILibxmlParser_la_LDFLAGS = -no-undefined -avoid-version
++@MINGW32_BUILD_FALSE@libCEGUILibxmlParser_la_LDFLAGS = -release @PACKAGE_VERSION@
+ 
+ libCEGUILibxmlParser_la_LIBADD = $(libxml_LIBS) $(top_builddir)/src/libCEGUIBase.la
+ 
+diff -up CEGUI-0.6.2/src/Makefile.am.patch1 CEGUI-0.6.2/src/...
 
[truncated message content]
From: belenix-notify <bel...@li...> - 2009年11月20日 17:18:19
Revision: 403
 http://belenix.svn.sourceforge.net/belenix/?rev=403&view=rev
Author: moinakg
Date: 2009年11月20日 17:18:07 +0000 (2009年11月20日)
Log Message:
-----------
l10n files from JDS repo, set #12.
Added Paths:
-----------
 trunk/spec_files/jds/po-sun/gcalctool/
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/de.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/es.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/gcalctool-sun.pot
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/it.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gcalctool/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/gksu/
 trunk/spec_files/jds/po-sun/gksu/po-sun/
 trunk/spec_files/jds/po-sun/gksu/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/de.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/es.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/gksu-sun.pot
 trunk/spec_files/jds/po-sun/gksu/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/it.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gksu/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/de.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/es.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/gnome-power-manager-sun.pot
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/it.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gnome-power-manager/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/gtk2/
 trunk/spec_files/jds/po-sun/gtk2/po-sun/
 trunk/spec_files/jds/po-sun/gtk2/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/de.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/es.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/gtk20-sun.pot
 trunk/spec_files/jds/po-sun/gtk2/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/it.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gtk2/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/gucharmap/
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/de.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/es.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/gucharmap-sun.pot
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/it.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gucharmap/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/system-config-printer/
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/cs.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/de.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/es.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/fr.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/hu.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/it.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/ja.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/ko.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/pl.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/ru.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/sv.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/system-config-printer-sun.pot
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/system-config-printer/po-sun/zh_TW.po
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/cs.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/cs.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/cs.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,40 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr "Provést aritmetické, vědecké nebo finanční výpočty"
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/de.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/de.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/de.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,44 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2008年03月05日 11:53+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr ""
+"Mathematische, wissenschaftliche oder finanzielle Berechnungen durchführen"
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/es.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/es.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/es.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,43 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2008年02月26日 14:05+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr "Efectuar cálculos aritméticos, científicos o financieros"
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/fr.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/fr.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/fr.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,43 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2008年03月05日 12:27+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr "Calcul arithmétique, scientifique ou financier"
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/gcalctool-sun.pot
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/gcalctool-sun.pot	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/gcalctool-sun.pot	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,47 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL...@li...>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/hu.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/hu.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/hu.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,40 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/it.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/it.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/it.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,43 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2008年02月26日 18:32+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr "Esegui calcoli aritmetici, scientifici o finanziari"
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/ja.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/ja.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/ja.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,40 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr "算術、科学または財務計算を実行する"
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/ko.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/ko.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/ko.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,43 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr "산술적, 과학적 또는 재무적 계산 수행"
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/pl.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/pl.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/pl.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,40 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/pt_BR.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/pt_BR.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/pt_BR.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,43 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2008年02月26日 14:08+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr "Executar cálculos aritméticos, científicos ou financeiros"
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/ru.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/ru.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/ru.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,43 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2008年03月04日 17:45+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr "Арифметические, научные или финансовые расчеты"
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/sv.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/sv.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/sv.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,40 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/zh_CN.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/zh_CN.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/zh_CN.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,43 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr "执行算术、科学或财务计算"
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/zh_HK.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/zh_HK.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/zh_HK.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,43 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Report-Msgid-Bugs-To: \n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr "執行運算、科學或財務計算"
Added: trunk/spec_files/jds/po-sun/gcalctool/po-sun/zh_TW.po
===================================================================
--- trunk/spec_files/jds/po-sun/gcalctool/po-sun/zh_TW.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gcalctool/po-sun/zh_TW.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,43 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gcalctool HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 16:13+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../gcalctool.desktop.in.h:3
+msgid "Perform arithmetic, scientific or financial calculations"
+msgstr "執行運算、科學或財務計算"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/cs.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/cs.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/cs.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,49 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr "<b>Zadejte heslo pro spuštění aplikace '%s'</b>"
+
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+"Selhalo spuštění %s pod uživatelem %s:\n"
+" %s"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr "<b>Zadejte heslo uživatele %s pro spuštění aplikace '%s'</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
+"Selhalo spuštění %s:\n"
+" %s"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/de.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/de.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/de.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,49 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr "<b>Das Passwort ist erforderlich zum Ausführen von '%s'</b>"
+
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+"%s konnte nicht als Anwender %s ausgeführt werden:\n"
+" %s"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr "<b>Das Passwort von %s ist erforderlich zum Ausführen von '%s'</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
+"%s konnte nicht ausgeführt werden:\n"
+" %s"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/es.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/es.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/es.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,50 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr "<b>Introduzca la contraseña para ejecutar la aplicación «%s»</b>"
+
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+"No se pudo ejecutar %s como usuario %s:\n"
+" %s"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr "<b>Introduzca la contraseña de %s para ejecutar la aplicación «%s»</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
+"No se pudo ejecutar %s:\n"
+" %s"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/fr.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/fr.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/fr.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,50 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr "<b>Saisissez le mot de passe pour lancer l'application « %s »</b>"
+
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+"Impossible de lancer %s en tant qu'utilisateur %s:\n"
+" %s"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr ""
+"<b>Saisissez le mot de passe de %s pour lancer l'application « %s »</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
+"Impossible de lancer %s:\n"
+" %s"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/gksu-sun.pot
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/gksu-sun.pot	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/gksu-sun.pot	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,54 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL...@li...>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr ""
+
+# SUN_BRANDING back port the translations.
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+
+# SUN_BRANDING
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr ""
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/hu.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/hu.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/hu.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,51 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr "<b>Adja meg jelszavát a(z) \"%s\" alkalmazás futtatásához</b>"
+
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+"%s futtatása %s felhasználó nevében meghiúsult:\n"
+" %s"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr ""
+"<b>Adja meg %s felhasználó jelszavát a(z) \"%s\" alkalmazás futtatásához</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
+"%s futtatása meghiúsult:\n"
+" %s"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/it.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/it.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/it.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,49 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr "<b>Inserire la password per eseguire l'applicazione «%s»</b>"
+
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+"Fallita l'esecuzione di %s come utente %s:\n"
+" %s"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr "<b>Inserire la password di %s per eseguire l'applicazione «%s»</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
+"Fallita l'esecuzione di %s:\n"
+" %s"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/ja.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/ja.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/ja.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,54 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr ""
+"<b>アプリケーション '%s' を実行するためにパスワードを入力してください</b>"
+
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+"%s をユーザ %s として実行できませんでした:\n"
+" %s"
+
+# SUN_BRANDING
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr ""
+"<b>アプリケーション '%2$s' を実行するために %1$s のパスワードを入力してくださ"
+"い</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
+"%s を実行できませんでした:\n"
+" %s"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/ko.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/ko.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/ko.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,49 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr "<b>'%s' 프로그램을 실행하려면 열쇠글을 입력하십시오</b>"
+
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+"%2$s 사용자로 %1$s 프로그램을 실행하는 데 실패했습니다:\n"
+" %3$s"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr "<b>'%2$s' 프로그램을 실행하려면 %1$s의 열쇠글을 입력하십시오</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
+"%s 프로그램을 실행하는 데 실패했습니다:\n"
+" %s"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/pl.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/pl.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/pl.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,49 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr "<b>Podaj hasło, aby uruchomić aplikację '%s'</b>"
+
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+"Nie można uruchomić %s jako użytkownik %s:\n"
+" %s"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr "<b>Podaj hasło użytkownika %s, aby uruchomić aplikację '%s'</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
+"Nie można uruchomić %s:\n"
+" %s"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/pt_BR.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/pt_BR.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/pt_BR.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,49 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr "<b>Digite a senha para executar a aplicação \"%s\"</b>"
+
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+"Falha ao executar %s como usuário %s:\n"
+" %s"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr "<b>Digite a senha de %s para executar a aplicação \"%s\"</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
+"Falha ao executar %s:\n"
+" %s"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/ru.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/ru.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/ru.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,46 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr "<b>Требуется пароль для запуска '%s'</b>"
+
+# SUN_BRANDING back port the translations.
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr "<b>Требуется пароль пользователя %s для запуска '%s'</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/sv.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/sv.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/sv.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,49 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr "<b>Ange lösenordet för att köra programmet \"%s\"</b>"
+
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+"Misslyckades med att köra %s som användare %s:\n"
+" %s"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr "<b>Ange lösenordet för %s för att köra programmet \"%s\"</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
+"Misslyckades med att köra %s:\n"
+" %s"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/zh_CN.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/zh_CN.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gksu/po-sun/zh_CN.po	2009年11月20日 17:18:07 UTC (rev 403)
@@ -0,0 +1,49 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gksu package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gksu HEAD\n"
+"Report-Msgid-Bugs-To: ko...@de...\n"
+"POT-Creation-Date: 2009年04月06日 18:58+0900\n"
+"PO-Revision-Date: 2009年04月06日 13:25+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:984
+#, c-format
+msgid "<b>Enter the password to run the application '%s'</b>"
+msgstr "<b>输入密码以运行应用程序‘%s’</b>"
+
+#: ../gksu/gksu.c:1022
+#, c-format
+msgid ""
+"Failed to run %s as user %s:\n"
+" %s"
+msgstr ""
+"运行 %s (以用户 %s)失败:\n"
+" %s"
+
+#. The string is back port from libgksu 2.0.9.
+#. su_ask_password() in libgksu/libgksu/libgksu.c
+#: ../gksu/gksu.c:1039
+#, c-format
+msgid "<b>Enter the password of %s to run the application '%s'</b>"
+msgstr "<b>输入 %s 的密码以运行应用程序‘%s’</b>"
+
+# SUN_BRANDING
+#: ../gksu/gksu.c:1083
+#, c-format
+msgid ""
+"Failed to run %s:\n"
+" %s"
+msgstr ""
+"运行 %s 失败:\n"
+" %s"
Added: trunk/spec_files/jds/po-sun/gksu/po-sun/zh_HK.po
===================================================================
--- trunk/spec_files/jds/po-sun/gksu/po-sun/zh_HK.po	 ...
 
[truncated message content]
From: belenix-notify <bel...@li...> - 2009年11月20日 17:10:34
Revision: 402
 http://belenix.svn.sourceforge.net/belenix/?rev=402&view=rev
Author: moinakg
Date: 2009年11月20日 17:10:27 +0000 (2009年11月20日)
Log Message:
-----------
	* SFEvegastrike.spec
	* SFEvegastrike-data.spec
	* ext-sources/vegastrike.png
	* ext-sources/vegastrike.desktop
	* patches/vegastrike-01-paths-fix.diff
	* patches/vegastrike-03-vssetup-fix.diff
	* patches/vegastrike-04-64-bit.diff
	* patches/vegastrike-05-openal.diff
	* patches/vegastrike-06-sys-python.diff
	* patches/vegastrike-07-boost-make_shared.diff
	* patches/vegastrike-08-gcc44.diff
	* patches/vegastrike-09-solaris.diff
	 3D OpenGL spaceflight simulator.
Added Paths:
-----------
 trunk/spec_files/SFEvegastrike-data.spec
 trunk/spec_files/SFEvegastrike.spec
 trunk/spec_files/ext-sources/vegastrike.desktop
 trunk/spec_files/ext-sources/vegastrike.png
 trunk/spec_files/patches/vegastrike-01-paths-fix.diff
 trunk/spec_files/patches/vegastrike-03-vssetup-fix.diff
 trunk/spec_files/patches/vegastrike-04-64-bit.diff
 trunk/spec_files/patches/vegastrike-05-openal.diff
 trunk/spec_files/patches/vegastrike-06-sys-python.diff
 trunk/spec_files/patches/vegastrike-07-boost-make_shared.diff
 trunk/spec_files/patches/vegastrike-08-gcc44.diff
 trunk/spec_files/patches/vegastrike-09-solaris.diff
Added: trunk/spec_files/SFEvegastrike-data.spec
===================================================================
--- trunk/spec_files/SFEvegastrike-data.spec	 (rev 0)
+++ trunk/spec_files/SFEvegastrike-data.spec	2009年11月20日 17:10:27 UTC (rev 402)
@@ -0,0 +1,82 @@
+#
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+%define cc_is_gcc 1
+%include base.inc
+
+Name: SFEvegastrike-data
+Summary: 3D OpenGL spaceflight simulator
+Version: 0.5.0
+License: GPLv2+
+Group: Amusements/Games
+Source: %{sf_download}/vegastrike/vegastrike-linux-%{version}.tar.bz2
+
+URL: http://vegastrike.sourceforge.net/
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+%description
+Data files for Vega Strike, a GPL 3D OpenGL Action RPG space sim that allows
+a player to trade and bounty hunt. 
+
+%prep
+%setup -q -c -n %name-%version
+cd vegastrike-%{version}
+rm -r cockpits/bomber-cockpit.cpt/#cockpit.xmesh# meshes/supernova.bmp.xmesh~ \
+ modules/.cvsignore modules/builtin `find . -name "*.xmesh"`
+find . -type d | xargs chmod a+x
+
+# SVR4 packaging can't handle filenames with spaces - arrgh.
+mv "history/a brief history in time and space.pdf" "history/a_brief_history_in_time_and_space.pdf"
+mv "Install Vega Strike.sh" "Install_Vega_Strike.sh"
+
+find . -type f | xargs chmod -x
+chmod +x units/findunits.py modules/webpageize.py
+sed -i 's/\r//g' documentation/mission_howto.txt
+# remove the stale included manpages and the .xls abonimation
+rm documentation/*.1 documentation/*.xls
+
+%build
+# Nothing to build for data
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd vegastrike-%{version}
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/vegastrike
+for i in .vegastrike-0.5.0 ai animations bases cockpits communications \
+ history meshes mission modules movies programs sectors sounds \
+ sprites textures units universe \
+ *.xml *.csv *.config *.cur *.xpm New_Game Version.txt; do
+	cp -a $i $RPM_BUILD_ROOT%{_datadir}/vegastrike
+done
+
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/vegastrike
+cp -r documentation $RPM_BUILD_ROOT%{_docdir}/vegastrike
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps
+ginstall -p -m 644 vegastrike.xpm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr(0755, root, bin) %{_datadir}/vegastrike
+%{_datadir}/vegastrike/*
+%{_datadir}/vegastrike/.vegastrike-%{version}/*
+%attr(0755, root, bin) %{_datadir}/vegastrike/.vegastrike-%{version}/.system
+%dir %attr(0755, root, other) %{_docdir}
+%{_docdir}/*
+%dir %attr (0755, root, other) %{_datadir}/icons
+%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
+%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/128x128
+%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/128x128/apps
+%attr (0455, root, other) %{_datadir}/icons/hicolor/128x128/apps/*
+
+%changelog
+* Fri Nov 20 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/SFEvegastrike.spec
===================================================================
--- trunk/spec_files/SFEvegastrike.spec	 (rev 0)
+++ trunk/spec_files/SFEvegastrike.spec	2009年11月20日 17:10:27 UTC (rev 402)
@@ -0,0 +1,179 @@
+#
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+%define cc_is_gcc 1
+%include base.inc
+
+Name: SFEvegastrike
+Summary: 3D OpenGL spaceflight simulator
+Version: 0.5.0
+License: GPLv2+
+Group: Amusements/Games
+Source: %{sf_download}/vegastrike/vegastrike-src-%{version}.tar.bz2
+Source1: vegastrike.desktop
+Source3: vegastrike.png
+Patch0: vegastrike-00-char-fix.diff
+Patch1: vegastrike-01-paths-fix.diff
+Patch3: vegastrike-03-vssetup-fix.diff
+Patch4: vegastrike-04-64-bit.diff
+Patch5: vegastrike-05-openal.diff
+Patch6: vegastrike-06-sys-python.diff
+Patch7: vegastrike-07-boost-make_shared.diff
+Patch8: vegastrike-08-gcc44.diff
+Patch9: vegastrike-09-solaris.diff
+
+URL: http://vegastrike.sourceforge.net/
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: SUNWxorg-mesa
+BuildRequires: SUNWxorg-headers
+Requires: SFEfreeglut
+BuildRequires: SFEfreeglut-devel
+Requires: SUNWgtk2
+BuildRequires: SUNWgtk2-devel
+Requires: SUNWjpg
+BuildRequires: SUNWjpg-devel
+Requires: SFEboost-gpp
+BuildRequires: SFEboost-gpp-devel
+Requires: SFEfreealut
+BuildRequires: SFEfreealut-devel
+Requires: SUNWlexpt
+Requires: SUNWpng
+BuildRequires: SUNWpng-devel
+Requires: SUNWPython26
+BuildRequires: SUNWPython26-devel
+Requires: SUNWogg-vorbis
+BuildRequires: SUNWogg-vorbis-devel
+Requires: SFEopenal
+BuildRequires: SFEopenal-devel
+Requires: SFEfreealut
+BuildRequires: SFEfreealut-devel
+Requires: SFEsdl-mixer
+BuildRequires: SFEsdl-mixer-devel
+Requires: SUNWgnome-desktop-prefs
+BuildRequires: SUNWgnome-common-devel
+Requires: SUNWgnome-themes
+BuildRequires: SUNWxdg-utils
+Requires: SFEogre
+BuildRequires: SFEogre-devel
+Requires: SFEcegui
+BuildRequires: SFEcegui-devel
+Requires: SFEvegastrike-data
+
+%description
+Vega Strike is a GPL 3D OpenGL Action RPG space sim that allows a player to
+trade and bounty hunt. You start in an old beat up Wayfarer cargo ship, with
+endless possibility before you and just enough cash to scrape together a life.
+Yet danger lurks in the space beyond.
+
+%prep
+%setup -q -c -n %name-%version
+ln -s %{_libdir}/boost/gcc4/libboost_python-mt.so libboost_python.so
+cd vegastrike-source-%{version}
+%patch0 -p1
+%patch1 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1 
+%patch9 -p1 
+
+%{gnu_bin}/sed -i 's/-lboost_python-st/-lboost_python/g' Makefile.in
+# we want to use the system version of expat.h
+rm objconv/mesher/expat.h
+
+#
+# Munge usages of _X due to clash with ctype.h
+# There is a comment in IcePreprocessor.h: '// Silly Cygwin defines _X in ctypes.h'
+# followed by '#undef _X'
+# This approach is silly with potential to mess other stuff in system headers which it
+# does on Solaris. Why not change the variable name !
+#
+# We also need to munge WRAP and quad. WRAP comes in from termios hdr via Python 2.6 and quad
+# comes in from sys/types.h being used by UFS - this arguably is a bad Solaris bug.
+#
+for f in `find . \( -name "*.h*" -o -name "*.c*" \) | fgrep -v ".svn" | xargs egrep -w "_X|WRAP|quad" | cut -f1 -d":" | uniq`
+do
+	%{gnu_bin}/sed -i 's/\<_X\>/_X_/g' ${f}
+	%{gnu_bin}/sed -i 's/\<WRAP\>/_WRAP_/g' ${f}
+	%{gnu_bin}/sed -i 's/\<quad\>/_quad_/g' ${f}
+done
+
+%build
+PDIR=`pwd`
+cd vegastrike-source-%{version}
+export LDFLAGS="-lsocket -lnsl -lm -L%{_libdir}/boost/gcc4 -R%{_libdir}/boost/gcc4 %{gnu_lib_path} -L${PDIR}"
+export CPPFLAGS="-DBOOST_PYTHON_NO_PY_SIGNATURES -DSOLARIS -DBYTE_ORDER=0 -DBIG_ENDIAN=1 -march=pentium3 -I%{_includedir}/boost/gcc4"
+
+#
+# Configure refuses --with-python-version=2.6 so we force this backdoor.
+#
+%{gnu_bin}/sed -i "s#with_python_version=2.4#with_python_version=2.6#" configure
+./configure --prefix=%{_prefix} --with-data-dir=%{_datadir}/vegastrike --with-boost=system \
+ 	--enable-release \
+	--disable-ffmpeg \
+	--enable-stencil-buffer
+
+#
+# Unfortunately configure does not respect LDFLAGS
+#
+%{gnu_bin}/sed -i "s#-L/usr/X11R6/lib#-lsocket -lnsl -lm -L/usr/X11/lib -R/usr/X11/lib -L%{_libdir}/boost/gcc4 -R%{_libdir}/boost/gcc4 %{gnu_lib_path} -L${PDIR}#" Makefile
+gmake
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd vegastrike-source-%{version}
+gmake install DESTDIR=$RPM_BUILD_ROOT
+
+mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/vegastrike
+chmod +x $RPM_BUILD_ROOT%{_prefix}/objconv/*
+mv $RPM_BUILD_ROOT%{_prefix}/objconv/* $RPM_BUILD_ROOT%{_libexecdir}/vegastrike
+rmdir $RPM_BUILD_ROOT%{_prefix}/objconv
+
+for i in asteroidgen base_maker mesh_xml mesher replace tempgen trisort \
+	vsrextract vsrmake; do
+	mv $RPM_BUILD_ROOT%{_bindir}/$i $RPM_BUILD_ROOT%{_libexecdir}/vegastrike
+done
+
+# below is the desktop file and icon stuff.
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
+	desktop-file-install --vendor fedora \
+	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
+	%{SOURCE1} 
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/
+ginstall -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/vegastrike.png
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+update-desktop-database %{_datadir}/applications 2>/dev/null || :
+gtk-update-icon-cache -qf %{_datadir}/icons/hicolor 2>/dev/null || : 
+
+%postun
+update-desktop-database %{_datadir}/applications 2>/dev/null || :
+gtk-update-icon-cache -qf %{_datadir}/icons/hicolor 2>/dev/null || :
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*
+%dir %attr(0755, root, sys) %{_datadir}
+
+%defattr (-, root, other)
+%dir %attr (0755, root, other) %{_datadir}/applications
+%{_datadir}/applications/*
+%dir %attr (0755, root, other) %{_datadir}/icons
+%{_datadir}/icons/*
+
+%changelog
+* Fri Nov 20 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/ext-sources/vegastrike.desktop
===================================================================
--- trunk/spec_files/ext-sources/vegastrike.desktop	 (rev 0)
+++ trunk/spec_files/ext-sources/vegastrike.desktop	2009年11月20日 17:10:27 UTC (rev 402)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Vega Strike
+Comment=3D OpenGL spaceflight simulator
+Exec=vegastrike
+Icon=vegastrike
+Terminal=false
+Type=Application
+Categories=Game;Simulation;
Added: trunk/spec_files/ext-sources/vegastrike.png
===================================================================
(Binary files differ)
Property changes on: trunk/spec_files/ext-sources/vegastrike.png
___________________________________________________________________
Added: svn:mime-type
 + application/octet-stream
Added: trunk/spec_files/patches/vegastrike-01-paths-fix.diff
===================================================================
--- trunk/spec_files/patches/vegastrike-01-paths-fix.diff	 (rev 0)
+++ trunk/spec_files/patches/vegastrike-01-paths-fix.diff	2009年11月20日 17:10:27 UTC (rev 402)
@@ -0,0 +1,52 @@
+diff -up vegastrike-source-0.5.0/src/cmd/music.cpp.foobar vegastrike-source-0.5.0/src/cmd/music.cpp
+--- vegastrike-source-0.5.0/src/cmd/music.cpp.foobar	2008年05月02日 12:02:12.000000000 +0200
++++ vegastrike-source-0.5.0/src/cmd/music.cpp	2008年05月02日 12:08:50.000000000 +0200
+@@ -120,9 +120,7 @@ Music::Music (Unit *parent):random(false
+ if (g_game.music_enabled&&!soundServerPipes()) {
+ int pid=fork();
+ if (!pid) {
+-	 string soundserver_path = VSFileSystem::datadir+"/bin/soundserver";
+- pid=execlp(soundserver_path.c_str() , soundserver_path.c_str(),NULL);
+- soundserver_path = VSFileSystem::datadir+"/soundserver";
++ 	 string soundserver_path = "/usr/lib/vegastrike/soundserver";
+ pid=execlp(soundserver_path.c_str() , soundserver_path.c_str(),NULL);
+ g_game.music_enabled=false;
+ VSFileSystem::vs_fprintf(stderr,"Unable to spawn music player server\n");
+@@ -190,24 +188,9 @@ Music::Music (Unit *parent):random(false
+ }
+ #else
+ if (g_game.music_enabled) {
+- std::string tmp=VSFileSystem::datadir+"/bin/soundserver";
+- FILE * fp=fopen (tmp.c_str(),"rb");
+- if (!fp) {
+- tmp=VSFileSystem::datadir+"/soundserver";
+- fp = fopen(tmp.c_str(),"rb");
+- if (!fp){
+- g_game.music_enabled=false;
+- socketw=-1;
+- socketr=-1;
+- }else fclose(fp);
+- }else fclose(fp);
+- }
+- if (g_game.music_enabled) {
+ int pid=fork();
+ if (!pid) {
+-	 string soundserver_path = VSFileSystem::datadir+"/bin/soundserver";
+- pid=execlp(soundserver_path.c_str() , soundserver_path.c_str(),buffer1,buffer2,NULL);
+- soundserver_path = VSFileSystem::datadir+"/soundserver";
++ 	 string soundserver_path = "/usr/lib/vegastrike/soundserver";
+ pid=execlp(soundserver_path.c_str() , soundserver_path.c_str(),buffer1,buffer2,NULL);
+ g_game.music_enabled=false;
+ VSFileSystem::vs_fprintf(stderr,"Unable to spawn music player server\n");
+diff -up vegastrike-source-0.5.0/src/gfx/mesh_xml.cpp.foobar vegastrike-source-0.5.0/src/gfx/mesh_xml.cpp
+--- vegastrike-source-0.5.0/src/gfx/mesh_xml.cpp.foobar	2008年04月26日 12:00:33.000000000 +0200
++++ vegastrike-source-0.5.0/src/gfx/mesh_xml.cpp	2008年05月02日 11:58:14.000000000 +0200
+@@ -1175,7 +1175,7 @@ void LaunchConverter(const char * input,
+ #ifndef _WIN32
+ int pid=fork();
+ if (!pid) {
+- string soundserver_path = VSFileSystem::datadir+"/bin/mesher";
++ string soundserver_path = "/usr/lib/vegastrike/mesher";
+ 	 string firstarg = string("\"")+soundserver_path+string("\"");
+ pid=execlp(soundserver_path.c_str() , soundserver_path.c_str(),input,output,args,NULL);
+ soundserver_path = VSFileSystem::datadir+"/mesher";
Added: trunk/spec_files/patches/vegastrike-03-vssetup-fix.diff
===================================================================
--- trunk/spec_files/patches/vegastrike-03-vssetup-fix.diff	 (rev 0)
+++ trunk/spec_files/patches/vegastrike-03-vssetup-fix.diff	2009年11月20日 17:10:27 UTC (rev 402)
@@ -0,0 +1,12 @@
+diff -up vegastrike-source-0.5.0/setup/src/include/display_gtk.cpp.foo vegastrike-source-0.5.0/setup/src/include/display_gtk.cpp
+--- vegastrike-source-0.5.0/setup/src/include/display_gtk.cpp.foo	2008年09月08日 16:42:15.000000000 +0200
++++ vegastrike-source-0.5.0/setup/src/include/display_gtk.cpp	2008年09月08日 16:42:21.000000000 +0200
+@@ -66,7 +66,7 @@ void myexit(int exitval){
+ #ifdef _WIN32
+ 	int err=(int)ShellExecute(NULL,"open","documentation\\readme.txt","","",1);
+ #else
+-	execlp("less", "less","readme.txt", NULL); //Will this work in Linux?
++	execlp("xdg-open", "xdg-open", "/usr/share/vegastrike/documentation/readme.txt", NULL);
+ #endif
+ 	exit(0);//exitval);
+ }
Added: trunk/spec_files/patches/vegastrike-04-64-bit.diff
===================================================================
--- trunk/spec_files/patches/vegastrike-04-64-bit.diff	 (rev 0)
+++ trunk/spec_files/patches/vegastrike-04-64-bit.diff	2009年11月20日 17:10:27 UTC (rev 402)
@@ -0,0 +1,11 @@
+--- vegastrike-0.4.3/launcher/saveinterface.cpp~	2006年02月10日 10:54:30.000000000 +0100
++++ vegastrike-0.4.3/launcher/saveinterface.cpp	2006年02月10日 11:11:33.000000000 +0100
+@@ -213,7 +213,7 @@
+ #ifdef _WIN32
+ GoToParentDir();
+ #endif
+- int player = my_mission.rfind ("player");
++ std::string::size_type player = my_mission.rfind ("player");
+ if (player>0&&player!=std::string::npos) {
+ char num [4]={'-','m',(*(my_mission.begin()+(player-1))),'0円'};
+ printf ("vegastrike %s %s",num,my_mission.c_str());
Added: trunk/spec_files/patches/vegastrike-05-openal.diff
===================================================================
--- trunk/spec_files/patches/vegastrike-05-openal.diff	 (rev 0)
+++ trunk/spec_files/patches/vegastrike-05-openal.diff	2009年11月20日 17:10:27 UTC (rev 402)
@@ -0,0 +1,15 @@
+--- vegastrike-0.4.3/src/aldrv/al_init.cpp.openal	2007年02月25日 16:17:45.000000000 +0100
++++ vegastrike-0.4.3/src/aldrv/al_init.cpp	2007年02月25日 16:17:45.000000000 +0100
+@@ -135,12 +135,8 @@
+ ///I don't think we'll need to switch contexts or devices in vegastrike
+ static ALCdevice *dev=NULL;
+ 
+-#ifndef _WIN32
+-static ALvoid *context_id=NULL;
+-#else
+ static ALCcontext * context_id=NULL;
+ #endif
+-#endif
+ bool AUDInit () {
+ g_game.sound_enabled = false;
+ #ifdef HAVE_AL
Added: trunk/spec_files/patches/vegastrike-06-sys-python.diff
===================================================================
--- trunk/spec_files/patches/vegastrike-06-sys-python.diff	 (rev 0)
+++ trunk/spec_files/patches/vegastrike-06-sys-python.diff	2009年11月20日 17:10:27 UTC (rev 402)
@@ -0,0 +1,19 @@
+--- vegastrike-source-0.5.0/src/python/init.cpp.orig	2008年04月26日 12:00:00.000000000 +0200
++++ vegastrike-source-0.5.0/src/python/init.cpp	2008年05月02日 13:09:08.000000000 +0200
+@@ -235,7 +235,6 @@ void Python::initpaths(){
+ // Find all the mods dir (ignore homedir)
+ for( int i=1; i<VSFileSystem::Rootdir.size(); i++)
+ {
+-	 modpaths += "r\""+VSFileSystem::Rootdir[i]+ PATHSEP +moduledir+ PATHSEP "builtin\",";
+ 	 modpaths += "r\""+VSFileSystem::Rootdir[i]+ PATHSEP +moduledir+"\",";
+ 	 modpaths += "r\""+VSFileSystem::Rootdir[i]+ PATHSEP +basesdir+"\"";
+ 	 if( i+1<VSFileSystem::Rootdir.size())
+@@ -246,7 +245,7 @@ void Python::initpaths(){
+ while ((backslash=modpaths.find("\\"))!=std::string::npos) {
+ modpaths[backslash]='/';
+ }*/
+- std::string changepath ("import sys\nprint sys.path\nsys.path = ["+modpaths+"]\n");
++ std::string changepath ("import sys\nprint sys.path\nsys.path += ["+modpaths+"]\n");
+ /*
+ std::string changepath ("import sys\nprint sys.path\nsys.path = ["
+ 			 "\""+VSFileSystem::datadir+DELIMSTR"modules"DELIMSTR"builtin\""
Added: trunk/spec_files/patches/vegastrike-07-boost-make_shared.diff
===================================================================
--- trunk/spec_files/patches/vegastrike-07-boost-make_shared.diff	 (rev 0)
+++ trunk/spec_files/patches/vegastrike-07-boost-make_shared.diff	2009年11月20日 17:10:27 UTC (rev 402)
@@ -0,0 +1,20 @@
+--- vegastrike-source-0.5.0/src/networking/lowlevel/vsnet_socketset.cpp.orig	2009年11月15日 18:08:39.754877778 +0530
++++ vegastrike-source-0.5.0/src/networking/lowlevel/vsnet_socketset.cpp	2009年11月15日 18:09:37.417401706 +0530
+@@ -180,7 +180,7 @@
+ 
+ if( !_client_mgr.expired() )
+ {
+- boost::shared_ptr<VsnetDownload::Client::Manager> mgr( boost::make_shared(_client_mgr) );
++ boost::shared_ptr<VsnetDownload::Client::Manager> mgr( _client_mgr.lock() );
+ if( (bool)mgr )
+ {
+ mgr->lower_check_queues( );
+@@ -189,7 +189,7 @@
+ 
+ if( !_server_mgr.expired() )
+ {
+- boost::shared_ptr<VsnetDownload::Server::Manager> mgr( boost::make_shared(_server_mgr) );
++ boost::shared_ptr<VsnetDownload::Server::Manager> mgr( _server_mgr.lock() );
+ if( (bool)mgr )
+ {
+ mgr->lower_check_queues( );
Added: trunk/spec_files/patches/vegastrike-08-gcc44.diff
===================================================================
--- trunk/spec_files/patches/vegastrike-08-gcc44.diff	 (rev 0)
+++ trunk/spec_files/patches/vegastrike-08-gcc44.diff	2009年11月20日 17:10:27 UTC (rev 402)
@@ -0,0 +1,38 @@
+diff -up vegastrike-source-0.5.0/src/cmd/basecomputer.cpp~ vegastrike-source-0.5.0/src/cmd/basecomputer.cpp
+--- vegastrike-source-0.5.0/src/cmd/basecomputer.cpp~	2008年04月26日 12:00:24.000000000 +0200
++++ vegastrike-source-0.5.0/src/cmd/basecomputer.cpp	2009年05月23日 17:23:55.000000000 +0200
+@@ -3128,9 +3128,9 @@ static int	nodirs( const struct dirent *
+ 	return 0;
+ }
+ 
+-static int datesort ( const void *v1, const void *v2 ) {
+-	const struct dirent *d1=*(const struct dirent**)v1;
+-	const struct dirent *d2=*(const struct dirent**)v2;
++static int datesort ( const struct dirent **v1, const struct dirent **v2 ) {
++	const struct dirent *d1=*v1;
++	const struct dirent *d2=*v2;
+ 	struct stat s1, s2;
+ 	std::string tmp=VSFileSystem::homedir+"/save/"+d1->d_name;
+ 	if (stat(tmp.c_str(), &s1))
+@@ -3142,12 +3142,6 @@ static int datesort ( const void *v1, co
+ 	return s1.st_mtime - s2.st_mtime;
+ }
+ 
+-#if defined(_WIN32) && !defined(__CYGWIN__)
+-typedef int (*scancompare) ( const struct dirent **v1, const struct dirent **v2 );
+-#else
+-typedef int (*scancompare) ( const void *v1, const void *v2 );
+-#endif
+-
+ // Load the controls for the News display.
+ void BaseComputer::loadLoadSaveControls(void) {
+ SimplePicker* picker = static_cast<SimplePicker*>( window()->findControlById("LoadSavePicker") );
+@@ -3160,7 +3154,7 @@ void BaseComputer::loadLoadSaveControls(
+ 		const int playerNum=UnitUtil::isPlayerStarship(playerUnit);
+ 		struct dirent ** dirlist;
+ 		std::string savedir = VSFileSystem::homedir+"/save/";
+-		int ret = scandir (savedir.c_str(),&dirlist,nodirs,(scancompare)&datesort);
++		int ret = scandir (savedir.c_str(),&dirlist,nodirs,datesort);
+ 		while( ret-->0) {
+ 			picker->addCell(new SimplePickerCell(dirlist[ret]->d_name));
+ 		}		
Added: trunk/spec_files/patches/vegastrike-09-solaris.diff
===================================================================
--- trunk/spec_files/patches/vegastrike-09-solaris.diff	 (rev 0)
+++ trunk/spec_files/patches/vegastrike-09-solaris.diff	2009年11月20日 17:10:27 UTC (rev 402)
@@ -0,0 +1,101 @@
+--- vegastrike-source-0.5.0/src/galaxy_gen.cpp.orig	2009年11月15日 18:32:34.224100190 +0530
++++ vegastrike-source-0.5.0/src/galaxy_gen.cpp	2009年11月15日 18:33:30.118555136 +0530
+@@ -639,12 +639,12 @@
+ string s = getRandName (jumps);
+ if (s.length()==0)
+ return;
+- Vector RR,SS;
++ Vector _RR,_SS;
+ if (forceRS) {
+- RR=R;SS=S;
+- Updateradii (mmax(RR.Mag(),SS.Mag()),radius);
++ _RR=R;_SS=S;
++ Updateradii (mmax(_RR.Mag(),_SS.Mag()),radius);
+ }else {
+- center=generateAndUpdateRS (RR,SS,radius,true);
++ center=generateAndUpdateRS (_RR,_SS,radius,true);
+ }
+ string thisname;
+ thisname = string("Jump_To_")+getStarSystemName(s);
+@@ -653,10 +653,10 @@
+ }
+ Tab();
+ f.Fprintf ("<Jump name=\"%s\" file=\"%s\" ",thisname.c_str(),"jump.png");
+- f.Fprintf ("ri=\"%f\" rj=\"%f\" rk=\"%f\" si=\"%f\" sj=\"%f\" sk=\"%f\" ",RR.i,RR.j,RR.k,SS.i,SS.j,SS.k);
++ f.Fprintf ("ri=\"%f\" rj=\"%f\" rk=\"%f\" si=\"%f\" sj=\"%f\" sk=\"%f\" ",_RR.i,_RR.j,_RR.k,_SS.i,_SS.j,_SS.k);
+ f.Fprintf ("radius=\"%f\" ",radius);
+ f.Fprintf ("x=\"%f\" y=\"%f\" z=\"%f\" ",center.i,center.j,center.k);
+- float loy = LengthOfYear(RR,SS);
++ float loy = LengthOfYear(_RR,_SS);
+ float temprandom=.1*fmod(loy,10);//use this so as not to alter state here
+ if (loy||thisloy) {
+ f.Fprintf ("year= \"%f\" ",thisloy?thisloy:loy);
+@@ -744,8 +744,8 @@
+ }
+ if (texturename.length()==0) // FIXME?
+ return;
+- Vector RR,SS;
+- Vector center=generateAndUpdateRS (RR,SS,radius,false);
++ Vector _RR,_SS;
++ Vector center=generateAndUpdateRS (_RR,_SS,radius,false);
+ string thisname;
+ thisname=getRandName(names);
+ Tab();
+@@ -769,10 +769,10 @@
+ cname=planetlites.substr(lites[randomnum]+1,lites[randomnum+1]);
+ }
+ f.Fprintf ("<Planet name=\"%s\" file=\"%s\" ",thisname.c_str(),texturename.c_str());
+- f.Fprintf ("ri=\"%f\" rj=\"%f\" rk=\"%f\" si=\"%f\" sj=\"%f\" sk=\"%f\" ",RR.i,RR.j,RR.k,SS.i,SS.j,SS.k);
++ f.Fprintf ("ri=\"%f\" rj=\"%f\" rk=\"%f\" si=\"%f\" sj=\"%f\" sk=\"%f\" ",_RR.i,_RR.j,_RR.k,_SS.i,_SS.j,_SS.k);
+ f.Fprintf ("radius=\"%f\" ",radius);
+ f.Fprintf ("x=\"%f\" y=\"%f\" z=\"%f\" ",center.i,center.j,center.k);
+- float loy = LengthOfYear(RR,SS);
++ float loy = LengthOfYear(_RR,_SS);
+ float temprandom=.1*fmod(loy,10);//use this so as not to alter state here
+ if (loy) {
+ f.Fprintf ("year= \"%f\" ",loy);
+--- vegastrike-source-0.5.0/src/cmd/basecomputer.cpp.orig	2009年11月15日 19:26:28.019712952 +0530
++++ vegastrike-source-0.5.0/src/cmd/basecomputer.cpp	2009年11月15日 19:27:21.803960151 +0530
+@@ -3111,7 +3111,7 @@
+ if (strstr(entry->d_name,autosave.c_str()))
+ return 0;
+ */
+-#if defined(_WIN32)
++#if defined(_WIN32) || defined(SOLARIS)
+ 	// Have to check if we have the full path or just relative (which would be a problem)
+ 	std::string tmp=VSFileSystem::homedir+"/save/"+entry->d_name;
+ 	struct stat s;
+--- vegastrike-source-0.5.0/src/gfx/vec.h.orig	2009年11月15日 22:04:57.088564047 +0530
++++ vegastrike-source-0.5.0/src/gfx/vec.h	2009年11月15日 22:05:20.989988837 +0530
+@@ -5,6 +5,9 @@
+ #include <math.h>
+ 
+ #ifdef SOLARIS
++#ifdef __cplusplus
++extern "C" {
++#endif
+ extern float __sqrtf( float);
+ extern float __cosf( float);
+ extern float __sinf( float);
+@@ -13,6 +16,9 @@
+ #define cosf __cosf
+ #define sinf __sinf
+ #define tanf __tanf
++#ifdef __cplusplus
++}
++#endif
+ #endif
+ 
+ #include "endianness.h"
+--- vegastrike-source-0.5.0/setup/src/c/setup.cpp.orig	2009年11月15日 23:57:55.559309124 +0530
++++ vegastrike-source-0.5.0/setup/src/c/setup.cpp	2009年11月15日 23:58:16.284710084 +0530
+@@ -21,7 +21,9 @@
+ #include <direct.h>
+ #include <windows.h>
+ #else
++#ifndef SOLARIS
+ #include <sys/dir.h>
++#endif
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <pwd.h>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2009年11月09日 17:35:30
Revision: 401
 http://belenix.svn.sourceforge.net/belenix/?rev=401&view=rev
Author: moinakg
Date: 2009年11月09日 17:35:19 +0000 (2009年11月09日)
Log Message:
-----------
	* pending/SFEgambas.spec
	* pending/SFEpovray.spec
	 In progress specs, temporary checkin.
	* SFEsdl-gfx.spec
	* base-specs/sdl-gfx.spec
	 Pull in updates from SFE repo.
	* SFEggz-gtk.spec
	* base-specs/ggz-gtk-client.spec
	 Import from SFE repo.
	* SFEaprutil.spec
	* SFElibapr.spec
	* ext-sources/apr-wrapper.h
	* patches/apr-01-voidp_sizeof.diff
	 Bump version, fix build.
	* SFEnexuiz.spec
	* ext-sources/nexuiz.desktop
	* ext-sources/nexuiz
	* SFEfreeciv.spec
	* patches/freeciv-03-strlcpy.diff
	 Import from SFE repo.
	* SFEsweethome3d.spec
	* ext-sources/SweetHome3D
	* SFEgtkglext.spec
	 Initial versions.
	* SFEvdrift.spec
	* patches/vdrift-01-ncpu.diff
	* patches/vdrift-02-opt.diff
	 Import from SFE repo.
	* SUNWgit.spec
	 Initial spec (migrated and merged from SFW gate).
	* ext-sources/osol_builder.py
	* ext-sources/osol_builder
	 Major enhancements.
	* ext-sources/sauerbaten.copyright
	* ext-sources/FindBoost.cmake
	* ext-sources/apache2/modules/apxs-dtrace.ksh93
	* patches/FlightGear-02-reg.diff
	* patches/FlightGear-03-ioctl.diff
	 Misc files missed out in earlier commits.
Modified Paths:
--------------
 trunk/spec_files/SFEaprutil.spec
 trunk/spec_files/SFElibapr.spec
 trunk/spec_files/SFEsdl-gfx.spec
 trunk/spec_files/base-specs/sdl-gfx.spec
 trunk/spec_files/ext-sources/apache2/modules/apxs-dtrace.ksh93
 trunk/spec_files/ext-sources/osol_builder
 trunk/spec_files/ext-sources/osol_builder.py
Added Paths:
-----------
 trunk/spec_files/SFEfreeciv.spec
 trunk/spec_files/SFEggz-gtk.spec
 trunk/spec_files/SFEgtkglext.spec
 trunk/spec_files/SFEnexuiz.spec
 trunk/spec_files/SFEsweethome3d.spec
 trunk/spec_files/SFEvdrift.spec
 trunk/spec_files/SUNWgit.spec
 trunk/spec_files/base-specs/ggz-gtk-client.spec
 trunk/spec_files/ext-sources/FindBoost.cmake
 trunk/spec_files/ext-sources/SweetHome3D
 trunk/spec_files/ext-sources/apr-wrapper.h
 trunk/spec_files/ext-sources/nexuiz
 trunk/spec_files/ext-sources/nexuiz.desktop
 trunk/spec_files/ext-sources/sauerbaten.copyright
 trunk/spec_files/patches/FlightGear-02-reg.diff
 trunk/spec_files/patches/FlightGear-03-ioctl.diff
 trunk/spec_files/patches/freeciv-03-strlcpy.diff
 trunk/spec_files/patches/vdrift-01-ncpu.diff
 trunk/spec_files/patches/vdrift-02-opt.diff
 trunk/spec_files/pending/SFEgambas.spec
 trunk/spec_files/pending/SFEpovray.spec
Removed Paths:
-------------
 trunk/spec_files/patches/apr-01-voidp_sizeof.diff
Modified: trunk/spec_files/SFEaprutil.spec
===================================================================
--- trunk/spec_files/SFEaprutil.spec	2009年11月08日 15:19:19 UTC (rev 400)
+++ trunk/spec_files/SFEaprutil.spec	2009年11月09日 17:35:19 UTC (rev 401)
@@ -17,7 +17,7 @@
 
 Name:			SFEaprutil
 License:		Apache,LGPL,BSD
-Version:		1.3.4
+Version:		1.3.9
 Summary:		Abstraction layer on top of Apache Portable Runtime
 Source:			http://apache.mirrors.tds.net/apr/apr-util-%{version}.tar.gz
 Patch1: aprutil-01-dbd.m4.diff
@@ -121,10 +121,10 @@
 cd apr-util-%{version}-64
 
 PATH=/usr/ccs/bin:/usr/gnu/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/opt/SUNWspro/bin:/opt/jdsbld/bin
-CFLAGS="%optflags64 -I/usr/gnu/include -I/usr/sfw/include -I/usr/include/pgsql -I/usr/include/pgsql/server -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
-CPPFLAGS="%optflags64 -I/usr/gnu/include -I/usr/sfw/include -I/usr/include/pgsql -I/usr/include/pgsql/server -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
+CFLAGS="-m64 -march=opteron -fno-omit-frame-pointer -O2 -I/usr/gnu/include -I/usr/sfw/include -I/usr/include/pgsql -I/usr/include/pgsql/server -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
+CPPFLAGS="-m64 -march=opteron -fno-omit-frame-pointer -O2 -I/usr/gnu/include -I/usr/sfw/include -I/usr/include/pgsql -I/usr/include/pgsql/server -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
 LD=/usr/ccs/bin/ld
-LDFLAGS="%_ldflags64 -L$RPM_BUILD_ROOT%{_libdir} -L/usr/gnu/lib/%{_arch64} -R/usr/gnu/lib/%{_arch64} -L/usr/sfw/lib/%{_arch64} -R/usr/sfw/lib/%{_arch64}"
+LDFLAGS="-m64 %{gnu_lib_path64} -lgnuintl -lgnuiconv -L$RPM_BUILD_ROOT%{_libdir} -L/usr/gnu/lib/%{_arch64} -R/usr/gnu/lib/%{_arch64} -L/usr/sfw/lib/%{_arch64} -R/usr/sfw/lib/%{_arch64}"
 LIBS="-m64 -lgdbm"
 PGSQL_CONFIG=${PG_DIR}/bin/%{_arch64}/pg_config
 MYSQL_CONFIG=${MYS_DIR}/bin/%{_arch64}/mysql_config
@@ -168,7 +168,7 @@
 cp build/rules.mk.new build/rules.mk
 rm -f build/rules.mk.new 
 
-LDFLAGS="-L/usr/gnu/lib/%{_arch64} -R/usr/gnu/lib/%{_arch64} -L/usr/sfw/lib/%{_arch64} -R/usr/sfw/lib/%{_arch64}"
+LDFLAGS="%{gnu_lib_path64} %{sfw_lib_path64}"
 cat apu-1-config | \
 sed "s|^LDFLAGS=|LDFLAGS=\"${LDFLAGS}\"|" > apu-1-config.new
 cp apu-1-config.new apu-1-config
@@ -180,10 +180,10 @@
 
 cd apr-util-%{version}
 PATH=/usr/ccs/bin:/usr/gnu/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/opt/SUNWspro/bin:/opt/jdsbld/bin
-CFLAGS="%optflags -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
+CFLAGS="-march=pentiumpro -fno-omit-frame-pointer -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
 CPPFLAGS="-I/usr/gnu/include -I/usr/sfw/include -I/usr/include/pgsql -I/usr/include/pgsql/server"
 LD=/usr/ccs/bin/ld
-LDFLAGS="%_ldflags -L$RPM_BUILD_ROOT%{_libdir} -L/usr/gnu/lib -R/usr/gnu/lib -L/usr/sfw/lib -R/usr/sfw/lib"
+LDFLAGS="%{gnu_lib_path} -lgnuintl -lgnuiconv -L$RPM_BUILD_ROOT%{_libdir} -L/usr/gnu/lib -R/usr/gnu/lib -L/usr/sfw/lib -R/usr/sfw/lib"
 PGSQL_CONFIG=${PG_DIR}/bin/pg_config
 MYSQL_CONFIG=${MYS_DIR}/bin/mysql_config
 
@@ -288,6 +288,8 @@
 %{_includedir}/*
 
 %changelog
+* Fri Nov 06 2009 - Moinak Ghosh
+- Bump version and fix build.
 * Sun Feb 15 2009 - mo...@gm...
 - Major fixes.
 * Tue Feb 10 2009 - mo...@gm...
Added: trunk/spec_files/SFEfreeciv.spec
===================================================================
--- trunk/spec_files/SFEfreeciv.spec	 (rev 0)
+++ trunk/spec_files/SFEfreeciv.spec	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,117 @@
+#
+# spec file for package SFEfreeciv.spec
+#
+# includes module(s): freeciv
+#
+# bugdb: http://bugs.freeciv.org/Ticket/Display.html?id=
+#
+%include Solaris.inc
+
+%define SUNWlibsdl %(/usr/bin/pkginfo -q SUNWlibsdl && echo 1 || echo 0)
+
+Name: SFEfreeciv
+Summary: freeciv - a multiplayer strategy game
+URL: http://freeciv.wikia.com/
+Version: 2.1.9
+Source: %{sf_download}/freeciv/freeciv-%{version}.tar.bz2
+# date:2008年12月23日 type:bug owner:halton bugid:40661
+Patch3: freeciv-03-strlcpy.diff
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+%if %SUNWlibsdl
+BuildRequires: SUNWlibsdl-devel
+Requires: SUNWlibsdl
+%else
+BuildRequires: SFEsdl-devel
+Requires: SFEsdl
+%endif
+Requires: SFEsdl-mixer
+Requires: SFEggz-gtk
+BuildRequires: SFEsdl-mixer-devel
+BuildRequires: SFEggz-gtk-devel
+
+%package root
+Summary: %{summary} - / filesystem
+SUNW_BaseDir: /
+%include default-depend.inc
+Requires: SUNWpostrun-root
+
+%prep
+%setup -q -n freeciv-%version
+%patch3 -p1
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+export CFLAGS="%optflags -I%{gnu_inc}"
+export LDFLAGS="%{gnu_lib_path}"
+ln -sf %{_bindir}/aclocal-1.9 aclocal
+ln -sf %{_bindir}/automake-1.9 automake
+export PATH=`pwd`:${PATH}
+
+libtoolize --force
+aclocal $ACLOCAL_FLAGS -I . -I m4
+autoheader
+automake -a -c -f
+autoconf
+
+./configure --prefix=%{_prefix}			\
+	 --mandir=%{_mandir}			\
+ --libdir=%{_libdir}			\
+ --libexecdir=%{_libexecdir}		\
+ --sysconfdir=%{_sysconfdir}		\
+ --disable-nls			\
+ --enable-shared			\
+	 --disable-static
+
+make -j$CPUS 
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_bindir}
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/freeciv
+%dir %attr (0755, root, other) %{_datadir}/applications
+%{_datadir}/applications/*
+%dir %attr (0755, root, other) %{_datadir}/pixmaps
+%{_datadir}/pixmaps/*.png
+%dir %attr (0755, root, other) %{_datadir}/icons
+%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
+%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*
+%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*/apps
+%{_datadir}/icons/hicolor/*/apps/*
+%dir %attr(0755, root, bin) %{_mandir}
+%dir %attr(0755, root, bin) %{_mandir}/*
+%{_mandir}/*/*
+
+%files root
+%defattr (-, root, sys)
+%attr (0755, root, sys) %dir %{_sysconfdir}
+%{_sysconfdir}/ggz.modules
+
+%changelog
+* Fri Nov 06 2009 - Moinak Ghosh
+- Imported from SFE repo.
+* Thu Jan 15 2009 - hal...@su...
+- Bump to 2.1.8
+- Remove unused patch signedchar.diff
+- Add pkg -root
+* Thu Nov 15 2007 - day...@us...
+- Enable building with either SUNWlibsdl or SFEsdl.
+* Sun Apr 21 2006 - do...@tr...
+- Added SFEsdl-mixer and enabled sound
+- A slight tidy up of spec file
+* Sun Apr 21 2006 - do...@tr...
+- Bumped to 2.1.0-beta4
+* Mon May 8 2006 - drd...@ya...
+- Initial version
Added: trunk/spec_files/SFEggz-gtk.spec
===================================================================
--- trunk/spec_files/SFEggz-gtk.spec	 (rev 0)
+++ trunk/spec_files/SFEggz-gtk.spec	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,105 @@
+#
+# spec file for package SFEggz-gtk
+#
+# includes module(s): ggz-gtk-client
+#
+# Copyright 2009 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Owner: halton
+#
+
+%include Solaris.inc
+
+%use ggzgtk = ggz-gtk-client.spec
+
+Name: SFEggz-gtk
+Summary: ggz-gtk - Gtk+ client libraries for GGZ gaming zone
+Version: %{ggzgtk.version}
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+Requires: SUNWgtk2
+Requires: SUNWgnome-desktop-prefs
+Requires: SUNWgnome-games
+Requires: SUNWgnu-gettext
+Requires: SUNWgnu-libiconv
+BuildRequires: SUNWgtk2-devel
+BuildRequires: SUNWgnome-desktop-prefs-devel
+BuildRequires: SUNWgnome-games-devel
+BuildRequires: SUNWgnu-libiconv-devel
+BuildRequires: SUNWgnu-automake-19
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %{name}
+
+%if %build_l10n
+%package l10n
+Summary: %{summary} - l10n files
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %{name}
+%endif
+
+%prep
+rm -rf %name-%version
+mkdir -p %name-%version
+%ggzgtk.prep -d %name-%version
+
+%build
+export CFLAGS="%optflags -I%{gnu_inc}"
+export LDFLAGS="%{gnu_lib_path}"
+export RPM_OPT_FLAGS="$CFLAGS"
+ln -sf %{_bindir}/aclocal-1.9 aclocal
+ln -sf %{_bindir}/automake-1.9 automake
+export PATH=`pwd`:${PATH}
+
+%ggzgtk.build -d %name-%version
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ggzgtk.install -d %name-%version
+
+%if %build_l10n
+%else
+# REMOVE l10n FILES
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/ggz-gtk
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*.so*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_datadir}/applications
+%{_datadir}/applications/*
+%{_datadir}/ggz
+%dir %attr(0755, root, bin) %{_mandir}
+%dir %attr(0755, root, bin) %{_mandir}/*
+%{_mandir}/*/*
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/ggz-*.h
+
+%if %build_l10n
+%files l10n
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_datadir}
+%attr (-, root, other) %{_datadir}/locale
+%endif
+
+%changelog
+* Tue Jan 15 2009 - hal...@su...
+- Initial version
Added: trunk/spec_files/SFEgtkglext.spec
===================================================================
--- trunk/spec_files/SFEgtkglext.spec	 (rev 0)
+++ trunk/spec_files/SFEgtkglext.spec	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,169 @@
+#
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+%include Solaris.inc
+
+%ifarch amd64 sparcv9
+%include arch64.inc
+%endif
+
+%include base.inc
+
+Name: SFEgtkglext
+Summary: OpenGL Extension to GTK+
+Version: 1.2.0
+License: LGPLv2+ or GPLv2+
+Group:		 System Environment/Libraries
+Source: %{sf_download}/gtkglext/gtkglext-%{version}.tar.bz2
+URL: http://gtkglext.sourceforge.net/
+
+SUNW_BaseDir: %{_basedir}
+SUNW_Copyright: %{name}.copyright
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+Requires: SUNWgtk2
+Requires: SUNWxorg-mesa
+Requires: FSWxorg-clientlibs
+Requires: SUNWxorg-clientlibs
+BuildRequires: SUNWgtk2-devel
+BuildRequires: SUNWxorg-mesa
+BuildRequires: FSWxorg-headers
+BuildRequires: SUNWxorg-headers
+
+%description
+GtkGLExt is an OpenGL extension to GTK. It provides the GDK objects
+which support OpenGL rendering in GTK, and GtkWidget API add-ons to
+make GTK+ widgets OpenGL-capable.
+
+%package devel
+Summary: Development tools for GTK-based OpenGL applications
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+Requires: %name
+Requires: SUNWgtk2-devel
+Requires: SUNWxorg-mesa
+Requires: FSWxorg-headers
+Requires: SUNWxorg-headers
+
+%prep
+%setup -q -c -n %name-%version
+cd gtkglext-%version
+cd ..
+
+%ifarch amd64 sparcv9
+cp -rp gtkglext-%version gtkglext-%{version}-64
+%endif
+
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+%ifarch amd64 sparcv9
+cd gtkglext-%{version}-64
+
+export CFLAGS="%optflags64"
+export LDFLAGS="%_ldflags64"
+
+./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir}/%{_arch64} \
+ --libdir=%{_libdir}/%{_arch64} \
+ --sysconfdir=%{_sysconfdir} \
+ --includedir=%{_includedir} \
+ --libexecdir=%{_libexecdir} \
+	 --enable-shared \
+	 --disable-static
+
+gmake -j$CPUS
+
+cd ..
+%endif
+
+cd gtkglext-%{version}
+export CFLAGS="%optflags"
+export LDFLAGS="%_ldflags"
+
+./configure --prefix=%{_prefix} \
+ --bindir=%{_bindir} \
+ --libdir=%{_libdir} \
+ --sysconfdir=%{_sysconfdir} \
+ --includedir=%{_includedir} \
+ --libexecdir=%{_libexecdir} \
+	 --enable-shared \
+	 --disable-static
+
+gmake -j$CPUS
+
+cd ..
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%ifarch amd64 sparcv9
+cd gtkglext-%{version}-64
+
+gmake DESTDIR=$RPM_BUILD_ROOT install
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/*.la
+cd ..
+%endif
+
+cd gtkglext-%{version}
+gmake DESTDIR=$RPM_BUILD_ROOT install
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+mkdir -p $RPM_BUILD_ROOT%{_docdir}/gtkglext-%{version}
+cp AUTHORS NEWS README COPYING* $RPM_BUILD_ROOT%{_docdir}/gtkglext-%{version}
+cd ..
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/lib*.so*
+
+%ifarch amd64 sparcv9
+%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
+%{_libdir}/%{_arch64}/lib*.so*
+%endif
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%dir %attr (0755, root, bin) %{_libdir}/gtkglext-1.0
+%dir %attr (0755, root, bin) %{_libdir}/gtkglext-1.0/include
+%{_libdir}/gtkglext-1.0/include/*
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+%dir %attr(0755, root, sys) %{_datadir}
+%dir %attr(0755, root, other) %{_datadir}/aclocal
+%{_datadir}/aclocal/*
+%dir %attr(0755, root, bin) %{_datadir}/gtk-doc
+%{_datadir}/gtk-doc/*
+
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+%ifarch amd64 sparcv9
+%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
+%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
+%{_libdir}/%{_arch64}/pkgconfig/*
+%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}/gtkglext-1.0
+%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}/gtkglext-1.0/include
+%{_libdir}/%{_arch64}/gtkglext-1.0/include/*
+%endif
+
+%defattr (-, root, other)
+%dir %attr (0755, root, other) %{_docdir}
+%dir %attr (0755, root, other) %{_docdir}/gtkglext-%{version}
+%{_docdir}/gtkglext-%{version}/*
+
+%changelog
+* Fri Nov 06 2009 - Moinak Ghosh <moinakg<at>belenix(dot)org>
+- Initial version.
Modified: trunk/spec_files/SFElibapr.spec
===================================================================
--- trunk/spec_files/SFElibapr.spec	2009年11月08日 15:19:19 UTC (rev 400)
+++ trunk/spec_files/SFElibapr.spec	2009年11月09日 17:35:19 UTC (rev 401)
@@ -10,14 +10,16 @@
 %endif
 
 %include base.inc
+%define aprver 1
 
 Name:			SFElibapr
 License:		Apache,LGPL,BSD
 Group:			system/dscm
-Version:		1.3.3
+Version:		1.3.9
 Summary:		Apache Portable Runtime
 Source:			http://apache.ziply.com/apr/apr-%{version}.tar.gz
-Patch1: apr-01-voidp_sizeof.diff
+Source1: apr-wrapper.h
+#Patch1: apr-01-voidp_sizeof.diff
 
 URL:			http://apr.apache.org/
 BuildRoot:		%{_tmppath}/%{name}-%{version}-build
@@ -50,19 +52,18 @@
 %ifarch amd64 sparcv9
 cd apr-%{version}-64
 export PATH=/usr/ccs/bin:/usr/gnu/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/opt/SUNWspro/bin:/opt/jdsbld/bin
-export CFLAGS="%optflags64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
+export CFLAGS="-m64 -march=opteron -fno-omit-frame-pointer -O2"
 export LD=/usr/ccs/bin/ld
-export LDFLAGS="%_ldflags64 -L/lib/%{_arch64} -R/lib/%{_arch64} -L$RPM_BUILD_ROOT%{_libdir}"
+export LDFLAGS="-m64 %{gnu_lib_path64} -lintl -liconv -L/lib/%{_arch64} -R/lib/%{_arch64} -L$RPM_BUILD_ROOT%{_libdir}"
 ./configure \
 --prefix=%{_prefix} \
 --sysconfdir=%{_sysconfdir} \
 --libdir=%{_libdir}/%{_arch64} \
 --disable-static \
- --with-pic \
 --with-installbuilddir=%{_datadir}/apr/build \
 --mandir=%{_mandir} \
 --infodir=%{_infodir} \
- --enable-threads
+ --with-devrandom=/dev/urandom
 
 make
 cd ..
@@ -70,22 +71,19 @@
 
 cd apr-%{version}
 export PATH=/usr/ccs/bin:/usr/gnu/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin:/opt/SUNWspro/bin:/opt/jdsbld/bin
-export CFLAGS="%optflags -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
+export CFLAGS="-march=pentium3 -fno-omit-frame-pointer -O2"
 export LD=/usr/ccs/bin/ld
-export LDFLAGS="%_ldflags -L/lib -R/lib -L$RPM_BUILD_ROOT%{_libdir}"
+export LDFLAGS="%{gnu_lib_path} -lintl -liconv -L/lib -R/lib -L$RPM_BUILD_ROOT%{_libdir}"
 ./configure \
 --prefix=%{_prefix} \
 --sysconfdir=%{_sysconfdir} \
 --libdir=%{_libdir} \
 --disable-static \
- --with-pic \
 --with-installbuilddir=%{_datadir}/apr/build \
 --mandir=%{_mandir} \
 --infodir=%{_infodir} \
- --enable-threads
+ --with-devrandom=/dev/urandom
 
-%patch1 -p1
-
 make
 
 %install
@@ -96,9 +94,11 @@
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/lib*a
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{_arch64}/*.exp
 rm -rf $RPM_BUILD_ROOT%{_datadir}
-rm -rf $RPM_BUILD_ROOT%{_includedir}
 mkdir -p $RPM_BUILD_ROOT%{_bindir}/%{_arch64}
 mv $RPM_BUILD_ROOT%{_bindir}/apr-1-config $RPM_BUILD_ROOT%{_bindir}/%{_arch64}
+mv $RPM_BUILD_ROOT%{_includedir}/apr-%{aprver}/apr.h \
+ $RPM_BUILD_ROOT%{_includedir}/apr-%{aprver}/apr-64.h
+
 cd ..
 %endif
 
@@ -108,6 +108,9 @@
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.exp
+mv $RPM_BUILD_ROOT%{_includedir}/apr-%{aprver}/apr.h \
+ $RPM_BUILD_ROOT%{_includedir}/apr-%{aprver}/apr-i386.h
+ginstall -c -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}/apr-%{aprver}/apr.h
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -138,6 +141,8 @@
 %{_includedir}/*
 
 %changelog
+* Fri Nov 06 2009 - Moinak Ghosh
+- Bump version, fix build.
 * Sun Jul 05 2009 - Moinak Ghosh <moinakg@belenix(dot)org>
 - Add dependency on SFEgccruntime for Gcc builds.
 * Fri May 29 2009 - Moinak Ghosh <moinakg@belenix(dot)org>
Added: trunk/spec_files/SFEnexuiz.spec
===================================================================
--- trunk/spec_files/SFEnexuiz.spec	 (rev 0)
+++ trunk/spec_files/SFEnexuiz.spec	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,130 @@
+#
+# Copyright 2008 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+
+%define cc_is_gcc 1
+%include base.inc
+
+Name: SFEnexuiz
+Summary: Nexuiz is a free open-source, cross-platform first person shooter.
+Version: 2.5.2
+%define tarball_version 252
+License: GPL
+Source: %{sf_download}/nexuiz/nexuiz-%{tarball_version}.zip
+Source2: nexuiz.desktop
+Source3: nexuiz
+
+URL: http://www.alientrap.org/nexuiz/
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: SFEsdl
+BuildRequires: SFEsdl-devel
+Requires: SUNWxorg-mesa
+BuildRequires: SUNWxorg-headers
+BuildRequires: SUNWunzip
+BuildRequires: SUNWimagick
+
+%description
+Nexuiz is a fast paced 3d deathmatch game project created online 
+by a team of developers called Alientrap.
+
+%prep
+%setup -q -c -n %name-%version
+(cd Nexuiz/sources/
+ unzip enginesource*.zip
+ cd darkplaces
+ cp makefile makefile.orig
+ echo "SHELL=/usr/bin/bash" > makefile
+ cat makefile.orig >> makefile
+ perl -pi -e 's/\bmodel_t\b/lh_dp_model_t/g' *.c *.h
+ cp makefile.inc makefile.inc.orig
+ cat makefile.inc.orig | sed 's/#CPUOPTIMIZATIONS?=-march=pentium3/CPUOPTIMIZATIONS?=-march=pentium3/' > makefile.inc
+)
+
+%build
+cd Nexuiz/sources/darkplaces
+gmake -f makefile cl-nexuiz
+convert nexuiz.xpm nexuiz.png
+
+%define datez 20091001
+%install
+rm -rf $RPM_BUILD_ROOT
+cd Nexuiz
+mkdir -p $RPM_BUILD_ROOT/usr/bin
+mkdir -p $RPM_BUILD_ROOT/usr/share/nexuiz/data
+mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
+mkdir -p $RPM_BUILD_ROOT/usr/share/applications
+
+ginstall --mode=755 %{SOURCE3} $RPM_BUILD_ROOT/usr/bin
+ginstall --mode=755 sources/darkplaces/nexuiz-glx $RPM_BUILD_ROOT/usr/share/nexuiz
+cp sources/darkplaces/nexuiz.png $RPM_BUILD_ROOT/usr/share/pixmaps
+cp %{SOURCE2} $RPM_BUILD_ROOT/usr/share/applications
+
+cd data
+zipsplit -n 104857600 data%{datez}.pk3 
+mv data20_1.zip data%{datez}.1.pk3
+mv data20_2.zip data%{datez}.2.pk3
+mv data20_3.zip data%{datez}.3.pk3
+mv data20_4.zip data%{datez}.4.pk3
+mv data20_5.zip data%{datez}.5.pk3
+mv data20_6.zip data%{datez}.6.pk3
+
+cd ..
+
+cp data/data%{datez}.1.pk3 $RPM_BUILD_ROOT/usr/share/nexuiz/data
+cp data/data%{datez}.2.pk3 $RPM_BUILD_ROOT/usr/share/nexuiz/data
+cp data/data%{datez}.3.pk3 $RPM_BUILD_ROOT/usr/share/nexuiz/data
+cp data/data%{datez}.4.pk3 $RPM_BUILD_ROOT/usr/share/nexuiz/data
+cp data/data%{datez}.5.pk3 $RPM_BUILD_ROOT/usr/share/nexuiz/data
+cp data/data%{datez}.6.pk3 $RPM_BUILD_ROOT/usr/share/nexuiz/data
+
+cp data/common-spog.pk3 $RPM_BUILD_ROOT/usr/share/nexuiz/data
+cp havoc/data%{datez}havoc.pk3 $RPM_BUILD_ROOT/usr/share/nexuiz/data
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+( echo 'test -x /usr/bin/update-desktop-database || exit 0';
+ echo '/usr/bin/update-desktop-database'
+) | $BASEDIR/lib/postrun -b -u -c JDS_wait
+( echo 'test -x %{_bindir}/update-mime-database || exit 0';
+ echo '%{_bindir}/update-mime-database %{_datadir}/mime'
+) | $BASEDIR/lib/postrun -b -u -c JDS_wait
+( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
+ echo '/usr/bin/scrollkeeper-update'
+) | $BASEDIR/lib/postrun -b -u -c JDS
+
+%postun
+( echo 'test -x /usr/bin/update-desktop-database || exit 0';
+ echo '/usr/bin/update-desktop-database'
+) | $BASEDIR/lib/postrun -b -u -c JDS_wait
+( echo 'test -x %{_bindir}/update-mime-database || exit 0';
+ echo '%{_bindir}/update-mime-database %{_datadir}/mime'
+) | $BASEDIR/lib/postrun -b -u -c JDS_wait
+( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
+ echo '/usr/bin/scrollkeeper-update'
+) | $BASEDIR/lib/postrun -b -u -c JDS
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr(0755, root, sys) %{_datadir}
+%{_datadir}/nexuiz
+%dir %attr (0755, root, other) %{_datadir}/applications
+%{_datadir}/applications/*
+%dir %attr (-, root, other) %{_datadir}/pixmaps
+%{_datadir}/pixmaps/*
+
+%changelog
+* Fri Nov 06 2009 - Moinak Ghosh
+- Imported from SFE repo.
+* Web Sep 09 2009 - drd...@gm...
+- Updated required packages
+* Tue Sep 08 2009 - drd...@gm...
+- Initial version
Modified: trunk/spec_files/SFEsdl-gfx.spec
===================================================================
--- trunk/spec_files/SFEsdl-gfx.spec	2009年11月08日 15:19:19 UTC (rev 400)
+++ trunk/spec_files/SFEsdl-gfx.spec	2009年11月09日 17:35:19 UTC (rev 401)
@@ -24,8 +24,8 @@
 %define SUNWlibsdl	%(/usr/bin/pkginfo -q SUNWlibsdl && echo 1 || echo 0)
 
 Name:			SFEsdl-gfx
-Summary: 		Graphics library for SDL
-Version:		2.0.16
+Summary: 		%{sdl.summary}
+Version:		%{sdl.version}
 SUNW_BaseDir:		%{_basedir}
 BuildRoot:		%{_tmppath}/%{name}-%{version}-build
 %include default-depend.inc
@@ -89,16 +89,21 @@
 
 %files
 %defattr(-,root,bin)
-%doc README CHANGES COPYING
 %dir %attr (0755, root, bin) %{_libdir}
 %{_libdir}/lib*.so*
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/SDL_gfx.pc
 %ifarch amd64 sparcv9
 %dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
 %{_libdir}/%{_arch64}/lib*.so*
+%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
+%{_libdir}/%{_arch64}/pkgconfig/SDL_gfx.pc
 %endif
 %if %arch_sse2
 %dir %attr (0755, root, bin) %{_libdir}/%{sse2_arch}
 %{_libdir}/%{sse2_arch}/lib*.so*
+%dir %attr (0755, root, other) %{_libdir}/%{sse2_arch}/pkgconfig
+%{_libdir}/%{sse2_arch}/pkgconfig/SDL_gfx.pc
 %endif
 
 %files devel
@@ -108,6 +113,8 @@
 
 
 %changelog
+* Fri Aug 21 2009 - Milan Jurik
+- update to 2.0.19, pkgconfig added
 * Tue Jun 5 2007 - Doug Scott
 - Change to isabuild
 * Tue May 8 2007 - Doug Scott
Added: trunk/spec_files/SFEsweethome3d.spec
===================================================================
--- trunk/spec_files/SFEsweethome3d.spec	 (rev 0)
+++ trunk/spec_files/SFEsweethome3d.spec	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,69 @@
+#
+# spec file for package SFEsweethome3d
+#
+# includes module(s): sweethome3d
+#
+%include Solaris.inc
+
+%define src_name SweetHome3D
+%define src_ver 2.1
+
+Name:		SFEsweethome3d
+Summary:	Sweet Home 3D is a free interior design application.
+Version:	%{src_ver}
+License:	GPL, MIT, Free Art
+Group:		Application/Java
+Source:		http://prdownloads.sourceforge.net/sweethome3d/%{src_name}-%{src_ver}-linux-x86.tgz
+Source1: SweetHome3D
+Source2: http://download.java.net/media/java3d/builds/release/1.5.2/j3d-1_5_2-solaris-x86.zip
+URL:		http://www.sweethome3d.eu/index.jsp
+SUNW_BaseDir:	%{_basedir}
+BuildRoot:	%{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+Requires: SUNWj6rt
+BuildRequires: SUNWj6dev
+
+%prep
+rm -rf %{name}-%{version}
+mkdir -p %{name}-%{version}
+cd %{name}-%{version}
+gunzip -c %{SOURCE} | gtar xvf -
+unzip %{SOURCE2}
+cd j3d-1_5_2-solaris-x86
+unzip j3d-jre.zip
+
+%build
+cd %{name}-%{version}/%{src_name}-%{src_ver}
+rm lib/*.so
+cp ../j3d-1_5_2-solaris-x86/lib/i386/*.so lib
+cp ../j3d-1_5_2-solaris-x86/lib/ext/* lib
+
+%install
+cd %{name}-%{version}/%{src_name}-%{src_ver}
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{src_name}/lib
+ginstall -m 0644 lib/*.jar $RPM_BUILD_ROOT%{_libdir}/%{src_name}/lib
+ginstall -m 0555 lib/*.so $RPM_BUILD_ROOT%{_libdir}/%{src_name}/lib
+
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+cat %{SOURCE1} | sed '{
+ s#@prog@#%{src_name}#
+ s#@progdir@#%{_libdir}/%{src_name}#
+ s#@bindir@#%{_bindir}#
+}' > SweetHome3D
+ginstall -m 0555 SweetHome3D $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,bin)
+%dir %attr(755, root, bin) %{_libdir}
+%{_libdir}/*
+%dir %attr(755, root, bin) %{_bindir}
+%{_bindir}/*
+
+%changelog
+* Fri Nov 06 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/SFEvdrift.spec
===================================================================
--- trunk/spec_files/SFEvdrift.spec	 (rev 0)
+++ trunk/spec_files/SFEvdrift.spec	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,102 @@
+#
+# Copyright 2008 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+%include Solaris.inc
+
+%define cc_is_gcc 1
+%include base.inc
+
+%define year 2009
+%define month 06
+%define day 15 
+
+#
+# Due to a bug to run first 'unset LANG' for running the vdrift
+#
+
+# Download manually
+%define src_url http://downloads.sourceforge.net/vdrift
+
+%define SUNWlibsdl %(/usr/bin/pkginfo -q SUNWlibsdl && echo 1 || echo 0)
+
+Name: SFEvdrift
+Summary: VDrift is a cross-platform, open source driving simulation made with drift racing in mind
+Version: %{year}.%{month}.%{day}
+License: http://www.gnu.org/copyleft/gpl.html
+Source: %{src_url}/vdrift-%{year}-%{month}-%{day}-src.tar.bz2
+Patch1:		 vdrift-01-ncpu.diff
+Patch2:		 vdrift-02-opt.diff
+URL: https://sourceforge.net/projects/vdrift/
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: SFEboost-gpp
+BuildRequires: SFEboost-gpp-devel
+Requires: SUNWogg-vorbis
+BuildRequires: SUNWogg-vorbis-devel
+%if %SUNWlibsdl
+Requires: SUNWlibsdl
+%else 
+Requires: SFEsdl
+BuildRequires: SFEsdl-devel
+%endif
+Requires: SFEsdl-gfx
+BuildRequires: SFEsdl-gfx-devel
+Requires: SFEsdl-image
+BuildRequires: SFEsdl-image-devel
+# Currently in pending repository
+Requires: SFEglew
+BuildRequires: SFEasio-gpp
+
+%prep
+%setup -q -n vdrift-%{year}-%{month}-%{day}
+%patch1 -p1 
+%patch2 -p1 
+mv data/cars/TC6/_tc6\ performance\ notes.txt data/cars/TC6/tc6_performance_notes.txt
+
+%build
+
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+export CC=gcc
+export CXX=g++
+export CFLAGS="%gcc_optflags"
+export CXXFLAGS="%gcc_cxx_optflags -I%{_includedir}/boost/gcc4"
+export LD_OPTIONS="%_ldflags %{xorg_lib_path} %{gnu_lib_path} -lGL -lsocket -lnls -L%{_libdir}/boost/gcc4 -R%{_libdir}/boost/gcc4"
+cp SConstruct SConstruct.orig 
+cat SConstruct.orig | \
+	sed "s@'-Wall'@'-Wall', '-I%{_includedir}/boost/gcc4'@" \
+	> SConstruct
+
+scons prefix=%{_prefix} os_cxxflags=1 release=1 -j 4
+
+%install
+export CC=gcc
+export CXX=g++
+export CFLAGS="%gcc_optflags"
+export CXXFLAGS="%gcc_cxx_optflags -I%{_includedir}/boost/gcc4"
+export LD_OPTIONS="%_ldflags %{xorg_lib_path} %{gnu_lib_path} -lGL -lsocket -lnls -L%{_libdir}/boost/gcc4 -R%{_libdir}/boost/gcc4"
+rm -rf $RPM_BUILD_ROOT
+scons install release=1 prefix=%{_prefix} destdir=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_bindir}
+%dir %attr (0755,root,sys) %{_datadir}
+%{_datadir}/games
+
+%changelog
+* Fri Nov 06 2009 - Moinak Ghosh
+- Imported from SFE repo.
+* Web Sep 09 2009 - drd...@gm...
+- Updated required packages
+* Tue Sep 08 2009 - drd...@gm...
+- Initial version
Added: trunk/spec_files/SUNWgit.spec
===================================================================
--- trunk/spec_files/SUNWgit.spec	 (rev 0)
+++ trunk/spec_files/SUNWgit.spec	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,102 @@
+#
+# Copyright (c) 2008 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# spec file for package SUNWgit
+#
+# includes module(s): git
+#
+%include Solaris.inc
+
+Name: SUNWgit
+Summary: git - GNU Any to PostScript filter (root)
+Version: 1.6.5.2
+URL: http://git-scm.com/
+Source: http://kernel.org/pub/software/scm/git/git-%{version}.tar.bz2
+Source1: http://www.kernel.org/pub/software/scm/git/git-manpages-%{version}.tar.bz2
+SUNW_BaseDir: /
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%include default-depend.inc
+Requires: SUNWperl584core
+Requires: SUNWperl584usr
+Requires: SUNWlexpt
+Requires: SUNWTk
+Requires: SUNWxcu4
+Requires: SUNWbash
+Requires: SUNWTcl
+Requires: SUNWzlib
+Requires: SUNWcurl
+Requires: SUNWgzip
+
+%prep
+%setup -q -c -n %{name}-%{version}
+bunzip2 -c %{SOURCE1} | gtar xf -
+
+%build
+cd git-%{version}
+LDFLAGS="%_ldflags %{sfw_lib_path}"
+CFLAGS="%optflags -I%{sfw_inc}"
+PATH=${PATH}:%{sfw_bin}
+PERL_LIB=`/usr/perl5/bin/perl -MConfig -e 'print "$Config{installvendorarch}"'`
+export CC LDFLAGS CFLAGS PATH INSTALL
+
+(cd perl
+ [ ! -f Makefile.orig ] && cp Makefile Makefile.orig
+ rm -f Makefile
+ sed -e "s|\$(prefix)/lib|${PERL_LIB}|" \
+ -e 's|echo $(DESTDIR)|echo |' Makefile.orig > Makefile )
+
+# -e "s|.(instdir_SQ|\$(DESTDIR)&|g" 
+./configure --prefix=%{_prefix} \
+ --libexecdir=%{_libexecdir} \
+ --without-openssl
+
+DESTDIR=${RPM_BUILD_ROOT} \
+PERL_PATH=/usr/perl5/bin/perl \
+NO_PERL_MAKEMAKER=1 \
+V=1 \
+/usr/bin/gmake prefix=%{_prefix} all
+
+%install
+cd git-%{version}
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT
+DESTDIR=${RPM_BUILD_ROOT} /usr/bin/gmake prefix=%{_prefix} install
+cd ..
+
+mkdir -p $RPM_BUILD_ROOT%{_mandir}
+cp -r man* $RPM_BUILD_ROOT%{_mandir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_basedir}
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, bin) %{_mandir}
+%{_mandir}/*
+%dir %attr (0755, root, bin) %{_datadir}/gitk
+%{_datadir}/gitk/*
+%dir %attr (0755, root, bin) %{_datadir}/git-gui
+%{_datadir}/git-gui/*
+%dir %attr (0755, root, bin) %{_datadir}/git-core
+%{_datadir}/git-core/*
+
+%dir %attr (0755, root, bin) %{_basedir}/perl5
+%dir %attr (0755, root, bin) %{_basedir}/perl5/vendor_perl
+%dir %attr (0755, root, bin) %{_basedir}/perl5/vendor_perl/5.8.4
+%dir %attr (0755, root, bin) %{_basedir}/perl5/vendor_perl/5.8.4/i86pc-solaris-64int
+%attr (0444, root, bin) %{_basedir}/perl5/vendor_perl/5.8.4/i86pc-solaris-64int/*
+
+%changelog
+* Fri Feb 06 2009 - mo...@gm...
+- Initial spec (migrated and merged from SFW gate).
+
Added: trunk/spec_files/base-specs/ggz-gtk-client.spec
===================================================================
--- trunk/spec_files/base-specs/ggz-gtk-client.spec	 (rev 0)
+++ trunk/spec_files/base-specs/ggz-gtk-client.spec	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,114 @@
+#
+# spec file for package ggz-gtk-client
+#
+# Copyright 2009 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Owner: halton
+#
+
+Name: ggz-gtk-client
+License: GPLv2+
+Group: Development/Libraries
+Version: 0.0.14.1
+Release: 1
+Distribution: Java Desktop System
+Vendor: Sun Microsystems, Inc.
+URL: http://www.ggzgamingzone.org/
+Summary: Gtk+ client libraries for GGZ gaming zone
+Source: http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/%{version}/%{name}-%{version}.tar.gz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Docdir: %{_defaultdocdir}/doc
+
+
+BuildRequires: libggz-devel
+BuildRequires: ggz-client-libs-devel
+BuildRequires: gtk2-devel
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+%description
+The GGZ Gaming Zone GTK+ Client provides a GTK+ 2.x user interface
+for logging into a GGZ server, chatting with other players, and
+locating and launching game tables.
+
+%package devel
+Summary: Development files for %{name}
+Group:	 Development/Libraries
+Requires: %{name} = %{version}
+Requires: libggz-devel
+Requires: ggz-client-libs-devel
+Requires: gtk2-devel
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q
+
+%build
+%ifos linux
+if [ -x /usr/bin/getconf ]; then
+ CPUS=`getconf _NPROCESSORS_ONLN`
+fi
+%else
+ CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+%endif
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+libtoolize --force
+aclocal $ACLOCAL_FLAGS -I . -I m4 -I m4/ggz
+autoheader
+automake -a -c -f
+autoconf
+
+./configure --prefix=%{_prefix} \
+ --sysconfdir=%{_sysconfdir} \
+ --bindir=%{_bindir} \
+ --libdir=%{_libdir} \
+ --includedir=%{_includedir} \
+ --libexecdir=%{_libexecdir} \
+ --enable-static=no \
+ --with-libiconv-prefix=%{_prefix}/gnu \
+%if %debug_build
+ --enable-debug=yes \
+%else
+ --enable-debug=no \
+%endif
+
+make -j $CPUS
+
+%install
+rm -rf $RPM_BUILD_ROOT
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+make install DESTDIR=$RPM_BUILD_ROOT
+unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc README README.GGZ NEWS COPYING
+%{_bindir}/ggz-gtk
+%{_libdir}/libggz-gtk.so.*
+%{_datadir}/applications/fedora-ggz-gtk.desktop
+%{_datadir}/ggz/
+%{_mandir}/man6/ggz-gtk.6.gz
+
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libggz-gtk.so
+%{_includedir}/ggz-*.h
+
+%changelog
+* Thu Jan 15 2009 - hal...@su...
+- Initial version
Modified: trunk/spec_files/base-specs/sdl-gfx.spec
===================================================================
--- trunk/spec_files/base-specs/sdl-gfx.spec	2009年11月08日 15:19:19 UTC (rev 400)
+++ trunk/spec_files/base-specs/sdl-gfx.spec	2009年11月09日 17:35:19 UTC (rev 401)
@@ -8,7 +8,7 @@
 
 Name:			SFEsdl-gfx
 Summary: 		Graphics library for SDL
-Version:		2.0.16
+Version:		2.0.19
 Source: 		http://www.ferzkopp.net/Software/%{src_name}-2.0/%{src_name}-%{version}.tar.gz
 BuildRoot:		%{_tmppath}/%{name}-%{version}-build
 
@@ -38,6 +38,8 @@
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Fri Aug 21 2009 - Milan Jurik
+- update to 2.0.19
 * Wed Oct 3 2007 - day...@us...
 - Move src_url into Source so that the --download option works.
 * Tue Jun 5 2007 - Doug Scott
Added: trunk/spec_files/ext-sources/FindBoost.cmake
===================================================================
--- trunk/spec_files/ext-sources/FindBoost.cmake	 (rev 0)
+++ trunk/spec_files/ext-sources/FindBoost.cmake	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,25 @@
+# - Try to find Boost include dirs and libraries
+#
+# Please see the Documentation for Boost in the CMake Manual for details
+# This module only forwards to the one included in cmake for compatibility
+# reasons.
+
+# This call is kept for compatibility of this module with CMake 2.6.2, which
+# only knows about Boost < 1.37.
+# Note: Do _not_ add new Boost versions here, we're trying to get rid
+# of this module in kdelibs, but thats only possible if there's a CMake-included
+# version that finds all modules that this file finds.
+# Instead add a similar call with newer version numbers to the CMakeLists.txt
+# in your project before calling find_package(Boost)
+#
+# Copyright (c) 2009 Andreas Pakulat <ap...@gm...>
+#
+# Redistribution AND use is allowed according to the terms of the New
+# BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
+set( Boost_ADDITIONAL_VERSIONS ${Boost_ADDITIONAL_VERSIONS} "1.37" )
+
+include(${CMAKE_ROOT}/Modules/FindBoost.cmake)
+
Added: trunk/spec_files/ext-sources/SweetHome3D
===================================================================
--- trunk/spec_files/ext-sources/SweetHome3D	 (rev 0)
+++ trunk/spec_files/ext-sources/SweetHome3D	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Retrieve Sweet Home 3D directory
+PROGRAM=@prog@
+PROGRAM_DIR=@progdir@
+
+# Run Sweet Home 3D
+exec @bindir@/java -classpath "$PROGRAM_DIR"/lib/SweetHome3D.jar:"$PROGRAM_DIR"/lib/Furniture.jar:"$PROGRAM_DIR"/lib/Textures.jar:"$PROGRAM_DIR"/lib/Help.jar:"$PROGRAM_DIR"/lib/Loader3DS1_2u.jar:"$PROGRAM_DIR"/lib/iText-2.1.5.jar:"$PROGRAM_DIR"/lib/freehep-vectorgraphics-svg-2.1.1.jar:"$PROGRAM_DIR"/lib/sunflow-0.07.3b.jar:"$PROGRAM_DIR"/lib/j3dcore.jar:"$PROGRAM_DIR"/lib/j3dutils.jar:"$PROGRAM_DIR"/lib/vecmath.jar:/usr/java/jre/lib/javaws.jar -Djava.library.path="$PROGRAM_DIR"/lib -Xmx1024m com.eteks.sweethome3d.SweetHome3D -open 1ドル
Property changes on: trunk/spec_files/ext-sources/SweetHome3D
___________________________________________________________________
Added: svn:executable
 + *
Modified: trunk/spec_files/ext-sources/apache2/modules/apxs-dtrace.ksh93
===================================================================
--- trunk/spec_files/ext-sources/apache2/modules/apxs-dtrace.ksh93	2009年11月08日 15:19:19 UTC (rev 400)
+++ trunk/spec_files/ext-sources/apache2/modules/apxs-dtrace.ksh93	2009年11月09日 17:35:19 UTC (rev 401)
@@ -39,6 +39,7 @@
 INCLUDES=""
 
 do_apxs() {
+ MFLAG="1ドル"
 export LTFLAGS="--silent --tag=CC"
 apxs_bin=${ROOT}/usr/apache2/2.2/bin/${APXS}
 
@@ -47,12 +48,26 @@
 LDFLAGS_SHLIB="${LDFLAGS_SHLIB} -R ${APCH_LIBEXEC}"
 
 (cd ${MDIR}
+ echo "${apxs_bin} -S CC=${CC} -c -o ${MODULE} ${INCLUDES} ${SRC}"
 ${apxs_bin} \
 	 -S CC=${CC} \
 	 -c -o ${MODULE} ${INCLUDES} ${SRC}
+
+ echo "cp .libs/mod_dtrace.o ."
 cp .libs/mod_dtrace.o .
+
+ echo "${DTRACE} -o apache.o -s apache.d mod_dtrace.o"
 ${DTRACE} -o apache.o -s apache.d mod_dtrace.o
- ${CC} -M mapfile ${CFLAGS} -KPIC -G ${LDFLAGS_SHLIB} -o .libs/${MODULE} mod_dtrace.o apache.o
+
+ echo "${CC}" | grep gcc > /dev/null
+ if [ $? -eq 0 ]
+ then
+ echo "${CC} -Wl,-Mmapfile ${CFLAGS} $MFLAG -fPIC -DPIC -shared ${LDFLAGS_SHLIB} -o .libs/${MODULE} mod_dtrace.o apache.o"
+ ${CC} -Wl,-Mmapfile ${CFLAGS} $MFLAG -fPIC -DPIC -shared ${LDFLAGS_SHLIB} -o .libs/${MODULE} mod_dtrace.o apache.o
+ else
+ echo "${CC} -M mapfile ${CFLAGS} -KPIC -G ${LDFLAGS_SHLIB} -o .libs/${MODULE} mod_dtrace.o apache.o"
+ ${CC} -M mapfile ${CFLAGS} -KPIC -G ${LDFLAGS_SHLIB} -o .libs/${MODULE} mod_dtrace.o apache.o
+ fi
 )
 }
 
@@ -65,15 +80,17 @@
 MDIR="${VER}-64"
 DTRACE="/usr/sbin/dtrace -64 -G"
 APCH_LIBEXEC="${APACHE_VAR_PREFIX}/libexec/${MACH64}"
+ MFLAG="-m64"
 else
 MDIR="${VER}-32"
 DTRACE="/usr/sbin/dtrace -32 -G"
 APCH_LIBEXEC="${APACHE_VAR_PREFIX}/libexec"
+ MFLAG=""
 fi
 ;;
 esac
 done
 
-do_apxs
+do_apxs "$MFLAG"
 
 exit 0
Added: trunk/spec_files/ext-sources/apr-wrapper.h
===================================================================
--- trunk/spec_files/ext-sources/apr-wrapper.h	 (rev 0)
+++ trunk/spec_files/ext-sources/apr-wrapper.h	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,10 @@
+/* This file is here to prevent a file conflict on multiarch systems. A
+ * conflict will occur because apr.h has arch-specific definitions.
+ *
+ * DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */
+
+#if defined(_LP64)
+#include "apr-64.h"
+#else
+#include "apr-i386.h"
+#endif
Added: trunk/spec_files/ext-sources/nexuiz
===================================================================
--- trunk/spec_files/ext-sources/nexuiz	 (rev 0)
+++ trunk/spec_files/ext-sources/nexuiz	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,27 @@
+#!/bin/bash
+#
+# Copyright 2009 Andras Barna <and...@gm...>
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+# MA 02110-1301, USA.
+#
+
+NEXUIZ="/usr/share/nexuiz/nexuiz-glx"
+if [ -x $NEXUIZ ]; then
+ exec $NEXUIZ -basedir /usr/share/nexuiz
+else
+ echo "$NEXUIZ: not found"
+fi
+
Added: trunk/spec_files/ext-sources/nexuiz.desktop
===================================================================
--- trunk/spec_files/ext-sources/nexuiz.desktop	 (rev 0)
+++ trunk/spec_files/ext-sources/nexuiz.desktop	2009年11月09日 17:35:19 UTC (rev 401)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Nexuiz
+Comment=A networked 3D first person shooter game with high-quality graphic effects
+Comment[de]=Ein netzwerkfähiges 3D Ego-Shooter Spiel mit aufwändigen Grafikeffekten
+Comment[fr_FR]=Un Ego-Shooter en 3D pouvant être joué en réseau
+Exec=nexuiz
+Icon=nexuiz
+Terminal=false
+Type=Application
+Categories=Game
Modified: trunk/spec_files/ext-sources/osol_builder
===================================================================
--- trunk/spec_files/ext-sources/osol_builder	2009年11月08日 15:19:19 UTC (rev 400)
+++ trunk/spec_files/ext-sources/osol_builder	2009年11月09日 17:35:19 UTC (rev 401)
@@ -8,10 +8,22 @@
 	exit 1
 fi
 
+if [ "1ドル" = "-p" ]
+then
+	shift
+	ON_PATCH_URL="1ドル"
+	shift
+fi
+
 PATH=/opt/onbld/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/usr/sfw/bin
 export PATH
 PKGSRV=http://pkg.opensolaris.org/dev
-ON_PATCH_URL=http://belenix.svn.sourceforge.net/viewvc/belenix/trunk/misc/ext-patches/ON_patches.tar.gz?view=tar
+if [ "x$OSOL_DL_URL" = "x" ]
+then
+	OSOL_DL_URL=http://dlc.sun.com/osol/on/downloads
+	export OSOL_DL_URL
+fi
+
 unalias ls
 unset LS_COLORS
 rm -f /tmp/catalog
@@ -137,6 +149,8 @@
 		then
 			get_file SUNWhea usr/include/sys/localedef.h
 			get_file SUNWhea usr/include/sys/lc_core.h
+		else
+			pkg install SUNWhea
 		fi
 	else
 		printf "found\n"
@@ -149,28 +163,84 @@
 		spkg install SUNWuiu8
 		spkg install SUNWtss
 		spkg install SUNWpostgr-83-devel
+		spkg install SUNWpostgr-83-libs
 		spkg install SUNWsmagt-devel
+		spkg install SUNWhea
+		spkg install SUNWzoneu
+		spkg install SUNWzoneint
+		spkg install SUNWprd
+		spkg install SUNWtlsd
+		spkg install SUNWapch22u
+		spkg install SUNWastdev
 	else
-		pkg install SUNWsvn SUNWbtool SUNWj6cfg SUNWgnu-automake-19 SUNWj6rt SUNWaconf SUNWmercurial SUNWlibtool SUNWgnu-automake-110 SUNWj6rtx SUNWgmake SUNWj6dvx SUNWsprot SUNWbison SUNWj6dev SUNWflexlex SUNWcvs SUNWtss SUNWpostgr-83-devel SUNWsmagt
+		pkg install SUNWsvn SUNWbtool SUNWj6cfg SUNWgnu-automake-19 SUNWj6rt SUNWaconf SUNWmercurial SUNWlibtool SUNWgnu-automake-110 SUNWj6rtx SUNWgmake SUNWj6dvx SUNWsprot SUNWbison SUNWj6dev SUNWflexlex SUNWcvs SUNWtss SUNWpostgr-83-devel SUNWsmagt SUNWcpp SUNWuiu8 SUNWzone SUNWprd SUNWtlsd SUNWgcc SUNWapch SUNWsfwhea SUNWpostgr-83-libs SUNWastdev
 	fi
 	rm -f /tmp/catalog
 	rm -rf /tmp/pkglocal
 
-	printf "*** Fetching necessary patches\n"
-	if [ ! -d /var/osol_builder ]
+	if [ "x$ON_PATCH_URL" != "x" ]
 	then
-		mkdir /var/osol_builder
+		printf "*** Fetching necessary patches\n"
+		if [ ! -d /var/osol_builder ]
+		then
+			mkdir /var/osol_builder
+		fi
+		wget $ON_PATCH_URL -O /var/osol_builder/ON_Patches.tar.gz
+		(cd /var/osol_builder/
+	 	gunzip -c ON_Patches.tar.gz | tar xf -)
 	fi
-	wget $ON_PATCH_URL -O /var/osol_builder/ON_Patches.tar.gz
-	(cd /var/osol_builder/
-	 gunzip -c ON_Patches.tar.gz | tar xf -)
 	exit 0
 fi
 
+#
+# Setup a build workspace in the layout that osol_builder expects.
+#
+setup_wksp() {
+	DIR="1ドル"
+
+	mkdir -p ${DIR}/downloads
+	mkdir -p ${DIR}/patches/on_patches
+	mkdir -p ${DIR}/patches/xvm_patches
+}
+
+download_build() {
+	DIR="1ドル"
+	buildid=2ドル
+
+	cd $DIR/downloads
+	wget $OSOL_DL_URL/$buildid/on-src.tar.bz2
+	[ $? -ne 0 ] && echo "Wget failed"
+	wget $OSOL_DL_URL/$buildid/xvm-src.tar.bz2
+	[ $? -ne 0 ] && echo "Wget failed"
+	wget $OSOL_DL_URL/$buildid/SUNWonbld.i386.tar.bz2
+	[ $? -ne 0 ] && echo "Wget failed"
+	wget $OSOL_DL_URL/$buildid/on-closed-bins-nd.i386.tar.bz2
+	[ $? -ne 0 ] && echo "Wget failed"
+}
+
+
 if [ "1ドル" = "build" ]
 then
 	shift
 	exec /usr/bin/osol_builder.py "$@"
+
+elif [ "1ドル" = "prepare" ]
+then
+	shift
+	wkspdir="1ドル"
+	if [ "x$wkspdir" = "x" ]
+	then
+		echo "0ドル prepare <Workspace Dir> [<osol build id>]"
+		exit 1
+	fi
+	buildid="2ドル"
+	setup_wksp "$wkspdir"
+
+	if [ "x$buildid" != "x" ]
+	then
+		download_build "$wkspdir" $buildid
+	fi
+	exit 0
 fi
 
 if [ "x1ドル" = "x" ]
Modified: trunk/spec_files/ext-sources/osol_builder.py
===================================================================
--- trunk/spec_files/ext-sources/osol_builder.py	2009年11月08日 15:19:19 UTC (rev 400)
+++ trunk/spec_files/ext-sources/osol_builder.py	2009年11月09日 17:35:19 UTC (rev 401)
@@ -48,7 +48,7 @@
 	This is the main workspace instance that validates directories, patches and flags and builds.
 	"""
 
-	def __init__(self, basedir, distroname, arch, incremental):
+	def __init__(self, basedir, distroname, arch, incremental, consolidations):
 		self.basedir = basedir
 		self.distroname = distroname
 		self.arch = arch
@@ -67,6 +67,7 @@
 		self.incremental = incremental
 		self.nightly_attrs = []
 		self.patchdir = "/var/osol_builder/ON_patches"
+		self.consolidations = consolidations
 
 	def check(self):
 		print "*** Checking workspace\n"
@@ -76,12 +77,15 @@
 			raise BLDError(_(self.downloads + " directory not found"))
 		if not os.path.isdir(self.patches):
 			raise BLDError(_(self.patches + " directory not found"))
-		if not os.path.isfile(self.on_src):
-			raise BLDError(_(self.on_src + " not found"))
-		if not os.path.isfile(self.on_closed_bins):
-			raise BLDError(_(self.on_closed_bins + " not found"))
-		if not os.path.isfile(self.xvm_src):
-			raise BLDError(_(self.xvm_src + " not found"))
+
+		if "ON" in self.consolidations:
+			if not os.path.isfile(self.on_src):
+				raise BLDError(_(self.on_src + " not found"))
+			if not os.path.isfile(self.on_closed_bins):
+				raise BLDError(_(self.on_closed_bins + " not found"))
+		if "XVM" in self.consolidations:
+			if not os.path.isfile(self.xvm_src):
+				raise BLDError(_(self.xvm_src + " not found"))
 		if not os.path.isfile(self.sunwonbld_pkg):
 			raise BLDError(_(self.sunwonbld_pkg + " not found"))
 		if not os.path.isfile("/opt/SUNWspro/bin/cc"):
@@ -232,6 +236,8 @@
 		 os.path.join(self.on_patches, "Makefiles.diff"))
 		shutil.copyfile(os.path.join(self.patchdir, "nightly.options"), \
 		 os.path.join(self.patches, "nightly.options"))
+		shutil.copyfile(os.path.join(self.patchdir, "rip_wbem.script"), \
+		 os.path.join(self.on_patches, "rip_wbem.script"))
 
 		pwd = os.getcwd()
 		os.chdir(self.on_ws)
@@ -296,44 +302,52 @@
 		#
 		# Extract ON source
 		#
-		isonsrc = True
-		if not os.path.exists(self.on_ws):
-			os.mkdir(self.on_ws)
-			isonsrc = False
-		else:
-			if not self.incremental:
-				print "*** [" + str(time.time()) + \
-				 "]: Cleaning up " + self.on_ws + "\n"
-				shutil.rmtree(self.on_ws)
+		if "ON" in self.consolidations:
+			isonsrc = True
+			if not os.path.exists(self.on_ws):
 				os.mkdir(self.on_ws)
+				isonsrc = False
+			else:
+				if not self.incremental:
+					tm = time.strftime("%b %d %Y %H;%M", time.localtime())
+					print "*** [" + tm + \
+					 "]: Cleaning up " + self.on_ws + "\n"
+					shutil.rmtree(self.on_ws)
+					os.mkdir(self.on_ws)
 
-		if not self.incremental or not isonsrc:
-			print "*** [" + str(time.time()) + \
-			 "]: Extracting ON source into " + self.on_ws + "\n"
-			self.extract_tar(self.on_src, self.on_ws)
-			self.extract_tar(self.on_closed_bins, self.on_ws)
-			print "*** [" + str(time.time()) + "]: Done extracting ON source. \n"
+			if not self.incremental or not isonsrc:
+				tm = time.strftime("%b %d %Y %H;%M", time.localtime())
+				print "*** [" + tm + \
+				 "]: Extracting ON source into " + self.on_ws + "\n"
+				self.extract_tar(self.on_src, self.on_ws)
+				self.extract_tar(self.on_closed_bins, self.on_ws)
+				tm = time.strftime("%b %d %Y %H;%M", time.localtime())
+				print "*** [" + tm + "]: Done extracting ON source. \n"
 
 		#
 		# Extract XVM source
 		#
-		isxvmsrc = True
-		if not os.path.exists(self.xvm_ws):
-			os.mkdir(self.xvm_ws)
-			isxvmsrc = False
-		else:
-			if not self.incremental:
-				print "*** [" + str(time.time()) + \
-				 "]: Cleaning up " + self.xvm_ws + "\n"
-				shutil.rmtree(self.xvm_ws)
+		if "XVM" in self.consolidations:
+			isxvmsrc = True
+			if not os.path.exists(self.xvm_ws):
 				os.mkdir(self.xvm_ws)
+				isxvmsrc = False
+			else:
+				if not self.incremental:
+					tm = time.strftime("%b %d %Y %H;%M", time.localtime())
+					print "*** [" + tm + \
+					 "]: Cleaning up " + self.xvm_ws + "\n"
+					shutil.rmtree(self.xvm_ws)
+					os.mkdir(self.xvm_ws)
 
-		if not self.incremental or not isxvmsrc:
-			count = 1
-			print "*** [" + str(time.time()) + \
-			 "]: Extracting XVM source into " + self.xvm_ws + "\n"
-			self.extract_tar(self.xvm_src, self.xvm_ws)
-			print "*** [" + str(time.time()) + "]: Done extracting XVM source. \n"
+			if not self.incremental or not isxvmsrc:
+				count = 1
+				tm = time.strftime("%b %d %Y %H;%M", time.localtime())
+				print "*** [" + tm + \
+				 "]: Extracting XVM source into " + self.xvm_ws + "\n"
+				self.extract_tar(self.xvm_src, self.xvm_ws)
+				tm = time.strftime("%b %d %Y %H;%M", time.localtime())
+				print "*** [" + tm + "]: Done extracting XVM source. \n"
 	
 		#
 		# Extract and install SUNWonbld
@@ -366,110 +380,114 @@
 		#
 		# Apply ON patches
 		#
-		print "*** Applying ON patches ..."
-		self.patch_on(isonsrc)
+		if "ON" in self.consolidations:
+			print "*** Applying ON patches ..."
+			self.patch_on(isonsrc)
 
 		#
 		# Some environmental setup
 		#
-		self.write_hgrc()
-		self.fixup_tools()
+		if "XVM" in self.consolidations:
+			self.write_hgrc()
+			self.fixup_tools()
 
-		#
-		# Prepare XVM dir
-		#
-		print "*** Preparing XVM source ..."
-		pwd = os.getcwd()
-		os.chdir(self.xvm_ws)
-		cmd = 'ws xen.hg -c "hg qpush -a"'
-		pipe = Popen(cmd, shell=True, stdout=None, stderr=None, close_fds=False)
-		rt = pipe.wait()
-		if rt != 0:
-			raise BLDError(cmd + " failed.")
-		os.chdir(pwd)
+			#
+			# Prepare XVM dir
+			#
+			print "*** Preparing XVM source ..."
+			pwd = os.getcwd()
+			os.chdir(self.xvm_ws)
+			cmd = 'ws xen.hg -c "hg qpush -a"'
+			pipe = Popen(cmd, shell=True, stdout=None, stderr=None, close_fds=False)
+			rt = pipe.wait()
+			if rt != 0:
+				raise BLDError(cmd + " failed.")
+			os.chdir(pwd)
 
-		print "*** Patching XVM source ..."
-		self.patch_xvm()
+			print "*** Patching XVM source ..."
+			self.patch_xvm()
 
 	def do_build(self):
 		"""
 		Run all the builds with fingers crossed!
 		"""
 
-		#
-		# First run ON build
-		#
-		pwd = os.getcwd()
-		os.chdir(self.on_ws)
+		if "ON" in self.consolidations:
+			#
+			# First run ON build
+			#
+			pwd = os.getcwd()
+			os.chdir(self.on_ws)
 
-		if self.incremental:
-			print "*** Running nightly ON incremental build"
-			cmd = "nightly -i ./opensolaris.sh"
-		else:
-			print "*** Running nightly ON full build"
-			cmd = "nightly ./opensolaris.sh"
-		pipe = Popen(cmd, shell=True, stdout=None, stderr=None, close_fds=False)
-		rt = pipe.wait()
-		if rt != 0:
-			raise BLDError("ON nightly build failed.")
+			if self.incremental:
+				print "*** Running nightly ON incremental build"
+				cmd = "nightly -i ./opensolaris.sh"
+			else:
+				print "*** Running nightly ON full build"
+				cmd = "nightly ./opensolaris.sh"
+			pipe = Popen(cmd, shell=True, stdout=None, stderr=None, close_fds=False)
+			rt = pipe.wait()
+			if rt != 0:
+				raise BLDError("ON nightly build failed.")
 
-		#
-		# Now massage ON pkgdefs
-		#
-		self.process_pkgdefs()
-		os.chdir(self.on_ws)
+			#
+			# Now massage ON pkgdefs
+			#
+			self.process_pkgdefs()
+			os.chdir(self.on_ws)
 
-		#
-		# We want ksh93 for /sbin/sh and /usr/bin/ksh
-		#
-		proto = os.path.join(self.on_ws, "proto/root_" + self.arch)
-		sbin_sh = os.path.join(proto, "sbin/sh")
-		bin_ksh = os.path.join(proto, "usr/bin/ksh")
-		ksh93 = os.path.join(proto, "usr/bin/i86/ksh93")
-		shutil.copyfile(ksh93, sbin_sh)
-		try:
-			os.unlink(bin_ksh)
-		except:
-			pass
-		shutil.copyfile(ksh93, bin_ksh)
+			#
+			# We want ksh93 for /sbin/sh and /usr/bin/ksh
+			#
+			proto = os.path.join(self.on_ws, "proto/root_" + self.arch)
+			sbin_sh = os.path.join(proto, "sbin/sh")
+			bin_ksh = os.path.join(proto, "usr/bin/ksh")
+			ksh93 = os.path.join(proto, "usr/bin/i86/ksh93")
+			shutil.copyfile(ksh93, sbin_sh)
+			try:
+				os.unlink(bin_ksh)
+			except:
+				pass
+			shutil.copyfile(ksh93, bin_ksh)
 
-		#
-		# Now replace some files in the proto dir for a properly functional distro
-		#
-		proto_replace = os.path.join(self.patchdir, "proto_replace")
-		if os.path.isdir(proto_replace):
-			lf = open(os.path.join(proto_replace, "proto_replace.files"), "r")
-			for line in lf:
-				print line
-				path = line.strip()
-				src_path = os.path.join(proto_replace, path)
-				proto_path = os.path.join(proto, path)
-				shutil.copyfile(src_path, proto_path)
-			lf.close()
+			#
+			# Now replace some files in the proto dir for a properly functional distro
+			#
+			proto_replace = os.path.join(self.patchdir, "proto_replace")
+			if os.path.isdir(proto_replace):
+				lf = open(os.path.join(proto_replace, "proto_replace.files"), "r")
+				for line in lf:
+					print line
+					path = line.strip()
+					src_path = os.path.join(proto_replace, path)
+					proto_path = os.path.join(proto, path)
+					shutil.copyfile(src_path, proto_path)
+				lf.close()
 
-		#
-		# Build ON packages
-		#
-		cmd = "bldenv ./opensolaris.sh 'cd usr/src/pkgdefs; make install'"
-		pipe = Popen(cmd, shell=True, stdout=None, stderr=None, close_fds=False)
-		rt = pipe.wait()
-		if rt != 0:
-			raise BLDError("ON package build failed.")
-		os.chdir(pwd)
+			#
+			# Build ON packages
+			#
+			cmd = "bldenv ./opensolaris.sh 'cd usr/src/pkgdefs; make install'"
+			pipe = Popen(cmd, shell=True, stdout=None, stderr=None, close_fds=False)
+			rt = pipe.wait()
+			if rt != 0:
+				raise BLDError("ON package build failed.")
+			os.chdir(pwd)
 
-		#
-		# Run XVM build
-		#
-		print "*** Running XVM build ..."
-		os.chdir(self.xvm_ws)
-		cmd = "EMAIL=nobody@localhost; export EMAIL;"
-		cmd += " XVM_WS=%s; export XVM_WS;" % self.xvm_ws
-		cmd += " EDITOR=/usr/bin/vi; export EDITOR;"
-		cmd += ' ws sunos.hg -c "./bin/build-all nondebug"'
-		pipe = Popen(cmd, shell=True, stdout=None, stderr=None, close_fds=False)
-		rt = pipe.wait()
-		if rt != 0:
-			raise BLDError("XVM build failed")
+		if "XVM" in self.consolidations:
+			#
+			# Run XVM build
+			#
+			print "*** Running XVM build ..."
+			os.chdir(self.xvm_ws)
+			cmd = "EMAIL=nobody@localhost; export EMAIL;"
+			cmd += " XVM_WS=%s; export XVM_WS;" % self.xvm_ws
+			cmd += " EDITOR=/usr/bin/vi; export EDITOR;"
+			cmd += ' ws sunos.hg -c "./bin/build-all nondebug"'
+			pipe = Popen(cmd, shell=True, stdout=None, stderr=None, close_fds=False)
+			rt = pipe.wait()
+			if rt != 0:
+				raise BLDError("XVM build failed")
 
 	def process_pkgdefs(self):
 		"""
@@ -709,7 +727,7 @@
 	Check system for presence of prerequsities for buildi...
 
[truncated message content]
From: belenix-notify <bel...@li...> - 2009年11月08日 15:19:31
Revision: 400
 http://belenix.svn.sourceforge.net/belenix/?rev=400&view=rev
Author: moinakg
Date: 2009年11月08日 15:19:19 +0000 (2009年11月08日)
Log Message:
-----------
l10 files from JDS repo, set #11.
Added Paths:
-----------
 trunk/spec_files/jds/po-sun/gdm/
 trunk/spec_files/jds/po-sun/gdm/po-sun/
 trunk/spec_files/jds/po-sun/gdm/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/de.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/es.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/gdm-sun.pot
 trunk/spec_files/jds/po-sun/gdm/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/it.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gdm/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/gimp/
 trunk/spec_files/jds/po-sun/gimp/po-sun/
 trunk/spec_files/jds/po-sun/gimp/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/de.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/es.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/gimp-sun.pot
 trunk/spec_files/jds/po-sun/gimp/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/it.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gimp/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/gnome-control-center/
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/control-center-sun.pot
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/de.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/es.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/it.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gnome-control-center/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/de.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/es.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/gnome-netstatus-sun.pot
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/it.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gnome-netstatus/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/gnome-utils/
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/de.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/es.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/gnome-utils-sun.pot
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/it.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gnome-utils/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/gtkam/
 trunk/spec_files/jds/po-sun/gtkam/po-sun/
 trunk/spec_files/jds/po-sun/gtkam/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/de.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/es.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/gtkam-sun.pot
 trunk/spec_files/jds/po-sun/gtkam/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/it.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gtkam/po-sun/zh_TW.po
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/cs.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/cs.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/cs.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,60 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr "A-M|Gruzínština"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr "A-M|Kazaština"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "N-Z|Španělsky (USA)"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "Toto sezení vás přihlásí do Java Desktop System"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "Záchranné _Java Desktop System"
+
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Záchranné Java Desktop System"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "Toto je záchranné sezení, které vám umožní přihlášení do prostředí Java "
+#~ "Desktop System. Nebudou provedeny žádné startovací skripty; toto sezení "
+#~ "by mělo být použito pouze tehdy, pokud není možné se přihlásit jinak. "
+#~ "Prostředí Java Desktop System bude použito jako 'Výchozí' sezení."
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/de.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/de.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/de.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,76 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2008年10月14日 12:25+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr "A-M|Georgisch"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr "A-M|Kasachisch"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "N-Z|Spanisch (USA)"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session in a desktop window without logging out"
+#~ msgstr ""
+#~ "Anmelden bei einer anderen Sitzung ohne Abmelden in einem Desktop-Fenster"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session without logging out"
+#~ msgstr "Anmelden bei einer anderen Sitzung ohne Abmelden"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "Diese Sitzung meldet Sie an Java Desktop System an"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "_Java Desktop System (abgesichert)"
+
+# SUN_BRANDING
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Java Desktop System (abgesichert)"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "Dies ist eine abgesicherte Sitzung, die Sie bei Java Desktop System "
+#~ "anmeldet. Startskripte werden nicht gelesen - diese Sitzung sollte nur "
+#~ "verwendet werden, falls Sie sich nicht anders anmelden können. Java "
+#~ "Desktop System wird die Vorgabesitzung verwenden."
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/es.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/es.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/es.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,78 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2008年10月15日 11:09+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr "A-M|Georgiano"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr "A-M|Kazako"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "A-M|Español (USA)"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session in a desktop window without logging out"
+#~ msgstr ""
+#~ "Inicia otra sesión en una ventana de escritorio sin salir de la sesión "
+#~ "actual"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session without logging out"
+#~ msgstr ""
+#~ "Iniciar otra sesión en una ventana de escritorio sin salir de la sesión "
+#~ "actual"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "Esta sesión accede a Java Desktop System"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "_Java Desktop System a prueba de fallos"
+
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Java Desktop System a prueba de fallos"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "Esto es una sesión a prueba de fallos que le permitirá acceder a Java "
+#~ "Desktop System. No se leerán scripts de inicio y solamente se usa cuando "
+#~ "no puede entrar de ningún otro modo. Java Desktop System utilizará la "
+#~ "sesión «Predeterminada»."
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/fr.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/fr.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/fr.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,76 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2008年10月14日 17:47+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr "A-M|Géorgien"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr "A-M|Kazakh"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "A-M|Espagnol (USA)"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session in a desktop window without logging out"
+#~ msgstr ""
+#~ "Connexion à une autre session dans une fenêtre de bureau sans se "
+#~ "déconnecter"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session without logging out"
+#~ msgstr "Connexion à une autre session sans se déconnecter"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "Cette session vous connectera dans Java Desktop System"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "Session de secours _Java Desktop System"
+
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Session de secours Java Desktop System"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "C'est une session de secours qui vous connectera dans Java Desktop "
+#~ "System. Aucun script de démarrage ne sera lu, cette session n'est "
+#~ "utilisée que lorsque vous ne pouvez pas vous connecter autrement. Java "
+#~ "Desktop System utilisera la session « Default »."
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/gdm-sun.pot
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/gdm-sun.pot	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/gdm-sun.pot	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,41 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL...@li...>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+# SUN_BRANDING
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr ""
+
+# SUN_BRANDING
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr ""
+
+# SUN_BRANDING
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/hu.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/hu.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/hu.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,60 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr "A-M|Grúz"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr "A-M|Kazak"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "N-Z|Spanyol (USA)"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "Ez a környezet a Java Desktop System-ba jelentkezteti be"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "Csökkentett _Java Desktop System"
+
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Csökkentett Java Desktop System"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "Ez egy csökkentett munkamenet, amely a Java Desktop System-ba fogja "
+#~ "bejelentkeztetni. A rendszerindítási parancsfájlok nem lesznek beolvasva "
+#~ "és csak akkor használja, ha nem tud más módon bejelentkezni. A Java "
+#~ "Desktop System az alapértelmezett munkamenetet fogja használni."
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/it.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/it.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/it.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,76 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2008年10月14日 18:25+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr "A-M|Georgiano"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr "A-M|Kazako"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "N-Z|Spagnolo (USA)"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session in a desktop window without logging out"
+#~ msgstr ""
+#~ "Esegue il login a un'altra sessione in una finestra del desktop senza "
+#~ "eseguire il logout"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session without logging out"
+#~ msgstr "Esegui il login a un'altra sessione senza eseguire il logout"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "Sessione di lavoro con Java Desktop System"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "_Java Desktop System d'emergenza"
+
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Java Desktop System d'emergenza"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "Questa è una sessione d'emergenza che vi farà accedere a Java Desktop "
+#~ "System. Non saranno eseguiti gli script di avvio, serve solo per "
+#~ "effettuare l'accesso quando non ci sono altri modi per farlo. Java "
+#~ "Desktop System utilizzerà la sessione \"Predefinita\"."
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/ja.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/ja.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/ja.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,76 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr "A-M|グルジア語"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr "A-M|カザーフ語"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "N-Z|スペイン語 (USA)"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN TECH REVIEWED
+# SUN LING REVIEWED
+#~ msgid "Log in to another session in a desktop window without logging out"
+#~ msgstr ""
+#~ "ログアウトせずに、デスクトップウィンドウ内の別のセッションにログインします"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN TECH REVIEWED
+# SUN LING REVIEWED
+#~ msgid "Log in to another session without logging out"
+#~ msgstr "ログアウトせずに、別のセッションにログインします"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "Java Desktop System セッションにログインします"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "フェイルセーフの Java Desktop System(_J)"
+
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "フェイルセーフの Java Desktop System"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "これは Java Desktop System にログインするフェイルセーフのセッションで、起"
+#~ "動スクリプトは読み込まず、他の方法ではログインできない場合にだけ使用しま"
+#~ "す (Java Desktop System は 'デフォルト' セッションを使用します)"
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/ko.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/ko.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/ko.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,72 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr ""
+
+# SUN_BRANDING
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr ""
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "ᄀ-ᄉ|스페인어 (USA)"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session in a desktop window without logging out"
+#~ msgstr "로그아웃하지 않고 바탕화면 창에서 다른 세션에 로그인합니다."
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session without logging out"
+#~ msgstr "로그아웃하지 않고 다른 세션에 로그인합니다."
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "Java Desktop System 세션으로 로그인합니다"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "Java Desktop System 안전모드(_J)"
+
+# SUN_BRANDING
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Java Desktop System 안전모드"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "Java Desktop System 에 로그인하는 안전모드 세션입니다. 시작 스크립트를 읽"
+#~ "지 않으며 다른 방법으로 로그인할 수 없을 때만 사용됩니다. Java Desktop "
+#~ "System 은 '기본값' 세션을 사용할 것입니다."
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/pl.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/pl.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/pl.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,62 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr "A-M|Gruziński"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr "A-M|Kazaski"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "A-M|Hiszpański (USA)"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "Sesja logowania do Java Desktop System"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "Awaryjny _Java Desktop System"
+
+# SUN_BRANDING
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Awaryjny Java Desktop System"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "To jest awaryjna sesja, umożliwiająca zalogowanie do Java Desktop System. "
+#~ "Przy jej wykorzystaniu nie będą jednak odczytywane żadne skrypty "
+#~ "startowe, więc powinna być ona używana tylko, jeśli niemożliwe jest "
+#~ "zalogowanie się w inny sposób. Java Desktop System użyje sesji \"Default"
+#~ "\"."
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/pt_BR.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/pt_BR.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/pt_BR.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,77 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2008年10月14日 17:07+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr "A-M|Georgiano"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr "A-M|Kazakh"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "N-Z|Espanhol (USA)"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session in a desktop window without logging out"
+#~ msgstr ""
+#~ "Efetuar login em outra sessão em uma janela da área de trabalho sem "
+#~ "efetuar logoff"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session without logging out"
+#~ msgstr "Efetuar login em outra sessão sem efetuar logoff"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "Inicia uma sessão no Java Desktop System"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "_Java Desktop System no Modo de Segurança"
+
+# SUN_BRANDING
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Java Desktop System no Modo de Segurança"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "Esta é uma sessão de segurança que iniciará o ambiente Java Desktop "
+#~ "System. Nenhum dos scripts de inicialização serão lidos e ela será "
+#~ "utilizada apenas quando você não puder iniciar nenhuma outra. O Java "
+#~ "Desktop System usará a sessão 'Padrão'."
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/ru.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/ru.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/ru.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,61 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr "А-О|Грузинский"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr "А-О|Казахскийказахский"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "А-О|Испанский (USA)"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "Начать сеанс Java Desktop System"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "_Java Desktop System (защищённый от сбоев)"
+
+# SUN_BRANDING
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Java Desktop System (защищённый от сбоев)"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "В этом защищённом от сбоев сеансе вы попадете в среду Java Desktop "
+#~ "System. Скрипты запуска не будут прочитаны. Сеанс следует использовать, "
+#~ "если не удается войти иначе. Среда Java Desktop System будет использовать "
+#~ "\"Исходный\" сеанс."
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/sv.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/sv.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/sv.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,60 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr "A-M|Georgiska"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr "A-M|Kazakiska"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "N-Ö|Spanska (USA)"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "Denna session loggar in dig i Java Desktop System"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "Felsäker _Java Desktop System"
+
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Felsäker Java Desktop System"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "Det här är en felsäker session som kommer att logga in dig i Java Desktop "
+#~ "System. Inga uppstartsskript kommer att läsas och den bör endast användas "
+#~ "om du inte kan logga in på något annat sätt. Java Desktop System kommer "
+#~ "att använda standardsessionen."
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/zh_CN.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/zh_CN.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/zh_CN.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,74 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr "A-M|格鲁吉亚语"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr "A-M|哈萨克语"
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "N-Z|西班牙语(USA)"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session in a desktop window without logging out"
+#~ msgstr "在不注销的情况下登录到桌面窗口中的另一个会话"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session without logging out"
+#~ msgstr "在不注销的情况下登录到另一个会话"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "此会话使您登录到 Java Desktop System"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "安全模式 _Java Desktop System"
+
+# SUN_BRANDING
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "安全模式 Java Desktop System"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "这是可让您登录到 Java Desktop System 的安全模式会话。此时不会读取启动脚"
+#~ "本,所以仅当您无法以其它方式登录时再使用此会话类型。Java Desktop System 将"
+#~ "使用"默认"会话。"
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/zh_HK.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/zh_HK.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/zh_HK.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,71 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr ""
+
+# SUN_BRANDING
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr ""
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "N 至 Z|西班牙文(USA)"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session in a desktop window without logging out"
+#~ msgstr "無需登出即可登入桌面視窗中的其他階段作業"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session without logging out"
+#~ msgstr "無需登出即可登入其他階段作業"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "本作業階段會登入 Java Desktop System 桌面環境"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "_Java Desktop System 安全模式"
+
+# SUN_BRANDING
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Java Desktop System 安全模式"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "這「安全模式」作業階段會使將您登入至終端機中。只有在無法登入時才會使用命令"
+#~ "稿,不然不會讀取它們。Java Desktop System 會使用「預設」作業階段。"
Added: trunk/spec_files/jds/po-sun/gdm/po-sun/zh_TW.po
===================================================================
--- trunk/spec_files/jds/po-sun/gdm/po-sun/zh_TW.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gdm/po-sun/zh_TW.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,71 @@
+# Copyright (C) 2009 Sun Microsystems, Inc
+# This file is distributed under the same license as the gdm package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gdm HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009年03月04日 19:32+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:165
+msgid "A-M|Georgian"
+msgstr ""
+
+# SUN_BRANDING
+#. Note translate the A-M to the A-M you used in the group label
+#: ../gui/gdmlanguages.c:202
+msgid "A-M|Kazakh"
+msgstr ""
+
+# SUN_BRANDING
+# COMMUNITY MESSAGE
+#. Note translate the N-Z to the N-Z you used in the group label
+#: ../gui/gdmlanguages.c:297
+msgid "N-Z|Spanish (USA)"
+msgstr "N 至 Z|西班牙文(USA)"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session in a desktop window without logging out"
+#~ msgstr "無需登出即可登入桌面視窗中的其他階段作業"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#~ msgid "Log in to another session without logging out"
+#~ msgstr "無需登出即可登入其他階段作業"
+
+#~ msgid "Java Desktop System"
+#~ msgstr "Java Desktop System"
+
+#~ msgid "This session logs you into the Java Desktop System"
+#~ msgstr "本作業階段會登入 Java Desktop System 桌面環境"
+
+#~ msgid "Failsafe _Java Desktop System"
+#~ msgstr "_Java Desktop System 安全模式"
+
+# SUN_BRANDING
+#~ msgid "Failsafe Java Desktop System"
+#~ msgstr "Java Desktop System 安全模式"
+
+#~ msgid ""
+#~ "This is a failsafe session that will log you into Java Desktop System. No "
+#~ "startup scripts will be read and it is only to be used when you can't log "
+#~ "in otherwise. Java Desktop System will use the 'Default' session."
+#~ msgstr ""
+#~ "這「安全模式」作業階段會使將您登入至終端機中。只有在無法登入時才會使用命令"
+#~ "稿,不然不會讀取它們。Java Desktop System 會使用「預設」作業階段。"
Added: trunk/spec_files/jds/po-sun/gimp/po-sun/cs.po
===================================================================
--- trunk/spec_files/jds/po-sun/gimp/po-sun/cs.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gimp/po-sun/cs.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gimp HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 19:51+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../desktop/gimp.desktop.in.in.h:2
+msgid "Create, edit or convert images between standard graphics formats"
+msgstr ""
+
+#: ../desktop/gimp.desktop.in.in.h:4
+msgid "GIMP Image Editor"
+msgstr "GIMP Editor obrázků"
Added: trunk/spec_files/jds/po-sun/gimp/po-sun/de.po
===================================================================
--- trunk/spec_files/jds/po-sun/gimp/po-sun/de.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gimp/po-sun/de.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gimp HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 19:51+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../desktop/gimp.desktop.in.in.h:2
+msgid "Create, edit or convert images between standard graphics formats"
+msgstr "Bilder in Standard-Grafikformaten erstellen, bearbeiten sowie untereinander konvertieren"
+
+#: ../desktop/gimp.desktop.in.in.h:4
+msgid "GIMP Image Editor"
+msgstr "GIMP Bildeditor"
Added: trunk/spec_files/jds/po-sun/gimp/po-sun/es.po
===================================================================
--- trunk/spec_files/jds/po-sun/gimp/po-sun/es.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gimp/po-sun/es.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gimp HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 19:51+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../desktop/gimp.desktop.in.in.h:2
+msgid "Create, edit or convert images between standard graphics formats"
+msgstr "Cree, edite o convierta imágenes entre formatos gráficos estándar"
+
+#: ../desktop/gimp.desktop.in.in.h:4
+msgid "GIMP Image Editor"
+msgstr "GIMP Editor de imagen"
Added: trunk/spec_files/jds/po-sun/gimp/po-sun/fr.po
===================================================================
--- trunk/spec_files/jds/po-sun/gimp/po-sun/fr.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gimp/po-sun/fr.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gimp HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 19:51+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../desktop/gimp.desktop.in.in.h:2
+msgid "Create, edit or convert images between standard graphics formats"
+msgstr "Créez, modifiez et convertissez des images d’un format graphique standard à un autre"
+
+#: ../desktop/gimp.desktop.in.in.h:4
+msgid "GIMP Image Editor"
+msgstr "GIMP Éditeur d'image"
Added: trunk/spec_files/jds/po-sun/gimp/po-sun/gimp-sun.pot
===================================================================
--- trunk/spec_files/jds/po-sun/gimp/po-sun/gimp-sun.pot	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gimp/po-sun/gimp-sun.pot	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,53 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 19:51+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL...@li...>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+# SUN_BRANDING
+#: ../desktop/gimp.desktop.in.in.h:2
+msgid "Create, edit or convert images between standard graphics formats"
+msgstr ""
+
+# SUN_BRANDING
+#: ../desktop/gimp.desktop.in.in.h:4
+msgid "GIMP Image Editor"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gimp/po-sun/hu.po
===================================================================
--- trunk/spec_files/jds/po-sun/gimp/po-sun/hu.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gimp/po-sun/hu.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gimp HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 19:51+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../desktop/gimp.desktop.in.in.h:2
+msgid "Create, edit or convert images between standard graphics formats"
+msgstr ""
+
+#: ../desktop/gimp.desktop.in.in.h:4
+msgid "GIMP Image Editor"
+msgstr "GIMP Képszerkesztő"
Added: trunk/spec_files/jds/po-sun/gimp/po-sun/it.po
===================================================================
--- trunk/spec_files/jds/po-sun/gimp/po-sun/it.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gimp/po-sun/it.po	2009年11月08日 15:19:19 UTC (rev 400)
@@ -0,0 +1,45 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gimp HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月12日 19:51+0900\n"
+"PO-Revision-Date: 2007年02月12日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+# SUN_BRANDING
+#: ../desktop/gimp.desktop.in.in.h:2
+msgid "Create, edit or convert images between standard graphics formats"
+msgstr "Consente di creare, modificare o convertire il formato grafico delle immagini"
+
+#: ../desktop/gimp.desktop.in.in.h:4
+msgid "GIMP Image Editor"
+msgstr "GIMP Editor imma...
 
[truncated message content]
From: belenix-notify <bel...@li...> - 2009年11月08日 15:14:27
Revision: 399
 http://belenix.svn.sourceforge.net/belenix/?rev=399&view=rev
Author: moinakg
Date: 2009年11月08日 15:14:17 +0000 (2009年11月08日)
Log Message:
-----------
	* SFEdangerdeep.spec
	* patches/dangerdeep-01-sconstruct.diff
	* patches/dangerdeep-02-backtrace.diff
	* patches/dangerdeep-03-isfinite.diff
	* patches/dangerdeep-05-gcc4.diff
	* SFErdesktop.spec
	* SFEsupertuxkart.spec
	* SFEassaultcube.spec
	* patches/assaultcube-01-solaris.diff
	* patches/assaultcube-02-conflict.diff
	* patches/assaultcube-03-cmds.diff
	 New packages.
	* kde4/SFEkdebase4-workspace.spec
	* kde4/patches/kdebase-workspace-19-lockdlg.diff
	 Fix screen unlocking issue.
	* kde4/SFEkoffice.spec
	 Bump to 2.1 RC1.
	* SUNWapch22r.spec
	 Major changes to build with Gcc4.
	* SFEpoppler.spec
	* patches/poppler-02-64bit-fix.diff
	 Bump version and fix crash.
Modified Paths:
--------------
 trunk/spec_files/SFEpoppler.spec
 trunk/spec_files/SUNWapch22r.spec
 trunk/spec_files/kde4/SFEkdebase4-workspace.spec
 trunk/spec_files/kde4/SFEkoffice.spec
 trunk/spec_files/patches/poppler-02-64bit-fix.diff
Added Paths:
-----------
 trunk/spec_files/SFEassaultcube.spec
 trunk/spec_files/SFEdangerdeep.spec
 trunk/spec_files/SFErdesktop.spec
 trunk/spec_files/SFEsupertuxkart.spec
 trunk/spec_files/kde4/patches/kdebase-workspace-19-lockdlg.diff
 trunk/spec_files/patches/assaultcube-01-solaris.diff
 trunk/spec_files/patches/assaultcube-02-conflict.diff
 trunk/spec_files/patches/assaultcube-03-cmds.diff
 trunk/spec_files/patches/dangerdeep-01-sconstruct.diff
 trunk/spec_files/patches/dangerdeep-02-backtrace.diff
 trunk/spec_files/patches/dangerdeep-03-isfinite.diff
 trunk/spec_files/patches/dangerdeep-05-gcc4.diff
Added: trunk/spec_files/SFEassaultcube.spec
===================================================================
--- trunk/spec_files/SFEassaultcube.spec	 (rev 0)
+++ trunk/spec_files/SFEassaultcube.spec	2009年11月08日 15:14:17 UTC (rev 399)
@@ -0,0 +1,81 @@
+#
+# spec file for package SFEassaultcube.spec
+#
+# includes module(s): assaultcube
+#
+%include Solaris.inc
+
+%define src_name	AssaultCube
+%define src_url		http://switch.dl.sourceforge.net/sourceforge/actiongame
+%define src_ver		1.0.2
+
+Name: SFEassaultcube
+Summary: AssaultCube Game
+Version: 1.0.4
+Source: %{src_url}/%{src_name}_v%{src_ver}.tar.bz2
+Source1: %{src_url}/%{src_name}_v%{version}-Update.tar.bz2
+Patch1:			assaultcube-01-solaris.diff
+Patch2:			assaultcube-02-conflict.diff
+Patch3:			assaultcube-03-cmds.diff
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+BuildRequires: SFEsdl-mixer-devel
+Requires: SFEsdl-mixer
+BuildRequires: SFEsdl-image-devel
+Requires: SFEsdl-image
+
+%prep
+%setup -q -n %{src_name}_v%{src_ver}
+gtar fxvj %{SOURCE1}
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+mv "docs/How to add to the reference.txt" docs/How_to_add_to_the_reference.txt
+#remove files that we can't package
+find . -name '\!*' -exec rm {} \; -print
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+cd source/src
+export CXX=/usr/gnu/bin/g++
+export CXXFLAGS="-O3 -fno-omit-frame-pointer"
+export LDFLAGS="-lsocket -lnsl %{xorg_lib_path} %{gnu_lib_path}"
+export LD_OPTIONS="$LDFLAGS"
+cp Makefile Makefile.orig
+cat Makefile.orig | sed '{
+ s@-fomit-frame-pointer@-fno-omit-frame-pointer -fno-strict-aliasing@
+ s@-lnsl@-lnsl %{xorg_lib_path} %{gnu_lib_path}@
+}' > Makefile
+
+make -j $CPU install
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/assaultcube
+chmod 755 assaultcube.sh server.sh
+cp -p assaultcube.sh $RPM_BUILD_ROOT%{_bindir}/assaultcube
+/usr/bin/tar fcp - README.html bot bin_unix config demos docs mods icon.ico packages server.sh server_wizard.sh assaultcube.sh | ( cd $RPM_BUILD_ROOT%{_datadir}/assaultcube && tar fxv - )
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_bindir}
+%dir %attr (0755,root,sys) %{_datadir}
+%{_datadir}/assaultcube
+
+%changelog
+* Sun Nov 08 2009 - Moinak Ghosh
+- Modified and imported from SFE repo.
+* Sun Sep 06 2009 - drd...@gm...
+- Bumped to 1.0.4
+
+* Mon Jul 10 2007 - do...@tr...
+- Initial version
Added: trunk/spec_files/SFEdangerdeep.spec
===================================================================
--- trunk/spec_files/SFEdangerdeep.spec	 (rev 0)
+++ trunk/spec_files/SFEdangerdeep.spec	2009年11月08日 15:14:17 UTC (rev 399)
@@ -0,0 +1,105 @@
+#
+# spec file for package SFEdangerdeep.spec
+#
+# includes module(s): dangerdeep
+#
+%include Solaris.inc
+
+%define src_name	dangerdeep
+%define SUNWlibsdl %(/usr/bin/pkginfo -q SUNWlibsdl && echo 1 || echo 0)
+
+Name: SFEdangerdeep
+Summary: Danger from the Deep Game
+Version: 0.3.0
+Source: %{sf_download}/%{src_name}/%{src_name}-%{version}.tar.gz
+Source2:		%{sf_download}/%{src_name}/%{src_name}-data-%{version}.zip
+Patch1:			dangerdeep-01-sconstruct.diff
+Patch2:			dangerdeep-02-backtrace.diff
+Patch3:			dangerdeep-03-isfinite.diff
+Patch5: dangerdeep-05-gcc4.diff
+
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+BuildRequires: SFEscons
+BuildRequires: SFEgcc
+%if %SUNWlibsdl
+BuildRequires: SUNWlibsdl-devel
+Requires: SUNWlibsdl
+%else
+BuildRequires: SFEsdl-devel
+Requires: SFEsdl
+%endif
+BuildRequires: SFEsdl-mixer-devel
+Requires: SFEsdl-mixer
+BuildRequires: SFEsdl-net-devel
+Requires: SFEsdl-net
+BuildRequires: SFEfftw-devel
+Requires: SFEfftw
+
+%package devel
+Summary: dangerdeep - developer files, /usr
+SUNW_BaseDir: %{_basedir}
+Requires: %name
+%include default-depend.inc
+
+%prep
+%setup -q -n %{src_name}-%{version}
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch5 -p1
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+export CFLAGS=" -O3 "
+%if %option_with_fox
+export CFLAGS="$CFLAGS -I/usr/X11/include"
+%endif
+export LDFLAGS="%arch_ldadd %ldadd ${EXTRA_LDFLAGS}"
+export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
+export MSGFMT="/usr/bin/msgfmt"
+export CXX=/usr/gnu/bin/g++
+export CXXFLAGS=" -O3 "
+%if %option_with_fox
+export CXXFLAGS="$CXXFLAGS -I/usr/X11/include"
+%endif
+export LD_OPTIONS="-i -zdirect %{gnu_lib_path}"
+
+rm -rf $RPM_BUILD_ROOT
+scons installbindir=$RPM_BUILD_ROOT%{_bindir} datadir=%{_datadir}/dangerdeep install -j$CPUS
+
+%install
+( 
+	mkdir -p $RPM_BUILD_ROOT%{_datadir}
+	cd $RPM_BUILD_ROOT%{_datadir}
+	unzip -x %SOURCE2
+	mv data dangerdeep
+	IFS=:
+	find . -name '* *' | while read x ; do
+		FIXED="$( echo $x | sed 's/ /_/g')"
+		mv "$x" "$FIXED"
+	done
+)
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_bindir}
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/dangerdeep
+
+%changelog
+* Sun Nov 08 2009 - Moinak Ghosh
+- Modified and imported from SFE repo.
+* Sun Nov 18 2007 - day...@us...
+- Add support for building on Indiana systems.
+* Thu Nov 15 2007 - day...@us...
+- Bump to 0.3.0. Enable building with SFElibsdl or SFEsdl.
+* Mon Apr 23 2006 - do...@tr...
+- Initial version
Modified: trunk/spec_files/SFEpoppler.spec
===================================================================
--- trunk/spec_files/SFEpoppler.spec	2009年11月04日 18:45:17 UTC (rev 398)
+++ trunk/spec_files/SFEpoppler.spec	2009年11月08日 15:14:17 UTC (rev 399)
@@ -14,8 +14,8 @@
 
 Name: SFEpoppler
 Summary: PDF Rendering Library. Alternate build with Qt support.
-Version: 0.10.7
-%define dataversion 0.2.1
+Version: 0.12.1
+%define dataversion 0.3.0
 URL: http://poppler.freedesktop.org/
 Source: http://poppler.freedesktop.org/poppler-%{version}.tar.gz
 Source1: http://poppler.freedesktop.org/poppler-data-%{dataversion}.tar.gz
@@ -96,9 +96,9 @@
 
 %ifarch amd64 sparcv9
 cd poppler-%{version}-64
-export CFLAGS="%optflags64"
-export CXXFLAGS="%cxx_optflags64"
-export LDFLAGS="-L%{_libdir}/%{_arch64} -R%{_libdir}/%{_arch64} %{gnu_lib_path64} %{xorg_lib_path64} %_ldflags64"
+export CFLAGS="-O2 -march=opteron -m64 -fno-omit-frame-pointer -fPIC -DPIC"
+export CXXFLAGS="-O2 -march=opteron -m64 -fno-omit-frame-pointer -fPIC -DPIC"
+export LDFLAGS="-L%{_libdir}/%{_arch64} -R%{_libdir}/%{_arch64} %{gnu_lib_path64} %{xorg_lib_path64} -m64"
 export QTINC=%{_basedir}/include/qt3
 export QTLIB=%{_basedir}/lib/%{_arch64}
 
@@ -119,9 +119,9 @@
 %endif
 
 cd poppler-%{version}
-export CFLAGS="%optflags"
-export CXXFLAGS="%cxx_optflags"
-export LDFLAGS="%_ldflags %{gnu_lib_path} %{xorg_lib_path}"
+export CFLAGS="-O2 -march=pentiumpro -fno-omit-frame-pointer -fPIC -DPIC"
+export CXXFLAGS="-O2 -march=pentiumpro -fno-omit-frame-pointer -fPIC -DPIC"
+export LDFLAGS="%{gnu_lib_path} %{xorg_lib_path}"
 export QTINC=%{_basedir}/include/qt3
 export QTLIB=%{_basedir}/lib
 
@@ -199,6 +199,8 @@
 %endif
 
 %changelog
+* Sun Nov 08 2009 - Moinak Ghosh
+- Bump version and fix crash.
 * Mon Sep 28 2009 - Moinak Ghosh <moinakg<at>belenix(dot)org>
 - Fix build, enable optional xpdf features.
 * Tue Jun 23 2009 - Moinak Ghosh <moinakg@belenix(dot)org>
Added: trunk/spec_files/SFErdesktop.spec
===================================================================
--- trunk/spec_files/SFErdesktop.spec	 (rev 0)
+++ trunk/spec_files/SFErdesktop.spec	2009年11月08日 15:14:17 UTC (rev 399)
@@ -0,0 +1,107 @@
+#
+# spec file for package SFErdesktop
+#
+# includes module(s): rdesktop
+#
+#
+%include Solaris.inc
+
+%ifarch amd64 sparcv9
+%include arch64.inc
+%endif
+
+%include base.inc
+
+Name: SFErdesktop
+Summary: An open source client for Windows Terminal Services
+Version: 1.6.0
+URL: http://www.rdesktop.org/
+Source: %{sf_download}/rdesktop/rdesktop-%{version}.tar.gz
+License: GPLv2
+
+SUNW_BaseDir: %{_basedir}
+#SUNW_Copyright: %{name}.copyright
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: SFElibsamplerate
+BuildRequires: SFElibsamplerate-devel
+Requires: SUNWopenssl-libraries
+BuildRequires: SUNWopenssl-include
+
+%description
+Rdesktop is an open source client for Windows Terminal Services,
+capable of natively speaking Remote Desktop Protocol (RDP) in
+order to present the user's Windows desktop. Supported servers
+include Windows 2000 Server, Windows Server 2003, Windows Server
+2008, Windows XP, Windows Vista and Windows NT Server 4.0.
+
+Rdesktop currently runs on most UNIX based platforms with the X
+Window System, and other ports should be fairly straightforward.
+
+%prep
+%if %cc_is_gcc
+%else
+error "This spec file requires /usr/gnu/bin/g++. Please set your environment variables."
+%endif
+
+%setup -q -c -n %name-%version
+cd rdesktop-%{version}
+cd ..
+
+%build
+#
+# Need to force some shell info to point to bash because the scripts
+# are for bash.
+#
+export SHELL="/bin/bash"
+export CONFIG_SHELL="/bin/bash"
+export MAKESHELL="/bin/bash"
+export GCC="yes"
+
+cd rdesktop-%{version}
+export LDFLAGS="%_ldflags -L/lib -R/lib"
+export CFLAGS="%optflags -fno-strict-aliasing"
+export CXXFLAGS="%cxx_optflags -fno-strict-aliasing"
+
+./configure --prefix=%{_prefix} \
+ --mandir=%{_mandir} \
+ --datadir=%{_datadir} \
+ --sysconfdir=%{_sysconfdir} \
+ --enable-shared=yes \
+ --disable-static
+
+gmake
+cd ..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+export SHELL="/bin/bash"
+export CONFIG_SHELL="/bin/bash"
+export MAKESHELL="/bin/bash"
+
+cd rdesktop-%{version}
+make install DESTDIR=$RPM_BUILD_ROOT
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
+cd ..
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, bin) %{_mandir}
+%{_mandir}/*
+
+%defattr (-, root, other)
+%dir %attr (0755, root, other) %{_datadir}/rdesktop
+%{_datadir}/rdesktop/*
+
+%changelog
+* Sun Nov 08 2009 - Moinak Ghosh
+- Initial version
Added: trunk/spec_files/SFEsupertuxkart.spec
===================================================================
--- trunk/spec_files/SFEsupertuxkart.spec	 (rev 0)
+++ trunk/spec_files/SFEsupertuxkart.spec	2009年11月08日 15:14:17 UTC (rev 399)
@@ -0,0 +1,83 @@
+#
+# spec file for package SFEsupertuxkart.spec
+#
+# includes module(s): supertuxkart
+#
+%include Solaris.inc
+
+%define src_name	supertuxkart
+
+Name: SFEsupertuxkart
+Summary: Super Tux Kart Racing game
+Version: 0.6.2a
+Source: %{sf_download}/supertuxkart/%{src_name}-%{version}-src.tar.bz2
+
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+BuildRequires: SUNWxorg-headers
+Requires: SUNWxorg-mesa
+BuildRequires: SUNWogg-vorbis-devel
+Requires: SUNWogg-vorbis
+BuildRequires: SFEsdl-image-devel
+Requires: SFEsdl-image
+BuildRequires: SFEopenal-devel
+Requires: SFEopenal
+BuildRequires: SFEplib
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: %{_prefix}
+%include default-depend.inc
+
+%prep
+%setup -q -c -n %{name}-%{version}
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+cd %{src_name}-%{version}
+
+export LDFLAGS="%_ldflags -lsocket -lnsl %{gnu_lib_path} %{xorg_lib_path} -lGLU"
+export CFLAGS="-D_XPG4_2"
+export CXXFLAGS="-D_XPG4_2"
+
+./configure --prefix=%{_prefix}		\
+	 --bindir=%{_bindir}		\
+	 --mandir=%{_mandir}		\
+ --libdir=%{_libdir}		\
+ --datadir=%{_datadir}	\
+ --libexecdir=%{_libexecdir} \
+ --sysconfdir=%{_sysconfdir} \
+ --enable-shared		\
+	 --disable-static
+
+gmake -j$CPUS
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd %{src_name}-%{version}
+gmake install DESTDIR=${RPM_BUILD_ROOT}
+mv ${RPM_BUILD_ROOT}%{_prefix}/games ${RPM_BUILD_ROOT}%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_bindir}
+%dir %attr (0755,root,sys) %{_datadir}
+%{_datadir}/games
+%dir %attr (0755,root,other) %{_datadir}/doc
+%dir %attr (0755,root,other) %{_datadir}/applications
+%dir %attr (0755,root,other) %{_datadir}/pixmaps
+%{_datadir}/doc/*
+%{_datadir}/applications/*
+%{_datadir}/pixmaps/*
+
+%changelog
+* Sun Nov 08 2009 - Moinak Ghosh
+- Initial version
Modified: trunk/spec_files/SUNWapch22r.spec
===================================================================
--- trunk/spec_files/SUNWapch22r.spec	2009年11月04日 18:45:17 UTC (rev 398)
+++ trunk/spec_files/SUNWapch22r.spec	2009年11月08日 15:14:17 UTC (rev 399)
@@ -3,9 +3,9 @@
 # This file and all modifications and additions to the pristine
 # package are under the same license as the package itself.
 #
-# spec file for package SUNWgmp
+# spec file for package SUNWapch22r
 #
-# includes module(s): GNU gmp
+# includes module(s): Apache2
 #
 %include Solaris.inc
 
@@ -35,15 +35,26 @@
 %define APR_USR_PREFIX /usr/gnu
 %define APR_UTIL_USR_PREFIX /usr/gnu
 
+%if %cc_is_gcc
+%define LD_OPTIONS "-Wl,-M%{SOURCE51}"
+%define CFLAGS_COMMON "-O2 -fno-omit-frame-pointer -DSSL_EXPERIMENTAL -DSSL_ENGINE -D__EXTENSIONS__"
+%else
 %define LD_OPTIONS "-M %{SOURCE51}"
 %define CFLAGS_COMMON "-xchip=pentium -xspace -Xa -xildoff -xc99=all -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4"
+%endif
 %define CPPFLAGS "-I%{sfw_inc} -I%{gnu_inc} -I%{_includedir}"
 %define MAKE %{_basedir}/ccs/bin/make
 %define INSTALL %{_basedir}/ucb/install
 %define PERL %{_basedir}/perl5/bin/perl
+%if %cc_is_gcc
+%define CXXFLAGS ""
+%define LDFLAGS32 "-L/lib -R/lib %{sfw_lib_path} ${LD_OPTIONS} -L%{_libdir} -R%{_libdir} %{gnu_lib_path}"
+%define LDFLAGS64 "-m64 -L/lib/%{_arch64} -R/lib/%{_arch64} %{sfw_lib_path64} ${LD_OPTIONS} -L%{_libdir}/%{_arch64} -R%{_libdir}/%{_arch64} %{gnu_lib_path64}"
+%else
 %define CXXFLAGS "-norunpath"
-%define LDFLAGS32 "-L%{sfw_lib} -R%{sfw_lib} -s ${LD_OPTIONS} -L%{_libdir} -R%{_libdir} -L%{gnu_lib} -R%{gnu_lib}"
-%define LDFLAGS64 "-L%{sfw_lib}/%{_arch64} -R%{sfw_lib}/%{_arch64} -s ${LD_OPTIONS} -L%{_libdir}/%{_arch64} -R%{_libdir}/%{_arch64} -L%{gnu_lib}/%{_arch64} -R%{gnu_lib}/%{_arch64}"
+%define LDFLAGS32 "-L/lib -R/lib %{sfw_lib_path} -s ${LD_OPTIONS} -L%{_libdir} -R%{_libdir} %{gnu_lib_path}"
+%define LDFLAGS64 "-m64 -L/lib/%{_arch64} -R/lib/%{_arch64} %{sfw_lib_path64} -s ${LD_OPTIONS} -L%{_libdir}/%{_arch64} -R%{_libdir}/%{_arch64} %{gnu_lib_path64}"
+%endif
 
 
 %define src1 %{_sourcedir}/apache2/patches/mod_auth_gss_Makefile.patch.64
@@ -220,10 +231,10 @@
 
 
 %prep
-if [ "x`basename $CC`" = xgcc ]
-then
-	%error This spec file requires SUN Studio, set the CC and CXX env variables
-fi
+#if [ "x`basename $CC`" = xgcc ]
+#then
+#	%error This spec file requires SUN Studio, set the CC and CXX env variables
+#fi
 
 PATH=/usr/bin:/usr/sfw/bin:/usr/X11/bin:/opt/SUNWspro/bin
 export PATH
@@ -231,7 +242,7 @@
 rm -rf %{name}-%{version}
 mkdir %{name}-%{version}
 cd %{name}-%{version}
-
+ln -sf ${CC} cc
 cp -r %{_sourcedir}/apache2/* .
 
 #
@@ -255,6 +266,18 @@
 < $i > ../64/$i
 done)
 
+%if %cc_is_gcc
+(cd Solaris
+ [ ! -f fix-config.nice.sed.orig ] && cp fix-config.nice.sed fix-config.nice.sed.orig 
+ cat fix-config.nice.sed.orig | sed "s#/opt/SUNWspro/bin/cc#${CC}#" > fix-config.nice.sed
+ [ ! -f fix-config_vars.sed.orig ] && cp fix-config_vars.sed fix-config_vars.sed.orig
+ cat fix-config_vars.sed.orig | sed "{
+ s#MKDEP = /opt/SUNWspro/bin/cc \-xM#MKDEP = %{xorg_bin}#
+ s#/opt/SUNWspro/bin/cc#${CC}#
+ }" > fix-config_vars.sed
+)
+%endif
+
 gunzip -c %{SOURCE} | tar xopf -
 mv %{APACHE_DIR} %{APACHE_PREFORK_DIR}
 (cd %{APACHE_PREFORK_DIR}; gpatch -p1 < ../Solaris/32/configure.patch)
@@ -358,7 +381,7 @@
 cd %{name}-%{version}
 BLDDIR=`pwd`
 
-PATH=/usr/bin:/usr/sfw/bin:/usr/X11/bin:/opt/SUNWspro/bin
+PATH=${BLDDIR}:/usr/bin:/usr/sfw/bin:/usr/X11/bin:/opt/SUNWspro/bin
 export PATH
 
 HTTPD_COMMON_CONFIGURE_OPTIONS="\
@@ -407,7 +430,11 @@
 #
 %ifarch amd64 sparcv9
 cd %{APACHE_PREFORK_DIR64}
+%if %cc_is_gcc
+CFLAGS="-m64 -march=opteron ${CFLAGS_COMMON}"
+%else
 CFLAGS="-m64 ${CFLAGS_COMMON}"
+%endif
 LDFLAGS="-m64 ${LDFLAGS64}"
 export CFLAGS LDFLAGS
 
@@ -425,7 +452,11 @@
 %endif
 
 cd ${BLDDIR}/%{APACHE_PREFORK_DIR}
+%if %cc_is_gcc
+CFLAGS="-m32 -march=pentium3 ${CFLAGS_COMMON}"
+%else
 CFLAGS="-m32 ${CFLAGS_COMMON}"
+%endif
 LDFLAGS="-m32 ${LDFLAGS32}"
 export CFLAGS LDFLAGS
 ./configure ${HTTPD_COMMON_CONFIGURE_OPTIONS} \
@@ -446,7 +477,11 @@
 #
 %ifarch amd64 sparcv9
 cd ${BLDDIR}/%{APACHE_PREFORK_DIR64}
+%if %cc_is_gcc
+CFLAGS="-m64 -march=opteron ${CFLAGS_COMMON}"
+%else
 CFLAGS="-m64 ${CFLAGS_COMMON}"
+%endif
 LDFLAGS="-m64 ${LDFLAGS64}"
 export CFLAGS LDFLAGS
 
@@ -458,7 +493,11 @@
 %endif
 
 cd ${BLDDIR}/%{APACHE_PREFORK_DIR}
+%if %cc_is_gcc
+CFLAGS="-m32 -march=pentium3 ${CFLAGS_COMMON}"
+%else
 CFLAGS="-m32 ${CFLAGS_COMMON}"
+%endif
 LDFLAGS="-m32 ${LDFLAGS32}"
 export CFLAGS LDFLAGS
 
@@ -477,6 +516,8 @@
 cd %{name}-%{version}
 
 BLDDIR=`pwd`
+export PATH=${BLDDIR}:${PATH}
+
 TMP_HDR_DIR32=${BLDDIR}/Solaris/32/include
 TMP_HDR_DIR64=${BLDDIR}/Solaris/64/include
 TMP_HDR_DIR=${BLDDIR}/Solaris/include
@@ -520,7 +561,14 @@
 
 %ifarch amd64 sparcv9
 cd ${APACHE_WORKER_DIR64}
+%if %cc_is_gcc
+CFLAGS="-m64 -march=opteron ${CFLAGS_COMMON}"
+[ ! -f support/apxs.orig ] && cp support/apxs support/apxs.orig
+cat support/apxs.orig | sed 's#mode=link \$CFG_CC#mode=link \$CFG_CC -m64#' > support/apxs
+%else
 CFLAGS="-m64 ${CFLAGS_COMMON}"
+%endif
+
 LDFLAGS="-m64 ${LDFLAGS64}"
 export CFLAGS LDFLAGS
 
@@ -532,6 +580,9 @@
 cp ${DESTDIR}${APACHE_USR_PREFIX}/include/ap_config_layout.h ${TMP_HDR_DIR64}
 
 cd ${BLDDIR}/${APACHE_PREFORK_DIR64}
+[ ! -f support/apxs.orig ] && cp support/apxs support/apxs.orig
+cat support/apxs.orig | sed 's#mode=link \$CFG_CC#mode=link \$CFG_CC -m64#' > support/apxs
+
 ${MAKE} -e install DESTDIR=${RPM_BUILD_ROOT}
 cp ${DESTDIR}${APACHE_ETC_PREFIX}/original/httpd.conf ../Solaris/64
 
@@ -541,8 +592,12 @@
 %endif
 
 
-cd ${BLDDIR}/${APACHE_WORKER_DIR64}
+cd ${BLDDIR}/${APACHE_WORKER_DIR}
+%if %cc_is_gcc
+CFLAGS="-m32 -march=pentium3 ${CFLAGS_COMMON}"
+%else
 CFLAGS="-m32 ${CFLAGS_COMMON}"
+%endif
 LDFLAGS="-m32 ${LDFLAGS32}"
 export CFLAGS LDFLAGS
 
@@ -618,7 +673,11 @@
 cd ${BLDDIR}/modules-64
 PDIR=`pwd`
 MACH64=%{_arch64}
+%if %cc_is_gcc
+LDFLAGS="${LDFLAGS64} -Wl,-M${PDIR}/mod_dtrace-%{mod_dtrace_version}-64/mapfile"
+%else
 LDFLAGS="${LDFLAGS64} -M ${PDIR}/mod_dtrace-%{mod_dtrace_version}-64/mapfile"
+%endif
 CFLAGS="-m64"
 export ROOT MACH64 LDFLAGS CFLAGS
 sh ./apxs-dtrace.ksh93 -b 64
@@ -649,7 +708,11 @@
 cd ${BLDDIR}/modules
 PDIR=`pwd`
 MACH64=""
+%if %cc_is_gcc
+LDFLAGS="${LDFLAGS32} -Wl,-M${PDIR}/mod_dtrace-%{mod_dtrace_version}-32/mapfile"
+%else
 LDFLAGS="${LDFLAGS32} -M ${PDIR}/mod_dtrace-%{mod_dtrace_version}-32/mapfile"
+%endif
 CFLAGS="-m32"
 export MACH64 LDFLAGS CFLAGS
 sh ./apxs-dtrace.ksh93 -b 32
@@ -671,8 +734,19 @@
 sh ../install-module.ksh93 -b 32 -m jk)
 
 (cd mod_perl-%{mod_perl_version}
+ (cd src/modules/perl
+ [ ! -f modperl_perl_includes.h.orig ] && cp modperl_perl_includes.h modperl_perl_includes.h.orig
+ cat modperl_perl_includes.h.orig | sed '{
+ s@#include "EXTERN.h"@#include "EXTERN.h"\n#include <sys/stat.h>\n#include <sys/vnode.h>@
+ }' > modperl_perl_includes.h)
+
+%if %cc_is_gcc
+ PATH="/usr/perl5/bin:${PATH}"
+ CFLAGS="-O2"
+%else
 PATH="/opt/SUNWspro/bin:/usr/perl5/bin:${PATH}"
 CFLAGS="-xO3"
+%endif
 MODPERL_AP_INCLUDEDIR=${APACHE_USR_PREFIX}/include
 MODPERL_AP_LIBEXECDIR=${APACHE_USR_PREFIX}/libexec
 export PATH CFLAGS MODPERL_AP_INCLUDEDIR MODPERL_AP_LIBEXECDIR
@@ -695,6 +769,16 @@
 do
 sed -e '/^CC/s;CC = cc;CC = ${CC};' \
 -e '/^LD =/s;LD = cc;LD = ${CC};' \
+ -e '/^MODPERL_CC/s;MODPERL_CC = cc;MODPERL_CC = ${CC};' \
+ -e '/^MODPERL_LD/s;MODPERL_LD = cc;MODPERL_LD = /usr/bin/ld;' \
+ -e '/^MODPERL_CPPRUN/s;MODPERL_CPPRUN = cc;MODPERL_CPPRUN = ${CC};' \
+%if %cc_is_gcc
+ -e '/^MODPERL_CCCDLFLAGS/s;MODPERL_CCCDLFLAGS = -KPIC;MODPERL_CCCDLFLAGS = -fPIC;' \
+ -e '/^CCCDLFLAGS/s;CCCDLFLAGS = -KPIC;CCCDLFLAGS = -fPIC -DPIC;' \
+ -e '/^MODPERL_OPTIMIZE/s;MODPERL_OPTIMIZE = -xO3 -xspace -xildoff;MODPERL_OPTIMIZE = -O2;' \
+ -e '/^OPTIMIZE/s;OPTIMIZE = -xO3 -xspace -xildoff;OPTIMIZE = -O2;' \
+ -e '/^LD/s;LD = \${CC};LD = /usr/bin/ld;' \
+%endif
 -e '/^CCFLAGS/s;CCFLAGS = ;CCFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64;' \
 -e '/^MODPERL_CCOPTS/s;MODPERL_CCOPTS = ;MODPERL_CCOPTS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64;' \
 -e '/^MODPERL_INC/s;-I'${APACHE_USR_PREFIX}'/include;-I'${ROOT}${APACHE_USR_PREFIX}'/include;g' \
@@ -714,6 +798,13 @@
 $$i > $$i.1
 mv $$i.1 $$i
 done
+
+ (cd src/modules/perl
+ [ ! -f modperl_xsinit.c.orig ] && cp modperl_xsinit.c modperl_xsinit.c.orig 
+ cat modperl_xsinit.c.orig | sed '{
+ s@#include <EXTERN.h>@#include <EXTERN.h>\n#include <sys/stat.h>\n#include <sys/vnode.h>@
+ }' > modperl_xsinit.c)
+
 ${MAKE} -e install
 
 PREFIX=${ROOT}/${APACHE_USR_PREFIX}
@@ -1048,6 +1139,8 @@
 %config %class(renamenew) %attr (0644, root, bin) %{_sysconfdir}/apache2/%{APACHE_VERSION_DIR}/samples-conf.d/security2.conf
 
 %changelog
+* Sun Nov 08 2009 - Moinak Ghosh
+- Major changes to build with Gcc4.
 * Mon Feb 23 2009 - mo...@gm...
 - Add mod_perl and many other fixes.
 - Fixup packaging information.
Modified: trunk/spec_files/kde4/SFEkdebase4-workspace.spec
===================================================================
--- trunk/spec_files/kde4/SFEkdebase4-workspace.spec	2009年11月04日 18:45:17 UTC (rev 398)
+++ trunk/spec_files/kde4/SFEkdebase4-workspace.spec	2009年11月08日 15:14:17 UTC (rev 399)
@@ -40,6 +40,9 @@
 #
 Patch18: kdebase-workspace-18-ksysguard.diff
 
+# Fix screen unlocking issue.
+Patch19: kdebase-workspace-19-lockdlg.diff
+
 SUNW_BaseDir: /
 SUNW_Copyright: %{name}.copyright
 BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -149,6 +152,7 @@
 %patch16 -p1
 %patch17 -p0
 %patch18 -p1
+%patch19 -p1
 cd ..
 
 %build
@@ -370,6 +374,8 @@
 %{_mandir}/man1/*
 
 %changelog
+* Sun Nov 08 2009 - Moinak Ghosh
+- Fix screen unlocking issue.
 * Mon Sep 28 2009 - Moinak Ghosh <moinakg<at>belenix(dot)org>
 - Initial port of Ksysguard.
 - make ksysguardd set-uid.
Modified: trunk/spec_files/kde4/SFEkoffice.spec
===================================================================
--- trunk/spec_files/kde4/SFEkoffice.spec	2009年11月04日 18:45:17 UTC (rev 398)
+++ trunk/spec_files/kde4/SFEkoffice.spec	2009年11月08日 15:14:17 UTC (rev 399)
@@ -10,14 +10,14 @@
 
 %define have_kivio 0
 %define have_kexi 0
-%define have_kformula 0
+%define have_kformula 1
 %define have_kugar 0
 
 %define src_dir koffice
 %define python_version 2.6
 Name: SFEkoffice
 Summary: Base package for KOffice an integrated office suite for KDE (2.1Beta2).
-Version: 2.0.82
+Version: 2.0.91
 License: GPLv2
 URL: http://www.koffice.org/
 Source: ftp://gd.tuwien.ac.at/kde/unstable/koffice-%{version}/src/koffice-%{version}.tar.bz2
@@ -379,7 +379,7 @@
 %{_libdir}/kde4/koffice_graya_u16_plugin.so
 %{_libdir}/kde4/kofficegrayau8plugin.so
 %{_libdir}/kde4/kofficedockers.so
-%{_libdir}/kde4/kofficesimpletextedit.so
+#%{_libdir}/kde4/kofficesimpletextedit.so
 %{_libdir}/kde4/libkounavailpart.*
 %{_libdir}/kde4/paragraphtool.so
 %{_libdir}/kde4/spellcheck.so
@@ -410,7 +410,7 @@
 %{_libdir}/kde4/libhtmlimport.*
 %{_libdir}/kde4/libkspreadlatexexport.*
 %{_libdir}/kde4/libkwordkword1dot3import.*
-%{_libdir}/kde4/libmswordodf_import.*
+#%{_libdir}/kde4/libmswordodf_import.*
 %{_libdir}/kde4/libmswriteexport.*
 %{_libdir}/kde4/libmswriteimport.*
 %{_libdir}/kde4/liboowriterexport.*
@@ -448,7 +448,7 @@
 %{_datadir}/kde4/services/kofficedockers.desktop
 %{_datadir}/kde4/services/kopabackgroundtool.desktop
 %{_datadir}/kde4/services/kounavail.desktop
-%{_datadir}/kde4/services/kofficesimpletextedit.desktop
+#%{_datadir}/kde4/services/kofficesimpletextedit.desktop
 %{_datadir}/kde4/services/paragraphtool.desktop
 %{_datadir}/kde4/services/spellcheck.desktop
 %{_datadir}/kde4/services/textvariables.desktop
@@ -463,6 +463,10 @@
 %{_datadir}/kde4/services/divineproportionshape.desktop
 %{_datadir}/kde4/services/generic_filter.desktop
 %{_datadir}/kde4/services/xslt*.desktop
+%if %{?have_kformula}
+%{_datadir}/kde4/services/*formulashape*
+%endif
+
 %dir %attr (0755, root, bin) %{_datadir}/kde4/servicetypes
 %{_datadir}/kde4/servicetypes/filtereffect.desktop
 %{_datadir}/kde4/servicetypes/kochart.desktop
@@ -703,7 +707,7 @@
 %dir %attr (0755, root, bin) %{_libdir}
 %{_libdir}/libkdeinit4_krita.so
 %{_libdir}/libkrita*.so*
-%{_libdir}/libkrossmodulekrita*
+#%{_libdir}/libkrossmodulekrita*
 
 %dir %attr (0755, root, bin) %{_libdir}/kde4
 %{_libdir}/kde4/*krita*
@@ -825,19 +829,18 @@
 %dir %attr (0755, root, bin) %{_bindir}
 %{_bindir}/kformula
 %dir %attr (0755, root, bin) %{_libdir}
-%{_libdir}/libkdeinit4_kformula.so
+#%{_libdir}/libkdeinit4_kformula.so
+%{_libdir}/libkdeinit_kformula.so
 %{_libdir}/libkformulaprivate.so*
 
 %dir %attr (0755, root, bin) %{_libdir}/kde4
 %{_libdir}/kde4/*kformula*
-%{_libdir}/kde4/kspread*.so
-%{_libdir}/kde4/formulashape*
 
 %dir %attr (0755, root, sys) %{_datadir}
-%dir %attr (0755, root, other) %{_datadir}/doc
-%dir %attr (0755, root, bin) %{_datadir}/doc/HTML
-%dir %attr (0755, root, bin) %{_datadir}/doc/HTML/en
-%{_datadir}/doc/HTML/en/kformula
+#%dir %attr (0755, root, other) %{_datadir}/doc
+#%dir %attr (0755, root, bin) %{_datadir}/doc/HTML
+#%dir %attr (0755, root, bin) %{_datadir}/doc/HTML/en
+#%{_datadir}/doc/HTML/en/kformula
 %dir %attr (0755, root, bin) %{_datadir}/kde4
 %dir %attr (0755, root, bin) %{_datadir}/kde4/services
 %{_datadir}/kde4/services/kformula*.desktop
@@ -846,8 +849,8 @@
 
 %defattr (-, root, other)
 %dir %attr (0755, root, other) %{_datadir}/apps
-%dir %attr (0755, root, other) %{_datadir}/apps/kformula
-%{_datadir}/apps/kformula/*
+#%dir %attr (0755, root, other) %{_datadir}/apps/kformula
+#%{_datadir}/apps/kformula/*
 %dir %attr (0755, root, other) %{_datadir}/applications
 %dir %attr (0755, root, other) %{_datadir}/applications/kde4
 %{_datadir}/applications/kde4/*kformula.desktop
@@ -858,5 +861,7 @@
 %dir %attr (0755, root, sys) %{_prefix}
 
 %changelog
+* Sun Nov 08 2009 - Moinak Ghosh
+- Bump to 2.1 RC1.
 * Mon Sep 28 2009 - Moinak Ghosh <moinakg<at>belenix(dot)org>
 - Initial version.
Added: trunk/spec_files/kde4/patches/kdebase-workspace-19-lockdlg.diff
===================================================================
--- trunk/spec_files/kde4/patches/kdebase-workspace-19-lockdlg.diff	 (rev 0)
+++ trunk/spec_files/kde4/patches/kdebase-workspace-19-lockdlg.diff	2009年11月08日 15:14:17 UTC (rev 399)
@@ -0,0 +1,35 @@
+--- kdebase-workspace-4.3.1/krunner/lock/lockdlg.cc.orig	2009年10月31日 18:25:51.349353118 +0530
++++ kdebase-workspace-4.3.1/krunner/lock/lockdlg.cc	2009年10月31日 18:28:48.566864471 +0530
+@@ -314,9 +314,21 @@
+ void PasswordDlg::reapVerify()
+ {
+ ::close( sFd );
+- int status;
+- ::waitpid( sPid, &status, 0 );
+- if (WIFEXITED(status))
++ int status, rv;
++ rv = ::waitpid( sPid, &status, 0 );
++ if (rv == -1) {
++ /*
++ * Waitpid can fail due to EINTR if signals are being issued to the screensaver
++ * hack process. We simply retry.
++ */
++ if (errno == EINTR) {
++ rv = ::waitpid( sPid, &status, 0 );
++ if (rv == -1) {
++ perror("waitpid: ");
++ }
++ }
++ }
++ if (WIFEXITED(status)) {
+ switch (WEXITSTATUS(status)) {
+ case AuthOk:
+ greet->succeeded();
+@@ -334,6 +346,7 @@
+ case AuthAbort:
+ return;
+ }
++ }
+ cantCheck();
+ }
+ 
Added: trunk/spec_files/patches/assaultcube-01-solaris.diff
===================================================================
--- trunk/spec_files/patches/assaultcube-01-solaris.diff	 (rev 0)
+++ trunk/spec_files/patches/assaultcube-01-solaris.diff	2009年11月08日 15:14:17 UTC (rev 399)
@@ -0,0 +1,27 @@
+--- AssaultCube_v1.0.2/source/src/Makefile.orig	2009年09月06日 07:26:31.025725668 +0100
++++ AssaultCube_v1.0.2/source/src/Makefile	2009年09月06日 07:30:17.043380164 +0100
+@@ -1,12 +1,12 @@
+ CXXOPTFLAGS=-O3 -fomit-frame-pointer
+-INCLUDES1=-I/usr/X11R6/include -I../enet/include -I../src
++INCLUDES1=-I/usr/X11/include -I../enet/include -I../src
+ INCLUDES2=`sdl-config --cflags`
+-CXXCUSTOMFLAGS=-fsigned-char -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wpointer-arith -Wwrite-strings -Wconversion -rdynamic
++CXXCUSTOMFLAGS=-fsigned-char
+ CXXFLAGS=$(CXXOPTFLAGS) $(INCLUDES1) $(INCLUDES2) $(CUSTOMFLAGS)
+ CXXFLAGSSERVER=$(CXXOPTFLAGS) $(INCLUDES1) $(CUSTOMFLAGS)
+ 
+ PLATFORM_PREFIX=native
+-CLIENT_LIBS=-L/usr/X11R6/lib -L../enet -lenet `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile
++CLIENT_LIBS=-L/usr/X11/lib -L../enet -lenet `sdl-config --libs` -lSDL_image -lz -lGL -lopenal -lvorbisfile -lX11 -lsocket -lnsl
+ CLIENT_OBJS1= \
+ 	client.o \
+ 	clientgame.o \
+@@ -55,7 +55,7 @@
+ 	bot/ac_bot_ai.o 
+ 
+ 
+-SERVER_LIBS=-L../enet -lenet -lz
++SERVER_LIBS=-L../enet -lenet -lz -lsocket -lnsl
+ SERVER_FILES= \
+ 	log.cpp \
+ 	serverms.cpp \
Added: trunk/spec_files/patches/assaultcube-02-conflict.diff
===================================================================
--- trunk/spec_files/patches/assaultcube-02-conflict.diff	 (rev 0)
+++ trunk/spec_files/patches/assaultcube-02-conflict.diff	2009年11月08日 15:14:17 UTC (rev 399)
@@ -0,0 +1,98 @@
+--- AssaultCube_v1.0.2/source/src/protos.h.orig	2009年06月16日 20:51:25.000000000 +0100
++++ AssaultCube_v1.0.2/source/src/protos.h	2009年09月06日 07:37:23.298887947 +0100
+@@ -244,8 +244,8 @@
+ extern void dot(int x, int y, float z);
+ extern void linestyle(float width, int r, int g, int b);
+ extern void blendbox(int x1, int y1, int x2, int y2, bool border, int tex = -1, color *c = NULL);
+-extern void quad(GLuint tex, float x, float y, float s, float tx, float ty, float tsx, float tsy = 0);
+-extern void quad(GLuint tex, vec &c1, vec &c2, float tx, float ty, float tsx, float tsy);
++extern void a_quad(GLuint tex, float x, float y, float s, float tx, float ty, float tsx, float tsy = 0);
++extern void a_quad(GLuint tex, vec &c1, vec &c2, float tx, float ty, float tsx, float tsy);
+ extern void circle(GLuint tex, float x, float y, float r, float tx, float ty, float tr, int subdiv = 32);
+ extern void setperspective(float fovy, float aspect, float nearplane, float farplane);
+ extern void sethudgunperspective(bool on);
+--- AssaultCube_v1.0.2/source/src/rendergl.cpp.orig	2009年03月25日 15:18:57.000000000 +0000
++++ AssaultCube_v1.0.2/source/src/rendergl.cpp	2009年09月06日 07:38:21.974212616 +0100
+@@ -215,7 +215,7 @@
+ xtraverts += 4;
+ }
+ 
+-void quad(GLuint tex, float x, float y, float s, float tx, float ty, float tsx, float tsy)
++void a_quad(GLuint tex, float x, float y, float s, float tx, float ty, float tsx, float tsy)
+ {
+ if(!tsy) tsy = tsx;
+ glBindTexture(GL_TEXTURE_2D, tex);
+@@ -228,7 +228,7 @@
+ xtraverts += 4;
+ }
+ 
+-void quad(GLuint tex, const vec &c1, const vec &c2, float tx, float ty, float tsx, float tsy)
++void a_quad(GLuint tex, const vec &c1, const vec &c2, float tx, float ty, float tsx, float tsy)
+ {
+ if(!tsy) tsy = tsx;
+ glBindTexture(GL_TEXTURE_2D, tex);
+@@ -383,7 +383,7 @@
+ static Texture *tex = NULL;
+ if(!tex) tex = textureload("packages/misc/com.png");
+ float s = aboveheadiconsize/100.0f;
+- quad(tex->id, vec(s/2.0f, 0.0f, s), vec(s/-2.0f, 0.0f, 0.0f), 0.0f, 0.0f, 1.0f, 1.0f);
++ a_quad(tex->id, vec(s/2.0f, 0.0f, s), vec(s/-2.0f, 0.0f, 0.0f), 0.0f, 0.0f, 1.0f, 1.0f);
+ glDisable(GL_BLEND);
+ glPopMatrix();
+ }
+--- AssaultCube_v1.0.2/source/src/renderhud.cpp.orig	2009年04月26日 19:39:33.000000000 +0100
++++ AssaultCube_v1.0.2/source/src/renderhud.cpp	2009年09月06日 07:36:29.896088206 +0100
+@@ -5,7 +5,7 @@
+ 
+ void drawicon(Texture *tex, float x, float y, float s, int col, int row, float ts)
+ {
+- if(tex && tex->xs == tex->ys) quad(tex->id, x, y, s, ts*col, ts*row, ts);
++ if(tex && tex->xs == tex->ys) a_quad(tex->id, x, y, s, ts*col, ts*row, ts);
+ }
+ 
+ void drawequipicon(float x, float y, int col, int row, float blend)
+@@ -391,7 +391,7 @@
+ if(showmap)
+ {
+ glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_COLOR);
+- quad(minimaptex, 0, 0, radarviewsize, (centerpos.x-res/2)/worldsize, (centerpos.y-res/2)/worldsize, res/worldsize);
++ a_quad(minimaptex, 0, 0, radarviewsize, (centerpos.x-res/2)/worldsize, (centerpos.y-res/2)/worldsize, res/worldsize);
+ glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+ glDisable(GL_BLEND);
+ }
+@@ -456,7 +456,7 @@
+ glColor3f(1, 1, 1);
+ static Texture *bordertex = NULL;
+ if(!bordertex) bordertex = textureload("packages/misc/compass-base.png", 3);
+- quad(bordertex->id, VIRTW-10-VIRTH/28-overlaysize, 10+VIRTH/52, overlaysize, 0, 0, 1, 1);
++ a_quad(bordertex->id, VIRTW-10-VIRTH/28-overlaysize, 10+VIRTH/52, overlaysize, 0, 0, 1, 1);
+ if(!hidecompass)
+ {
+ static Texture *compasstex = NULL;
+@@ -464,7 +464,7 @@
+ glPushMatrix();
+ glTranslatef(VIRTW-10-VIRTH/28-overlaysize/2, 10+VIRTH/52+overlaysize/2, 0);
+ glRotatef(-camera1->yaw, 0, 0, 1);
+- quad(compasstex->id, -overlaysize/2, -overlaysize/2, overlaysize, 0, 0, 1, 1);
++ a_quad(compasstex->id, -overlaysize/2, -overlaysize/2, overlaysize, 0, 0, 1, 1);
+ glPopMatrix();
+ }
+ }
+@@ -476,7 +476,7 @@
+ glColor3f(1, 1, 1);
+ static Texture *icons = NULL;
+ if(!icons) icons = textureload("packages/misc/teamicons.png", 3);
+- quad(icons->id, VIRTW-VIRTH/12-10, 10, VIRTH/12, team_int(player1->team) ? 0.5f : 0, 0, 0.49f, 1.0f);
++ a_quad(icons->id, VIRTW-VIRTH/12-10, 10, VIRTH/12, team_int(player1->team) ? 0.5f : 0, 0, 0.49f, 1.0f);
+ }
+ 
+ int damageblendmillis = 0;
+@@ -717,7 +717,7 @@
+ loopi(fmt ? 1 : 2)
+ {
+ glClear(GL_COLOR_BUFFER_BIT);
+- quad(logo->id, (VIRTW-VIRTH)/2, 0, VIRTH, 0, 0, 1);
++ a_quad(logo->id, (VIRTW-VIRTH)/2, 0, VIRTH, 0, 0, 1);
+ if(fmt)
+ {
+ glEnable(GL_BLEND);
Added: trunk/spec_files/patches/assaultcube-03-cmds.diff
===================================================================
--- trunk/spec_files/patches/assaultcube-03-cmds.diff	 (rev 0)
+++ trunk/spec_files/patches/assaultcube-03-cmds.diff	2009年11月08日 15:14:17 UTC (rev 399)
@@ -0,0 +1,19 @@
+--- AssaultCube_v1.0.2/assaultcube.sh.orig	2009年09月08日 13:09:58.689875510 +0100
++++ AssaultCube_v1.0.2/assaultcube.sh	2009年09月08日 13:10:53.865875388 +0100
+@@ -2,7 +2,7 @@
+ # CUBE_DIR should refer to the directory in which Cube is placed.
+ #CUBE_DIR=~/cube
+ #CUBE_DIR=/usr/local/cube
+-CUBE_DIR=./
++CUBE_DIR=/usr/share/assaultcube
+ 
+ # CUBE_OPTIONS contains any command line options you would like to start Cube with.
+ #CUBE_OPTIONS="-f"
+@@ -49,6 +49,7 @@
+ 
+ if [ -x ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client ]
+ then
++ unset LANG # Solaris bug
+ cd ${CUBE_DIR}
+ exec ${CUBE_DIR}/bin_unix/${SYSTEM_NAME}${MACHINE_NAME}client ${CUBE_OPTIONS} "$@"
+ else
Added: trunk/spec_files/patches/dangerdeep-01-sconstruct.diff
===================================================================
--- trunk/spec_files/patches/dangerdeep-01-sconstruct.diff	 (rev 0)
+++ trunk/spec_files/patches/dangerdeep-01-sconstruct.diff	2009年11月08日 15:14:17 UTC (rev 399)
@@ -0,0 +1,62 @@
+diff -ur dangerdeep-0.2.0-orig/SConstruct dangerdeep-0.2.0/SConstruct
+--- dangerdeep-0.2.0-orig/SConstruct	2006年10月13日 01:44:44.000000000 +0700
++++ dangerdeep-0.2.0/SConstruct	2007年04月23日 13:10:31.248136721 +0700
+@@ -115,6 +115,58 @@
+ env.Append(LINKFLAGS = '--unresolved-symbols=ignore-all')
+ env.Append(LINKFLAGS = '-Xlinker --unresolved-symbols -Xlinker ignore-all')
+ 
++elif (sys.platform == 'sunos5'):
++	print "Compiling for Solaris Environment"
++	env = Environment(ENV = os.environ)
++	env.Replace(CC = os.environ['CC'])
++	env.Replace(CXX = os.environ['CXX'])
++	env.Replace(CCFLAGS = os.environ['CFLAGS'])
++	env.Replace(CXXFLAGS = os.environ['CXXFLAGS'])
++	env.Replace(LINKFLAGS = os.environ['LDFLAGS'])
++	env.Append(CPPPATH = ['/usr/include/SDL', '/usr/include/GL'])
++	libpath = ['/usr/X11R6/lib']
++	gllibs = ['GL', 'GLU']
++	sdllibs = ['SDL', 'SDL_image']
++	ccflags = '`sdl-config --cflags` -I/usr/X11/include'
++	env.Append(LINKFLAGS = '-L/usr/X11/lib')
++	mmxsupported = False
++	ssesupported = False
++	if (usex86sse == 0) and (mmxsupported and ssesupported):
++		usex86sse = 1
++	if usex86sse >= 1:
++		env.Append(CPPDEFINES = ['USE_SSE'])
++		osspecificsrc += ['water_sse.cpp']
++		if (usex86sse >= 3):
++			env.Append(CPPDEFINES = ['USE_SSE_INTRINSICS', 'USE_SSE_ALWAYS'])
++			env.Append(CCFLAGS = '-msse')
++			print 'Using x86 SSE/MMX optimizations with GCC intrinsics ALWAYS WITHOUT DETECTION!'
++		elif (usex86sse >= 2):
++			env.Append(CPPDEFINES = ['USE_SSE_INTRINSICS'])
++			env.Append(CCFLAGS = '-msse')
++			print 'Using x86 SSE/MMX optimizations with GCC intrinsics.'
++		else:
++			print 'Using x86 SSE/MMX optimizations.'
++	env.Append(CCFLAGS = ccflags)
++	datadir = '/usr/share/dangerdeep'
++	build_dir = 'sunos5'
++	# check for broken libGL, ignore undefined symbols then
++	if (os.system('grep glBindProgram /usr/include/GL/gl*.h > /dev/null') == 0):
++		gllibdirs = ['/usr/X11/lib/', '/usr/lib/']
++		gllibdir = ''
++		for i in gllibdirs:
++			if (os.system('test -f '+i+'libGL.so') == 0):
++				gllibdir = i
++				break
++		if (gllibdir == ''):
++			print 'ERROR: no libGL.so detected!'
++		else:
++			print 'Found GL library "'+gllibdir+'libGL.so"'
++		if (os.system('grep glBindProgram '+gllibdir+'libGL.so > /dev/null') != 0):
++			print 'GL headers declare glBindProgram, but libGL.so has no such symbol! Ignoring all undefined symbols...'
++			# I'm not sure which option will hopefully fix the problem... so i use both...
++			env.Append(LINKFLAGS = ' -z ignore')
++
++
+ else:
+ 	print "Compiling for Unix/Posix/Linux Environment"
+ 	env = Environment(ENV = os.environ)
Added: trunk/spec_files/patches/dangerdeep-02-backtrace.diff
===================================================================
--- trunk/spec_files/patches/dangerdeep-02-backtrace.diff	 (rev 0)
+++ trunk/spec_files/patches/dangerdeep-02-backtrace.diff	2009年11月08日 15:14:17 UTC (rev 399)
@@ -0,0 +1,31 @@
+diff -ur dangerdeep-0.2.0-orig/src/faulthandler.h dangerdeep-0.2.0/src/faulthandler.h
+--- dangerdeep-0.2.0-orig/src/faulthandler.h	2006年10月13日 01:16:09.000000000 +0700
++++ dangerdeep-0.2.0/src/faulthandler.h	2007年04月23日 13:18:28.911356853 +0700
+@@ -43,7 +43,11 @@
+ 
+ #else	//non-WIN32-MacOSX
+ 
++// backtrace support is yet to be added to Open Solaris
++// *** FIXME *** need to check for support in SConstruct
++#if !defined(sun)
+ #include <execinfo.h>
++#endif
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <cxxabi.h> // Needed for __cxa_demangle
+@@ -57,6 +61,7 @@
+ 
+ inline void print_stack_trace()
+ {
++#if !defined(sun)
+ 	void *array[16];
+ 	int size = backtrace(array, 16);
+ 	if (size < 0) {
+@@ -105,6 +110,7 @@
+ 			fprintf(stderr, "%s\n", it->c_str());
+ 		}
+ 	}
++#endif
+ }
+ 
+ void sigsegv_handler(int )
Added: trunk/spec_files/patches/dangerdeep-03-isfinite.diff
===================================================================
--- trunk/spec_files/patches/dangerdeep-03-isfinite.diff	 (rev 0)
+++ trunk/spec_files/patches/dangerdeep-03-isfinite.diff	2009年11月08日 15:14:17 UTC (rev 399)
@@ -0,0 +1,75 @@
+--- dangerdeep-0.3.0/src/bspline.h.orig	2007年06月11日 20:46:23.000000000 +0530
++++ dangerdeep-0.3.0/src/bspline.h	2009年10月27日 22:23:49.297147421 +0530
+@@ -25,6 +25,7 @@
+ #include <stdexcept>
+ #include <vector>
+ #include <cmath>
++#include <limits>
+ 
+ #if (defined(__APPLE__) && defined(__GNUC__)) || defined(__MACOSX__)
+ #include <complex.h>
+@@ -37,8 +38,14 @@
+ #define isfinite(x) _finite(x)
+ #endif
+ #else
++#if defined(sun)
++#ifndef isfinite
++#define isfinite(val) (val <= std::numeric_limits<double>::max())
++#endif
++#else
+ using std::isfinite;
+ #endif
++#endif
+ 
+ 
+ ///\brief Represents a non-uniform-B-spline interpolation object
+--- dangerdeep-0.3.0/src/make_mesh.cpp.orig	2007年06月11日 20:46:23.000000000 +0530
++++ dangerdeep-0.3.0/src/make_mesh.cpp	2009年10月27日 23:05:33.321690554 +0530
+@@ -22,6 +22,7 @@
+ 
+ #include "make_mesh.h"
+ #include <cmath>
++#include <limits>
+ 
+ #if (defined(__APPLE__) && defined(__GNUC__)) || defined(__MACOSX__)
+ #include <complex.h>
+@@ -34,8 +35,14 @@
+ #define isfinite(x) _finite(x)
+ #endif
+ #else
++#if defined(sun)
++#ifndef isfinite
++#define isfinite(val) (val <= std::numeric_limits<double>::max())
++#endif
++#else
+ using std::isfinite;
+ #endif
++#endif
+ 
+ using namespace std;
+ 
+--- dangerdeep-0.3.0/src/model.cpp.orig	2007年06月11日 20:46:23.000000000 +0530
++++ dangerdeep-0.3.0/src/model.cpp	2009年10月27日 23:05:59.171212973 +0530
+@@ -28,6 +28,7 @@
+ #endif
+ 
+ #include <cmath>
++#include <limits>
+ #if (defined(__APPLE__) && defined(__GNUC__)) || defined(__MACOSX__)
+ #include <complex.h>
+ #ifndef isfinite
+@@ -39,8 +40,14 @@
+ #define isfinite(x) _finite(x)
+ #endif
+ #else
++#if defined(sun)
++#ifndef isfinite
++#define isfinite(val) (val <= std::numeric_limits<double>::max())
++#endif
++#else
+ using std::isfinite;
+ #endif
++#endif
+ 
+ #include "system.h"
+ #include "datadirs.h"
Added: trunk/spec_files/patches/dangerdeep-05-gcc4.diff
===================================================================
--- trunk/spec_files/patches/dangerdeep-05-gcc4.diff	 (rev 0)
+++ trunk/spec_files/patches/dangerdeep-05-gcc4.diff	2009年11月08日 15:14:17 UTC (rev 399)
@@ -0,0 +1,58 @@
+--- dangerdeep-0.3.0/src/ptrlist.h.orig	2009年10月27日 22:09:28.325972987 +0530
++++ dangerdeep-0.3.0/src/ptrlist.h	2009年10月27日 22:10:49.701016935 +0530
+@@ -25,6 +25,7 @@
+ 
+ #include <list>
+ #include <stdexcept>
++#include <memory>
+ 
+ // same as std::list regarding the interface (partly), but handles pointers.
+ template <class T>
+--- dangerdeep-0.3.0/src/ptrvector.h.orig	2009年10月27日 22:26:20.879837124 +0530
++++ dangerdeep-0.3.0/src/ptrvector.h	2009年10月27日 22:26:33.917357307 +0530
+@@ -25,6 +25,7 @@
+ 
+ #include <vector>
+ #include <stdexcept>
++#include <memory>
+ 
+ // same as std::vector regarding the interface, but handles pointers.
+ template <class T>
+--- dangerdeep-0.3.0/src/convoy.h.orig	2009年10月27日 22:27:55.154462579 +0530
++++ dangerdeep-0.3.0/src/convoy.h	2009年10月27日 22:28:09.223741488 +0530
+@@ -27,6 +27,7 @@
+ #include "vector2.h"
+ #include <new>
+ #include <list>
++#include <memory>
+ class ship;
+ 
+ ///\brief Grouping of ships and other objects with central control.
+--- dangerdeep-0.3.0/src/date.cpp.orig	2009年10月27日 22:31:18.399711158 +0530
++++ dangerdeep-0.3.0/src/date.cpp	2009年10月27日 22:31:45.365402000 +0530
+@@ -21,6 +21,7 @@
+ // subsim (C)+(W) Markus Petermann and Thorsten Jordan. SEE LICENSE
+ 
+ #include <iomanip>
++#include <stdlib.h>
+ #include "date.h"
+ #include "texts.h"
+ 
+--- dangerdeep-0.3.0/src/widget.cpp.orig	2009年10月27日 23:01:17.630153918 +0530
++++ dangerdeep-0.3.0/src/widget.cpp	2009年10月27日 23:01:31.307852500 +0530
+@@ -32,6 +32,7 @@
+ #include "datadirs.h"
+ #include <set>
+ #include <sstream>
++#include <algorithm>
+ using std::vector;
+ using std::list;
+ using std::string;
+@@ -39,6 +40,7 @@
+ using std::auto_ptr;
+ using std::ostringstream;
+ using std::cout;
++using std::unique;
+ 
+ std::auto_ptr<widget::theme> widget::globaltheme;
+ widget* widget::focussed = 0;
Modified: trunk/spec_files/patches/poppler-02-64bit-fix.diff
===================================================================
--- trunk/spec_files/patches/poppler-02-64bit-fix.diff	2009年11月04日 18:45:17 UTC (rev 398)
+++ trunk/spec_files/patches/poppler-02-64bit-fix.diff	2009年11月08日 15:14:17 UTC (rev 399)
@@ -15,3 +15,21 @@
 }
 
 /**
+--- poppler-0.12.1-64/glib/poppler-layer.cc.orig	2009年10月25日 19:18:13.838339485 +0530
++++ poppler-0.12.1-64/glib/poppler-layer.cc	2009年10月25日 19:24:29.956863122 +0530
+@@ -197,7 +197,14 @@
+ gint 
+ poppler_layer_get_radio_button_group_id (PopplerLayer *poppler_layer)
+ {
++ void *rb_group_id;
++
+ g_return_val_if_fail (POPPLER_IS_LAYER (poppler_layer), FALSE);
+ 
+- return GPOINTER_TO_INT (poppler_layer->rbgroup);
++ /*
++ * Ugly hacks for 64Bit pointer to int coercion for 64Bit compilation.
++ * We should not be generating a group id this way.
++ */
++ rb_group_id = &(poppler_layer->rbgroup);
++ return GPOINTER_TO_INT (*((int *)rb_group_id));
+ }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2009年11月04日 18:45:27
Revision: 398
 http://belenix.svn.sourceforge.net/belenix/?rev=398&view=rev
Author: moinakg
Date: 2009年11月04日 18:45:17 +0000 (2009年11月04日)
Log Message:
-----------
	* SFEsauerbraten.spec
	* patches/sauerbraten-02-startup.diff
	* patches/sauerbraten-01-solaris.diff
	* patches/sauerbraten-03-no_pch.diff
	 Pulled in with modifications from SFE repo.
	* SFEstellarium.spec
	* patches/stellarium-01-solaris.diff
	* patches/stellarium-02-cmake.diff
	* ext-sources/stellarium.png
	* ext-sources/stellarium.desktop
	 New package.
Added Paths:
-----------
 trunk/spec_files/SFEsauerbraten.spec
 trunk/spec_files/SFEstellarium.spec
 trunk/spec_files/ext-sources/stellarium.desktop
 trunk/spec_files/ext-sources/stellarium.png
 trunk/spec_files/patches/sauerbraten-01-solaris.diff
 trunk/spec_files/patches/sauerbraten-02-startup.diff
 trunk/spec_files/patches/sauerbraten-03-no_pch.diff
 trunk/spec_files/patches/stellarium-01-solaris.diff
 trunk/spec_files/patches/stellarium-02-cmake.diff
Added: trunk/spec_files/SFEsauerbraten.spec
===================================================================
--- trunk/spec_files/SFEsauerbraten.spec	 (rev 0)
+++ trunk/spec_files/SFEsauerbraten.spec	2009年11月04日 18:45:17 UTC (rev 398)
@@ -0,0 +1,90 @@
+#
+# spec file for package SFEsauerbraten.spec
+#
+# includes module(s): sauerbraten
+#
+%include Solaris.inc
+
+%define src_name	sauerbraten
+%define src_url		http://nchc.dl.sourceforge.net/sourceforge/sauerbraten
+%define src_edition	trooper_edition_linux
+
+Name: SFEsauerbraten
+Summary: Sauerbraten game engine
+Version: 2009_05_04
+Source: %{src_url}/%{src_name}_%{version}_%{src_edition}.tar.bz2
+Patch1:			sauerbraten-01-solaris.diff
+Patch2:			sauerbraten-02-startup.diff
+Patch3: sauerbraten-03-no_pch.diff
+Copyright:		sauerbraten.copyright
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+BuildRequires: SFEsdl-mixer-devel
+Requires: SFEsdl-mixer
+BuildRequires: SFEsdl-image-devel
+Requires: SFEsdl-image
+
+%prep
+%setup -q -n %{src_name}
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+#remove files that we can't package
+find . -name '\!*' -exec rm {} \; -print
+# fix filenames 
+perl -pi -e 's/\&/_and_/' packages/dg/package.cfg
+mv packages/dg/floor_grass3\&soil.jpg packages/dg/floor_grass3_and_soil.jpg
+mv packages/dg/floor_soil\&grave3.jpg packages/dg/floor_soil_and_grave3.jpg
+
+mv packages/models/psionic/Psionic\ permission.txt packages/models/psionic/Psionic_permission.txt
+mv packages/models/aftas/aftasardem\ licence.txt packages/models/aftas/aftasardem_licence.txt
+mv packages/models/xeno/Xeno\ permission.txt packages/models/xeno/Xeno_permission.txt
+mv packages/fanatic/Track\ Names.txt packages/fanatic/Track_Names.txt
+mv packages/mitaman/mitaman\ texture\ readme.txt packages/mitaman/mitaman_texture_readme.txt
+mv packages/mitaman/mm-texture\ readme.txt packages/mitaman/mm-texture_readme.txt
+mv packages/dash/Dash\ Readme.txt packages/dash/Dash_Readme.txt
+mv packages/loopix/loopix\ readme.txt packages/loopix/loopix_readme.txt
+mv packages/aftas/aftasardem\ licence.txt packages/aftas/aftasardem_licence.txt
+mv packages/ratboy/skyboxes/Coward\ Cove.txt packages/ratboy/skyboxes/Coward_Cove.txt
+mv packages/noctua/noctua\ readme.txt packages/noctua/noctua_readme.txt
+mv packages/golgotha/golgotha\ readme.txt packages/golgotha/golgotha_readme.txt
+mv packages/blikjebier/snow/snow_path_2_end\ 2.jpg packages/blikjebier/snow/snow_path_2_end_2.jpg
+
+%build
+cd src
+export CXX=/usr/gnu/bin/g++
+export CXXFLAGS="-O3 -fno-omit-frame-pointer -fno-strict-aliasing -I%{_includedir}/sys"
+export LDFLAGS="-lsocket -lnsl %{xorg_lib_path} %{gnu_lib_path}"
+export LD_OPTIONS="$LDFLAGS"
+cp Makefile Makefile.orig 
+cat Makefile.orig | sed '{
+ s@-fomit-frame-pointer@-fno-omit-frame-pointer -fno-strict-aliasing@
+ s@-lrt@-lrt -lsocket -lnsl %{xorg_lib_path} %{gnu_lib_path}@
+}' > Makefile
+make install
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/sauerbraten
+chmod 755 sauerbraten_unix
+cp -p sauerbraten_unix $RPM_BUILD_ROOT%{_bindir}/sauerbraten
+/usr/bin/tar fcp - README.html bin_unix data packages | ( cd $RPM_BUILD_ROOT%{_datadir}/sauerbraten && tar fxp - )
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%{_bindir}
+%dir %attr (0755,root,sys) %{_datadir}
+%{_datadir}/sauerbraten
+
+%changelog
+* Mon Nov 02 2009 - Moinak Ghosh <moinakg<at>belenix(dot)org>
+- Pulled in with modifications from SFE repo.
+* Tue Sep 8 2009 - drd...@gm...
+- Bumped to Trooper Edition (2009_05_04)
+* Tue Jun 5 2007 - do...@tr...
+- Initial version
Added: trunk/spec_files/SFEstellarium.spec
===================================================================
--- trunk/spec_files/SFEstellarium.spec	 (rev 0)
+++ trunk/spec_files/SFEstellarium.spec	2009年11月04日 18:45:17 UTC (rev 398)
@@ -0,0 +1,155 @@
+#
+# spec file for package SFEstellarium.spec
+#
+# Copyright (c) 2008 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+%include Solaris.inc
+
+%define SFEfreetype %(/usr/bin/pkginfo -q SFEfreetype && echo 1 || echo 0)
+%define guidever 0.10.2-1
+%define perl_bin %{_prefix}/perl5/5.8.4/bin
+
+Name: SFEstellarium
+Summary: A Photo-realistic nightsky renderer
+Version: 0.10.2
+Group: Education/Astronomy
+License: GPLv2+
+URL: http://stellarium.free.fr/
+Source: %{sf_download}/stellarium/stellarium-%{version}.tar.gz
+Source1: stellarium.png
+Source2: stellarium.desktop
+Source3: %{sf_download}/stellarium/stellarium_user_guide-%{guidever}.pdf
+Patch1: stellarium-01-solaris.diff
+Patch2: stellarium-02-cmake.diff
+
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+BuildRequires: SFEsdl-devel
+Requires: SFEsdl
+BuildRequires:	SFEsdl-mixer-devel
+Requires:	SFEsdl-mixer
+Requires: SUNWxorg-mesa
+BuildRequires: SUNWxorg-headers
+BuildRequires: SUNWperl584usr
+%if %SFEfreetype
+BuildRequires: SFEfreetype-devel
+Requires: SFEfreetype
+%else
+BuildRequires: SUNWfreetype2
+Requires: SUNWfreetype2
+%endif
+Requires: FSWxorg-fonts-core
+BuildRequires: SFEcmake
+Requires: SFEqt4
+BuildRequires: SFEqt4-devel
+Requires: SUNWgnu-gettext
+BuildRequires: SUNWgnu-gettext-devel
+Requires: SFEboost-gpp
+BuildRequires: SFEboost-gpp-devel
+Requires: SUNWglib2
+BuildRequires: SUNWglib2-devel
+
+%description
+Stellarium is a real-time 3D photo-realistic nightsky renderer. It can
+generate images of the sky as seen through the Earth's atmosphere with
+more than one hundred thousand stars from the Hipparcos Catalogue,
+constellations, planets, major satellites and nebulas.
+
+%package doc
+Summary: 	 The user guide about Stellarium
+Group:		 Documentation
+License:	 GFDL
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: %{name}
+
+%package l10n
+Summary: %{summary} - l10n files
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %{name}
+
+%prep
+%setup -q -c -n %name-%version
+cd stellarium-%{version}
+%patch1 -p1
+%patch2 -p1
+cd ..
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+ CPUS=1
+fi
+
+cd stellarium-%{version}
+export CXXFLAGS="%cxx_optflags"
+export CFLAGS="%optflags"
+export LDFLAGS="%_ldflags -L/lib -R/lib %{gnu_lib_path} -lstdc++ %{xorg_lib_path} -L%{_libdir}/boost/gcc4 -R%{_libdir}/boost/gcc4"
+export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig:%{_prefix}/gnu/lib/pkgconfig
+export PATH="%{perl_bin}:${PATH}"
+
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_C_COMPILER:FILEPATH=${CC} \
+ -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
+ -DCMAKE_CXX_COMPILER:FILEPATH=${CXX} \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="${CXXFLAGS}" \
+ -DLIB_INSTALL_DIR=%{_libdir}/%{_arch64} \
+ -DBIN_INSTALL_DIR=%{_bindir}/%{_arch64} \
+ -DINCLUDE_INSTALL_DIR=%{_includedir} \
+ -DBOOST_INCLUDEDIR=%{_includedir}/boost/gcc4 \
+ -DBOOST_LIBRARYDIR=%{_libdir}/boost/gcc4 \
+ -DBUILD_SHARED_LIBS=On \
+ -DCMAKE_VERBOSE_MAKEFILE=1 . > config.log 2>&1
+
+gmake -j$CPUS 
+
+%install
+cd stellarium-%{version}
+export PATH="%{perl_bin}:${PATH}"
+gmake install DESTDIR=$RPM_BUILD_ROOT
+
+mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
+mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications
+
+cp %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
+cp %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/applications
+
+mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/doc/stellarium
+cp %{SOURCE3} ${RPM_BUILD_ROOT}%{_datadir}/doc/stellarium
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, bin) %{_mandir}
+%dir %attr (0755, root, bin) %{_mandir}/man1
+%{_mandir}/man1/*
+
+%defattr (-, root, other)
+%{_datadir}/applications
+%{_datadir}/pixmaps
+%{_datadir}/stellarium
+
+%files doc
+%defattr (-, root, other)
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/doc
+
+%files l10n
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_datadir}
+%attr (-, root, other) %{_datadir}/locale
+
+%changelog
+* Mon Nov 02 2009 - Moinak Ghosh <moinakg<at>belenix(dot)org>
+- Initial spec.
Added: trunk/spec_files/ext-sources/stellarium.desktop
===================================================================
--- trunk/spec_files/ext-sources/stellarium.desktop	 (rev 0)
+++ trunk/spec_files/ext-sources/stellarium.desktop	2009年11月04日 18:45:17 UTC (rev 398)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Exec=stellarium
+Icon=stellarium
+Terminal=false
+Name=Stellarium Night Sky viewer
+Comment=A real-time night sky viewer
+Categories=Education;Science;Astronomy;
+StartupNotify=true
Added: trunk/spec_files/ext-sources/stellarium.png
===================================================================
(Binary files differ)
Property changes on: trunk/spec_files/ext-sources/stellarium.png
___________________________________________________________________
Added: svn:mime-type
 + application/octet-stream
Added: trunk/spec_files/patches/sauerbraten-01-solaris.diff
===================================================================
--- trunk/spec_files/patches/sauerbraten-01-solaris.diff	 (rev 0)
+++ trunk/spec_files/patches/sauerbraten-01-solaris.diff	2009年11月04日 18:45:17 UTC (rev 398)
@@ -0,0 +1,83 @@
+--- sauerbraten/src/engine/main.cpp.orig	2009年09月06日 11:52:50.986911992 +0100
++++ sauerbraten/src/engine/main.cpp	2009年09月06日 11:53:17.014690075 +0100
+@@ -479,9 +479,9 @@
+ 
+ COMMAND(screenres, "ii");
+ 
+-VARFP(gamma, 30, 100, 300,
++VARFP(screen_gamma, 30, 100, 300,
+ {
+-	float f = gamma/100.0f;
++	float f = screen_gamma/100.0f;
+ if(SDL_SetGamma(f,f,f)==-1)
+ {
+ conoutf(CON_ERROR, "Could not set gamma (card/driver doesn't support it?)");
+@@ -491,7 +491,7 @@
+ 
+ void resetgamma()
+ {
+-	float f = gamma/100.0f;
++	float f = screen_gamma/100.0f;
+ 	if(f==1) return;
+ 	SDL_SetGamma(1, 1, 1);
+ 	SDL_SetGamma(f, f, f);
+--- sauerbraten/src/engine/lensflare.h.orig	2009年09月06日 11:52:32.353836453 +0100
++++ sauerbraten/src/engine/lensflare.h	2009年09月06日 11:53:17.013533617 +0100
+@@ -1,3 +1,6 @@
++#ifdef sun
++#undef sun
++#endif
+ static struct flaretype
+ {
+ int type; /* flaretex index, 0..5, -1 for 6+random shine */
+--- sauerbraten/src/engine/movie.cpp.orig	2009年09月06日 11:52:43.153800377 +0100
++++ sauerbraten/src/engine/movie.cpp	2009年09月06日 11:53:17.014149763 +0100
+@@ -632,7 +632,7 @@
+ 
+ void cleanup() { DELETEA(sound); maxsize = 0; }
+ };
+- static queue<soundbuffer, MAXSOUNDBUFFERS> soundbuffers;
++ static aqueue<soundbuffer, MAXSOUNDBUFFERS> soundbuffers;
+ static SDL_mutex *soundlock = NULL;
+ 
+ enum { MAXVIDEOBUFFERS = 2 }; // double buffer
+@@ -657,7 +657,7 @@
+ 
+ void cleanup() { DELETEA(video); }
+ };
+- static queue<videobuffer, MAXVIDEOBUFFERS> videobuffers;
++ static aqueue<videobuffer, MAXVIDEOBUFFERS> videobuffers;
+ static uint lastframe = ~0U;
+ 
+ static GLuint scalefb = 0, scaletex[2] = { 0, 0 };
+--- sauerbraten/src/shared/tools.h.orig	2009年09月06日 11:52:15.257870469 +0100
++++ sauerbraten/src/shared/tools.h	2009年09月06日 11:54:22.540493303 +0100
+@@ -679,12 +679,12 @@
+ }
+ };
+ 
+-template <class T, int SIZE> struct queue
++template <class T, int SIZE> struct aqueue
+ {
+ int head, tail, len;
+ T data[SIZE];
+ 
+- queue() { clear(); }
++ aqueue() { clear(); }
+ 
+ void clear() { head = tail = len = 0; }
+ 
+@@ -764,6 +764,13 @@
+ template<class T> inline void bigswap(T *buf, int len) { if(*(const uchar *)&islittleendian) endianswap(buf, len); }
+ #endif
+ 
++#ifdef getchar
++#undef getchar
++#endif
++#ifdef putchar
++#undef putchar
++#endif
++
+ struct stream
+ {
+ virtual ~stream() {}
Added: trunk/spec_files/patches/sauerbraten-02-startup.diff
===================================================================
--- trunk/spec_files/patches/sauerbraten-02-startup.diff	 (rev 0)
+++ trunk/spec_files/patches/sauerbraten-02-startup.diff	2009年11月04日 18:45:17 UTC (rev 398)
@@ -0,0 +1,19 @@
+--- sauerbraten/sauerbraten_unix.orig	2009年09月08日 12:25:58.955974815 +0100
++++ sauerbraten/sauerbraten_unix	2009年09月08日 12:27:21.642128911 +0100
+@@ -2,7 +2,7 @@
+ # SAUER_DATA should refer to the directory in which Sauerbraten data files are placed.
+ #SAUER_DATA=~/sauerbraten
+ #SAUER_DATA=/usr/local/sauerbraten
+-SAUER_DATA=.
++SAUER_DATA=/usr/share/sauerbraten
+ 
+ # SAUER_BIN should refer to the directory in which Sauerbraten executable files are placed.
+ SAUER_BIN=${SAUER_DATA}/bin_unix
+@@ -52,6 +52,7 @@
+ 
+ if [ -x ${SAUER_BIN}/${SYSTEM_NAME}${MACHINE_NAME}client ]
+ then
++ unset LANG # Solaris Bug
+ cd ${SAUER_DATA}
+ exec ${SAUER_BIN}/${SYSTEM_NAME}${MACHINE_NAME}client ${SAUER_OPTIONS} "$@"
+ else
Added: trunk/spec_files/patches/sauerbraten-03-no_pch.diff
===================================================================
--- trunk/spec_files/patches/sauerbraten-03-no_pch.diff	 (rev 0)
+++ trunk/spec_files/patches/sauerbraten-03-no_pch.diff	2009年11月04日 18:45:17 UTC (rev 398)
@@ -0,0 +1,21 @@
+--- sauerbraten/src/Makefile.orig	2009年11月01日 18:06:58.940624860 +0530
++++ sauerbraten/src/Makefile	2009年11月01日 18:07:19.881789133 +0530
+@@ -82,7 +82,8 @@
+ ifneq (,$(findstring MINGW,$(PLATFORM)))
+ CLIENT_OBJS+= vcpp/SDL_win32_main.o
+ endif
+-CLIENT_PCH= shared/cube.h.gch engine/engine.h.gch fpsgame/game.h.gch
++#CLIENT_PCH= shared/cube.h.gch engine/engine.h.gch fpsgame/game.h.gch
++CLIENT_PCH= 
+ 
+ ifneq (,$(findstring MINGW,$(PLATFORM)))
+ SERVER_INCLUDES= -DSTANDALONE $(INCLUDES) -Iinclude
+@@ -177,7 +178,7 @@
+ 
+ depend:
+ 	makedepend -Y -Ishared -Iengine -Ifpsgame $(subst .o,.cpp,$(CLIENT_OBJS))
+-	makedepend -a -o.h.gch -Y -Ishared -Iengine -Ifpsgame $(subst .h.gch,.h,$(CLIENT_PCH))
++	#makedepend -a -o.h.gch -Y -Ishared -Iengine -Ifpsgame $(subst .h.gch,.h,$(CLIENT_PCH))
+ 	makedepend -a -o-standalone.o -Y -Ishared -Iengine -Ifpsgame $(subst -standalone.o,.cpp,$(SERVER_OBJS))
+ 	makedepend -a -o-standalone.o -Y -Ishared -Iengine -Ifpsgame $(subst -standalone.o,.cpp,$(filter-out $(SERVER_OBJS), $(MASTER_OBJS)))
+ 
Added: trunk/spec_files/patches/stellarium-01-solaris.diff
===================================================================
--- trunk/spec_files/patches/stellarium-01-solaris.diff	 (rev 0)
+++ trunk/spec_files/patches/stellarium-01-solaris.diff	2009年11月04日 18:45:17 UTC (rev 398)
@@ -0,0 +1,71 @@
+--- stellarium-0.10.2/src/modules/Skybright.cpp.orig	2009年10月14日 22:48:04.893923171 +0530
++++ stellarium-0.10.2/src/modules/Skybright.cpp	2009年10月14日 22:48:30.483454678 +0530
+@@ -118,10 +118,10 @@
+ 
+ 	// Daylight brightness
+ 	const float distSun = fastAcos(cosDistSun);
+-	const float FS = 18886.28f / (distSun*distSun + 0.0007f)
++	const float _FS = 18886.28f / (distSun*distSun + 0.0007f)
+ 	 + pow10(6.15f - (distSun+0.001f)* 1.43239f)
+ 	 + 229086.77f * ( 1.06f + cosDistSun*cosDistSun );
+-	const float b_daylight = 9.289663e-12 * (1.f - bKX) * (FS * C4 + 440000.f * (1.f - C4));
++	const float b_daylight = 9.289663e-12 * (1.f - bKX) * (_FS * C4 + 440000.f * (1.f - C4));
+ 
+ 	//Twilight brightness
+ 	const float b_twilight = pow10(bTwilightTerm + 0.063661977f * fastAcos(cosDistZenith)/(K> 0.05f ? K : 0.05f)) * (1.7453293f / distSun) * (1.f-bKX);
+--- stellarium-0.10.2/src/modules/ConstellationMgr.cpp.orig	2009年10月17日 16:30:30.596093215 +0530
++++ stellarium-0.10.2/src/modules/ConstellationMgr.cpp	2009年10月17日 18:57:46.830052005 +0530
+@@ -880,21 +880,34 @@
+ 		return false;
+ 	}
+ 
+-	QTextStream istr(&dataFile);
+ 	float DE, RA;
+ 	float oDE, oRA;
+ 	Vec3f XYZ;
+ 	unsigned num, numc;
+ 	vector<Vec3f> *points = NULL;
+ 	QString consname;
++	QString record;
+ 	i = 0;
+-	while (!istr.atEnd())	
++	while (!dataFile.atEnd())
+ 	{
+ 		points = new vector<Vec3f>;
+ 
++		QString line = dataFile.readLine();
++		while (line.at(line.size()-1) == '\n')
++			line.chop(1);
++		record.append(line);
++		if (! line.at(line.size()-1).isLetter()) {
++			record.append(" ");
++			continue;
++		}
++		QTextStream istr(&record);
+ 		num = 0;
+ 		istr >> num;
+-		if(num == 0) continue; // empty line
++		if(num == 0) {
++			delete points;
++			record = "";
++			continue; // empty line
++		}
+ 
+ 		for (j=0;j<num;j++)
+ 		{
+@@ -929,14 +942,12 @@
+ 			else 
+ 				cons->isolatedBoundarySegments.push_back(points);
+ 		}
+-
+ 		if (cons) cons->sharedBoundarySegments.push_back(points);
++		record = "";
+ 		i++;
+-
+ 	}
+ 	dataFile.close();
+ 	qDebug() << "Loaded" << i << "constellation boundary segments";
+-	delete points;
+ 
+ 	return true;
+ }
Added: trunk/spec_files/patches/stellarium-02-cmake.diff
===================================================================
--- trunk/spec_files/patches/stellarium-02-cmake.diff	 (rev 0)
+++ trunk/spec_files/patches/stellarium-02-cmake.diff	2009年11月04日 18:45:17 UTC (rev 398)
@@ -0,0 +1,14 @@
+diff -up stellarium-0.10.2/CMakeLists.txt.cm stellarium-0.10.2/CMakeLists.txt
+--- stellarium-0.10.2/CMakeLists.txt.cm	2009年03月09日 12:28:34.000000000 +0100
++++ stellarium-0.10.2/CMakeLists.txt	2009年03月12日 22:01:54.000000000 +0100
+@@ -22,8 +22,8 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin"
+ ENDIF()
+ 
+ IF(UNIX AND NOT WIN32)
+- SET(CMAKE_C_FLAGS "-Wall -Wextra -Wno-unused-parameter") # additional C compile flags
+- SET(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-unused-parameter") # additional CPP compile flags
++ SET(CMAKE_C_FLAGS ${CMAKE_C_FLAGS}) # additional C compile flags
++ SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) # additional CPP compile flags
+ ELSE()
+ SET(CMAKE_C_FLAGS "-Wall -fexceptions -fident -mthreads")
+ SET(CMAKE_CXX_FLAGS "-Wall -Wsign-promo -fexceptions -fident -mthreads")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
From: belenix-notify <bel...@li...> - 2009年11月04日 18:25:37
Revision: 397
 http://belenix.svn.sourceforge.net/belenix/?rev=397&view=rev
Author: moinakg
Date: 2009年11月04日 18:25:21 +0000 (2009年11月04日)
Log Message:
-----------
l10 files from JDS repo, set #10.
Added Paths:
-----------
 trunk/spec_files/jds/po-sun/ghex/
 trunk/spec_files/jds/po-sun/ghex/po-sun/
 trunk/spec_files/jds/po-sun/ghex/po-sun/cs.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/de.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/es.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/fr.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/ghex-sun.pot
 trunk/spec_files/jds/po-sun/ghex/po-sun/hu.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/it.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/ja.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/ko.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/pl.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/ru.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/sv.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/ghex/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/gnome-menus/
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/de.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/es.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/gnome-menus-sun.pot
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/it.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gnome-menus/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/gnome-pilot/
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/cs.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/de.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/es.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/fr.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/gnome-pilot-sun.pot
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/hu.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/it.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/ja.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/ko.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/pl.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/ru.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/sv.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/printman/
 trunk/spec_files/jds/po-sun/printman/po-sun/
 trunk/spec_files/jds/po-sun/printman/po-sun/cs.po
 trunk/spec_files/jds/po-sun/printman/po-sun/de.po
 trunk/spec_files/jds/po-sun/printman/po-sun/es.po
 trunk/spec_files/jds/po-sun/printman/po-sun/fr.po
 trunk/spec_files/jds/po-sun/printman/po-sun/hu.po
 trunk/spec_files/jds/po-sun/printman/po-sun/it.po
 trunk/spec_files/jds/po-sun/printman/po-sun/ja.po
 trunk/spec_files/jds/po-sun/printman/po-sun/ko.po
 trunk/spec_files/jds/po-sun/printman/po-sun/pl.po
 trunk/spec_files/jds/po-sun/printman/po-sun/printman-sun.pot
 trunk/spec_files/jds/po-sun/printman/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/printman/po-sun/ru.po
 trunk/spec_files/jds/po-sun/printman/po-sun/sv.po
 trunk/spec_files/jds/po-sun/printman/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/printman/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/printman/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/totem/
 trunk/spec_files/jds/po-sun/totem/po-sun/
 trunk/spec_files/jds/po-sun/totem/po-sun/cs.po
 trunk/spec_files/jds/po-sun/totem/po-sun/de.po
 trunk/spec_files/jds/po-sun/totem/po-sun/es.po
 trunk/spec_files/jds/po-sun/totem/po-sun/fr.po
 trunk/spec_files/jds/po-sun/totem/po-sun/hu.po
 trunk/spec_files/jds/po-sun/totem/po-sun/it.po
 trunk/spec_files/jds/po-sun/totem/po-sun/ja.po
 trunk/spec_files/jds/po-sun/totem/po-sun/ko.po
 trunk/spec_files/jds/po-sun/totem/po-sun/pl.po
 trunk/spec_files/jds/po-sun/totem/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/totem/po-sun/ru.po
 trunk/spec_files/jds/po-sun/totem/po-sun/sv.po
 trunk/spec_files/jds/po-sun/totem/po-sun/totem-sun.pot
 trunk/spec_files/jds/po-sun/totem/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/totem/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/totem/po-sun/zh_TW.po
 trunk/spec_files/jds/po-sun/tracker/
 trunk/spec_files/jds/po-sun/tracker/po-sun/
 trunk/spec_files/jds/po-sun/tracker/po-sun/cs.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/de.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/es.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/fr.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/hu.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/it.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/ja.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/ko.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/pl.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/pt_BR.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/ru.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/sv.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/tracker-sun.pot
 trunk/spec_files/jds/po-sun/tracker/po-sun/zh_CN.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/zh_HK.po
 trunk/spec_files/jds/po-sun/tracker/po-sun/zh_TW.po
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/cs.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/cs.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/cs.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,26 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月01日 22:42+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr ""
+
+# SUN_BRANDING
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/de.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/de.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/de.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,33 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月14日 12:25+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr "GHex-Binärdatei-Editor"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr "Die Inhalte von Binärdateien prüfen und bearbeiten"
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/es.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/es.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/es.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,33 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月15日 11:09+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr "Editor de archivos binarios GHex"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr "Inspecciona y edita el contenido de archivos binarios"
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/fr.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/fr.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/fr.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,33 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月14日 17:47+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n>1;\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr "Éditeur de fichiers binaires GHex"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr "Inspecter et modifier le contenu des fichiers binaires"
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/ghex-sun.pot
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/ghex-sun.pot	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/ghex-sun.pot	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,33 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL...@li...>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
+
+# SUN_BRANDING
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr ""
+
+# SUN_BRANDING
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/hu.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/hu.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/hu.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,27 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月01日 22:42+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+# SUN_BRANDING
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr ""
+
+# SUN_BRANDING
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/it.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/it.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/it.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月14日 18:25+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr "Editor di file binari GHex"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr "Analizza e modifica il contenuto dei file binari"
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/ja.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/ja.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/ja.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,35 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月01日 22:42+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN TECH REVIEWED
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr "GHex バイナリファイルエディタ"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN TECH REVIEWED
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr "バイナリファイルの内容を検査および編集します"
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/ko.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/ko.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/ko.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月01日 22:42+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr "GHex 이진 파일 편집기"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr "이진 파일의 내용을 검사하고 편집합니다."
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/pl.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/pl.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/pl.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,26 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月01日 22:42+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr ""
+
+# SUN_BRANDING
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/pt_BR.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/pt_BR.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/pt_BR.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月14日 17:06+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr "Editor de arquivos binários GHex"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr "Inspeciona e edita o conteúdo de arquivos binários"
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/ru.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/ru.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/ru.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,28 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月01日 22:42+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
+"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+# SUN_BRANDING
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr ""
+
+# SUN_BRANDING
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/sv.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/sv.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/sv.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,27 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月01日 22:42+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+# SUN_BRANDING
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr ""
+
+# SUN_BRANDING
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/zh_CN.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/zh_CN.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/zh_CN.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月01日 22:42+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr "GHex 二进制文件编辑器"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr "检查和编辑二进制文件的内容"
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/zh_HK.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/zh_HK.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/zh_HK.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月01日 22:42+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr "GHex 二進位檔案編輯器"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr "檢視與編輯二進位檔案的內容"
Added: trunk/spec_files/jds/po-sun/ghex/po-sun/zh_TW.po
===================================================================
--- trunk/spec_files/jds/po-sun/ghex/po-sun/zh_TW.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/ghex/po-sun/zh_TW.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the ghex package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: ghex HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年10月01日 22:42+0900\n"
+"PO-Revision-Date: 2008年10月01日 22:42+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:2
+msgid "GHex Binary File Editor"
+msgstr "GHex 二進位檔案編輯器"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../ghex.desktop.in.h:4
+msgid "Inspect and edit the contents of binary files"
+msgstr "檢視與編輯二進位檔案的內容"
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/cs.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/cs.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/cs.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,27 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2007年01月16日 15:48+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr "Vývojářské nástroje"
+
+# SUN_BRANDING
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr ""
+
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/de.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/de.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/de.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,30 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2008年10月14日 12:25+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr "Schnellstartanwendungen"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr "Entwicklungswerkzeuge"
+
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/es.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/es.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/es.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,30 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2008年10月15日 11:09+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr "Aplicaciones de inicio rápido"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr "Herramientas para desarrolladores"
+
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/fr.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/fr.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/fr.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,30 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2008年10月14日 17:47+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr "Applications de démarrage rapide"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr "Outils de développement"
+
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/gnome-menus-sun.pot
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/gnome-menus-sun.pot	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/gnome-menus-sun.pot	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,32 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL...@li...>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr ""
+
+# SUN_BRANDING
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/hu.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/hu.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/hu.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,26 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2007年01月16日 15:48+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr ""
+
+# SUN_BRANDING
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/it.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/it.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/it.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,30 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2008年10月14日 18:25+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr "Applicazioni di avvio rapido"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr "Strumenti di sviluppo"
+
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/ja.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/ja.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/ja.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,31 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2007年01月16日 15:48+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN TECH REVIEWED
+# SUN LING REVIEWED
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr "アプリケーションのクイックスタート"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr "開発者ツール"
+
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/ko.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/ko.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/ko.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,30 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2007年01月16日 15:48+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr "응용 프로그램 빠른 시작"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr "개발자 도구"
+
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/pl.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/pl.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/pl.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,26 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2007年01月16日 15:48+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr ""
+
+# SUN_BRANDING
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/pt_BR.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/pt_BR.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/pt_BR.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,30 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2008年10月14日 17:07+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr "Aplicativos de início rápido"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr "Ferramentas de desenvolvedor"
+
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/ru.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/ru.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/ru.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,27 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2007年01月16日 15:48+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr "Инструменты разработки"
+
+# SUN_BRANDING
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr ""
+
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/sv.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/sv.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/sv.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,26 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2007年01月16日 15:48+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr ""
+
+# SUN_BRANDING
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/zh_CN.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/zh_CN.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/zh_CN.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,30 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2007年01月16日 15:48+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr "快速启动应用程序"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr "开发者工具"
+
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/zh_HK.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/zh_HK.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/zh_HK.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,30 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2007年01月16日 15:48+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr "快速啟動應用程式"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr "開發者工具"
+
Added: trunk/spec_files/jds/po-sun/gnome-menus/po-sun/zh_TW.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-menus/po-sun/zh_TW.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-menus/po-sun/zh_TW.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,30 @@
+# Copyright (C) 2008 Sun Microsystems, Inc
+# This file is distributed under the same license as the gnome-menus package.
+#
+# Desktop Discuss <des...@op...>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-menus HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008年09月29日 20:38+0900\n"
+"PO-Revision-Date: 2007年01月16日 15:48+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../desktop-directories/QuickStart.directory.in.h:2
+msgid "Quick Start Applications"
+msgstr "快速啟動應用程式"
+
+# SUN_BRANDING
+#: ../desktop-directories/Development.directory.in.h:2
+msgid "Developer Tools"
+msgstr "開發者工具"
+
Added: trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/cs.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/cs.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/cs.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,49 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-pilot HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月13日 17:04+0900\n"
+"PO-Revision-Date: 2007年02月13日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:2
+msgid "PDA Synchronization"
+msgstr "Synchronizace PDA"
+
+# SUN_BRANDING
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:4
+msgid ""
+"Synchronize email, calendar, tasks and contacts with a Palm Pilot or "
+"compatible PDA"
+msgstr ""
+"Synchronizovat poštu, kalendář, úkoly a kontakty s Palm Pilotem "
+"nebo kompatibilním PDA"
Added: trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/de.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/de.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/de.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,55 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-pilot HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月13日 17:04+0900\n"
+"PO-Revision-Date: 2008年03月05日 11:53+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:2
+msgid "PDA Synchronization"
+msgstr "PDA-Synchronisierung"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:4
+msgid ""
+"Synchronize email, calendar, tasks and contacts with a Palm Pilot or "
+"compatible PDA"
+msgstr ""
+"E-Mail, Kalender, Aufgaben und Kontakte mit einem Palm Pilot oder einem "
+"kompatiblen PDA synchronisieren"
Added: trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/es.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/es.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/es.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,55 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-pilot HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月13日 17:04+0900\n"
+"PO-Revision-Date: 2008年02月26日 14:06+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:2
+msgid "PDA Synchronization"
+msgstr "Sincronización de PDA"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:4
+msgid ""
+"Synchronize email, calendar, tasks and contacts with a Palm Pilot or "
+"compatible PDA"
+msgstr ""
+"Sincronice correo electrónico, calendario, tareas y contactos con un Palm "
+"Pilot o un PDA compatible"
Added: trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/fr.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/fr.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/fr.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,55 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-pilot HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月13日 17:04+0900\n"
+"PO-Revision-Date: 2008年03月05日 12:27+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:2
+msgid "PDA Synchronization"
+msgstr "Synchronisation PDA"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:4
+msgid ""
+"Synchronize email, calendar, tasks and contacts with a Palm Pilot or "
+"compatible PDA"
+msgstr ""
+"Synchroniser la messagerie, le calendrier, les tâches et les contacts avec "
+"un Palm Pilot ou un PDA compatible"
Added: trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/gnome-pilot-sun.pot
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/gnome-pilot-sun.pot	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/gnome-pilot-sun.pot	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,54 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月13日 17:04+0900\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL...@li...>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:2
+msgid "PDA Synchronization"
+msgstr ""
+
+# SUN_BRANDING
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:4
+msgid ""
+"Synchronize email, calendar, tasks and contacts with a Palm Pilot or "
+"compatible PDA"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/hu.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/hu.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/hu.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,47 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-pilot HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月13日 17:04+0900\n"
+"PO-Revision-Date: 2007年02月13日 10:30+0900\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:2
+msgid "PDA Synchronization"
+msgstr ""
+
+# SUN_BRANDING
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:4
+msgid ""
+"Synchronize email, calendar, tasks and contacts with a Palm Pilot or "
+"compatible PDA"
+msgstr ""
Added: trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/it.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/it.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/it.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,55 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: gnome-pilot HEAD\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007年02月13日 17:04+0900\n"
+"PO-Revision-Date: 2008年02月26日 18:32+0100\n"
+"Last-Translator: des...@op...\n"
+"Language-Team: des...@op...\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:2
+msgid "PDA Synchronization"
+msgstr "Sincronizzazione PDA"
+
+# SUN_BRANDING
+# COMMUNITY UNTRANS
+# SUN CHANGED MESSAGE
+# SUN LING REVIEWED
+#: ../capplet/gpilotd-control-applet.desktop.in.in.h:4
+msgid ""
+"Synchronize email, calendar, tasks and contacts with a Palm Pilot or "
+"compatible PDA"
+msgstr ""
+"Sincronizza le e-mail, il calendario, le attività e i contatti con un Palm "
+"Pilot o un PDA compatibile"
Added: trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/ja.po
===================================================================
--- trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/ja.po	 (rev 0)
+++ trunk/spec_files/jds/po-sun/gnome-pilot/po-sun/ja.po	2009年11月04日 18:25:21 UTC (rev 397)
@@ -0,0 +1,49 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Dist...
 
[truncated message content]

Showing results of 321

1 2 3 .. 13 > >> (Page 1 of 13)
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /