rpms/gauche/devel gauche-jp.patch, NONE, 1.1 gauche.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Gérard Milmeister (gemi) fedora-extras-commits at redhat.com
Fri Apr 28 22:05:18 UTC 2006


Author: gemi

Update of /cvs/extras/rpms/gauche/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23317/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gauche-jp.patch gauche.spec 
Log Message:
auto-import gauche-0.8.7-3.fc5 on branch devel from gauche-0.8.7-3.fc5.src.rpm

gauche-jp.patch:

--- NEW FILE gauche-jp.patch ---
--- Gauche-0.8.7/doc/modgauche.texi.jp	2006-04-27 21:24:49.000000000 +0200
+++ Gauche-0.8.7/doc/modgauche.texi	2006-04-27 21:25:30.000000000 +0200
@@ -8048,7 +8048,7 @@
 it finds your code referring to undefined variable.  In such case,
 you can give a list of symbols to the @var{allow-undefined}
 keyword argument; the test will excludes them from the check.
- at c COMMON
+ at c JP
 ¤·¤Ð¤·¤Ð¡¢¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤ä¥³¥ó¥Ñ¥¤¥ë¥ª¥×¥·¥ç¥ó¤Ë¤è¤Ã¤Æ
 ¥°¥í¡¼¥Ð¥ëÊÑ¿ô¤¬ÄêµÁ¤µ¤ì¤ë¤«¤É¤¦¤«¤¬°Û¤Ê¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£
 ¥³¡¼¥ÉÃæ¤Ç¤Ï¼Â¹Ô»þ¤Ë¤½¤ÎÊÑ¿ô¤Î¸ºß¤ò³Îǧ¤·¤Æ¤«¤é»È¤¦¤è¤¦¤Ë
@@ -8056,7 +8056,7 @@
 ¤½¤Î¤è¤¦¤Ê¥í¥¸¥Ã¥¯¤òÄɤï¤Ê¤¤¤¿¤á¡¢Ì¤ÄêµÁÊÑ¿ô¤Î»²¾È¤òÊó¹ð¤·¤Æ
 ¤·¤Þ¤¤¤Þ¤¹¡£¤½¤Î¤è¤¦¤Ê¾ì¹ç¤Ï¡¢¥Á¥§¥Ã¥¯¤«¤é³°¤¹ÊÑ¿ô̾¤Î¥ê¥¹¥È¤ò
 @var{allow-undefined}¥­¡¼¥ï¡¼¥É°ú¿ô¤ËÅϤ·¤Æ²¼¤µ¤¤¡£
- at c JP
+ at c COMMON
 @end defun
 
 @defun test-start module-name


--- NEW FILE gauche.spec ---
Name:		gauche
Version:	0.8.7
Release:	3%{?dist}
Summary:	Scheme script interpreter with multibyte character handling

Group:		Development/Languages
License:	BSD
URL:		http://www.shiro.dreamhost.com/scheme/gauche
Source:		http://download.sourceforge.net/gauche/Gauche-0.8.7.tgz
Patch0:		gauche-jp.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	gdbm-devel
BuildRequires:	texinfo
Requires(post):	/sbin/install-info, /sbin/ldconfig
Requires(postun): /sbin/install-info, /sbin/ldconfig


%description
Gauche is a Scheme interpreter conforming Revised^5 Report on
Algorithmic Language Scheme.  It is designed for rapid development of
daily tools like system management and text processing.  It can handle
multibyte character strings natively.


%package devel
Summary:	Development files for Gauche
Group:		Development/Languages
Requires:	%{name} = %{version}-%{release}

%description devel
Development files for Gauche.


%prep
%setup -q -n Gauche-%{version}
%patch0 -p1


%build
%configure --with-rpath=no --enable-threads=pthreads --enable-multibyte=utf-8
perl -pi -e "s|POSTINSTALL = TARGETLIB=|POSTINSTALL = TARGETLIB=$RPM_BUILD_ROOT/|" src/Makefile
%ifarch i386 i586 i686
LD_LIBRARY_PATH=`pwd`/src make %{?_smp_mflags} OPTFLAGS="-fomit-frame-pointer"
%else
LD_LIBRARY_PATH=`pwd`/src make %{?_smp_mflags}
%endif


%install
rm -fr $RPM_BUILD_ROOT
LD_LIBRARY_PATH=`pwd`/src make DESTDIR=$RPM_BUILD_ROOT install-pkg
LD_LIBRARY_PATH=`pwd`/src make DESTDIR=$RPM_BUILD_ROOT install-doc

