]> git.pld-linux.org Git - packages/libdv.git/blob - libdv.spec
- BR: SDL-devel
[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.102
12 Release:        1
13 License:        LGPL
14 Group:          Libraries
15 Source0:        http://dl.sourceforge.net/libdv/%{name}-%{version}.tar.gz
16 # Source0-md5:  21f2968fa756961ee2cb7d96834ade80
17 Patch0:         %{name}-include_fix.patch
18 URL:            http://libdv.sourceforge.net/
19 BuildRequires:  XFree86-devel
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  libtool
23 BuildRequires:  gtk+-devel >= 1.2.10-3
24 BuildRequires:  pkgconfig >= 0.7
25 BuildRequires:  popt-devel
26 BuildRequires:  SDL-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         --without-debug \
92         %{!?with_mmx:--disable-asm}
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.045465 seconds and 4 git commands to generate.