Update to CVS 20120424.
List all architectures supported by this package (bz 925335). Rename man pages to avoid conflicts (bz 800360). Add Provides: ffcall-static.
This commit is contained in:
parent
7c6a64bb5d
commit
dcc9b785fa
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/ffcall-20100903cvs.tar.xz
|
||||
/ffcall-20120424cvs.tar.xz
|
||||
|
39
ffcall.spec
39
ffcall.spec
@ -1,8 +1,14 @@
|
||||
# Only a static library is provided, so no debug information can be extracted.
|
||||
%global debug_package %{nil}
|
||||
|
||||
# This package uses assembly to do its work. This is the entire list of
|
||||
# supported architectures understood by RPM, even those not currently supported
|
||||
# by Fedora. RPM hasn't heard about line continuations, hence the mess.
|
||||
%global ffcall_arches %{ix86} x86_64 amd64 %{alpha} armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l armv7l armv7hl armv7hnl parisc hppa1.0 hppa1.1 hppa1.2 hppa2.0 ia64 m68k mips mipsel ppc ppc8260 ppc8560 ppc32dy4 ppciseries ppcpseries %{power64} s390 s390x %{sparc}
|
||||
|
||||
Name: ffcall
|
||||
Version: 1.10
|
||||
Release: 9.20100903cvs%{?dist}
|
||||
Release: 10.20120424cvs%{?dist}
|
||||
Summary: Libraries for foreign function call interfaces
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -11,13 +17,16 @@ 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
|
||||
# export -D 2012-04-24 ffcall
|
||||
# tar cJf ffcall-20120424cvs.tar.xz ffcall
|
||||
Source0: %{name}-20120424cvs.tar.xz
|
||||
# This patch will not be sent upstream. It removes the possibility of using
|
||||
# mprotect() to make memory executable, as that runs afoul of SELinux.
|
||||
Patch0: ffcall-trampoline.patch
|
||||
Patch0: %{name}-trampoline.patch
|
||||
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
|
||||
ExclusiveArch: %{ffcall_arches}
|
||||
|
||||
%description
|
||||
This is a collection of four libraries which can be used to build
|
||||
@ -48,6 +57,19 @@ 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
|
||||
cd $RPM_BUILD_ROOT%{_mandir}/man3
|
||||
|
||||
# Advertise supported architectures
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
|
||||
cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.ffcall << EOF
|
||||
# arches that ffcall supports
|
||||
%%ffcall_arches %{ffcall_arches}
|
||||
EOF
|
||||
|
||||
# Fix man pages with overly generic names (bz 800360)
|
||||
for page in *; do
|
||||
mv $page %{name}-$page
|
||||
done
|
||||
|
||||
%files
|
||||
%doc README NEWS COPYING
|
||||
@ -59,9 +81,16 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%{_libdir}/*.a
|
||||
%{_includedir}/*
|
||||
%{_mandir}/man*/*
|
||||
%{_sysconfdir}/rpm/macros.%{name}
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 27 2013 Jerry James <loganjerry@gmail.com> - 1.10-10.20120424cvs
|
||||
- Update to CVS 20120424
|
||||
- List all architectures supported by this package (bz 925335)
|
||||
- Rename man pages to avoid conflicts (bz 800360)
|
||||
- Add Provides: ffcall-static
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-9.20100903cvs
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user