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