Accepting request 581437 from GNOME:Next
spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581437 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsigc++2?expand=0&rev=53
This commit is contained in:
parent
4d7d003744
commit
777f8cbf55
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:36:21 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Modernize spec-file by calling spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 9 14:03:31 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libsigc++2
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@ -16,22 +16,21 @@
|
||||
#
|
||||
|
||||
|
||||
Name: libsigc++2
|
||||
%define _name libsigc++
|
||||
Name: libsigc++2
|
||||
Version: 2.10.0
|
||||
Release: 0
|
||||
Summary: Typesafe Signal Framework for C++
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://libsigc.sourceforge.net/
|
||||
URL: http://libsigc.sourceforge.net/
|
||||
Source: http://download.gnome.org/sources/libsigc++/2.10/%{_name}-%{version}.tar.xz
|
||||
Source99: baselibs.conf
|
||||
# PATCH-FIX-OPENSUSE libsigc++-std-c11.patch dimstar@opensuse.org -- Add -std=c11 to CFLAGS when using libsigc++ to build. This is not upstreamable in this form as the used CXX macro should handle that, so needs more work (and entry points in mm-common)
|
||||
Patch0: libsigc++-std-c11.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: m4
|
||||
BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
This library implements a full callback system for use in widget
|
||||
@ -81,24 +80,22 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%check
|
||||
export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256))
|
||||
make check
|
||||
make %{?_smp_mflags} check
|
||||
unset MALLOC_CHECK_ MALLOC_PERTURB_
|
||||
|
||||
%post -n libsigc-2_0-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libsigc-2_0-0 -p /sbin/ldconfig
|
||||
|
||||
%files -n libsigc-2_0-0
|
||||
%defattr (-, root, root)
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog NEWS README
|
||||
%{_libdir}/libsigc-2.0.so.*
|
||||
|
||||
%files devel
|
||||
%defattr (-, root, root)
|
||||
%{_libdir}/libsigc-2.0.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/sigc++-2.0
|
||||
|
Loading…
Reference in New Issue
Block a user