1 Summary: The Typesafe Signal Framework for C++ - Mingw32 cross version
2 Summary(pl.UTF-8): Środowisko sygnałów z kontrolą typów dla C++ - wersja skrośna dla Mingw32
3 %define _realname libsigc++
4 Name: crossmingw32-%{_realname}
8 Group: Development/Libraries
9 Source0: http://ftp.gnome.org/pub/gnome/sources/libsigc++/2.0/%{_realname}-%{version}.tar.bz2
10 # Source0-md5: fde0ee69e3125e982746d9fe005763e1
11 URL: http://libsigc.sourceforge.net/
12 BuildRequires: autoconf >= 2.59
13 BuildRequires: automake >= 1.9
14 BuildRequires: crossmingw32-gcc-c++
15 BuildRequires: libtool
17 BuildRequires: perl-base
18 Requires: crossmingw32-runtime
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define no_install_post_strip 1
23 %define target i386-mingw32
24 %define target_platform i386-pc-mingw32
25 %define arch %{_prefix}/%{target}
27 %define _sysprefix /usr
28 %define _prefix %{_sysprefix}/%{target}
29 %define _pkgconfigdir %{_libdir}/pkgconfig
30 %define _dlldir /usr/share/wine/windows/system
31 %define __cc %{target}-gcc
32 %define __cxx %{target}-g++
35 This library implements a full callback system for use in widget
36 libraries, abstract interfaces, and general programming. Originally
37 part of the Gtk-- widget set, libsigc++ is now a seperate library to
38 provide for more general use. It is the most complete library of its
39 kind with the ablity to connect an abstract callback to a class
40 method, function, or function object. It contains adaptor classes for
41 connection of dissimilar callbacks and has an ease of use unmatched by
42 other C++ callback libraries.
44 This package contains cross Mingw32 version.
46 %description -l pl.UTF-8
47 Ta biblioteka jest implementacją pełnego systemu callbacków do
48 używania w bibliotekach widgetów, interfejsach abstrakcyjnych i
49 ogólnym programowaniu. Oryginalnie była to część zestawu widgetów
50 Gtk--, ale jest teraz oddzielną biblioteką ogólniejszego
51 przeznaczenia. Jest to kompletna biblioteka tego typu z możliwością
52 łączenia abstrakcyjnych callbacków z metodami klas, funkcjami lub
53 obiektami funkcji. Zawiera klasy adapterów do łączenia różnych
56 Ten pakiet zawiera wersję skrośną Mingw32.
59 Summary: Static libsigc++ library (cross mingw32 version)
60 Summary(pl.UTF-8): Statyczna biblioteka libsigc++ (wersja skrośna mingw32)
61 Group: Development/Libraries
62 Requires: %{name} = %{version}-%{release}
65 Static libsigc++ library (cross mingw32 version).
67 %description static -l pl.UTF-8
68 Statyczna biblioteka libsigc++ (wersja skrośna mingw32).
71 Summary: DLL libsigc++ library for Windows
72 Summary(pl.UTF-8): Biblioteka DLL libsigc++ dla Windows
73 Group: Applications/Emulators
77 DLL libsigc++ library for Windows.
79 %description dll -l pl.UTF-8
80 Biblioteka DLL libsigc++ dla Windows.
83 %setup -q -n %{_realname}-%{version}
87 %{__aclocal} -I scripts
99 rm -rf $RPM_BUILD_ROOT
102 DESTDIR=$RPM_BUILD_ROOT
104 install -d $RPM_BUILD_ROOT%{_dlldir}
105 mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
108 %{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
109 %{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
112 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
115 rm -rf $RPM_BUILD_ROOT
118 %defattr(644,root,root,755)
119 %doc AUTHORS ChangeLog NEWS README TODO
120 %{_libdir}/libsigc-2.0.dll.a
121 %{_libdir}/libsigc-2.0.la
122 %{_libdir}/sigc++-2.0
123 %{_includedir}/sigc++-2.0
124 %{_pkgconfigdir}/*.pc
127 %defattr(644,root,root,755)
128 %{_libdir}/libsigc-2.0.a
131 %defattr(644,root,root,755)
132 %{_dlldir}/libsigc-2.0-*.dll