]> git.pld-linux.org Git - packages/libdv.git/blob - libdv.spec
e6dbb5224666b215dcffca66bcb14c669b65bfed
[packages/libdv.git] / libdv.spec
1 #
2 # Conditional build:
3 # _with_mmx - uses MMX asm (won't run on non-MMX CPU!)
4 #
5 Summary:        DV video software codec
6 Summary(pl):    Biblioteka do obs³ugi formatu wideo DV
7 Name:           libdv
8 Version:        0.99
9 Release:        3
10 License:        GPL
11 Group:          X11/Libraries
12 Source0:        http://dl.sourceforge.net/libdv/%{name}-%{version}.tar.gz
13 # Source0-md5: 602fa45ad13059b571fef8548a4239a4
14 Patch0:         %{name}-extern.patch
15 Patch1:         %{name}-include_fix.patch
16 URL:            http://libdv.sourceforge.net/
17 BuildRequires:  XFree86-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  libtool
21 BuildRequires:  gtk+-devel >= 1.2.10-3
22 BuildRequires:  pkgconfig >= 0.7
23 BuildRequires:  popt-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 The Quasar DV codec (libdv) is a software codec for DV video. DV is
28 the encoding format used by most digital camcorders, typically those
29 that support the IEEE 1394 (aka FireWire or i.Link) interface. libdv
30 was developed according to the official standards for DV video, IEC
31 61834 and SMPTE 314M. See http://libdv.sourceforge.net/ for more.
32
33 %description -l pl
34 Quasar DV (libdv) jest bibliotek± do obs³ugi obrazu DV. DV jest
35 formatem stosowanym przez wiêkszo¶æ cyfrowych urz±dzeñ, zwykle tych,
36 które u¿ywaj± interfejsu IEEE 1394 (FireWire/i.Link). libdv jest
37 pisany zgodnie z oficjalnymi standardami DV, IEC 61834, SMPTE 314M.
38
39 %package -n dv
40 Summary:        Programs to encode and play DV files
41 Summary(pl):    Programy do kodowania i odtwarzania plików DV
42 Group:          X11/Applications/Multimedia
43 Requires:       %{name} = %{version}
44
45 %description -n dv
46 Programs to encode and play DV files.
47
48 %description -n dv -l pl
49 Programy do kodowania i odtwarzania plików DV.
50
51 %package devel
52 Summary:        DV library headers
53 Summary(pl):    Pliki nag³ówkowe biblioteki DV
54 Group:          Development/Libraries
55 Requires:       %{name} = %{version}
56
57 %description devel
58 This is the libraries, include files and other resources you can use
59 to incorporate libdv into applications.
60
61 %description devel -l pl
62 Pliki nag³ówkowe potrzebne do budowania programów korzystaj±cych z
63 libdv.
64
65 %package static
66 Summary:        DV static libraries
67 Summary(pl):    Statyczne biblioteki do obs³ugi formatu DV
68 Group:          Development/Libraries
69 Requires:       %{name}-devel = %{version}
70
71 %description static
72 This is package with static libdv libraries.
73
74 %description static -l pl
75 Statyczna wersja biblioteki libdv.
76
77 %prep
78 %setup -q
79 %patch0 -p1
80 %patch1 -p1
81
82 %build
83 %{__libtoolize}
84 %{__aclocal}
85 %{__autoconf}
86 %{__automake}
87 %configure \
88         --enable-shared \
89         --without-debug \
90 %ifnarch athlon
91         %{!?_with_mmx:--disable-asm}
92 %endif
93
94 %{__make}
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 %{__make} install \
100         DESTDIR=$RPM_BUILD_ROOT \
101         pkgconfigdir=%{_pkgconfigdir}
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post   -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
108
109 %files
110 %defattr(644,root,root,755)
111 %doc AUTHORS ChangeLog NEWS README.* TODO
112 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
113
114 %files -n dv
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/*
117 %{_mandir}/man1/*
118
119 %files devel
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/lib*.so
122 %{_libdir}/*.la
123 %{_includedir}/libdv
124 %{_pkgconfigdir}/*
125
126 %files static
127 %defattr(644,root,root,755)
128 %{_libdir}/lib*.a
This page took 0.031754 seconds and 3 git commands to generate.