~ubuntu-branches/debian/squeeze/ffcall/squeeze

« back to all changes in this revision

Viewing changes to ffcall/ffcall.spec

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2010-06-26 15:29:30 UTC
  • mfrom: (5.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100626152930-c09y01gk3szcnykn
Tags: 1.10+cvs20100619-2
Ship to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
%define name    ffcall
2
 
%define version 1.9
3
 
%define release 1
4
 
%define serial  1
5
 
 
6
 
Summary:        Libraries that can be used to build foreign function call interfaces.
7
 
Name:           %{name}
8
 
Version:        %{version}
9
 
Release:        %{release}
10
 
Serial:         %{serial}
11
 
Copyright:      GPL
12
 
Group:          Development/Libraries
13
 
Vendor:         The GNUstep Project
14
 
URL:            ftp://ftp.santafe.edu/pub/gnu/
15
 
Source:         %{name}-%{version}.tar.gz
16
 
BuildRoot:      /var/tmp/%{name}-%{version}
17
 
Packager:       Adam Fedor <fedor@gnu.org>
18
 
 
19
 
%description
20
 
This is a collection of four libraries which can be used to build
21
 
foreign function call interfaces in embedded interpreters.
22
 
 
23
 
The four packages are:
24
 
 
25
 
    avcall - calling C functions with variable arguments
26
 
 
27
 
    vacall - C functions accepting variable argument prototypes
28
 
 
29
 
    trampoline - closures as first-class C functions
30
 
 
31
 
    callback - closures with variable arguments as first-class C functions
32
 
               (a reentrant combination of vacall and trampoline)
33
 
 
34
 
%prep
35
 
%setup -q
36
 
 
37
 
%build
38
 
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=$RPM_BUILD_ROOT/usr
39
 
 
40
 
make
41
 
 
42
 
%install
43
 
if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi
44
 
mkdir -p $RPM_BUILD_ROOT
45
 
make prefix=$RPM_BUILD_ROOT/usr install
46
 
 
47
 
%post   -p /sbin/ldconfig
48
 
%postun -p /sbin/ldconfig
49
 
 
50
 
%clean
51
 
if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi
52
 
 
53
 
%files
54
 
%defattr(-,root,root)
55
 
%doc COPYING NEWS README PLATFORMS
56
 
/usr/include/*
57
 
/usr/lib/*
58
 
/usr/man/*
59
 
/usr/share/*
60
 
 
61
 
%changelog
62