source: projects/specs/trunk/lib/libf/libffi321/libffi321-vl.spec @ 12376

Revision 12376, 3.1 KB checked in by tomop, 2 years ago (diff)

updated 19 packages

g-wrap-1.9.15-2

gjs-1.54.3-2

glib2-2.64.2-2

gobject-introspection-1.64.1-1

guile-2.2.7-1

guile20-2.0.14-5

hardinfo-0.5.1-4

llvm-10.0.0-2

libffi-3.3-1

libffi321-3.2.1-1

p11-kit-0.23.20-2

pycairo-1.18.2-1

pygobject-2.28.6-7

pygobject3-3.34.0-1

python-cffi-1.14.0-1

python-2.7.17-1

python3-3.5.9-1

ruby-2.6.6-2

uim-1.8.8-3

RevLine 
[12376]1Summary:        Foreign function interface library
2Summary(ja):    Foreign function interface ライブラリ
3Name:           libffi321
4Version:        3.2.1
5Release:        1%{?_dist_release}
6Source0:        ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz
7Patch0:         libffi-3.1-fix-include-path.patch
8License:        Distributable
9Group:          System Environment/Libraries
10URL:            http://sourceware.org/libffi/
11
12BuildRequires:  gcc
13BuildRequires:  texinfo
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15Obsoletes:      libffi < 3.3
16Provides:       libffi = %{version}-%{release}
17
18Vendor: Project Vine
19Distribution: Vine Linux
20
21%description
22A foreign function interface is the popular name for the interface
23that allows code written in one language to call code written in
24another language.
25
26%description -l ja
27Foreign function interface は一般に普及しているインターフェイスで、
28ある言語で書かれたコードから、他の言語で書かれたコードを呼び出すこ
29とを可能にします。
30
31#-----------------------------------------------------------------------------
32
33%prep
34
35%setup -q -n libffi-%{version}
36%patch0 -p1
37
38%build
39autoreconf -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}
50sed -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
57rm -f %{buildroot}%{_libdir}/pkgconfig/*
58rm -f %{buildroot}%{_libdir}/libffi.a
59rm -f %{buildroot}%{_libdir}/libffi.so
60rm -f %{buildroot}%{_includedir}/*.h
61rm -f %{buildroot}%{_infodir}/*
62rm -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
Note: See TracBrowser for help on using the repository browser.