Accepting request 582921 from GNOME:Factory
spec-cleaner (forwarded request 581437 from dimstar) OBS-URL: https://build.opensuse.org/request/show/582921 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsigc++2?expand=0&rev=42
This commit is contained in:
commit
77f388a205
@ -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
|
Thu Feb 9 14:03:31 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libsigc++2
|
# 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
|
# 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
|
||||||
@ -16,22 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: libsigc++2
|
|
||||||
%define _name libsigc++
|
%define _name libsigc++
|
||||||
|
Name: libsigc++2
|
||||||
Version: 2.10.0
|
Version: 2.10.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Typesafe Signal Framework for C++
|
Summary: Typesafe Signal Framework for C++
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/C and C++
|
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
|
Source: http://download.gnome.org/sources/libsigc++/2.10/%{_name}-%{version}.tar.xz
|
||||||
Source99: baselibs.conf
|
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)
|
# 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
|
Patch0: libsigc++-std-c11.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: m4
|
BuildRequires: m4
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library implements a full callback system for use in widget
|
This library implements a full callback system for use in widget
|
||||||
@ -81,24 +80,22 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256))
|
export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256))
|
||||||
make check
|
make %{?_smp_mflags} check
|
||||||
unset MALLOC_CHECK_ MALLOC_PERTURB_
|
unset MALLOC_CHECK_ MALLOC_PERTURB_
|
||||||
|
|
||||||
%post -n libsigc-2_0-0 -p /sbin/ldconfig
|
%post -n libsigc-2_0-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libsigc-2_0-0 -p /sbin/ldconfig
|
%postun -n libsigc-2_0-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libsigc-2_0-0
|
%files -n libsigc-2_0-0
|
||||||
%defattr (-, root, root)
|
%license COPYING
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%doc AUTHORS ChangeLog NEWS README
|
||||||
%{_libdir}/libsigc-2.0.so.*
|
%{_libdir}/libsigc-2.0.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr (-, root, root)
|
|
||||||
%{_libdir}/libsigc-2.0.so
|
%{_libdir}/libsigc-2.0.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_libdir}/sigc++-2.0
|
%{_libdir}/sigc++-2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user