]> git.pld-linux.org Git - SPECS.git/blob - libsigc++1.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / libsigc++1.spec
1 Summary:        The Typesafe Signal Framework for C++
2 Summary(pl.UTF-8):      Środowisko sygnałów z kontrolą typów dla C++
3 Name:           libsigc++1
4 Version:        1.0.4
5 Release:        10
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/libsigc/libsigc++-%{version}.tar.gz
9 # Source0-md5:  88d34840acc1cc5d47b347726e4a09e0
10 Patch0:         %{name}-remove_stupid_install-data-hook_targets.patch
11 Patch1:         %{name}-ac25x.patch
12 Patch2:         %{name}-link.patch
13 Patch3:         %{name}-am18.patch
14 URL:            http://libsigc.sourceforge.net/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  libtool >= 2:1.4d
19 Obsoletes:      libsigc++ < 1.1
20 Obsoletes:      libsigc++-examples
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This library implements a full callback system for use in widget
25 libraries, abstract interfaces, and general programming. Originally
26 part of the Gtk-- widget set, %{name} is now a seperate library to
27 provide for more general use. It is the most complete library of its
28 kind with the ablity to connect an abstract callback to a class
29 method, function, or function object. It contains adaptor classes for
30 connection of dissimilar callbacks and has an ease of use unmatched by
31 other C++ callback libraries.
32
33 %description -l pl.UTF-8
34 Ta biblioteka jest implementacją pełnego systemu callbacków do
35 używania w bibliotekach widgetów, interfejsach abstrakcyjnych i
36 ogólnym programowaniu. Oryginalnie była to część zestawu widgetów
37 Gtk--, ale jest teraz oddzielną biblioteką ogólniejszego
38 przeznaczenia. Jest to kompletna biblioteka tego typu z możliwością
39 łączenia abstrakcyjnych callbacków z metodami klas, funkcjami lub
40 obiektami funkcji. Zawiera klasy adapterów do łączenia różnych
41 callbacków.
42
43 %package devel
44 Summary:        Development tools for the Typesafe Signal Framework for C++
45 Summary(pl.UTF-8):      Narzędzia programistyczne do środowiska libsig++
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       libstdc++-devel
49 Requires:       m4
50 Obsoletes:      libsigc++-devel < 1.1
51
52 %description devel
53 Development tools for the Typesafe Signal Framework for C++.
54
55 %description devel -l pl.UTF-8
56 Narzędzia programistyczne do środowiska libsigc++ - sygnałów z
57 kontrolą typów.
58
59 %package static
60 Summary:        Static Typesafe Signal Framework for C++ libraries
61 Summary(pl.UTF-8):      Statyczna biblioteka libsigc++
62 Group:          Development/Libraries
63 Requires:       %{name}-devel = %{version}-%{release}
64 Obsoletes:      libsigc++-static < 1.1
65
66 %description static
67 Static Typesafe Signal Framework for C++ libraries.
68
69 %description static -l pl.UTF-8
70 Statyczna biblioteka libsigc++ - środowiska sygnałów z kontrolą typów.
71
72 %prep
73 %setup -q -n libsigc++-%{version}
74 %patch0 -p1
75 %patch1 -p1
76 %patch2 -p1
77 %patch3 -p1
78
79 %build
80 CXXFLAGS="%{rpmcflags} -fno-exceptions"
81 %{__libtoolize}
82 %{__aclocal}
83 %{__autoconf}
84 %{__automake}
85 %configure
86
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT \
94         m4datadir=%{_aclocaldir}
95
96 mv -f $RPM_BUILD_ROOT%{_aclocaldir}/{sigc++.m4,sigc++1.m4}
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %post   -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
103
104 %files
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog FEATURES IDEAS README TODO
107 %attr(755,root,root) %{_libdir}/lib*.so.*.*
108
109 %files devel
110 %defattr(644,root,root,755)
111 %doc doc/*
112 %attr(755,root,root) %{_bindir}/sigc-config
113 %attr(755,root,root) %{_libdir}/lib*.so
114 %{_libdir}/lib*.la
115 %{_includedir}/sigc++-*
116 %{_libdir}/sigc++-*
117 %{_aclocaldir}/*
118
119 %files static
120 %defattr(644,root,root,755)
121 %{_libdir}/lib*.a
This page took 0.156044 seconds and 3 git commands to generate.