]> git.pld-linux.org Git - packages/libdv.git/blob - libdv.spec
- added "pkgconfig >= 0.7" to BuildRequires.
[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.9
7 Release:        1
8 License:        GPL
9 Group:          X11/Libraries
10 Group(de):      X11/Libraries
11 Group(es):      X11/Bibliotecas
12 Group(pl):      X11/Biblioteki
13 Source0:        http://download.sourceforge.net/libdv/%{name}-%{version}.tar.gz
14 URL:            http://libdv.sourceforge.net/
15 BuildRequires:  XFree86-devel
16 BuildRequires:  gtk+-devel
17 BuildRequires:  pkgconfig >= 0.7
18 BuildRequires:  popt-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22 %define         _mandir         %{_prefix}/man
23
24 %description
25 The Quasar DV codec (libdv) is a software codec for DV video. DV is
26 the encoding format used by most digital camcorders, typically those
27 that support the IEEE 1394 (aka FireWire or i.Link) interface. libdv
28 was developed according to the official standards for DV video, IEC
29 61834 and SMPTE 314M. See http://libdv.sourceforge.net/ for more.
30
31 %description -l pl
32 Quasar DV (libdv) jest bibliotek± do obs³ugi obrazu DV. DV jest
33 formatem stosowanym przez wiêkszo¶æ cyfrowych urz±dzeñ, zwykle tych,
34 które u¿ywaj± interfejsu IEEE 1394 (FireWire/i.Link). libdv jest
35 pisany zgodnie z oficjalnymi standardami DV, IEC 61834, SMPTE 314M.
36
37 %package -n dv
38 Summary:        Programs to encode and play DV files
39 Summary(pl):    Programy do kodowania i odtwarzania plików DV
40 Group:          X11/Applications/Multimedia
41 Group(de):      X11/Applikationen/Multimedia
42 Group(pl):      X11/Aplikacje/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 Group(de):      Entwicklung/Libraries
56 Group(fr):      Development/Librairies
57 Group(pl):      Programowanie/Biblioteki
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 Group(de):      Entwicklung/Libraries
73 Group(fr):      Development/Librairies
74 Group(pl):      Programowanie/Biblioteki
75 Requires:       %{name} = %{version}
76
77 %description static
78 This is package with static libdv libraries.
79
80 %description static -l pl
81 Statyczna wersja biblioteki libdv.
82
83 %prep
84 %setup  -q
85
86 %build
87 %configure \
88         --enable-shared \
89         --without-debug \
90         %{!?_with_mmx:--disable-asm}
91
92 %{__make}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT \
99         pkgconfigdir=%{_pkgconfigdir}
100
101 gzip -9nf AUTHORS ChangeLog NEWS README.* TODO
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %files
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_libdir}/lib*.so.*
112
113 %files -n dv
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_bindir}/*
116 %{_mandir}/man1/*
117
118 %files devel
119 %defattr(644,root,root,755)
120 %doc *.gz
121 %attr(755,root,root) %{_libdir}/lib*.so
122 %{_includedir}/libdv
123 %{_pkgconfigdir}/*
124
125 %files static
126 %defattr(644,root,root,755)
127 %{_libdir}/lib*.a
This page took 0.031672 seconds and 4 git commands to generate.