Summary: The Typesafe Signal Framework for C++ Summary(pl): Środowisko sygnałów z kontrolą typów dla C++ Name: libsigc++ Version: 2.0.14 Release: 1 Epoch: 1 License: LGPL Vendor: Karl E. Nelson Group: Libraries Source0: http://ftp.gnome.org/pub/gnome/sources/libsigc++/2.0/%{name}-%{version}.tar.bz2 # Source0-md5: ada1bdadf73e0a91d3d0d7fde7a3dca8 URL: http://libsigc.sourceforge.net/ BuildRequires: autoconf >= 2.59 BuildRequires: automake >= 1.9 BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: m4 BuildRequires: perl-base Obsoletes: libsigc++-examples Conflicts: libsigc++ < 1.1.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This library implements a full callback system for use in widget libraries, abstract interfaces, and general programming. Originally part of the Gtk-- widget set, libsigc++ is now a seperate 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. %description -l pl Ta biblioteka jest implementacją pełnego systemu callbacków do używania w bibliotekach widgetów, interfejsach abstrakcyjnych i ogólnym programowaniu. Oryginalnie była to część zestawu widgetów Gtk--, ale jest teraz oddzielną biblioteką ogólniejszego przeznaczenia. Jest to kompletna biblioteka tego typu z możliwością łączenia abstrakcyjnych callbacków z metodami klas, funkcjami lub obiektami funkcji. Zawiera klasy adapterów do łączenia różnych callbacków. %package devel Summary: Development tools for the Typesafe Signal Framework for C++ Summary(pl): Narzędzia programistyczne do środowiska libsig++ Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} Requires: m4 %description devel Development tools for the Typesafe Signal Framework for C++. %description devel -l pl Narzędzia programistyczne do środowiska libsigc++ - sygnałów z kontrolą typów. %package doc Summary: Reference documentation for libsigc++ Summary(pl): Szczegółowa dokumentacja dla libsigc++ Group: Documentation %description doc Reference documentation for libsigc++. %description doc -l pl Szczegółowa dokumentacja dla libsigc++. %package static Summary: Static Typesafe Signal Framework for C++ libraries Summary(pl): Statyczna biblioteka libsigc++ Group: Development/Libraries Requires: %{name}-devel = %{epoch}:%{version}-%{release} %description static Static Typesafe Signal Framework for C++ libraries. %description static -l pl Statyczna biblioteka libsigc++ - środowiska sygnałów z kontrolą typów. %prep %setup -q %build %{__libtoolize} %{__aclocal} -I scripts %{__autoconf} %{__automake} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT mv $RPM_BUILD_ROOT%{_docdir}/libsigc-2.0/docs devel-docs %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README TODO %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %{_includedir}/sigc++-* %{_libdir}/sigc++* %{_pkgconfigdir}/* %files doc %defattr(644,root,root,755) %doc devel-docs/* %files static %defattr(644,root,root,755) %{_libdir}/lib*.a