Debian Codegraph @

libdv.spec.in

raw
1 # Note that this is NOT a relocatable package
2
3 Summary: @PACKAGE@ - DV software codec
4 Name: @PACKAGE@
5 Version: @VERSION@
6 Release: @RPM_RELEASE@
7 CopyRight: GPL
8 Group: Libraries/Multimedia
9 Source: http://download.sourceforge.net/libdv/@PACKAGE@-@[email protected]
10 URL: http://libdv.sourceforge.net/
11 BuildRoot: %{_tmppath}/@PACKAGE@-@VERSION@-root
12
13 Packager: Charles 'Buck' Krasic <[email protected]>
14
15 %description
16
17 The Quasar DV codec (libdv) is a software codec for DV video. DV is
18 the encoding format used by most digital camcorders, typically those
19 that support the IEEE 1394 (aka FireWire or i.Link) interface. libdv
20 was developed according to the official standards for DV video, IEC
21 61834 and SMPTE 314M. See http://libdv.sourceforge.net/ for more.
22
23 %files
24 %defattr(-,root,root)
25 %doc ChangeLog COPYING README README.encoder AUTHORS NEWS INSTALL TODO COPYRIGHT
26 %{_mandir}/man1/playdv.1.gz
27 %{_mandir}/man1/encodedv.1.gz
28 %{_mandir}/man1/dubdv.1.gz
29 %{_mandir}/man1/dvconnect.1.gz
30 %{_bindir}/playdv
31 %{_bindir}/encodedv
32 %{_bindir}/dvconnect
33 %{_bindir}/dubdv
34 %{_libdir}/libdv.so*
35
36
37 %package devel
38 Summary: Libraries, includes and more from libdv
39 Group: Development/Libraries
40
41 %description devel
42 The Quasar DV codec (libdv) is a software codec for DV video. DV is
43 the encoding format used by most digital camcorders, typically those
44 that support the IEEE 1394 (aka FireWire or i.Link) interface. libdv
45 was developed according to the official standards for DV video, IEC
46 61834 and SMPTE 314M. See http://libdv.sourceforge.net/ for more.
47
48 This is the libraries, include files and other resources you can use
49 to incorporate libdv into applications.
50
51 %files devel
52 %defattr(-, root, root)
53 %doc ChangeLog COPYING README README.encoder AUTHORS NEWS INSTALL TODO COPYRIGHT
54 %{_includedir}/libdv
55 %{_libdir}/libdv.a
56 %{_libdir}/libdv.la
57 %{_libdir}/pkgconfig/*
58
59 %changelog
60
61 %prep
62 %setup -n @PACKAGE@-@VERSION@
63
64 %build
65 # Needed for snapshot releases.
66 if [ ! -f configure ]; then
67 ./bootstrap
68 fi
69
70 ./configure --prefix=${_prefix} --without-debug --mandir=%{_mandir}
71 make
72
73 %install
74 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
75
76 %makeinstall
77
78 %clean
79 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
80
81 %post
82 /sbin/ldconfig
83
84 %postun
85 /sbin/ldconfig