]> git.pld-linux.org Git - packages/libsigc++.git/blob - libsigc++.spec
- separated -doc from -devel (10MB vs 1.3MB; and ENOSPC again)
[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:        2.0.0
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}/2.0/%{name}-%{version}.tar.bz2
11 # Source0-md5:  923cc9b0d4a47f470d83dc3f603733c0
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, libsigc++ 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 doc
59 Summary:        Reference documentation for libsigc++
60 Summary(pl):    Szczegó³owa dokumentacja dla libsigc++
61 Group:          Documentation
62
63 %description doc
64 Reference documentation for libsigc++.
65
66 %description doc -l pl
67 Szczegó³owa dokumentacja dla libsigc++.
68
69 %package static
70 Summary:        Static Typesafe Signal Framework for C++ libraries
71 Summary(pl):    Statyczna biblioteka libsigc++
72 Group:          Development/Libraries
73 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
74
75 %description static
76 Static Typesafe Signal Framework for C++ libraries.
77
78 %description static -l pl
79 Statyczna biblioteka libsigc++ - ¶rodowiska sygna³ów z kontrol± typów.
80
81 %prep
82 %setup -q
83 %patch0 -p1
84
85 %build
86 %{__libtoolize}
87 %{__aclocal} -I scripts
88 %{__autoconf}
89 %{__automake}
90 %configure
91 %{__make}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 mv $RPM_BUILD_ROOT%{_docdir}/libsigc-2.0/docs devel-docs
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %post   -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
106
107 %files
108 %defattr(644,root,root,755)
109 %doc AUTHORS ChangeLog NEWS README TODO
110 %attr(755,root,root) %{_libdir}/lib*.so.*.*
111
112 %files devel
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/lib*.so
115 %{_libdir}/lib*.la
116 %{_includedir}/sigc++-*
117 %{_libdir}/sigc++*
118 %{_pkgconfigdir}/*
119
120 %files doc
121 %defattr(644,root,root,755)
122 %doc devel-docs/*
123
124 %files static
125 %defattr(644,root,root,755)
126 %{_libdir}/lib*.a
This page took 0.040561 seconds and 4 git commands to generate.