]> git.pld-linux.org Git - packages/crossmingw32-libsigc++.git/blame - crossmingw32-libsigc++.spec
- converted to UTF-8
[packages/crossmingw32-libsigc++.git] / crossmingw32-libsigc++.spec
CommitLineData
dec16728 1#
2%define _realname libsigc++
3Summary: The Typesafe Signal Framework for C++ - Mingw32 cross version
a0719c45 4Summary(pl.UTF-8): Środowisko sygnałów z kontrolą typów dla C++ - wersja skrośna dla Mingw32
dec16728 5Name: crossmingw32-%{_realname}
6Version: 2.0.17
7Release: 2
8Epoch: 1
9License: LGPL
10Group: Libraries
11Source0: http://ftp.gnome.org/pub/gnome/sources/libsigc++/2.0/%{_realname}-%{version}.tar.bz2
12# Source0-md5: fde0ee69e3125e982746d9fe005763e1
13URL: http://libsigc.sourceforge.net/
14BuildRequires: autoconf >= 2.59
15BuildRequires: automake >= 1.9
16BuildRequires: libstdc++-devel
17BuildRequires: libtool
18BuildRequires: m4
19BuildRequires: perl-base
20Obsoletes: libsigc++-examples
21Conflicts: libsigc++ < 1.1.0
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%define no_install_post_strip 1
25
26%define target i386-mingw32
27%define target_platform i386-pc-mingw32
28%define arch %{_prefix}/%{target}
29%define gccarch %{_prefix}/lib/gcc-lib/%{target}
30%define gcclib %{_prefix}/lib/gcc-lib/%{target}/%{version}
31
32%define _sysprefix /usr
33%define _prefix %{_sysprefix}/%{target}
34%define __cc %{target}-gcc
35%define __cxx %{target}-g++
36
37%description
38This library implements a full callback system for use in widget
39libraries, abstract interfaces, and general programming. Originally
40part of the Gtk-- widget set, libsigc++ is now a seperate library to
41provide for more general use. It is the most complete library of its
42kind with the ablity to connect an abstract callback to a class
43method, function, or function object. It contains adaptor classes for
44connection of dissimilar callbacks and has an ease of use unmatched by
45other C++ callback libraries.
46
a0719c45
JR
47%description -l pl.UTF-8
48Ta biblioteka jest implementacją pełnego systemu callbacków do
49używania w bibliotekach widgetów, interfejsach abstrakcyjnych i
50ogólnym programowaniu. Oryginalnie była to część zestawu widgetów
51Gtk--, ale jest teraz oddzielną biblioteką ogólniejszego
52przeznaczenia. Jest to kompletna biblioteka tego typu z możliwością
53łączenia abstrakcyjnych callbacków z metodami klas, funkcjami lub
54obiektami funkcji. Zawiera klasy adapterów do łączenia różnych
55callbacków.
dec16728 56
57%prep
58%setup -q -n %{_realname}-%{version}
59
60%build
61%{__libtoolize}
62%{__aclocal} -I scripts
63%{__autoconf}
64%{__automake}
723599ec 65
dec16728 66%configure \
67 --host=%{target_platform} \
68 %{!?with_static_libs:--disable-static}
69%{__make} all
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
74%{__make} install \
75 DESTDIR=$RPM_BUILD_ROOT
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%files
81%defattr(644,root,root,755)
82%doc AUTHORS ChangeLog NEWS README TODO
83%{_libdir}/lib*.a
84%{_libdir}/lib*.la
723599ec 85%dir %{_includedir}/sigc++-2.0
86%{_includedir}/sigc++-2.0
87%dir %{_libdir}/sigc++-2.0
dec16728 88%{_libdir}/sigc++*
89%{_prefix}/lib/pkgconfig/*
This page took 0.102968 seconds and 4 git commands to generate.