1 | Summary: Foreign function interface library |
---|
2 | Summary(ja): Foreign function interface ライブラリ |
---|
3 | Name: libffi321 |
---|
4 | Version: 3.2.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Source0: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz |
---|
7 | Patch0: libffi-3.1-fix-include-path.patch |
---|
8 | License: Distributable |
---|
9 | Group: System Environment/Libraries |
---|
10 | URL: http://sourceware.org/libffi/ |
---|
11 | |
---|
12 | BuildRequires: gcc |
---|
13 | BuildRequires: texinfo |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | Obsoletes: libffi < 3.3 |
---|
16 | Provides: libffi = %{version}-%{release} |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | |
---|
21 | %description |
---|
22 | A foreign function interface is the popular name for the interface |
---|
23 | that allows code written in one language to call code written in |
---|
24 | another language. |
---|
25 | |
---|
26 | %description -l ja |
---|
27 | Foreign function interface は一般に普及しているインターフェイスで、 |
---|
28 | ある言語で書かれたコードから、他の言語で書かれたコードを呼び出すこ |
---|
29 | とを可能にします。 |
---|
30 | |
---|
31 | #----------------------------------------------------------------------------- |
---|
32 | |
---|
33 | %prep |
---|
34 | |
---|
35 | %setup -q -n libffi-%{version} |
---|
36 | %patch0 -p1 |
---|
37 | |
---|
38 | %build |
---|
39 | autoreconf -ifv |
---|
40 | %configure |
---|
41 | %{__make} |
---|
42 | |
---|
43 | |
---|
44 | %install |
---|
45 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
46 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
47 | |
---|
48 | # move include files. |
---|
49 | %{__mv} ${RPM_BUILD_ROOT}/%{_libdir}/libffi-%{version}/include ${RPM_BUILD_ROOT}/%{_includedir} |
---|
50 | sed -i -e "s|^includedir=.*include$|includedir=%{_includedir}|" \ |
---|
51 | ${RPM_BUILD_ROOT}/%{_libdir}/pkgconfig/libffi.pc |
---|
52 | |
---|
53 | # remove unnecessary files. |
---|
54 | %{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/libffi.la |
---|
55 | %{__rm} -rf ${RPM_BUILD_ROOT}/%{_infodir}/dir |
---|
56 | |
---|
57 | rm -f %{buildroot}%{_libdir}/pkgconfig/* |
---|
58 | rm -f %{buildroot}%{_libdir}/libffi.a |
---|
59 | rm -f %{buildroot}%{_libdir}/libffi.so |
---|
60 | rm -f %{buildroot}%{_includedir}/*.h |
---|
61 | rm -f %{buildroot}%{_infodir}/* |
---|
62 | rm -f %{buildroot}%{_mandir}/man3/* |
---|
63 | |
---|
64 | |
---|
65 | %clean |
---|
66 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
67 | |
---|
68 | %post -p /sbin/ldconfig |
---|
69 | %postun -p /sbin/ldconfig |
---|
70 | |
---|
71 | |
---|
72 | %files |
---|
73 | %defattr(-,root,root) |
---|
74 | %license LICENSE |
---|
75 | %doc ChangeLog* README |
---|
76 | %{_libdir}/libffi.so.* |
---|
77 | |
---|
78 | |
---|
79 | %changelog |
---|
80 | * Wed Apr 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.1-1 |
---|
81 | - renamed from libffi to libffi321. |
---|
82 | - built for compatibility. |
---|
83 | |
---|
84 | * Tue Jan 02 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.1-1 |
---|
85 | - updated to 3.2.1. |
---|
86 | - imported Patch0 from rawhide. |
---|
87 | |
---|
88 | * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.13-1 |
---|
89 | - update to 3.0.13 |
---|
90 | |
---|
91 | * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.9-4 |
---|
92 | - create compat32 sub packages |
---|
93 | |
---|
94 | * Fri Nov 26 2010 Shu KONNO <owa@bg.wakwak.com> 3.0.9-3 |
---|
95 | - fixed includedir in libffi.pc |
---|
96 | |
---|
97 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 3.0.9-2 |
---|
98 | - build with rpm-4.8.1-1 for pkg-config file |
---|
99 | |
---|
100 | * Tue Feb 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.0.9-1 |
---|
101 | - new upstream release |
---|
102 | - built with new toolchain |
---|
103 | |
---|
104 | * Wed Jan 21 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.0.8-1 |
---|
105 | - new upstream release |
---|
106 | - spec in UTF-8 |
---|
107 | |
---|
108 | * Thu Apr 17 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.0.5-1 |
---|
109 | - updated to new upstream release |
---|
110 | |
---|
111 | * Wed Apr 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.0.4-1 |
---|
112 | - apply new versioning policy |
---|
113 | |
---|
114 | * Sun Mar 02 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.0.4-0vl1 |
---|
115 | - initial build for Vine Linux |
---|