use shared_ptr for all Playlist handling; cleanup works again
[ardour.git] / libs / sigc++2 / libsigc++-2.0.spec.in
1 Summary: The Typesafe Signal Framework for C++
2 Name: @PACKAGE@
3 Version: @VERSION@
4 Release: 1
5 License: LGPL
6 Group: System Environment/Libraries
7 Packager: Eric Bourque <ericb@computer.org>
8 URL: http://libsigc.sourceforge.net/
9 Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/%{name}-%{version}.tar.bz2
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
11
12 %description
13
14 This library implements a full callback system for use in widget
15 libraries, abstract interfaces, and general programming. Originally
16 part of the Gtk-- widget set, %name is now a seperate library to
17 provide for more general use. It is the most complete library of its
18 kind with the ablity to connect an abstract callback to a class
19 method, function, or function object. It contains adaptor classes for
20 connection of dissimilar callbacks and has an ease of use unmatched by
21 other C++ callback libraries.
22
23 Package GTK-- (gtkmm), which is a C++ binding to the GTK+ library,
24 starting with version 1.1.2, uses %name.
25
26 Due to C++ ABI changes, this will only work with the gcc version which
27 the distribution was supplied with.  If you got your rpm from any
28 previous version, please rebuild from spec!
29
30 %package devel
31 Summary: Development tools for the Typesafe Signal Framework for C++
32 Group: Development/Libraries
33 Requires: %name = %version
34
35 %description devel
36 The %name-devel package contains the static libraries and header files
37 needed for development with %name.
38
39 %package examples
40 Summary: Examples and tests for the Typesafe Signal Framework for C++
41 Group: Development/Libraries
42 Requires: %name-devel = %version
43
44 %description examples
45 The %name-devel package contains source code of
46 example and test programs for %name.
47
48
49 %prep
50 %setup -q
51
52 %build
53 ./configure --prefix=/usr
54 make
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 make DESTDIR=$RPM_BUILD_ROOT install
59 mkdir -p -m 755 $RPM_BUILD_ROOT/%{_libdir}/sigc++-2.0
60 cp -a examples tests $RPM_BUILD_ROOT/%{_libdir}/sigc++-2.0
61
62 %post -p /sbin/ldconfig
63
64 %postun -p /sbin/ldconfig
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69
70 %files
71 %defattr(-,root,root,-)
72 %{_libdir}/libsigc*.so*
73 %doc /usr/share/doc/libsigc-2.0
74
75 %files devel
76 /usr/include/sigc++-2.0
77 %{_libdir}/pkgconfig/*
78 %{_libdir}/libsigc*.a
79 %{_libdir}/libsigc*.la
80 %dir %{_libdir}/sigc++-2.0
81 %dir %{_libdir}/sigc++-2.0/include
82 %{_libdir}/sigc++-2.0/include/sigc++config.h
83
84 %files examples
85 %{_libdir}/sigc++-2.0/examples
86 %{_libdir}/sigc++-2.0/tests
87
88 %changelog
89 * Tue Jun 29 2004 Eric Bourque <ericb@computer.org> - 2.0-1
90 - Initial build.
91