]> git.pld-linux.org Git - packages/libdv.git/blob - libdv.spec
- updated to 0.103
[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 pentium3 pentium4
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.103
12 Release:        1
13 License:        LGPL
14 Group:          Libraries
15 Source0:        http://dl.sourceforge.net/libdv/%{name}-%{version}.tar.gz
16 # Source0-md5:  b5c7d0db672a76528e100828dd866a79
17 Patch0:         %{name}-include_fix.patch
18 URL:            http://libdv.sourceforge.net/
19 BuildRequires:  SDL-devel
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}-%{release}
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}-%{release}
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}-%{release}
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
84 %build
85 %{__libtoolize}
86 %{__aclocal}
87 %{__autoconf}
88 %{__automake}
89 %configure \
90         --enable-shared \
91         --enable-sdl \
92         --enable-gtk \
93         --without-debug \
94         %{!?with_mmx:--disable-asm}
95
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT \
103         pkgconfigdir=%{_pkgconfigdir}
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %post   -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
110
111 %files
112 %defattr(644,root,root,755)
113 %doc AUTHORS ChangeLog NEWS README.* TODO
114 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
115
116 %files -n dv
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_bindir}/*
119 %{_mandir}/man1/*
120
121 %files devel
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/lib*.so
124 %{_libdir}/*.la
125 %{_includedir}/libdv
126 %{_pkgconfigdir}/*
127
128 %files static
129 %defattr(644,root,root,755)
130 %{_libdir}/lib*.a
This page took 0.14237 seconds and 4 git commands to generate.