Group :: System/Libraries
RPM: libsigc++2.0
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define pkgname libsigc++
%define oname2 sigc++-2.0
%define major 2.2
Name: libsigc++2.0
Version: %major.3
Release: alt1
Summary: The Typesafe Signal Framework for C++
License: LGPL
Group: System/Libraries
Url: http://libsigc.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%pkgname/%major/%pkgname-%version.tar.bz2
# manually removed: hostinfo gcc-g77
# Automatically added by buildreq on Mon Feb 21 2005
BuildRequires: gcc-c++ libstdc++-devel
%description
Callback system for use in widget libraries, abstract interfaces, and
general programming.
This library implements a full callback system for use in widget
libraries, abstract interfaces, and general programming. Originally part
of the Gtk-- widget set, %pkgname is now a separate library to provide for
more general use. It is the most complete library of its kind with the
ablity 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 gtkmm, which is a c++ binding to the famous gtk+ library, uses
%pkgname.
%package devel
Summary: Development tools for the Typesafe Signal Framework for C++
Group: Development/C++
Requires: %name = %version-%release
%description devel
This package contains the headers and static libraries of %pkgname,
which are needed when developing or compiling applications which use
%pkgname.
%package doc
Summary: Documentation for %pkgname library
Group: Books/Other
%description doc
This package provides API documentation of %pkgname library.
%prep
%setup -q -n %pkgname-%version
%build
%configure --disable-static
%__subst "s|tests | |" Makefile
%__subst "s|examples | |" Makefile
%make_build
#make check
%install
%makeinstall_std libsigc_docdir=%_docdir/%name-doc-%version/
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc NEWS README
%_libdir/lib*.so.*
%files devel
%doc AUTHORS ChangeLog TODO
%_includedir/%oname2/
%_libdir/lib*.so
%_libdir/%oname2/
%_pkgconfigdir/%oname2.pc
%files doc
%doc %_docdir/%name-doc-%version/
%changelog
…
Full changelog you can see here
%define oname2 sigc++-2.0
%define major 2.2
Name: libsigc++2.0
Version: %major.3
Release: alt1
Summary: The Typesafe Signal Framework for C++
License: LGPL
Group: System/Libraries
Url: http://libsigc.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%pkgname/%major/%pkgname-%version.tar.bz2
# manually removed: hostinfo gcc-g77
# Automatically added by buildreq on Mon Feb 21 2005
BuildRequires: gcc-c++ libstdc++-devel
%description
Callback system for use in widget libraries, abstract interfaces, and
general programming.
This library implements a full callback system for use in widget
libraries, abstract interfaces, and general programming. Originally part
of the Gtk-- widget set, %pkgname is now a separate library to provide for
more general use. It is the most complete library of its kind with the
ablity 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 gtkmm, which is a c++ binding to the famous gtk+ library, uses
%pkgname.
%package devel
Summary: Development tools for the Typesafe Signal Framework for C++
Group: Development/C++
Requires: %name = %version-%release
%description devel
This package contains the headers and static libraries of %pkgname,
which are needed when developing or compiling applications which use
%pkgname.
%package doc
Summary: Documentation for %pkgname library
Group: Books/Other
%description doc
This package provides API documentation of %pkgname library.
%prep
%setup -q -n %pkgname-%version
%build
%configure --disable-static
%__subst "s|tests | |" Makefile
%__subst "s|examples | |" Makefile
%make_build
#make check
%install
%makeinstall_std libsigc_docdir=%_docdir/%name-doc-%version/
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc NEWS README
%_libdir/lib*.so.*
%files devel
%doc AUTHORS ChangeLog TODO
%_includedir/%oname2/
%_libdir/lib*.so
%_libdir/%oname2/
%_pkgconfigdir/%oname2.pc
%files doc
%doc %_docdir/%name-doc-%version/
%changelog
…
Full changelog you can see here