Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 2b5be756ba62926eb39250e4417efe76 > files > 2

slib-3b3-2.mga3.src.rpm

Summary:      Platform independent library for scheme
Name:         slib
Version:      3b3
Release:      %mkrel 2
License:      SLIB
Group:        Development/Other
BuildArch:    noarch
Source0:      http://groups.csail.mit.edu/mac/ftpdir/scm/%{name}-%{version}.zip
URL:          http://people.csail.mit.edu/jaffer/SLIB.html
Requires(post): info-install
Requires(preun): info-install

%description
"SLIB" is a portable library for the programming language Scheme.
It provides a platform independent framework for using "packages" of
Scheme procedures and syntax.  As distributed, SLIB contains useful
packages for all Scheme implementations.  Its catalog can be
transparently extended to accommodate packages specific to a site,
implementation, user, or directory.

%prep
%setup -q -n %{name}
sed -r -i "s,/usr/(local/)?lib/slib,%{_datadir}/slib,g" *.init

%build

%install
rm -rf %{buildroot}

mkdir -p %{buildroot}%{_datadir}/%{name}
cp *.scm *.init *.xyz *.txt *.dat *.ps %{buildroot}%{_datadir}/%{name}

mkdir -p %{buildroot}%{_infodir}
install -m644 slib.info %{buildroot}%{_infodir}

%clean
rm -rf %{buildroot}

%post
%_install_info slib.info

%preun
%_remove_install_info slib.info

%files
%defattr(-,root,root)
%doc ANNOUNCE README COPYING FAQ ChangeLog
%{_datadir}/slib
%{_infodir}/slib.*


%changelog

* Mon Jan 14 2013 umeabot <umeabot> 3b3-2.mga3
+ Revision: 382167
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Mar 18 2011 wally <wally> 3b3-1.mga1
+ Revision: 74219
- drop buildroot definition
- clean .spec a bit
- imported package slib