source: projects/specs/trunk/f/ffcall/ffcall-vl.spec @ 5972

Revision 5972, 2.5 KB checked in by shaolin, 12 years ago (diff)
  • ffcall: updated to 20100903 cvs source
  • clisp: rebuild with current ffcall
Line 
1%define debug_package %{nil}
2
3Name:           ffcall
4Version:        1.10
5Release:        6.20100903cvs.1%{?_dist_release}
6Summary:        Libraries for foreign function call interfaces
7
8Group:          System Environment/Libraries
9License:        GPLv2+
10URL:            http://www.gnu.org/software/libffcall/
11# There has been no official release for several years, and the project web
12# site encourages use of a CVS snapshot.  Make the tarball as follows:
13#   cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/libffcall
14#       export -D 2010-09-04 ffcall
15#   tar cJf ffcall-20100903cvs.tar.xz ffcall
16Source0:        ffcall-20100903cvs.tar.xz
17# This patch will not be sent upstream.  It removes the possibility of using
18# mprotect() to make memory executable, as that runs afoul of SELinux.
19Patch0:         ffcall-trampoline.patch
20BuildRoot:      %{_tmppath}/%{name}-%{version}-root
21
22
23%description
24This is a collection of four libraries which can be used to build
25foreign function call interfaces in embedded interpreters.
26
27
28%prep
29%setup -q -n ffcall
30%patch0
31
32find . -name \*.o | xargs rm -f
33
34%build
35export CFLAGS="%{optflags} -fPIC -DMAP_VARIABLE=2"
36%configure
37make # %{?_smp_mflags}
38
39%install
40rm -rf %{buildroot}
41mkdir -p %{buildroot}%{_libdir}
42mkdir -p %{buildroot}%{_mandir}
43make install DESTDIR=%{buildroot}
44rm -fr %{buildroot}%{_datadir}/html
45rm -f %{buildroot}%{_libdir}/*.la
46
47%clean
48rm -rf %{buildroot}
49
50%files
51%defattr(-,root,root,-)
52%doc README NEWS COPYING
53%doc avcall/avcall.html
54%doc callback/callback.html
55%doc callback/trampoline_r/trampoline_r.html
56%doc trampoline/trampoline.html
57%doc vacall/vacall.html
58%{_libdir}/*.a
59%{_includedir}/*
60%{_mandir}/man*/*
61
62
63%changelog
64* Fri Mar 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.10-6.20100903cvs.1
65- updated to 20100903 cvs source
66
67* Sat Mar  6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.10-5.20080704cvs.1
68- initial build for Vine Linux
69
70* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-4.20080704cvs.1
71- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
72
73* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3.20080704cvs.1
74- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
75
76* Wed Dec 10 2008 Jochen Schmitt <Jochen herr-schmitt de> - 1.10-2.20080704cvs.1
77- Fix -FPIC issue (BZ #475112)
78
79* Fri Jul  4 2008 Gerard Milmeister <gemi@bluewin.ch> - 1.10-2.20080704cvs
80- update to cvs 20080704
81- support for ppc64
82
83* Mon Feb 25 2008 Gerard Milmeister <gemi@bluewin.ch> - 1.10-1
84- first Fedora release
Note: See TracBrowser for help on using the repository browser.