%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} %define mver 1.8 Name: guile18 Summary: A GNU implementation of Scheme for application extensibility. Summary(ja): アプリケーション拡張用 Scheme の GNU な実装 Version: 1.8.8 Release: 3%{?_dist_release} Group: Development/Languages License: GPLv2+ and LGPLv2+ and GFDL and OFSFDL URL: http://www.gnu.org/software/guile/ Source: ftp://ftp.gnu.org/gnu/guile-%{version}.tar.gz # following patchs are imported from fedora-dev Patch1: guile-1.8.7-multilib.patch Patch2: guile-1.8.7-testsuite.patch Patch4: guile-1.8.6-deplibs.patch Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libtool libtool-ltdl-devel >= 2.2.6a BuildRequires: gmp-devel readline-devel emacs Requires(post): /sbin/install-info Requires(preun): /sbin/install-info Requires: coreutils Vendor: Project Vine Distribution: Vine Linux Packager: yasumichi, Takemikaduchi %description GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library implementation of the Scheme programming language, written in C. GUILE provides a machine-independent execution platform that can be linked in as a library during the building of extensible programs. Install the guile package if you'd like to add extensibility to programs that you are developing. %package devel Summary: Libraries and header files for the GUILE extensibility library. Summary(ja): GUILE 用の開発ライブラリおよびヘッダファイル Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: gmp-devel %description devel The guile-devel package includes the libraries, header files, etc., that you'll need to develop applications that are linked with the GUILE extensibility library. You need to install the guile-devel package if you want to develop applications that will be linked to GUILE. You'll also need to install the guile package. %package -n compat32-%{name} Summary: A GNU implementation of Scheme for application extensibility. Summary(ja): アプリケーション拡張用 Scheme の GNU な実装 Group: Development/Languages Requires: %{name} = %{version}-%{release} %description -n compat32-%{name} GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library implementation of the Scheme programming language, written in C. GUILE provides a machine-independent execution platform that can be linked in as a library during the building of extensible programs. Install the guile package if you'd like to add extensibility to programs that you are developing. %package -n compat32-%{name}-devel Summary: Libraries and header files for the GUILE extensibility library. Summary(ja): GUILE 用の開発ライブラリおよびヘッダファイル Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} Requires: compat32-%{name} = %{version}-%{release} Requires: compat32-gmp-devel %description -n compat32-%{name}-devel The guile-devel package includes the libraries, header files, etc., that you'll need to develop applications that are linked with the GUILE extensibility library. You need to install the guile-devel package if you want to develop applications that will be linked to GUILE. You'll also need to install the guile package. %prep %setup -q -n guile-%{version} %patch1 -p1 -b .multilib %patch2 -p1 -b .testsuite %patch4 -p1 -b .deplibs %build %configure --disable-static --disable-error-on-warning # Remove RPATH sed -i 's|" $sys_lib_dlsearch_path "|" $sys_lib_dlsearch_path %{_libdir} "|' \ {,guile-readline/}libtool make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT%{_datadir}/guile/site rm -f $RPM_BUILD_ROOT%{_libdir}/libguile*.la rm -f $RPM_BUILD_ROOT%{_infodir}/dir # Compress large documentation bzip2 NEWS for i in ${RPM_BUILD_ROOT}%{_infodir}/goops.info; do iconv -f iso8859-1 -t utf-8 < $i > $i.utf8 && mv -f ${i}{.utf8,} done touch $RPM_BUILD_ROOT%{_datadir}/guile/%{mver}/slibcat ln -s ../../slib $RPM_BUILD_ROOT%{_datadir}/guile/%{mver}/slib # rename file mv $RPM_BUILD_ROOT%{_bindir}/guile $RPM_BUILD_ROOT%{_bindir}/guile-%{mver} mv $RPM_BUILD_ROOT%{_bindir}/guile-tools $RPM_BUILD_ROOT%{_bindir}/guile-tools-%{mver} mv $RPM_BUILD_ROOT%{_bindir}/guile-config $RPM_BUILD_ROOT%{_bindir}/guile-config-%{mver} mv $RPM_BUILD_ROOT%{_bindir}/guile-snarf $RPM_BUILD_ROOT%{_bindir}/guile-snarf-%{mver} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post -n compat32-%{name} -p /sbin/ldconfig %postun -n compat32-%{name} -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING* ChangeLog HACKING NEWS.bz2 README THANKS %{_bindir}/guile-%{mver} %{_bindir}/guile-tools-%{mver} %{_libdir}/libguile*.so.* %{_libdir}/libguilereadline-*.so %{_libdir}/libguile-srfi-srfi-*.so %dir %{_datadir}/guile/%{mver} %{_datadir}/guile/%{mver}/ice-9 %{_datadir}/guile/%{mver}/lang %{_datadir}/guile/%{mver}/oop %{_datadir}/guile/%{mver}/scripts %{_datadir}/guile/%{mver}/srfi %{_datadir}/guile/%{mver}/guile-procedures.txt %ghost %{_datadir}/guile/%{mver}/slibcat %ghost %{_datadir}/guile/%{mver}/slib %exclude %{_infodir}/* %exclude %{_mandir}/man1/guile.1* %files devel %defattr(-,root,root,-) %{_bindir}/guile-config-%{mver} %{_bindir}/guile-snarf-%{mver} %{_libdir}/libguile.so %{_libdir}/pkgconfig/*.pc %{_includedir}/guile %{_includedir}/libguile %{_includedir}/libguile.h %exclude %{_datadir}/aclocal/* # compat32 %if %{build_compat32} %files -n compat32-%{name} %defattr(-,root,root,-) %{_libdir}/libguile*.so.* %{_libdir}/libguilereadline-*.so %{_libdir}/libguile-srfi-srfi-*.so %files -n compat32-%{name}-devel %defattr(-,root,root,-) %{_libdir}/libguile.so %endif %changelog * Sun Aug 02 2015 Yoji TOYODA 1.8.8-3 - rebuild with readline-6.3 * Sun Jan 25 2015 Yoji TOYODA 1.8.8-2 - rename package (guile18) * Tue Nov 05 2013 Yoji TOYODA 1.8.8-1 - update to 1.8.8 - remove Patch3,5,6 (guile-1.8.7-ia64jmp.patch) * Sat Oct 09 2010 Ryoichi INAGAKI 1.8.7-2 - rebuilt with rpm-4.8.1 - added Patch1, 2, 3, 5 and 6 from Fedora * Tue Nov 03 2009 Yasumichi Akahoshi 1.8.7-1 - new upstream release. - comment out Patch11,12. * Fri Jul 24 2009 NAKAMURA Kenta 1.8.6-4 - added Requires: gmp-devel to guile-devel * Sat Jun 27 2009 NAKAMURA Kenta 1.8.6-3 - added compat32 package for x86_64 arch support * Wed Apr 15 2009 Daisuke SUZUKI 1.8.6-2 - rebuild with libtool-2.2.6a * Mon Jan 12 2009 Kazutaka HARADA 1.8.6-1 - new upstream release - import some patches from fedora development - drop some old patches - update spec based on fedora package - spec in utf-8 * Tue May 13 2008 Yasumichi Akahoshi 1.6.7-6vl5 - use macro for Release * Sat May 10 2008 Yasumichi Akahoshi 1.6.7-5vl5 - apply new virsioning policy. - remove *.la * Sun Apr 23 2006 Ryoichi INAGAKI 1.6.7-4vl2 - rebuilt with readline 5.1 * Sun Oct 23 2005 Ryoichi INAGAKI 1.6.7-4vl1 - added Patches from Fedora * Fri Sep 02 2005 Phil Knirsch 5:1.6.7-4 - Fix dynamic linking on 64bit archs (#159971) * Tue Dec 21 2004 Phil Knirsch 5:1.6.4-16 - Moved info files to base package as they are not devel related (#139948) - Moved static guilereadline and guile-srfi-srfi libs to devel package (#140893) - Fixed guile-tools not finding guile lib dir (#142642) - Added some nice tools (#142642) - Removed smp build, seems to be broken atm * Fri Jan 7 2005 Ryoichi INAGAKI 1.6.7-0vl1 - new upstream release - dropped patch2, 4, 6 - added BuildPrereq: perl * Fri Jan 2 2004 Ryoichi INAGAKI 1.6.4-0vl2 - rebuild with new toolchains - s/Copyright/License/ - added srfi libs - patch for ppc64 from Fedora package * Thu May 15 2003 Ryoichi INAGAKI 1.6.4-0vl1 - update to 1.6.4 * Wed Apr 02 2003 KOBAYASHI R. Taizo 1.6.3-0vl3 - rebuild with readline-4.3 * Thu Feb 13 2003 Ryoichi INAGAKI 1.6.3-0vl2 - based on Rawhide 1.6.0-4 - Included s390 as working arch as well, switch to general unknown arch patch - rebuild to fix broken deps - fix continuations.h on ia64 - new upstream 1.6.3 * Mon Mar 26 2001 Kazuhisa TAKEI 1.3.4-9vl1 - porting for Vine Linux - remove 1.3 patches( not required so that upstream upgrade ) * Fri Jul 14 2000 Nalin Dahyabhai - Add version number to prereq for umb-scheme to get the post-install to work properly. * Thu Jul 13 2000 Nalin Dahyabhai - Add an Epoch = 1 in case anyone happened to have 1.4 installed. * Thu Jul 13 2000 Prospector - automatic rebuild * Tue Jul 11 2000 Nalin Dahyabhai - Back down to 1.3.4. - Fix to actually link against the version of libguile in the package. * Sun Jun 4 2000 Nalin Dahyabhai - FHS fixups using the %%{makeinstall} macro. * Sun Mar 26 2000 Florian La Roche - fix preun-devel - call ldconfig directly in postun * Fri Mar 24 2000 Bernhard Rosenkraenzer - rebuild with new readline - update to 1.3.4 * Mon Feb 28 2000 Nalin Dahyabhai - using the same catalog as umb-scheme makes umb-scheme a prereq * Thu Feb 17 2000 Florian La Roche - readline is needed for %post * Tue Feb 8 2000 Nalin Dahyabhai - use the same catalog as umb-scheme * Thu Sep 2 1999 Jeff Johnson - fix broken %postun * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 6) * Wed Mar 17 1999 Michael Johnson - added .ansi patch to fix #endif * Wed Feb 10 1999 Cristian Gafton - add patch for the scm stuff * Sun Jan 17 1999 Jeff Johnson - integrate changes from rhcn version (#640) * Tue Jan 12 1999 Cristian Gafton - call libtoolize first to get it to compile on the arm * Sat Jan 9 1999 Todd Larason - Added "Requires: guile" at suggestion of Manu Rouat * Fri Jan 1 1999 Todd Larason - guile-devel does depend on guile - remove devel dependancy on m4 - move guile-snarf from guile to guile-devel - Converted to rhcn * Wed Oct 21 1998 Jeff Johnson - update to 1.3. - don't strip libguile.so.*.0.0. (but set the execute bits). * Thu Sep 10 1998 Cristian Gafton - spec file fixups * Wed Sep 2 1998 Michael Fulbright - Updated for RH 5.2 * Mon Jan 26 1998 Marc Ewing - Started with spec from Tomasz Koczko - added slib link * Thu Sep 18 1997 Tomasz Koczko (1.2-3) - added %attr(-, root, root) for %doc, - in %post, %postun ldconfig runed as parameter "-p", - removed /bin/sh from requires, - added %description, - changes in %files. * Fri Jul 11 1997 Tomasz Koczko (1.2-2) - all rewrited for using Buildroot, - added %postun, - removed making buid logs, - removed "--inclededir", added "--enable-dynamic-linking" to configure parameters, - added striping shared libs and /usr/bin/guile, - added "Requires: /bin/sh" (for guile-snarf) in guile package and "Requires: m4" for guile-devel, - added macro %{PACKAGE_VERSION} in "Source:" and %files, - added %attr macros in %files.