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++
13 Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.6/%{name}-%{version}.tar.xz
14 # Source0-md5: 136bbdc53c538b5824eddfd2a7fe10db
15 URL: http://libsigc.sourceforge.net/
16 BuildRequires: autoconf >= 2.59
17 BuildRequires: automake >= 1:1.9
18 BuildRequires: libstdc++-devel >= 6:4.6
19 BuildRequires: libtool >= 2:2.0
21 BuildRequires: mm-common >= 0.9.8
22 BuildRequires: perl-base
23 BuildRequires: pkgconfig
24 BuildRequires: tar >= 1:1.22
26 Obsoletes: libsigc++-examples
27 Conflicts: libsigc++ < 1.1.0
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 This library implements a full callback system for use in widget
32 libraries, abstract interfaces, and general programming. Originally
33 part of the Gtk-- widget set, libsigc++ is now a seperate library to
34 provide for more general use. It is the most complete library of its
35 kind with the ablity to connect an abstract callback to a class
36 method, function, or function object. It contains adaptor classes for
37 connection of dissimilar callbacks and has an ease of use unmatched by
38 other C++ callback libraries.
40 %description -l pl.UTF-8
41 Ta biblioteka jest implementacją pełnego systemu callbacków do
42 używania w bibliotekach widgetów, interfejsach abstrakcyjnych i
43 ogólnym programowaniu. Oryginalnie była to część zestawu widgetów
44 Gtk--, ale jest teraz oddzielną biblioteką ogólniejszego
45 przeznaczenia. Jest to kompletna biblioteka tego typu z możliwością
46 łączenia abstrakcyjnych callbacków z metodami klas, funkcjami lub
47 obiektami funkcji. Zawiera klasy adapterów do łączenia różnych
51 Summary: Development tools for the Typesafe Signal Framework for C++
52 Summary(pl.UTF-8): Narzędzia programistyczne do środowiska libsig++
53 Group: Development/Libraries
54 Requires: %{name} = %{epoch}:%{version}-%{release}
55 Requires: libstdc++-devel >= 6:4.6
59 Development tools for the Typesafe Signal Framework for C++.
61 %description devel -l pl.UTF-8
62 Narzędzia programistyczne do środowiska libsigc++ - sygnałów z
66 Summary: Static Typesafe Signal Framework for C++ libraries
67 Summary(pl.UTF-8): Statyczna biblioteka libsigc++
68 Group: Development/Libraries
69 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
72 Static Typesafe Signal Framework for C++ libraries.
74 %description static -l pl.UTF-8
75 Statyczna biblioteka libsigc++ - środowiska sygnałów z kontrolą typów.
78 Summary: Reference documentation for libsigc++
79 Summary(pl.UTF-8): Szczegółowa dokumentacja dla libsigc++
83 Reference documentation for libsigc++.
85 %description doc -l pl.UTF-8
86 Szczegółowa dokumentacja dla libsigc++.
97 %{?with_static_libs:--enable-static}
98 %{__make} -j1 all check
101 rm -rf $RPM_BUILD_ROOT
104 DESTDIR=$RPM_BUILD_ROOT
107 rm -rf $RPM_BUILD_ROOT
109 %post -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
113 %defattr(644,root,root,755)
114 %doc AUTHORS ChangeLog NEWS README
115 %attr(755,root,root) %{_libdir}/libsigc-2.0.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/libsigc-2.0.so.0
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/libsigc-2.0.so
121 %{_libdir}/libsigc-2.0.la
122 %{_includedir}/sigc++-2.0
123 %{_libdir}/sigc++-2.0
124 %{_pkgconfigdir}/sigc++-2.0.pc
126 %if %{with static_libs}
128 %defattr(644,root,root,755)
129 %{_libdir}/libsigc-2.0.a
133 %defattr(644,root,root,755)
134 %{_datadir}/devhelp/books/libsigc++-2.0
135 %{_docdir}/libsigc++-2.0