# correct permissions
chmod -R u+w $RPM_BUILD_ROOT
chmod 0644 examples/grep.scm
chmod 0644 ext/template.*

# for some reason the libraries are not correctly installed
mv src/libgauche.so* $RPM_BUILD_ROOT%{_libdir}

# remove japanese doc
rm -f $RPM_BUILD_ROOT%{_infodir}/gauche-refj.*

touch $RPM_BUILD_ROOT%{_datadir}/gauche/%{version}/lib/slibcat

# this things go into the doc of the devel package
rm -f $RPM_BUILD_ROOT%{_datadir}/gauche/%{version}/template*
rm -f $RPM_BUILD_ROOT%{_datadir}/gauche/%{version}/aclocal*

# make .c files readable for debuginfo
find -name '*.c' | xargs chmod 0644


%check
cd src; LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} make test


%clean
rm -fr $RPM_BUILD_ROOT


%post
/sbin/install-info %{_infodir}/gauche-refe.info %{_infodir}/dir 2>/dev/null || :
/sbin/ldconfig
# creates slib catalog, if possible.
/usr/bin/gosh -u slib -e "(require 'logical)" -e "(exit 0)" > /dev/null 2>&1 || echo


%postun
if [ $1 = 0 ]; then
  /sbin/install-info --delete %{_infodir}/gauche-refe.info %{_infodir}/dir 2>/dev/null || :
fi
/sbin/ldconfig


%files
%defattr(-,root,root,-)
%{_bindir}/gauche-cesconv
%{_bindir}/gauche-install
%{_bindir}/gauche-package
%{_bindir}/gosh
%{_libdir}/libgauche.so.*
%{_libdir}/gauche
%{_infodir}/*
%{_mandir}/man*/gosh*
%{_datadir}/gauche
%exclude %{_libdir}/gauche/%{version}/include
%ghost %{_datadir}/gauche/%{version}/lib/slibcat
%doc ChangeLog AUTHORS VERSION README NEWS examples COPYING


%files devel
%defattr(-,root,root,-)
%{_bindir}/gauche-config
%{_libdir}/libgauche.so
%{_libdir}/gauche/%{version}/include
%{_datadir}/aclocal/gauche.m4
%{_mandir}/man*/gauche-config*
%doc ext/template.*


%changelog
* Fri Apr 28 2006 Gerard Milmeister <gemi at bluewin.ch> - 0.8.7-3
- added %%check
- included COPYING file in %%doc

* Thu Apr 27 2006 Gerard Milmeister <gemi at bluewin.ch> - 0.8.7-2
- fixes to permissions
- patch to fix jp problem in texinfo file

* Fri Apr 21 2006 Gerard Milmeister <gemi at bluewin.ch> - 0.8.7-1
- new version 0.8.7

* Sun Nov  6 2005 Gerard Milmeister <gemi at bluewin.ch> - 0.8.6-1
- New Version 0.8.6

* Fri Jul  1 2005 Gerard Milmeister <gemi at bluewin.ch> - 0.8.5-1
- New Version 0.8.5

* Wed Feb 23 2005 Gerard Milmeister <gemi at bluewin.ch> - 0:0.8.3-1
- New Version 0.8.3

* Sat Aug  7 2004 Gerard Milmeister <gemi at bluewin.ch> - 0:0.8.1-0.fdr.1
- New Version 0.8.1

* Sun May 23 2004 Gerard Milmeister <gemi at bluewin.ch> - 0:0.8-0.fdr.1
- New Version 0.8

* Fri Mar 19 2004 Gerard Milmeister <gemi at bluewin.ch> - 0:0.7.4.2-0.fdr.1
- New Version 0.7.4.2

* Fri Mar 19 2004 Gerard Milmeister <gemi at bluewin.ch> - 0:0.7.4.1-0.fdr.1
- New Version 0.7.4.1

* Sun Nov  9 2003 Gerard Milmeister <gemi at bluewin.ch> - 0:0.7.2-0.fdr.1
- First Fedora release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gauche/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Apr 2006 22:03:28 -0000	1.1
+++ .cvsignore	28 Apr 2006 22:05:18 -0000	1.2
@@ -0,0 +1 @@
+Gauche-0.8.7.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gauche/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Apr 2006 22:03:28 -0000	1.1
+++ sources	28 Apr 2006 22:05:18 -0000	1.2
@@ -0,0 +1 @@
+5c7cb6eba7455c9877aec884b0088a25  Gauche-0.8.7.tgz




More information about the fedora-extras-commits mailing list