69 lines
1.8 KiB
RPMSpec
69 lines
1.8 KiB
RPMSpec
Name: libsigc++20
|
|
Version: 2.10.1
|
|
Release: 2
|
|
Summary: Typesafe signal framework for C++
|
|
License: LGPLv2+
|
|
URL: http://libsigc.sourceforge.net/
|
|
Source0: http://download.gnome.org/sources/libsigc++/2.10/libsigc++-2.10.1.tar.xz
|
|
BuildRequires: gcc-c++ m4 perl-interpreter perl-Getopt-Long
|
|
|
|
%description
|
|
Originally part of the Gtk-- widget set, libsigc++20 is now a separate library to provide
|
|
for more general use. 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: Development tools for the typesafe signal framework for C++
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The libsigc++20-devel package contains the static libraries and header files
|
|
needed for development with %{name}.
|
|
|
|
|
|
%package help
|
|
Provides: %{name}-doc = %{version}-%{release}
|
|
Obsoletes: %{name}-doc < %{version}-%{release}
|
|
Summary: full API documentation for %{name}
|
|
BuildArch: noarch
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description help
|
|
The libsigc++20-help package contains the full API documentation for libsigc++20.
|
|
|
|
|
|
%prep
|
|
%autosetup -n libsigc++-%{version}
|
|
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
|
|
%install
|
|
%make_install
|
|
%delete_la
|
|
|
|
%files
|
|
%doc AUTHORS README NEWS COPYING
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%{_includedir}/*
|
|
%{_libdir}/sigc++-2.0/
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/*.so
|
|
|
|
%files help
|
|
%doc %{_datadir}/doc/libsigc++-2.0/
|
|
%doc %{_datadir}/devhelp/
|
|
|
|
|
|
%changelog
|
|
* Thu Dec 12 2019 zoushuangshuang<zoushuangshuang@huawei.com> - 2.10.1-2
|
|
- Package init
|