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