commit 0c472a2a04c8ce301a938f7f9cf82dfb76d370de53d467362062803881ed7b56 Author: Dominique Leuenberger Date: Fri Mar 11 17:07:45 2016 +0000 Accepting request 370071 from GNOME:Next New package, I guess we need to fix up links after ack OBS-URL: https://build.opensuse.org/request/show/370071 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsigc++3?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..a943935 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,3 @@ +libsigc-3_0-0 + provides "libsigc++3- = " + obsoletes "libsigc++3- < " diff --git a/libsigc++-2.99.1.tar.xz b/libsigc++-2.99.1.tar.xz new file mode 100644 index 0000000..d383b02 --- /dev/null +++ b/libsigc++-2.99.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ceea726250319f33b30f85bf1fb77464dbbfdec0487114bc790e7efda246f4d +size 1155228 diff --git a/libsigc++3.changes b/libsigc++3.changes new file mode 100644 index 0000000..fdc2d9c --- /dev/null +++ b/libsigc++3.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Mar 9 11:18:46 UTC 2016 - zaitor@opensuse.org + +- Initial packaging of libsigc++3 based on libsigc++2. + diff --git a/libsigc++3.spec b/libsigc++3.spec new file mode 100644 index 0000000..3b6cfef --- /dev/null +++ b/libsigc++3.spec @@ -0,0 +1,106 @@ +# +# spec file for package libsigc++3 +# +# Copyright (c) 2016 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 +# 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: libsigc++3 +%define _name libsigc++ +Version: 2.99.1 +Release: 0 +Summary: Typesafe Signal Framework for C++ +License: LGPL-2.1+ +Group: System/Libraries +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 + +%description +This library implements a full callback system for use in widget +libraries, abstract interfaces, and general programming. It is the most +complete library of its kind with the ability to connect an abstract +callback to a class method, function, or function object. It contains +adaptor classes for connection of dissimilar callbacks and has an ease +of use unmatched by other C++ callback libraries. + +%package -n libsigc-3_0-0 +Summary: Typesafe Signal Framework for C++ +Group: System/Libraries +Provides: %{name} = %{version} +Obsoletes: %{name} < %{version} + +%description -n libsigc-3_0-0 +This library implements a full callback system for use in widget +libraries, abstract interfaces, and general programming. It is the most +complete library of its kind with the ability to connect an abstract +callback to a class method, function, or function object. It contains +adaptor classes for connection of dissimilar callbacks and has an ease +of use unmatched by other C++ callback libraries. + +%package devel +Summary: Typesafe Signal Framework for C++ +Group: Development/Libraries/C and C++ +Requires: libsigc-3_0-0 = %{version} +Requires: libstdc++-devel + +%description devel +This library implements a full callback system for use in widget +libraries, abstract interfaces, and general programming. It is the most +complete library of its kind with the ability to connect an abstract +callback to a class method, function, or function object. It contains +adaptor classes for connection of dissimilar callbacks and has an ease +of use unmatched by other C++ callback libraries. + +%prep +%setup -q -n %{_name}-%{version} + +%build +%configure --disable-static --with-pic +make %{?_smp_mflags} + +%install +%make_install +rm -f %{buildroot}%{_libdir}/*.la + +%check +export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) +make 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) +%doc AUTHORS COPYING ChangeLog NEWS README +%{_libdir}/libsigc-3.0.so.* + +%files devel +%defattr (-, root, root) +%{_libdir}/libsigc-3.0.so +%{_libdir}/pkgconfig/*.pc +%{_libdir}/sigc++-3.0 +%{_includedir}/sigc++-3.0/ +%{_datadir}/devhelp/books/%{_name}-3.0 +%doc %{_datadir}/doc/%{_name}-3.0 +# Avoid BuildRequires on devhelp +%dir %{_datadir}/devhelp +%dir %{_datadir}/devhelp/books + +%changelog