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