-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlibOSC++.spec
53 lines (43 loc) · 1.42 KB
/
libOSC++.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: libOSC++
version: 0.9.3
release: 1
copyright: LGPL
vendor: Stetson University
URL: http://wiretap.stetson.edu/
group: Libraries
packager: Jared Jennings <[email protected]>
source: http://wiretap.stetson.edu/downloads/%{name}-%{version}.tar.gz
buildroot: /var/tmp/%{name}-%{version}-root
summary: Open Sound Control C++ library
%description
A library for encoding and decoding messages in the Open Sound Control
protocol (which is transport-independent) and for sending and receiving
OSC via TCP and UDP on top of IPv4 or IPv6.
%prep
%setup
%build
./configure --prefix=/usr
make
%install
if [ "$RPM_BUILD_ROOT" != "/" ]; then
rm -rf $RPM_BUILD_ROOT
fi
make DESTDIR=$RPM_BUILD_ROOT install
%files
%attr(-, root, root) /usr/lib/libOSC++.so.0.0.0
%attr(-, root, root) /usr/lib/libOSC++.so.0
%package devel
requires: libOSC++ = %{version}
group: Development/Libraries
summary: Open Sound Control C++ library development files
%description devel
A library for encoding and decoding messages in the Open Sound Control
protocol (which is transport-independent) and for sending and receiving
OSC via TCP and UDP on top of IPv4 or IPv6.
This package contains the static library files and header files necessary for
developing with libOSC++, and developer documentation.
%files devel
%attr(-, root, root) /usr/lib/libOSC++.so
%attr(-, root, root) /usr/lib/libOSC++.la
%attr(-, root, root) /usr/lib/libOSC++.a
%attr(-, root, root) /usr/include/OSC++