1
0
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:
Dominique Leuenberger 2015-12-09 18:50:40 +00:00 committed by Git OBS Bridge
commit eb5c8730ca
2 changed files with 32 additions and 5 deletions

View File

@ -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

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -35,10 +35,14 @@ BuildRequires: gcc-c++ >= 4.7
BuildRequires: libdw-devel
BuildRequires: libebl-devel
BuildRequires: libtool >= 2.2
BuildRequires: libzip-devel
BuildRequires: makeinfo
BuildRequires: pkg-config
BuildRequires: python-sphinx
BuildRequires: xz
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.22
BuildRequires: pkgconfig(libzip) >= 0.10
PreReq: %install_info_prereq
%description
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
@ -47,8 +51,8 @@ artifacts, such as types, variable, fonctions and declarations
%package -n %lname
Summary: Application Binary Interface Generic Analysis and Instrumentation Library
Group: System/Libraries
License: LGPL-3.0+
Group: System/Libraries
%description -n %lname
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
@ -60,8 +64,8 @@ interesting conclusions about these differences.
%package devel
Summary: Development files for the ABI-relevant artifact library
Group: Development/Libraries/C and C++
License: LGPL-3.0+
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
@ -75,8 +79,8 @@ This subpackage contains the files needed to build programs with ABIGAIL.
%package tools
Summary: Utilities to inspect ABI-relevant artifacts
Group: Development/Tools/Other
License: LGPL-3.0+
Group: Development/Tools/Other
%description tools
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
@ -92,16 +96,26 @@ interesting conclusions about these differences.
%build
autoreconf -fiv
%configure --includedir="%_includedir/%name" --docdir="%_docdir/%name" \
--disable-static --enable-cxx11
--disable-static --enable-cxx11 --disable-silent-rules
make %{?_smp_mflags}
pushd doc/manuals
make man info
popd
%install
%make_install
rm -f "%buildroot/%_libdir"/*.la
pushd doc/manuals
make DESTDIR=%buildroot install-man-and-info-doc
popd
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%post tools %install_info abigail
%postun tools %install_info abigail
%files -n %lname
%defattr(-,root,root)
%_libdir/libabigail.so.0*
@ -112,10 +126,16 @@ rm -f "%buildroot/%_libdir"/*.la
%_libdir/libabigail.so
%_libdir/pkgconfig/*.pc
%_datadir/aclocal/
%_mandir/man7/libabigail.7.gz
%files tools
%defattr(-,root,root)
%doc COPYING*
%_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