1 Summary: The Typesafe Signal Framework for C++
2 Summary(pl.UTF-8): Środowisko sygnałów z kontrolą typów dla C++
8 Source0: http://dl.sourceforge.net/libsigc/libsigc++-%{version}.tar.gz
9 # Source0-md5: 88d34840acc1cc5d47b347726e4a09e0
10 Patch0: %{name}-remove_stupid_install-data-hook_targets.patch
11 Patch1: %{name}-ac25x.patch
12 Patch2: %{name}-link.patch
13 Patch3: %{name}-am18.patch
14 URL: http://libsigc.sourceforge.net/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libstdc++-devel
18 BuildRequires: libtool >= 2:1.4d
19 Obsoletes: libsigc++ < 1.1
20 Obsoletes: libsigc++-examples
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This library implements a full callback system for use in widget
25 libraries, abstract interfaces, and general programming. Originally
26 part of the Gtk-- widget set, %{name} is now a seperate library to
27 provide for more general use. It is the most complete library of its
28 kind with the ablity to connect an abstract callback to a class
29 method, function, or function object. It contains adaptor classes for
30 connection of dissimilar callbacks and has an ease of use unmatched by
31 other C++ callback libraries.
33 %description -l pl.UTF-8
34 Ta biblioteka jest implementacją pełnego systemu callbacków do
35 używania w bibliotekach widgetów, interfejsach abstrakcyjnych i
36 ogólnym programowaniu. Oryginalnie była to część zestawu widgetów
37 Gtk--, ale jest teraz oddzielną biblioteką ogólniejszego
38 przeznaczenia. Jest to kompletna biblioteka tego typu z możliwością
39 łączenia abstrakcyjnych callbacków z metodami klas, funkcjami lub
40 obiektami funkcji. Zawiera klasy adapterów do łączenia różnych
44 Summary: Development tools for the Typesafe Signal Framework for C++
45 Summary(pl.UTF-8): Narzędzia programistyczne do środowiska libsig++
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
48 Requires: libstdc++-devel
50 Obsoletes: libsigc++-devel < 1.1
53 Development tools for the Typesafe Signal Framework for C++.
55 %description devel -l pl.UTF-8
56 Narzędzia programistyczne do środowiska libsigc++ - sygnałów z
60 Summary: Static Typesafe Signal Framework for C++ libraries
61 Summary(pl.UTF-8): Statyczna biblioteka libsigc++
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
64 Obsoletes: libsigc++-static < 1.1
67 Static Typesafe Signal Framework for C++ libraries.
69 %description static -l pl.UTF-8
70 Statyczna biblioteka libsigc++ - środowiska sygnałów z kontrolą typów.
73 %setup -q -n libsigc++-%{version}
80 CXXFLAGS="%{rpmcflags} -fno-exceptions"
90 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT \
94 m4datadir=%{_aclocaldir}
96 mv -f $RPM_BUILD_ROOT%{_aclocaldir}/{sigc++.m4,sigc++1.m4}
99 rm -rf $RPM_BUILD_ROOT
101 %post -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog FEATURES IDEAS README TODO
107 %attr(755,root,root) %{_libdir}/lib*.so.*.*
110 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_bindir}/sigc-config
113 %attr(755,root,root) %{_libdir}/lib*.so
115 %{_includedir}/sigc++-*
120 %defattr(644,root,root,755)