Accepting request 248195 from home:jengelh:dev

a package showcased during GNU Tools Cauldron 2014

OBS-URL: https://build.opensuse.org/request/show/248195
OBS-URL: https://build.opensuse.org/package/show/devel:tools/libabigail?expand=0&rev=1
This commit is contained in:
Stephan Kulow 2014-09-10 12:01:34 +00:00 committed by Git OBS Bridge
commit ce21291f52
4 changed files with 144 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d062c4d9c51c1bcec04312a0bcec05ee4013ca2a5e3038d113134125db1f0547
size 690748

117
libabigail.spec Normal file
View File

@ -0,0 +1,117 @@
#
# spec file for package libabigail
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libabigail
%define lname libabigail0
Summary: Application Binary Interface Generic Analysis and Instrumentation Library
Version: 0~git565
Release: 0
License: LGPL-3.0+
Group: Development/Libraries/C and C++
Url: https://sourceware.org/libabigail/
#Git-Clone: git://sourceware.org/git/libabigail
#Git-Clone: git://git.inai.de/libabigail
#Snapshot: inai.de e4253844952524f80ab9070f160065195d7c8a3f
Source: %name-%version.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1.11.1
BuildRequires: libdw-devel
BuildRequires: gcc-c++
BuildRequires: libtool >= 2.2
BuildRequires: pkg-config
BuildRequires: xz
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.22
BuildRequires: pkgconfig(libzip) >= 0.10
%description
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
artifacts, such as types, variable, fonctions and declarations
(collectively, the ABI corpus) of a given library or program.
%package -n %lname
Summary: Application Binary Interface Generic Analysis and Instrumentation Library
Group: System/Libraries
%description -n %lname
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
artifacts, such as types, variable, fonctions and declarations
(collectively, the ABI corpus) of a given library or program. The
library provides a way to compare two ABI corpuses, provide detailed
information about their differences, and help build tools to infer
interesting conclusions about these differences.
%package devel
Summary: Development files for the ABI-relevant artifact library
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
artifacts, such as types, variable, fonctions and declarations
(collectively, the ABI corpus) of a given library or program. The
library provides a way to compare two ABI corpuses, provide detailed
information about their differences.
This subpackage contains the files needed to build programs with ABIGAIL.
%package tools
Summary: Utilities to inspect ABI-relevant artifacts
Group: Development/Tools/Other
%description tools
ABIGAIL constructs, manipulates, (de-)serializes ABI-relevant
artifacts, such as types, variable, fonctions and declarations
(collectively, the ABI corpus) of a given library or program.
This subpackage contains the ABIGAIL utilities allowing to infer
interesting conclusions about these differences.
%prep
%setup -qn %name
%build
autoreconf -fiv
%configure --includedir="%_includedir/pkg/%name" --docdir="%_docdir/%name" \
--disable-static
make %{?_smp_mflags}
%install
%make_install
rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/libabigail.so.0*
%files devel
%defattr(-,root,root)
%_includedir/pkg/
%_libdir/libabigail.so
%_libdir/pkgconfig/*.pc
%_datadir/aclocal/
%files tools
%defattr(-,root,root)
%_bindir/bi*
%changelog