103 lines
2.9 KiB
RPMSpec
103 lines
2.9 KiB
RPMSpec
|
#
|
||
|
# spec file for package libminidump
|
||
|
#
|
||
|
# Copyright (c) 2013 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: libminidump
|
||
|
%define lname libminidump0
|
||
|
Version: 0~git35
|
||
|
Release: 0
|
||
|
Summary: Utilities for working with mini coredumps
|
||
|
Group: Development/Tools/Debuggers
|
||
|
License: LGPL-2.1+
|
||
|
Url: http://libminidump.org/
|
||
|
|
||
|
#Git-Web: http://cgit.freedesktop.org/libminidump
|
||
|
#Git-Clone: git://anongit.freedesktop.org/libminidump
|
||
|
#Git-Commit: b70ad6623f5201744e64a9e4b3b1450184453974
|
||
|
Source: %name-%version.tar.xz
|
||
|
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
BuildRequires: pkgconfig
|
||
|
BuildRequires: xz
|
||
|
|
||
|
%description
|
||
|
A library for generating, converting and decoding Windows/Mozilla/Google
|
||
|
Minidumps (.DMP), Linux ELF coredumps and Linux ELF minicores.
|
||
|
|
||
|
%package -n %lname
|
||
|
Summary: Library for handing mini coredumps
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n %lname
|
||
|
A library for generating, converting and decoding Windows/Mozilla/Google
|
||
|
Minidumps (.DMP), Linux ELF coredumps and Linux ELF minicores.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for libminidump
|
||
|
Group: Development/Libraries/C and C++
|
||
|
Requires: %lname = %version
|
||
|
|
||
|
%description devel
|
||
|
A library for generating, converting and decoding Windows/Mozilla/Google
|
||
|
Minidumps (.DMP), Linux ELF coredumps and Linux ELF minicores.
|
||
|
|
||
|
This package contains the development headers for libminidump.
|
||
|
|
||
|
%package -n minidump
|
||
|
Summary: Utilities for working with mini coredumps
|
||
|
Group: Development/Tools/Debuggers
|
||
|
|
||
|
%description -n minidump
|
||
|
Utilities for generating, converting and decoding Windows/Mozilla/Google
|
||
|
Minidumps (.DMP), Linux ELF coredumps and Linux ELF minicores (which are the
|
||
|
idea of minidumps applied to ELF coredumps and are compatible with ELF
|
||
|
coredumps).
|
||
|
|
||
|
%prep
|
||
|
%setup -qn %name
|
||
|
|
||
|
%build
|
||
|
%configure --includedir="%_includedir/pkg/%name"
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
b="%buildroot";
|
||
|
make install DESTDIR="$b";
|
||
|
rm -f "$b/%_libdir"/*.la
|
||
|
|
||
|
%check
|
||
|
make check
|
||
|
|
||
|
%post -n %lname -p /sbin/ldconfig
|
||
|
%postun -n %lname -p /sbin/ldconfig
|
||
|
|
||
|
%files -n %lname
|
||
|
%defattr(-,root,root)
|
||
|
%_libdir/libminidump.so.0*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%_includedir/pkg/
|
||
|
%_libdir/libminidump.so
|
||
|
%_libdir/pkgconfig/libminidump.pc
|
||
|
|
||
|
%files -n minidump
|
||
|
%defattr(-,root,root)
|
||
|
%_bindir/mkminidump
|
||
|
|
||
|
%changelog
|