SVG of thorsten's editor track/bus list icons
[ardour2.git] / libs / midi++2 / libmidi++.spec.in
blobfbeb6a263a51ab79111834515737464e29d6e522
1 Summary: A high level MIDI handling library.
2 %define lib_name midi++
3 Name: lib%{lib_name}
4 Version: @VERSION@
5 Release: 2
6 Copyright: GPL
7 Source: ftp://ftp.quasimodo.org/pub/libs/midi++/current/%{name}-%{version}.tar.gz
8 Url: http://www.quasimodo.org
9 Vendor: Paul Barton Davis <pbd@op.net>
10 Packager: jfm3 <jfm3@acm.org>
11 Group: System Environment/Libraries
12 Prefix: %{_prefix}
13 BuildRoot: %{_tmppath}/%{name}-%{version}-root
15 %description
17 libmidi++ is a C++ library that uses libsigc++ to make handling MIDI
18 I/O from MIDI hardware trivial. You can attach "callbacks" to any
19 MIDI input or output event, ranging from each individual byte, to a
20 particular message type on a particular channel. It also provides
21 channel "state".
23 %prep
24 %setup -q
26 %build
27 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure $ARCH_FLAGS --prefix=%{prefix}
28 make
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d -m 755 $RPM_BUILD_ROOT%{prefix}/{{include,lib}/%{lib_name}}
33 make install INSTALL="%(which install) -p" prefix=$RPM_BUILD_ROOT%{prefix}
35 %post
36 /sbin/ldconfig
38 %postun
39 /sbin/ldconfig
41 %clean
42 rm -rf $RPM_BUILD_ROOT
44 %files
45 %defattr(-,root,root)
46 %doc README AUTHORS NEWS COPYING*
47 %{prefix}/lib/libmidipp.so*
49 %package devel
50 Summary: A high level MIDI handling library -- develper version.
51 Group: System Environment/Libraries
53 %description devel
55 libmidi++ is a C++ library that uses libsigc++ to make handling MIDI
56 I/O from MIDI hardware trivial. You can attach "callbacks" to any
57 MIDI input or output event, ranging from each individual byte, to a
58 particular message type on a particular channel. It also provides
59 channel "state".
61 This package holds static libraries and headers needed by developers
62 who wish to use libmidi++ in their programs.
64 %files devel
65 %defattr(-,root,root)
66 %{prefix}/include/midi++/*
67 %{prefix}/lib/libmidipp.a
68 %{prefix}/lib/libmidipp.la
69 %{prefix}/bin/midi++-config
70 %{prefix}/share/aclocal/midi++.m4
71 %{prefix}/share/aclocal/midi.m4