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