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 libraries,
30 abstract interfaces, and general programming. Originally part of the Gtk--
31 widget set, %name is now a separate library to provide for more general
32 use. It is the most complete library of its kind with the ability to connect
33 an abstract callback to a class method, function, or function object. It
34 contains adaptor classes for connection of dissimilar callbacks and has an
35 ease of use unmatched by other C++ callback libraries.
37 Package GTK-- (gtkmm), which is a C++ binding to the GTK+ library,
38 starting with version 1.1.2, uses %name.
42 %setup -q -n libsigc++-%{version}
46 %{_mingw32_configure} --disable-static
51 rm -rf $RPM_BUILD_ROOT
52 make DESTDIR=$RPM_BUILD_ROOT install
54 # Docs duplicate native package.
55 rm -r $RPM_BUILD_ROOT%{_mingw32_docdir}/libsigc-2.0
58 rm -rf $RPM_BUILD_ROOT
63 %{_mingw32_bindir}/libsigc-2.0-0.dll
64 %{_mingw32_libdir}/libsigc-2.0.dll.a
65 %{_mingw32_libdir}/libsigc-2.0.la
66 %{_mingw32_libdir}/pkgconfig/sigc++-2.0.pc
67 %{_mingw32_includedir}/sigc++-2.0
68 # WTF? This contains a header file ...
69 %{_mingw32_libdir}/sigc++-2.0
73 * Fri Oct 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.2.2-1
74 - Initial RPM release.