forked from pool/libabigail
Accepting request 347286 from devel:tools
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/347286 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libabigail?expand=0&rev=2
This commit is contained in:
commit
eb5c8730ca
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 26 09:20:57 CET 2015 - pth@suse.de
|
||||||
|
|
||||||
|
- BuildRequire python-sphinx so that the documentation can be built.
|
||||||
|
- BuildRequire makeinfo.
|
||||||
|
- Build man pagres and info documentation and package them.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 1 09:50:56 UTC 2015 - jengelh@inai.de
|
Sun Mar 1 09:50:56 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libabigail
|
# spec file for package libabigail
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -35,10 +35,14 @@ BuildRequires: gcc-c++ >= 4.7
|
|||||||
BuildRequires: libdw-devel
|
BuildRequires: libdw-devel
|
||||||
BuildRequires: libebl-devel
|
BuildRequires: libebl-devel
|
||||||
BuildRequires: libtool >= 2.2
|
BuildRequires: libtool >= 2.2
|
||||||
|
BuildRequires: libzip-devel
|
||||||
|
BuildRequires: makeinfo
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: python-sphinx
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.22
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.22
|
||||||
BuildRequires: pkgconfig(libzip) >= 0.10
|
BuildRequires: pkgconfig(libzip) >= 0.10
|
||||||
|
PreReq: %install_info_prereq
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
|
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
|
||||||
@ -47,8 +51,8 @@ artifacts, such as types, variable, fonctions and declarations
|
|||||||
|
|
||||||
%package -n %lname
|
%package -n %lname
|
||||||
Summary: Application Binary Interface Generic Analysis and Instrumentation Library
|
Summary: Application Binary Interface Generic Analysis and Instrumentation Library
|
||||||
Group: System/Libraries
|
|
||||||
License: LGPL-3.0+
|
License: LGPL-3.0+
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %lname
|
%description -n %lname
|
||||||
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
|
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
|
||||||
@ -60,8 +64,8 @@ interesting conclusions about these differences.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for the ABI-relevant artifact library
|
Summary: Development files for the ABI-relevant artifact library
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
License: LGPL-3.0+
|
License: LGPL-3.0+
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -75,8 +79,8 @@ This subpackage contains the files needed to build programs with ABIGAIL.
|
|||||||
|
|
||||||
%package tools
|
%package tools
|
||||||
Summary: Utilities to inspect ABI-relevant artifacts
|
Summary: Utilities to inspect ABI-relevant artifacts
|
||||||
Group: Development/Tools/Other
|
|
||||||
License: LGPL-3.0+
|
License: LGPL-3.0+
|
||||||
|
Group: Development/Tools/Other
|
||||||
|
|
||||||
%description tools
|
%description tools
|
||||||
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
|
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
|
||||||
@ -92,16 +96,26 @@ interesting conclusions about these differences.
|
|||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure --includedir="%_includedir/%name" --docdir="%_docdir/%name" \
|
%configure --includedir="%_includedir/%name" --docdir="%_docdir/%name" \
|
||||||
--disable-static --enable-cxx11
|
--disable-static --enable-cxx11 --disable-silent-rules
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
pushd doc/manuals
|
||||||
|
make man info
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
rm -f "%buildroot/%_libdir"/*.la
|
||||||
|
|
||||||
|
pushd doc/manuals
|
||||||
|
make DESTDIR=%buildroot install-man-and-info-doc
|
||||||
|
popd
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post tools %install_info abigail
|
||||||
|
%postun tools %install_info abigail
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libabigail.so.0*
|
%_libdir/libabigail.so.0*
|
||||||
@ -112,10 +126,16 @@ rm -f "%buildroot/%_libdir"/*.la
|
|||||||
%_libdir/libabigail.so
|
%_libdir/libabigail.so
|
||||||
%_libdir/pkgconfig/*.pc
|
%_libdir/pkgconfig/*.pc
|
||||||
%_datadir/aclocal/
|
%_datadir/aclocal/
|
||||||
|
%_mandir/man7/libabigail.7.gz
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING*
|
%doc COPYING*
|
||||||
%_bindir/abi*
|
%_bindir/abi*
|
||||||
|
%_mandir/man7/abicompat.7.gz
|
||||||
|
%_mandir/man7/abidiff.7.gz
|
||||||
|
%_mandir/man7/abidw.7.gz
|
||||||
|
%_mandir/man7/abilint.7.gz
|
||||||
|
%_infodir/abigail.info.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user