3 %bcond_without static_libs # don't build static library
5 Summary: The Typesafe Signal Framework for C++
6 Summary(pl.UTF-8): Środowisko sygnałów z kontrolą typów dla C++
12 Vendor: Karl E. Nelson <kenelson@ece.ucdavis.edu>
14 Source0: http://ftp.gnome.org/pub/gnome/sources/libsigc++/2.0/%{name}-%{version}.tar.bz2
15 # Source0-md5: fde0ee69e3125e982746d9fe005763e1
16 URL: http://libsigc.sourceforge.net/
17 BuildRequires: autoconf >= 2.59
18 BuildRequires: automake >= 1.9
19 BuildRequires: libstdc++-devel
20 BuildRequires: libtool
22 BuildRequires: perl-base
23 Obsoletes: libsigc++-examples
24 Conflicts: libsigc++ < 1.1.0
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This library implements a full callback system for use in widget
29 libraries, abstract interfaces, and general programming. Originally
30 part of the Gtk-- widget set, libsigc++ is now a seperate library to
31 provide for more general use. It is the most complete library of its
32 kind with the ablity to connect an abstract callback to a class
33 method, function, or function object. It contains adaptor classes for
34 connection of dissimilar callbacks and has an ease of use unmatched by
35 other C++ callback libraries.
37 %description -l pl.UTF-8
38 Ta biblioteka jest implementacją pełnego systemu callbacków do
39 używania w bibliotekach widgetów, interfejsach abstrakcyjnych i
40 ogólnym programowaniu. Oryginalnie była to część zestawu widgetów
41 Gtk--, ale jest teraz oddzielną biblioteką ogólniejszego
42 przeznaczenia. Jest to kompletna biblioteka tego typu z możliwością
43 łączenia abstrakcyjnych callbacków z metodami klas, funkcjami lub
44 obiektami funkcji. Zawiera klasy adapterów do łączenia różnych
48 Summary: Development tools for the Typesafe Signal Framework for C++
49 Summary(pl.UTF-8): Narzędzia programistyczne do środowiska libsig++
50 Group: Development/Libraries
51 Requires: %{name} = %{epoch}:%{version}-%{release}
52 Requires: libstdc++-devel
56 Development tools for the Typesafe Signal Framework for C++.
58 %description devel -l pl.UTF-8
59 Narzędzia programistyczne do środowiska libsigc++ - sygnałów z
63 Summary: Reference documentation for libsigc++
64 Summary(pl.UTF-8): Szczegółowa dokumentacja dla libsigc++
68 Reference documentation for libsigc++.
70 %description doc -l pl.UTF-8
71 Szczegółowa dokumentacja dla libsigc++.
74 Summary: Static Typesafe Signal Framework for C++ libraries
75 Summary(pl.UTF-8): Statyczna biblioteka libsigc++
76 Group: Development/Libraries
77 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
80 Static Typesafe Signal Framework for C++ libraries.
82 %description static -l pl.UTF-8
83 Statyczna biblioteka libsigc++ - środowiska sygnałów z kontrolą typów.
90 %{__aclocal} -I scripts
94 %{!?with_static_libs:--disable-static}
98 rm -rf $RPM_BUILD_ROOT
101 DESTDIR=$RPM_BUILD_ROOT
103 mv $RPM_BUILD_ROOT%{_docdir}/libsigc-2.0/docs devel-docs
106 rm -rf $RPM_BUILD_ROOT
108 %post -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
112 %defattr(644,root,root,755)
113 %doc AUTHORS ChangeLog NEWS README TODO
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/lib*.so
120 %{_includedir}/sigc++-*
125 %defattr(644,root,root,755)
128 %if %{with static_libs}
130 %defattr(644,root,root,755)