File: libiec61883.spec

package info (click to toggle)
libiec61883 1.2.0-0.1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,588 kB
  • ctags: 802
  • sloc: sh: 10,147; ansic: 4,614; xml: 162; makefile: 60
file content (69 lines) | stat: -rw-r--r-- 1,388 bytes parent folder | download | duplicates (6)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
%define prefix /usr

Name: libiec61883
Version: 1.2.0
Release: 1
License: LGPL
Group: Libraries
Source: http://linux1394.org/dl/libiec61883-1.2.0.tar.gz
URL: http://linux1394.org
BuildRoot: /var/tmp/libiec61883-1.2.0-root
Summary: Streaming library for IEEE1394

%changelog

%description 

The libiec61883 library provides an higher level API for streaming DV,
MPEG-2 and audio over IEEE1394.  Based on the libraw1394 isochronous
functionality, this library acts as a filter that accepts DV-frames,
MPEG-2 frames or audio samples from the application and breaks these
down to isochronous packets, which are transmitted using libraw1394.

Requires: libraw1394 >= 1.2.0

%package devel
Summary:  Development libs for libiec61883
Group:    Development/Libraries
Requires: %{name} = %{version}


%description devel
Development libraries needed to build applications against libiec61883

%changelog

%prep
%setup

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
make

%install
rm -rf $RPM_BUILD_ROOT

make prefix=$RPM_BUILD_ROOT%{prefix} install

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)

%doc AUTHORS COPYING NEWS README
%{prefix}/lib/libiec61883.so.*

%files devel
%defattr(-, root, root)

%{prefix}/lib/*.so
%{prefix}/lib/*a
%{prefix}/include/*
%{prefix}/lib/pkgconfig/libiec61883.pc

%doc examples/*.c