OBS User unknown 2008-09-14 22:58:19 +00:00 committed by Git OBS Bridge
parent e935bca562
commit 8d1ad1cb79
2 changed files with 29 additions and 10 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 14 04:36:50 CEST 2008 - crrodriguez@suse.de
- remove static libraries and useless "la" file
- run test suite
-------------------------------------------------------------------
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de

View File

@ -2,9 +2,16 @@
# spec file for package libsigc++2 (Version 2.2.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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/
#
@ -15,7 +22,7 @@ Name: libsigc++2
%define _name libsigc++
BuildRequires: gcc-c++
Version: 2.2.2
Release: 4
Release: 40
Group: Development/Libraries/C and C++
License: LGPL v2.1 or later
Summary: Typesafe Signal Framework for C++
@ -80,8 +87,13 @@ Authors:
%build
# FIXME: Cannot autoreconf, bad templates:
#ACLOCAL="aclocal -I scripts" autoreconf -f -i
%configure
make %{?jobs:-j%jobs}
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%check
export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256))
%{__make} check
unset MALLOC_CHECK_ MALLOC_PERTURB_
%install
make DESTDIR=$RPM_BUILD_ROOT libsigc_docdir=%{_docdir}/%{name}/docs install
@ -91,15 +103,14 @@ mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
cp examples/{Makefile,*.cc} $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}/tests
cp tests/{Makefile,*.cc} $RPM_BUILD_ROOT%{_docdir}/%{name}/tests
rm -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%post -p /sbin/ldconfig
%postun
%run_ldconfig
%postun -p /sbin/ldconfig
%files
%defattr (-, root, root)
@ -117,13 +128,15 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_docdir}/%{name}/examples
%doc %{_docdir}/%{name}/docs
%doc %{_docdir}/%{name}/tests
%{_libdir}/*.*a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/sigc++-2.0
%{_includedir}/*
%changelog
* Sun Sep 14 2008 crrodriguez@suse.de
- remove static libraries and useless "la" file
- run test suite
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support