]> git.pld-linux.org Git - packages/libsigc++.git/blame - libsigc++.spec
- updated to 2.2.10
[packages/libsigc++.git] / libsigc++.spec
CommitLineData
8df5f89a 1#
d1d622ab 2# Conditional build:
8dcfc624 3%bcond_without static_libs # don't build static library
d1d622ab 4#
5133f76b 5Summary: The Typesafe Signal Framework for C++
635b8004 6Summary(pl.UTF-8): Środowisko sygnałów z kontrolą typów dla C++
5133f76b 7Name: libsigc++
6e5cfdbe 8Version: 2.2.10
76d4c456 9Release: 1
c27f8333 10Epoch: 1
3c2e80c3 11License: LGPL v2.1+
5133f76b 12Group: Libraries
6e5cfdbe
JB
13Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/%{name}-%{version}.tar.xz
14# Source0-md5: 73419b477f3bb9ddb9905c88a92f4b4c
e9650dc1 15URL: http://libsigc.sourceforge.net/
3e00d680 16BuildRequires: autoconf >= 2.59
f3a3158c 17BuildRequires: automake >= 1:1.9
5133f76b 18BuildRequires: libstdc++-devel
20f4a460 19BuildRequires: libtool
0764e6a0 20BuildRequires: m4
f3a3158c 21BuildRequires: mm-common >= 0.7.2
b02845a0 22BuildRequires: perl-base
d33e9e7d 23BuildRequires: pkgconfig
6e5cfdbe
JB
24BuildRequires: tar >= 1:1.22
25BuildRequires: xz
d0f81991 26Obsoletes: libsigc++-examples
8deca2bf 27Conflicts: libsigc++ < 1.1.0
b02845a0 28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
c014a68e 29
30%description
ae7d4fa5 31This library implements a full callback system for use in widget
32libraries, abstract interfaces, and general programming. Originally
a4ed2849 33part of the Gtk-- widget set, libsigc++ is now a seperate library to
ae7d4fa5 34provide for more general use. It is the most complete library of its
35kind with the ablity to connect an abstract callback to a class
36method, function, or function object. It contains adaptor classes for
37connection of dissimilar callbacks and has an ease of use unmatched by
38other C++ callback libraries.
c014a68e 39
e1f1abbc
JR
40%description -l pl.UTF-8
41Ta biblioteka jest implementacją pełnego systemu callbacków do
42używania w bibliotekach widgetów, interfejsach abstrakcyjnych i
43ogólnym programowaniu. Oryginalnie była to część zestawu widgetów
44Gtk--, ale jest teraz oddzielną biblioteką ogólniejszego
45przeznaczenia. Jest to kompletna biblioteka tego typu z możliwością
46łączenia abstrakcyjnych callbacków z metodami klas, funkcjami lub
47obiektami funkcji. Zawiera klasy adapterów do łączenia różnych
48callbacków.
45bd5da5 49
c014a68e 50%package devel
45bd5da5 51Summary: Development tools for the Typesafe Signal Framework for C++
635b8004 52Summary(pl.UTF-8): Narzędzia programistyczne do środowiska libsig++
5133f76b 53Group: Development/Libraries
b02845a0 54Requires: %{name} = %{epoch}:%{version}-%{release}
c3338043 55Requires: libstdc++-devel
8deca2bf 56Requires: m4
c014a68e 57
58%description devel
5133f76b 59Development tools for the Typesafe Signal Framework for C++.
c014a68e 60
e1f1abbc
JR
61%description devel -l pl.UTF-8
62Narzędzia programistyczne do środowiska libsigc++ - sygnałów z
63kontrolą typów.
45bd5da5 64
5133f76b 65%package static
66Summary: Static Typesafe Signal Framework for C++ libraries
635b8004 67Summary(pl.UTF-8): Statyczna biblioteka libsigc++
5133f76b 68Group: Development/Libraries
b02845a0 69Requires: %{name}-devel = %{epoch}:%{version}-%{release}
c014a68e 70
5133f76b 71%description static
72Static Typesafe Signal Framework for C++ libraries.
c014a68e 73
e1f1abbc
JR
74%description static -l pl.UTF-8
75Statyczna biblioteka libsigc++ - środowiska sygnałów z kontrolą typów.
45bd5da5 76
a5958e16
JB
77%package doc
78Summary: Reference documentation for libsigc++
79Summary(pl.UTF-8): Szczegółowa dokumentacja dla libsigc++
80Group: Documentation
81
82%description doc
83Reference documentation for libsigc++.
84
85%description doc -l pl.UTF-8
86Szczegółowa dokumentacja dla libsigc++.
87
c014a68e 88%prep
89%setup -q
c014a68e 90
91%build
a09c286c 92%{__libtoolize}
f3a3158c 93%{__aclocal} -I build
d91e70f5 94%{__autoconf}
95%{__automake}
57120020 96%configure \
f3a3158c 97 %{?with_static_libs:--enable-static}
1e481335 98%{__make} -j1 all check
c014a68e 99
100%install
101rm -rf $RPM_BUILD_ROOT
0764e6a0 102
bc7295d0 103%{__make} install \
f864fec3 104 DESTDIR=$RPM_BUILD_ROOT
5133f76b 105
c014a68e 106%clean
107rm -rf $RPM_BUILD_ROOT
108
45bd5da5
JB
109%post -p /sbin/ldconfig
110%postun -p /sbin/ldconfig
111
c014a68e 112%files
5133f76b 113%defattr(644,root,root,755)
a4ed2849 114%doc AUTHORS ChangeLog NEWS README TODO
3c2e80c3 115%attr(755,root,root) %{_libdir}/libsigc-2.0.so.*.*.*
dec54bae 116%attr(755,root,root) %ghost %{_libdir}/libsigc-2.0.so.0
c014a68e 117
118%files devel
5133f76b 119%defattr(644,root,root,755)
3c2e80c3
JB
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
a4ed2849 125
8dcfc624 126%if %{with static_libs}
5133f76b 127%files static
ae7d4fa5 128%defattr(644,root,root,755)
3c2e80c3 129%{_libdir}/libsigc-2.0.a
57120020 130%endif
3c2e80c3
JB
131
132%files doc
133%defattr(644,root,root,755)
0d133ba9 134%{_datadir}/devhelp/books/libsigc++-2.0
f3a3158c 135%{_docdir}/libsigc++-2.0
This page took 0.087273 seconds and 4 git commands to generate.