[ffcall] Update to CVS 20100903. Minor spec file cleanups.

Jerry James jjames at fedoraproject.org
Sun Jan 8 22:34:09 UTC 2012


commit 173d1ebd60e813eaca59d74a4866636f74e5206a
Author: Jerry James <loganjerry at gmail.com>
Date:   Sun Jan 8 15:33:30 2012 -0700

    Update to CVS 20100903.
    Minor spec file cleanups.

 .gitignore  |    2 +-
 ffcall.spec |   32 +++++++++++++++++++++-----------
 sources     |    2 +-
 3 files changed, 23 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 750bd27..89b53ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-ffcall-20080704cvs.tar.bz2
+/ffcall-20100903cvs.tar.xz
diff --git a/ffcall.spec b/ffcall.spec
index 6bce2b3..969d604 100644
--- a/ffcall.spec
+++ b/ffcall.spec
@@ -1,20 +1,31 @@
+%global debug_package %{nil}
+
 Name:           ffcall
 Version:        1.10
-Release:        5.20080704cvs%{?dist}.1
+Release:        6.20100903cvs%{?dist}
 Summary:        Libraries for foreign function call interfaces
 
 Group:          System Environment/Libraries
 License:        GPLv2+
-URL:            http://www.haible.de/bruno/packages-ffcall-README.html
-Source0:        ftp://ftp.santafe.edu/pub/gnu/ffcall-20080704cvs.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+URL:            http://www.gnu.org/software/libffcall/
+# There has been no official release for several years, and the project web
+# site encourages use of a CVS snapshot.  Make the tarball as follows:
+#   cvs -z3 -d:pserver:anonymous at cvs.savannah.gnu.org:/sources/libffcall 
+#       export -D 2010-09-04 ffcall
+#   tar cJf ffcall-20100903cvs.tar.xz ffcall
+Source0:        ffcall-20100903cvs.tar.xz
 
 
 %description
 This is a collection of four libraries which can be used to build
-foreign function call interfaces in embedded interpreters.
+foreign function call interfaces in embedded interpreters.  The four
+packages are:
+ - avcall: calling C functions with variable arguments
+ - vacall: C functions accepting variable argument prototypes
+ - trampoline: closures as first-class C functions
+ - callback: closures with variable arguments as first-class C functions
+   (a reentrant combination of vacall and trampoline)
 
-%define debug_package %{nil}
 
 %prep
 %setup -q -n ffcall
@@ -25,18 +36,13 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC"
 make # %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{_libdir}
 mkdir -p $RPM_BUILD_ROOT%{_mandir}
 make install DESTDIR=$RPM_BUILD_ROOT
 rm -fr $RPM_BUILD_ROOT%{_datadir}/html
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc README NEWS COPYING
 %doc avcall/avcall.html
 %doc callback/callback.html
@@ -49,6 +55,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jan  9 2012 Jerry James <loganjerry at gmail.com>
+- Update to CVS 20100903
+- Minor spec file cleanups
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.10-5.20080704cvs.1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 9891b7a..6edf123 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a6d45be3c714188cf60a2ab5119d1b00  ffcall-20080704cvs.tar.bz2
+e9244c4634012c2ddbb5dcf123f491fc  ffcall-20100903cvs.tar.xz


More information about the scm-commits mailing list