Update to CVS 20100903.

Minor spec file cleanups.
This commit is contained in:
Jerry James 2012-01-08 15:33:30 -07:00
parent ab62980036
commit 173d1ebd60
3 changed files with 23 additions and 13 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
ffcall-20080704cvs.tar.bz2
/ffcall-20100903cvs.tar.xz

View File

@ -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@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@gmail.com>
- Update to CVS 20100903
- Minor spec file cleanups
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-5.20080704cvs.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
a6d45be3c714188cf60a2ab5119d1b00 ffcall-20080704cvs.tar.bz2
e9244c4634012c2ddbb5dcf123f491fc ffcall-20100903cvs.tar.xz