]> git.pld-linux.org Git - packages/libsigc++.git/blob - libsigc++.spec
- no macro in Conflicts
[packages/libsigc++.git] / libsigc++.spec
1 Summary:        The Typesafe Signal Framework for C++
2 Summary(pl):    ¦rodowisko sygna³ów z kontrol± typów dla C++
3 Name:           libsigc++
4 Version:        1.9.15
5 Release:        1
6 Epoch:          1
7 License:        LGPL
8 Vendor:         Karl E. Nelson <kenelson@ece.ucdavis.edu>
9 Group:          Libraries
10 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/1.9/%{name}-%{version}.tar.bz2
11 # Source0-md5:  72ca8c006b46c005878d3efe26962ca1
12 Patch0:         %{name}-m4.patch
13 URL:            http://libsigc.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  libtool
18 BuildRequires:  m4
19 BuildRequires:  perl-base
20 Obsoletes:      libsigc++-examples
21 Conflicts:      libsigc++ < 1.1.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 This library implements a full callback system for use in widget
26 libraries, abstract interfaces, and general programming. Originally
27 part of the Gtk-- widget set, %{name} is now a seperate library to
28 provide for more general use. It is the most complete library of its
29 kind with the ablity to connect an abstract callback to a class
30 method, function, or function object. It contains adaptor classes for
31 connection of dissimilar callbacks and has an ease of use unmatched by
32 other C++ callback libraries.
33
34 %description -l pl
35 Ta biblioteka jest implementacj± pe³nego systemu callbacków do
36 u¿ywania w bibliotekach widgetów, interfejsach abstrakcyjnych i
37 ogólnym programowaniu. Oryginalnie by³a to czê¶æ zestawu widgetów
38 Gtk--, ale jest teraz oddzieln± bibliotek± ogólniejszego
39 przeznaczenia. Jest to kompletna biblioteka tego typu z mo¿liwo¶ci±
40 ³±czenia abstrakcyjnych callbacków z metodami klas, funkcjami lub
41 obiektami funkcji. Zawiera klasy adapterów do ³±czenia ró¿nych
42 callbacków.
43
44 %package devel
45 Summary:        Development tools for the Typesafe Signal Framework for C++
46 Summary(pl):    Narzêdzia programistyczne do ¶rodowiska libsig++
47 Group:          Development/Libraries
48 Requires:       %{name} = %{epoch}:%{version}-%{release}
49 Requires:       m4
50
51 %description devel
52 Development tools for the Typesafe Signal Framework for C++.
53
54 %description devel -l pl
55 Narzêdzia programistyczne do ¶rodowiska libsigc++ - sygna³ów z
56 kontrol± typów.
57
58 %package static
59 Summary:        Static Typesafe Signal Framework for C++ libraries
60 Summary(pl):    Statyczna biblioteka libsigc++
61 Group:          Development/Libraries
62 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
63
64 %description static
65 Static Typesafe Signal Framework for C++ libraries.
66
67 %description static -l pl
68 Statyczna biblioteka libsigc++ - ¶rodowiska sygna³ów z kontrol± typów.
69
70 %prep
71 %setup -q
72 %patch0 -p1
73
74 %build
75 %{__libtoolize}
76 %{__aclocal}
77 %{__autoconf}
78 %{__automake}
79 %configure
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 mv $RPM_BUILD_ROOT%{_docdir}/libsigc-2.0/docs devel-docs
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %doc AUTHORS NEWS README
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %doc ChangeLog TODO devel-docs/*
104 %attr(755,root,root) %{_libdir}/lib*.so
105 %{_libdir}/lib*.la
106 %{_includedir}/sigc++-*
107 %{_pkgconfigdir}/*
108
109 %files static
110 %defattr(644,root,root,755)
111 %{_libdir}/lib*.a
This page took 0.043256 seconds and 4 git commands to generate.