]> git.pld-linux.org Git - packages/mjpegtools.git/blob - mjpegtools.spec
30f89c730e6a3be3e307cb91dc1685e23adb287a
[packages/mjpegtools.git] / mjpegtools.spec
1 Summary:        Tools for recording, editing, playing back and MPEG-encoding video under Linux
2 Summary(pl):    Narzêdzia do nagrywania, edycji, odtwarzania i kodowania do MPEG obrazu
3 Name:           mjpegtools
4 Version:        1.6.1
5 Release:        2.1
6 License:        GPL
7 Group:          Applications/Graphics
8 Source0:        http://dl.sourceforge.net/mjpeg/%{name}-%{version}.tar.gz
9 # Source0-md5: fa2aeec19deafe86d22b34eda329f9f4
10 Patch0:         %{name}-moreshared.patch
11 Patch1:         %{name}-acam.patch
12 Patch2:         %{name}-ppc.patch
13 URL:            http://mjpeg.sourceforge.net/
14 BuildRequires:  SDL-devel
15 BuildRequires:  XFree86-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  avifile-devel
19 BuildRequires:  gtk+-devel
20 BuildRequires:  libdv >= 0.9.5
21 BuildRequires:  libjpeg-devel
22 %ifnarch ppc
23 BuildRequires:  libmovtar-devel >= 0.0.2
24 %endif
25 BuildRequires:  libpng-devel
26 BuildRequires:  libtool
27 BuildRequires:  quicktime4linux-devel >= 1.4
28 Requires:       %{name}-libs = %{version}
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Obsoletes:      libmjpegtools0
31
32 %description
33 The MJPEG-tools are a basic set of utilities for recording, editing,
34 playing back and encoding (to MPEG) video under Linux. Recording can
35 be done with Zoran-based MJPEG-boards (LML33, Iomega Buz, Pinnacle
36 DC10(+), Marvel G200/G400), these can also playback video using the
37 hardware. With the rest of the tools, this video can be edited and
38 encoded into MPEG 1/2 or DivX video.
39
40 %description -l pl
41 MJPEG-tools to podstawowy zestaw narzêdzi do nagrywania, edycji,
42 odtwarzania i kodowania (do MPEG) obrazu pod Linuksem. Nagrywaæ mo¿na
43 przy u¿yciu kart MJPEG opartych na Zoranie (LML33, Iomega Buz,
44 Pinnacle DC10(+), Marvel G200/G400), na nich mo¿na tak¿e odtwarzaæ
45 obraz ze wsparciem sprzêtowym. Przy pomocy pozosta³ych narzêdzi obraz
46 mo¿na obrabiaæ i kodowaæ do formatu MPEG 1/2 lub DivX.
47
48 %package libs
49 Summary:        MJPEG-tools shared libraries
50 Summary(pl):    Biblioteki wspó³dzielone MJPEG-tools
51 Group:          Libraries
52
53 %description libs
54 MJPEG-tools shared libraries.
55
56 %description libs -l pl
57 Biblioteki wspó³dzielone MJPEG-tools.
58
59 %package devel
60 Summary:        Development headers for the mjpegtools
61 Summary(pl):    Pliki nag³ówkowe mjpegtools
62 Group:          Development/Libraries
63 Requires:       %{name}-libs = %{version}
64 Obsoletes:      libmjpegtools0-devel
65
66 %description devel
67 This package contains C system header files needed to compile
68 applications that use part of the libraries of the mjpegtools package.
69
70 %description devel -l pl
71 Ten pakiet zawiera pliki nag³ówkowe C potrzebne do kompilowania
72 aplikacji u¿ywaj±cych czê¶ci bibliotek z pakietu mjpegtools.
73
74 %package static
75 Summary:        Static libraries for mjpegtools
76 Summary(pl):    Statyczne biblioteki mjpegtools
77 Group:          Development/Libraries
78 Requires:       %{name}-devel = %{version}
79
80 %description static
81 Static libraries for mjpegtools.
82
83 %description static -l pl
84 Statyczne biblioteki mjpegtools.
85
86 %prep
87 %setup -q
88 %patch0 -p1
89 %patch1 -p1
90
91 %ifarch ppc
92 %patch2 -p1
93 %endif
94
95 %build
96 %{__libtoolize}
97 %{__aclocal}
98 %{__autoconf}
99 %{__automake}
100 %configure \
101         --with-dv=/usr/X11R6/lib \
102         --with-quicktime=/usr/include/quicktime \
103 %ifnarch i686 athlon
104         --disable-cmov-extension
105 %endif
106
107 %{__make}
108
109 %install
110 rm -rf $RPM_BUILD_ROOT
111
112 %{__make} install DESTDIR=$RPM_BUILD_ROOT
113
114 %clean
115 rm -rf $RPM_BUILD_ROOT
116
117 %post   libs -p /sbin/ldconfig
118 %postun libs -p /sbin/ldconfig
119
120 %files
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_bindir}/lav*
123 %attr(755,root,root) %{_bindir}/yuv*
124 %attr(755,root,root) %{_bindir}/jpeg2yuv
125 %attr(755,root,root) %{_bindir}/divxdec
126 %attr(755,root,root) %{_bindir}/testrec
127 %attr(755,root,root) %{_bindir}/y4m*
128 %attr(755,root,root) %{_bindir}/ppm*
129 %attr(755,root,root) %{_bindir}/glav
130 %attr(755,root,root) %{_bindir}/ypipe
131 %attr(755,root,root) %{_bindir}/mp*
132 %attr(755,root,root) %{_bindir}/*.flt
133 %{_mandir}/man1/*
134
135 %files libs
136 %defattr(644,root,root,755)
137 %doc AUTHORS BUGS CHANGES HINTS PLANS README TODO
138 %attr(755,root,root) %{_libdir}/lib*.so.*.*
139 %{_mandir}/man5/*
140
141 %files devel
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_bindir}/*-config
144 %attr(755,root,root) %{_libdir}/lib*.so
145 %{_libdir}/lib*.la
146 %dir %{_includedir}/mjpegtools
147 %{_includedir}/mjpegtools/*.h
148 %{_pkgconfigdir}/*.pc
149
150 %files static
151 %defattr(644,root,root,755)
152 %{_libdir}/lib*.a
This page took 0.031079 seconds and 2 git commands to generate.