"Fossies" - the Fresh Open Source Software Archive

Member "slib-3b6/slib.spec" (16 Feb 2020, 3696 Bytes) of package /linux/privat/slib-3b6.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "slib.spec": 3b5_vs_3b6.

    1 %define slibdir %{_prefix}/lib/slib
    2 
    3 Summary:      platform independent library for scheme
    4 Name:         slib
    5 Version:      3b6
    6 Release:      1
    7 Group:        Development/Languages
    8 BuildArch:    noarch
    9 Packager:     Aubrey Jaffer <agj@alum.mit.edu>
   10 
   11 License:      distributable, see individual files for copyright
   12 Vendor:       Aubrey Jaffer <agj @ alum.mit.edu>
   13 Provides:     slib
   14 
   15 Source:       http://groups.csail.mit.edu/mac/ftpdir/scm/slib-%{version}.zip
   16 URL:          http://people.csail.mit.edu/jaffer/SLIB.html
   17 BuildRoot:    %{_tmppath}/%{name}-%{version}-root
   18 
   19 %description
   20 "SLIB" is a portable library for the programming language Scheme.
   21 It provides a platform independent framework for using "packages" of
   22 Scheme procedures and syntax.  As distributed, SLIB contains useful
   23 packages for all Scheme implementations.  Its catalog can be
   24 transparently extended to accomodate packages specific to a site,
   25 implementation, user, or directory.
   26 
   27 %prep
   28 %setup -n slib -c -T
   29 cd ..
   30 unzip ${RPM_SOURCE_DIR}/slib-%{version}.zip
   31 # cd slib
   32 # ./configure --prefix=${RPM_BUILD_ROOT}%{_prefix}/ \
   33 #   --mandir=${RPM_BUILD_ROOT}%{_mandir}/ \
   34 #   --infodir=${RPM_BUILD_ROOT}%{_infodir}/
   35 
   36 %build
   37 
   38 %install
   39 # mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
   40 # mkdir -p ${RPM_BUILD_ROOT}%{slibdir}
   41 # cp *.scm *.init *.xyz *.txt grapheps.ps Makefile ${RPM_BUILD_ROOT}%{slibdir}
   42 make    prefix=${RPM_BUILD_ROOT}%{_prefix}/ \
   43     mandir=${RPM_BUILD_ROOT}%{_mandir}/ \
   44     infodir=${RPM_BUILD_ROOT}%{_infodir}/ \
   45     install
   46 
   47 echo '#! /bin/sh'            > ${RPM_BUILD_ROOT}%{_bindir}/slib
   48 echo SCHEME_LIBRARY_PATH=%{slibdir}/    >> ${RPM_BUILD_ROOT}%{_bindir}/slib
   49 echo export SCHEME_LIBRARY_PATH     >> ${RPM_BUILD_ROOT}%{_bindir}/slib
   50 echo VERSION=%{version}         >> ${RPM_BUILD_ROOT}%{_bindir}/slib
   51 echo "S48_VICINITY=\"%{slibdir}/scheme48\";export S48_VICINITY" >> ${RPM_BUILD_ROOT}%{_bindir}/slib
   52 cat slib.sh             >> ${RPM_BUILD_ROOT}%{_bindir}/slib
   53 chmod +x ${RPM_BUILD_ROOT}%{_bindir}/slib
   54 %clean
   55 rm -rf ${RPM_BUILD_ROOT}
   56 
   57 %post
   58 # /sbin/ginstall-info ${RPM_BUILD_ROOT}%{_infodir}/slib.info.gz %{_infodir}/dir
   59 
   60 # This symlink is made as in the spec file of Robert J. Meier.
   61 if [ -L /usr/share/guile/slib ]; then
   62   rm /usr/share/guile/slib
   63   ln -s %{slibdir} /usr/share/guile/slib
   64 fi
   65 
   66 # Rebuild catalogs for as many implementations as possible.
   67 export PATH=$PATH:/usr/local/bin
   68 echo PATH=${PATH}
   69 cd %{slibdir}/
   70 make catalogs
   71 
   72 # %postun
   73 # if [ $1 = 0 ]; then
   74 #   /sbin/ginstall-info --delete %{_infodir}/slib.info.gz %{_infodir}/dir
   75 # fi
   76 
   77 %preun
   78 cd %{slibdir}/
   79 rm -f slib.image
   80 
   81 %files
   82 %defattr(-, root, root)
   83 %{_bindir}/slib
   84 %dir %{slibdir}
   85 %{slibdir}/*.scm
   86 %{slibdir}/*.sh
   87 %{slibdir}/*.init
   88 %{slibdir}/cie*.xyz
   89 %{slibdir}/cie*.dat
   90 %{slibdir}/nbs-iscc.txt
   91 %{slibdir}/saturate.txt
   92 %{slibdir}/resenecolours.txt
   93 %{slibdir}/grapheps.ps
   94 %{slibdir}/Makefile
   95 %{slibdir}/configure
   96 %{slibdir}/guile.use
   97 %{slibdir}/slib.*
   98 %{_infodir}/slib.info.gz
   99 %{_infodir}/dir
  100 %{_mandir}/man1/slib.1.gz
  101 %doc ANNOUNCE README COPYING FAQ ChangeLog
  102 
  103 %changelog
  104 * Sun Sep 25 2005 Aubrey Jaffer <agj@alum.mit.edu>
  105 - Updated from RedHat version from Jindrich Novy.
  106 
  107 * Fri Jun 22 2005 Aubrey Jaffer  <agj@alum.mit.edu>
  108 - slib.spec (install): Make slib executable.
  109 
  110 * Sat Jun 18 2004 Aubrey Jaffer <agj@alum.mit.edu>
  111 - Fixed for RPMbuild version 4.3.1
  112 - Make slib executable.
  113 
  114 * Thu Nov 03 2002 Aubrey Jaffer  <agj@alum.mit.edu>
  115 - slib.spec (%post): Improved catalog-building scripts.
  116 - Make clrnamdb.scm.
  117 
  118 * Wed Mar 14 2001 Radey Shouman <shouman@ne.mediaone.net>
  119 - Adapted from the spec file of R. J. Meier.
  120 
  121 * Mon Jul 12 2000 Dr. Robert J. Meier <robert.meier@computer.org> 0.9.4-1suse
  122 - Packaged for SuSE 6.3
  123 
  124 * Sun May 30 2000 Aubrey Jaffer <agj @ alum.mit.edu>
  125 - Updated content