]> git.pld-linux.org Git - packages/mjpegtools.git/blame - mjpegtools.spec
- release 2
[packages/mjpegtools.git] / mjpegtools.spec
CommitLineData
34a5ff60
JB
1#
2# Conditional build:
3%bcond_without quicktime # without Quicktime playback/recording support
2fef353f
ER
4# TODO
5# - configure: - MPEG Z/Alpha : false
8010b1d1 6Summary: Tools for recording, editing, playing back and MPEG-encoding video under Linux
431a6560 7Summary(pl.UTF-8): Narzędzia do nagrywania, edycji, odtwarzania i kodowania do MPEG obrazu
73c3f2c0 8Name: mjpegtools
34a964f1 9Version: 1.9.0
13f84dd5 10Release: 2
73c3f2c0 11License: GPL
a2aa66d1 12Group: Applications/Graphics
e29e8b56 13Source0: http://dl.sourceforge.net/mjpeg/%{name}-%{version}.tar.gz
34a964f1 14# Source0-md5: 309a6fcf0900a010d6a9c1e91afc2f5c
73c3f2c0 15URL: http://mjpeg.sourceforge.net/
9a4cc9b3 16BuildRequires: SDL-devel >= 1.1.3
34a5ff60
JB
17BuildRequires: autoconf >= 2.57
18BuildRequires: automake >= 1:1.7
19BuildRequires: gtk+2-devel >= 2:2.4.0
9a4cc9b3 20BuildRequires: libdv-devel >= 0.9.5
a2aa66d1 21BuildRequires: libjpeg-devel
4663acf8 22BuildRequires: libmovtar-devel >= 0.0.2
a2aa66d1 23BuildRequires: libpng-devel
34a5ff60 24%{?with_quicktime:BuildRequires: libquicktime-devel >= 0.9.4}
9a4cc9b3 25BuildRequires: libtool >= 2:1.5
34a5ff60 26BuildRequires: pkgconfig
dcb8826d
JB
27BuildRequires: xorg-lib-libX11-devel
28# only checked for, not used for anything
29#BuildRequires: xorg-lib-libXxf86dga-devel
5c3a78dc 30Requires: %{name}-libs = %{version}-%{release}
d1bc43d5 31Obsoletes: libmjpegtools0
34a5ff60 32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
73c3f2c0 33
34%description
35The MJPEG-tools are a basic set of utilities for recording, editing,
8010b1d1
JB
36playing back and encoding (to MPEG) video under Linux. Recording can
37be done with Zoran-based MJPEG-boards (LML33, Iomega Buz, Pinnacle
73c3f2c0 38DC10(+), Marvel G200/G400), these can also playback video using the
39hardware. With the rest of the tools, this video can be edited and
8010b1d1
JB
40encoded into MPEG 1/2 or DivX video.
41
1fb6316b
JR
42%description -l pl.UTF-8
43MJPEG-tools to podstawowy zestaw narzędzi do nagrywania, edycji,
44odtwarzania i kodowania (do MPEG) obrazu pod Linuksem. Nagrywać można
45przy użyciu kart MJPEG opartych na Zoranie (LML33, Iomega Buz,
46Pinnacle DC10(+), Marvel G200/G400), na nich można także odtwarzać
47obraz ze wsparciem sprzętowym. Przy pomocy pozostałych narzędzi obraz
48można obrabiać i kodować do formatu MPEG 1/2 lub DivX.
73c3f2c0 49
a2aa66d1
JB
50%package libs
51Summary: MJPEG-tools shared libraries
431a6560 52Summary(pl.UTF-8): Biblioteki współdzielone MJPEG-tools
a2aa66d1
JB
53Group: Libraries
54
55%description libs
56MJPEG-tools shared libraries.
57
1fb6316b
JR
58%description libs -l pl.UTF-8
59Biblioteki współdzielone MJPEG-tools.
a2aa66d1 60
73c3f2c0 61%package devel
8010b1d1 62Summary: Development headers for the mjpegtools
431a6560 63Summary(pl.UTF-8): Pliki nagłówkowe mjpegtools
73c3f2c0 64Group: Development/Libraries
5c3a78dc 65Requires: %{name}-libs = %{version}-%{release}
d1bc43d5 66Obsoletes: libmjpegtools0-devel
dcb8826d
JB
67# libmjpegutils has no additional deps
68# liblavfile R: libquicktime-devel libdv-devel
69# liblavjpeg R: libjpeg-devel
70# liblavplay R: SDL-devel xorg-lib-libX11-devel +liblavfile,liblavjpeg
71# liblavrec R: +liblavfile,liblavjpeg
72# libmpeg2encpp R: libstdc++-devel
73# libmplex2 R: libstdc++-devel
73c3f2c0 74
75%description devel
8010b1d1
JB
76This package contains C system header files needed to compile
77applications that use part of the libraries of the mjpegtools package.
78
1fb6316b
JR
79%description devel -l pl.UTF-8
80Ten pakiet zawiera pliki nagłówkowe C potrzebne do kompilowania
81aplikacji używających części bibliotek z pakietu mjpegtools.
73c3f2c0 82
83%package static
84Summary: Static libraries for mjpegtools
431a6560 85Summary(pl.UTF-8): Statyczne biblioteki mjpegtools
73c3f2c0 86Group: Development/Libraries
5c3a78dc 87Requires: %{name}-devel = %{version}-%{release}
73c3f2c0 88
89%description static
8010b1d1
JB
90Static libraries for mjpegtools.
91
1fb6316b 92%description static -l pl.UTF-8
8010b1d1 93Statyczne biblioteki mjpegtools.
73c3f2c0 94
95%prep
96%setup -q
da46dc0b 97
73c3f2c0 98%build
a2aa66d1
JB
99%{__libtoolize}
100%{__aclocal}
101%{__autoconf}
34a5ff60 102%{__autoheader}
a2aa66d1
JB
103%{__automake}
104%configure \
081570e3 105 --with-dv=%{_prefix} \
34a5ff60 106 %{!?with_quicktime:--without-libquicktime} \
2dd5f278 107%ifarch ppc
108 --disable-simd-accel
a2aa66d1
JB
109%endif
110
73c3f2c0 111%{__make}
112
113%install
114rm -rf $RPM_BUILD_ROOT
73c3f2c0 115
9a4cc9b3
JB
116%{__make} install \
117 DESTDIR=$RPM_BUILD_ROOT
73c3f2c0 118
e5b23170
ER
119rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
120
73c3f2c0 121%clean
122rm -rf $RPM_BUILD_ROOT
123
e13e7948
ER
124%post -p /sbin/postshell
125-/usr/sbin/fix-info-dir -c %{_infodir}
9a4cc9b3 126
e13e7948
ER
127%postun -p /sbin/postshell
128-/usr/sbin/fix-info-dir -c %{_infodir}
9a4cc9b3 129
a2aa66d1
JB
130%post libs -p /sbin/ldconfig
131%postun libs -p /sbin/ldconfig
8010b1d1 132
73c3f2c0 133%files
134%defattr(644,root,root,755)
73c3f2c0 135%attr(755,root,root) %{_bindir}/lav*
136%attr(755,root,root) %{_bindir}/yuv*
137%attr(755,root,root) %{_bindir}/jpeg2yuv
73c3f2c0 138%attr(755,root,root) %{_bindir}/testrec
139%attr(755,root,root) %{_bindir}/y4m*
9a4cc9b3
JB
140%attr(755,root,root) %{_bindir}/pgm*
141%attr(755,root,root) %{_bindir}/png2yuv
73c3f2c0 142%attr(755,root,root) %{_bindir}/ppm*
143%attr(755,root,root) %{_bindir}/glav
144%attr(755,root,root) %{_bindir}/ypipe
145%attr(755,root,root) %{_bindir}/mp*
146%attr(755,root,root) %{_bindir}/*.flt
e5b23170
ER
147%attr(755,root,root) %{_bindir}/anytovcd.sh
148%attr(755,root,root) %{_bindir}/mjpeg_simd_helper
149%attr(755,root,root) %{_bindir}/pnmtoy4m
150%attr(755,root,root) %{_bindir}/yuyvtoy4m
73c3f2c0 151%{_mandir}/man1/*
9a4cc9b3 152%{_infodir}/mjpeg-howto*
a2aa66d1
JB
153
154%files libs
f32d5fc9 155%defattr(644,root,root,755)
a2aa66d1
JB
156%doc AUTHORS BUGS CHANGES HINTS PLANS README TODO
157%attr(755,root,root) %{_libdir}/lib*.so.*.*
34a964f1 158%attr(755,root,root) %{_libdir}/lib*.so.0
73c3f2c0 159%{_mandir}/man5/*
160
161%files devel
162%defattr(644,root,root,755)
a2aa66d1
JB
163%attr(755,root,root) %{_libdir}/lib*.so
164%{_libdir}/lib*.la
8972b3bb 165%{_includedir}/mjpegtools
73c3f2c0 166%{_pkgconfigdir}/*.pc
8010b1d1
JB
167
168%files static
169%defattr(644,root,root,755)
170%{_libdir}/lib*.a
This page took 0.063469 seconds and 4 git commands to generate.