Репозиторий Sisyphus
Последнее обновление: 24 февраля 2018 | Пакетов: 18213 | Посещений: 11022232
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libsigc++3

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable snapshot

%define _name libsigc++
%define ver_major 2.99
%define api_ver 3.0

Name: %{_name}3
Version: %ver_major.9
Release: alt1

Summary: The Typesafe Callback Framework for C++
License: LGPLv2+
Group: System/Libraries
Url: http://libsigc.sourceforge.net/

%if_disabled snapshot
Source: ftp://ftp.gnome.org/pub/gnome/sources/%_name/%ver_major/%_name-%version.tar.xz
%else
Source: %_name-%version.tar
%endif

BuildRequires: docbook-style-xsl doxygen gcc-c++ graphviz mm-common xsltproc

%description
libsigc++ implements a typesafe callback system for standard C++.
It allows you to define signals and to connect those signals to any
callback function, either global or a member function, regardless of
whether it is static or virtual.

%package devel
Summary: Development files for libsigc++ library
Group: Development/C++
Requires: %name = %version-%release

%description devel
This package contains development files for the software development
using libsigc++ library.

%package doc
Summary: Documentation for libsigc++ library
Group: Books/Other
BuildArch: noarch

%description doc
This package provides API documentation of libsigc++ library.

%prep
%setup -n %_name-%version

%build
mm-common-prepare -f
%autoreconf
%configure --disable-static
%make_build DOCBOOK_STYLESHEET=/usr/share/xml/docbook/xsl-stylesheets/html/chunk.xsl

%install
%makeinstall_std
%define docdir %_docdir/libsigc++-%api_ver
install -pm644 AUTHORS NEWS README %buildroot%docdir/

%check
%make_build -k check

%files
%_libdir/*.so.*
%dir %docdir
%docdir/[ANR]*

%files devel
%_libdir/*.so
%_libdir/sigc*
%_includedir/*
%_pkgconfigdir/*

%files doc
%docdir
%exclude %docdir/[ANR]*
%doc %_datadir/devhelp/books/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin