Blame 8sync.spec

e6971a2
%global debug_package %{nil}
e6971a2
e6971a2
Summary:         Asynchronous programming library for GNU Guile
e6971a2
Name:            8sync
e6971a2
Version:         0.4.2
e6971a2
Release:         4%{?dist}
e6971a2
Source:          ftp://ftp.gnu.org/gnu/8sync/8sync-%{?version}.tar.gz
e6971a2
URL:             https://www.gnu.org/software/8sync
e6971a2
License:         LGPLv3+
e6971a2
e6971a2
BuildRequires:   guile22-devel
e6971a2
BuildRequires:   texinfo
e6971a2
e6971a2
Requires(post):  info
e6971a2
Requires(preun): info
e6971a2
e6971a2
%description
e6971a2
8sync (pronounced "eight-sync") is an asynchronous programming library for GNU
e6971a2
Guile. Based on the actor model, it makes use of delimited continuations to
e6971a2
avoid a mess of callbacks resulting in clean, easy to read non-blocking code.
e6971a2
e6971a2
8sync also aims to be batteries included.
e6971a2
e6971a2
e6971a2
%prep
e6971a2
%autosetup
e6971a2
e6971a2
e6971a2
%build
e6971a2
e6971a2
%configure GUILE_TOOLS='/usr/bin/guile-tools2.2' \
e6971a2
           GUILE_CONFIG='/usr/bin/guile-config2.2' \
e6971a2
           GUILD='/usr/bin/guild2.2' \
e6971a2
           GUILE='/usr/bin/guile2.2'
e6971a2
e6971a2
%make_build
e6971a2
e6971a2
e6971a2
%install
e6971a2
%make_install
e6971a2
e6971a2
rm -rf $RPM_BUILD_ROOT%{_datadir}/info/dir
e6971a2
e6971a2
%post
e6971a2
/sbin/install-info %{_infodir}/8sync.info %{_infodir}/dir || :
e6971a2
e6971a2
%postun
e6971a2
/sbin/ldconfig
e6971a2
if [ $1 = 0 ] ; then
e6971a2
    /sbin/install-info –delete %{_infodir}/8sync.info %{_infodir}/dir || :
e6971a2
fi
e6971a2
e6971a2
e6971a2
%files
e6971a2
%doc NEWS README
e6971a2
%license COPYING
e6971a2
%license COPYING-gplv3.txt
e6971a2
%{_libdir}/guile/2.2/ccache/8sync.go
e6971a2
%{_libdir}/guile/2.2/ccache/8sync
e6971a2
%{_datadir}/guile/site/2.2/8sync.scm
e6971a2
%{_datadir}/guile/site/2.2/8sync
e6971a2
%{_datadir}/info/8sync.info.gz
e6971a2
e6971a2
%changelog
e6971a2
* Fri Nov 17 2017 John Dulaney <jdulaney@Fedoraproject.org> - 0.4.2-4
e6971a2
- Initial build
e6971a2
e6971a2
* Wed Nov 15 2017 John Dulaney <jdulaney@Fedoraproject.org> - 0.4.2-3
e6971a2
- Prepare for package review
e6971a2
e6971a2
* Tue Apr 11 2017 John Dulaney <jdulaney@Fedoraproject.org> - 0.4.2-2
e6971a2
- Remove /usr/share/info/dir
e6971a2
e6971a2
* Tue Mar 21 2017 John Dulaney <jdulaney@Fedoraproject.org> - 0.4.2-1
e6971a2
- Initial packaging.