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