1 %define __strip %{_mingw32_strip}
2 %define __objdump %{_mingw32_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw32_findrequires}
5 %define __find_provides %{_mingw32_findprovides}
7 Name: mingw32-libsigc++20
10 Summary: MinGW Windows port of the typesafe signal framework for C++
13 Group: Development/Libraries
14 URL: http://libsigc.sourceforge.net/
15 Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-%{version}.tar.bz2
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 BuildRequires: mingw32-filesystem >= 30
21 BuildRequires: mingw32-gcc
22 BuildRequires: mingw32-gcc-c++
23 BuildRequires: mingw32-binutils
29 This library implements a full callback system for use in widget
30 libraries, abstract interfaces, and general programming. Originally
31 part of the Gtk-- widget set, %name is now a separate library to
32 provide for more general use. It is the most complete library of its
33 kind with the ability to connect an abstract callback to a class
34 method, function, or function object. It contains adaptor classes for
35 connection of dissimilar callbacks and has an ease of use unmatched by
36 other C++ callback libraries.
38 Package GTK-- (gtkmm), which is a C++ binding to the GTK+ library,
39 starting with version 1.1.2, uses %name.
43 %setup -q -n libsigc++-%{version}
47 %{_mingw32_configure} --disable-static
52 rm -rf $RPM_BUILD_ROOT
53 make DESTDIR=$RPM_BUILD_ROOT install
55 # Docs duplicate native package.
56 rm -r $RPM_BUILD_ROOT%{_mingw32_docdir}/libsigc-2.0
59 rm -rf $RPM_BUILD_ROOT
64 %{_mingw32_bindir}/libsigc-2.0-0.dll
65 %{_mingw32_libdir}/libsigc-2.0.dll.a
66 %{_mingw32_libdir}/libsigc-2.0.la
67 %{_mingw32_libdir}/pkgconfig/sigc++-2.0.pc
68 %{_mingw32_includedir}/sigc++-2.0
69 # WTF? This contains a header file ...
70 %{_mingw32_libdir}/sigc++-2.0
74 * Fri Oct 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.2.2-1
75 - Initial RPM release.