Group :: System/Libraries
RPM: libsigc++2.0
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define pkgname libsigc++
%define api_version 2.0
%define libname %pkgname%api_version
Name: libsigc++2.0
Version: 2.0.15
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/%api_version/%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 -n %libname-devel
Summary: Development tools for the Typesafe Signal Framework for C++
Group: Development/C++
Requires: %libname = %version-%release
%description -n %libname-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
#make check
%install
%makeinstall
%post -n %libname
%post_ldconfig
%postun -n %libname
%postun_ldconfig
%files
%doc COPYING NEWS README
%_libdir/lib*.so.*
%files -n %libname-devel
%doc AUTHORS ChangeLog TODO
%_includedir/*
%_libdir/lib*.so
%_libdir/pkgconfig/*
%_libdir/sigc++-%api_version
%files doc
%doc %_docdir/libsigc-%api_version
%changelog
…
Full changelog you can see here
%define api_version 2.0
%define libname %pkgname%api_version
Name: libsigc++2.0
Version: 2.0.15
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/%api_version/%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 -n %libname-devel
Summary: Development tools for the Typesafe Signal Framework for C++
Group: Development/C++
Requires: %libname = %version-%release
%description -n %libname-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
#make check
%install
%makeinstall
%post -n %libname
%post_ldconfig
%postun -n %libname
%postun_ldconfig
%files
%doc COPYING NEWS README
%_libdir/lib*.so.*
%files -n %libname-devel
%doc AUTHORS ChangeLog TODO
%_includedir/*
%_libdir/lib*.so
%_libdir/pkgconfig/*
%_libdir/sigc++-%api_version
%files doc
%doc %_docdir/libsigc-%api_version
%changelog
…
Full changelog you can see here