Accepting request 581438 from GNOME:Next
spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581438 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsigc++3?expand=0&rev=23
This commit is contained in:
parent
2cba92fb94
commit
75b29af1c0
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 16:36:25 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Modernize spec-file by calling spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 11 01:37:44 UTC 2018 - luc14n0@linuxmail.org
|
||||
|
||||
|
@ -17,19 +17,17 @@
|
||||
|
||||
|
||||
%define _name libsigc++
|
||||
|
||||
Name: libsigc++3
|
||||
Version: 2.99.10
|
||||
Release: 0
|
||||
Summary: Typesafe Signal Framework for C++
|
||||
License: LGPL-3.0+
|
||||
License: LGPL-3.0-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.99/%{_name}-%{version}.tar.xz
|
||||
Source99: baselibs.conf
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
This library implements a full callback system for use in widget
|
||||
@ -76,25 +74,22 @@ of use unmatched by other C++ callback libraries.
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete
|
||||
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-3_0-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libsigc-3_0-0 -p /sbin/ldconfig
|
||||
|
||||
%files -n libsigc-3_0-0
|
||||
%defattr (-, root, root)
|
||||
%license COPYING
|
||||
%doc NEWS README
|
||||
%{_libdir}/libsigc-3.0.so.*
|
||||
|
||||
%files devel
|
||||
%defattr (-, root, root)
|
||||
%doc AUTHORS ChangeLog
|
||||
%doc %{_datadir}/doc/%{_name}-3.0
|
||||
%{_libdir}/libsigc-3.0.so
|
||||
|
Loading…
Reference in New Issue
Block a user