From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: =?koi8-r?b?6MnIyc4g8tXTzMHO?= To: Sisyphus@lists.altlinux.org Date: Wed, 19 Jul 2006 04:02:27 +0400 User-Agent: KMail/1.9.3 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6523882.023393fY5d"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200607190402.34397@ruslandh> Subject: [sisyphus] XdTV X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: hihin@yandex.ru, ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 00:03:16 -0000 Archived-At: List-Archive: List-Post: --nextPart6523882.023393fY5d Content-Type: multipart/mixed; boundary="Boundary-01=_UaXvEhZmb9XA/V3" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_UaXvEhZmb9XA/V3 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: base64 Content-Disposition: inline +sTSwdfT1NfVytTFICEK9yDzydrJxsUsIMsg08/WwczFzsnAINPLwc7ewczT0SB4YXZ0di4gCgrp IM/OIM7FINPPwsnSwcXU09EgKM7JIDMsIM7JIDQg18XS08nRICkK7sHbo8wgxc3VINrBzcXO1SAg eGR0dgpodHRwOi8vc291cmNlZm9yZ2UubmV0L3Byb2plY3Qvc2hvd2ZpbGVzLnBocD9ncm91cF9p ZD02NzI2OCZwYWNrYWdlX2lkPTY1NjQwJnJlbGVhc2VfaWQ9NDI5OTUzCvEg0M/Q0s/Cz9fBzCwg INPPwsnSwcXU09Eg18XS08nRIDIuMy4wLgrwz9PMxcTO0dEgLSAyLjMuMyDUzy3WxSDQz8jP1sUg 08/CxdKj1NPRLCDOzyDUwc0g0NLPwszFzcEsIN7UzyBtYWtlZmFsZSAK0NnUwcXU09Eg08/axMHX wdTYIMbByszZIM7F0M/T0sXE09TXxc7OzyDXIC91c3Ivc3JjCgruwdDJ08HMIHNwZWMgKMXT1MXT 1NfFzs7PINDPLcHOwczPx8nJINMg7cHOxNLFysvP19PLyc0gz9QgeGR0diDJIArBzNjUz9fTy8nN IM/UIHhhd3R2KS4KCuXTzMkgy8/N1SDJztTF0sXTzs8gLSDX2sfM0c7J1MUg0NLPxsXTyc/OwczY ztnNINfax8zRxM/NLgoKUFMg4SDQ0s/H0sHNzcEgy9LB08nXwdEgOikKLS0gCvMgINXXwdbFzsnF zSDoycjJziDy1dPMwc4K --Boundary-01=_UaXvEhZmb9XA/V3 Content-Type: text/plain; charset="koi8-r"; name="xdtv.spec" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="xdtv.spec" ###########################################################################= ### # $Id: xdtv.spec.in,v 1.26 2006/01/27 20:38:14 pingus77 Exp $ ###########################################################################= ### # Minimum required is: X11 & XPM & Xaw from X.org + Xterm # # Optional: # To have a better GUI: # neXtaw (0.15.1) from http://siag.nu/neXtaw/ # or XawM from http://sourceforge.net/projects/xawm/ # or Xaw95 & Xaw3d (not advised) # # To Record with a lot of audio/video codecs: # FFMpeg (50.0.0+) from http://ffmpeg.sourceforge.net/ read README.ffmpeg f= or more infos # Lame (3.96+)from http://lame.sourceforge.net/ # XviD (1.x+) from http://www.xvid.org/ # DivX (5.0.1alpha only) from http://www.divx.com/divx/linux/ # Ogg (1.1.2+) & Theora (1.0alpha5) & Vorbis (1.1.0+) from http://www.xiph.= org/ # # Other options: # Zvbi (0.2.15+) from http://zapping.sourceforge.net/ (Scanning channels an= d get their names # Alsa (1.x) from http://www.alsa-project.org/ (Better sound architecture t= han OSS) # Lirc (0.7.x+) from http://www.lirc.org/ (If you have a remote and want to= use it) # libpng & libjpeg (For capturing AleVT & XdTV snapshots) ###########################################################################= ### %define _unpackaged_files_terminate_build 0 %define name xdtv %define Name XdTV %define version 2.3.3 %define release 1 %define summary1 %{Name} is a software to record & watch TV. %define summary2 Developpement files for %{Name}. %define summary3 Font used by %{Name} OSD function. %define with_optimization 0 %define with_debug 0 %define with_nextaw 1 %define with_xawm 1 %define with_xaw95 1 %define with_xaw3d 1 %define with_xinerama 1 %define with_ogg 1 %define with_xvid 1 %define with_ffmpeg 1 %define with_divx 1 %define with_lame 1 %define with_dvb 1 %define with_zvbi 1 %define with_lirc 1 %define with_alsa 1 %define with_png 1 %define with_jpeg 1 #without %{?_without_optimization: %{expand: %%global with_optimization 0}} %{?_without_debug: %{expand: %%global with_debug 0}} %{?_without_xinerama: %{expand: %%global with_xinerama 0}} %{?_without_ogg: %{expand: %%global with_ogg 0}} %{?_without_xvid: %{expand: %%global with_xvid 0}} %{?_without_ffmpeg: %{expand: %%global with_ffmpeg 0}} %{?_without_divx: %{expand: %%global with_divx 0}} %{?_without_lame: %{expand: %%global with_lame 0}} %{?_without_dvb: %{expand: %%global with_dvb 0}} %{?_without_zvbi: %{expand: %%global with_zvbi 0}} %{?_without_lirc: %{expand: %%global with_lirc 0}} %{?_without_alsa: %{expand: %%global with_alsa 0}} %{?_without_png: %{expand: %%global with_png 0}} %{?_without_jpeg: %{expand: %%global with_jpeg 0}} %{?_without_nextaw: %{expand: %%global with_nextaw 0}} %{?_without_xawm: %{expand: %%global with_xawm 0}} %{?_without_xaw95: %{expand: %%global with_xaw95 0}} %{?_without_xaw3d: %{expand: %%global with_xaw3d 0}} #with %{?_with_optimization: %{expand: %%global with_optimization 1}} %{?_with_debug: %{expand: %%global with_debug 1}} %{?_with_xinerama: %{expand: %%global with_xinerama 1}} %{?_with_ogg: %{expand: %%global with_ogg 1}} %{?_with_xvid: %{expand: %%global with_xvid 1}} %{?_with_ffmpeg: %{expand: %%global with_ffmpeg 1}} %{?_with_divx: %{expand: %%global with_divx 1}} %{?_with_lame: %{expand: %%global with_lame 1}} %{?_with_dvb: %{expand: %%global with_dvb 1}} %{?_with_zvbi: %{expand: %%global with_zvbi 1}} %{?_with_lirc: %{expand: %%global with_lirc 1}} %{?_with_alsa: %{expand: %%global with_alsa 1}} %{?_with_png: %{expand: %%global with_png 1}} %{?_with_jpeg: %{expand: %%global with_jpeg 1}} %{?_with_nextaw: %{expand: %%global with_nextaw 1}} %{?_with_xawm: %{expand: %%global with_xawm 1}} %{?_with_xaw95: %{expand: %%global with_xaw95 1}} %{?_with_xaw3d: %{expand: %%global with_xaw3d 1}} Name: %{name} Summary: %{summary1} Version: %{version} Release: %{release} License: GPL Distribution: ALL RPM Based Linux Distributions Packager: Pingus URL: http://xawdecode.sourceforge.net/ Source0: %{name}-%{version}.orig.tar.gz Group: Video # Automatically added by buildreq on Mon Mar 27 2006 BuildRequires: bdftopcf gcc-c++ gcc-g77 imake libalsa-devel libffmpeg-devel= libjpeg-devel liblame-devel liblirc-devel libneXtaw-devel libpng-devel lib= Xaw-devel libXinerama-devel libXv-devel libxvid-devel libXxf86dga-devel lib= Xxf86vm-devel libzvbi-devel mkfontdir xorg-cf-files %description %{Name} is a software that allows you to to record & watch TV. It interacts with AleVT for Teletext and Nxtvepg for NextView, and uses the video4linux API. It can use some deinterlacing filters and can record video files in various containers (AVI, MPEG, OGG, etc.)=20 with many codecs (FFMpeg(>=3D0.4.6), XviD(0.9 & 1.x), Ogg Theora (>=3D1.0alpha5) & Vorbis and DivX4/5). It has also some plugin capabilities. %package devel Summary: %{summary2} Group: Development/C Requires: %{name} =3D %{version} %description devel Developpement files for %{name}=20 %package OSD-font Summary: %{summary3} Group: Video Requires: %{name} =3D %{version} %description OSD-font =46ont used by %{Name} OSD function. %prep %setup -n %{name}-%{version}=20 %build export FLAGS=3D"%optflags -DNDEBUG -DNO_DEBUG -D_GNU_SOURCE " %configure --prefix=3D%{_prefix} \ %if %with_optimization --enable-cpu-detection \ %else --disable-cpu-detection \ %endif %if %with_debug --disable-nodebug \ %else --enable-nodebug \ %endif %if %with_xinerama --enable-xinerama \ %else --disable-xinerama \ %endif %if %with_ogg --enable-ogg \ %else --disable-ogg \ %endif %if %with_divx --enable-divx4linux \ %else --disable-divx4linux \ %endif %if %with_xvid --enable-xvid \ %else --disable-xvid \ %endif %if %with_ffmpeg --enable-ffmpeg \ %else --disable-ffmpeg \ %endif %if %with_lame --enable-lame \ %else --disable-lame \ %endif %if %with_zvbi --enable-zvbi \ %else --disable-zvbi \ %endif %if %with_lirc --enable-lirc \ %else --disable-lirc \ %endif %if %with_dvb --enable-dvb \ %else --disable-dvb \ %endif %if %with_alsa --enable-alsa \ %else --disable-alsa \ %endif %if %with_jpeg --enable-jpeg \ %else --disable-jpeg \ %endif %if %with_png --enable-png \ %else --disable-png \ %endif %if %with_nextaw --enable-nextaw \ %else --disable-nextaw \ %endif %if %with_xawm --enable-xawm \ %else --disable-xawm \ %endif %if %with_xaw95 --enable-xaw95 \ %else --disable-xaw95 \ %endif %if %with_xaw3d --enable-xaw3d \ %else --disable-xaw3d \ %endif --with-mkfontdir=3D/usr/lib/X11/fonts/misc #make prefix=3D%{_prefix} export ROOT=3D%buildroot/usr %make=20 %install %makeinstall ROOT=3D"$RPM_BUILD_ROOT" FONTDIR=3D$RPM_BUILD_ROOT/%_libdir/X1= 1/fonts/misc SUID_ROOT=3D"" libdir=3D"$RPM_BUILD_ROOT/%_libdir/%name" resdi= r=3D"$RPM_BUILD_ROOT/%_x11libdir/X11" # Cure man path if needed install -d -m 755 %{buildroot}%{_man1dir} install -m 644 man/%{name}.1 %{buildroot}%{_man1dir} install -m 644 man/%{name}_cmd.1 %{buildroot}%{_man1dir} install -m 644 man/%{name}_alevt-cap.1 %{buildroot}%{_man1dir} install -m 644 man/%{name}_alevt-date.1 %{buildroot}%{_man1dir} install -m 644 man/%{name}_alevt.1 %{buildroot}%{_man1dir} bzip2 %{buildroot}%{_mandir}/man1/%{name}.1 bzip2 %{buildroot}%{_mandir}/man1/%{name}_cmd.1 bzip2 %{buildroot}%{_mandir}/man1/%{name}_alevt.1 bzip2 %{buildroot}%{_mandir}/man1/%{name}_alevt-cap.1 bzip2 %{buildroot}%{_mandir}/man1/%{name}_alevt-date.1 # Cure XdTV.ad file path install -d -m 755 %{buildroot}/usr/X11R6/lib/X11/app-defaults/ install -m 644 XdTV.ad %{buildroot}/usr/X11R6/lib/X11/app-defaults/XdTV %files %doc AUTHORS COPYING INSTALL FAQfr-xdtv TODO %doc README README.dvb README.record README.bs README.ffmpeg README.streami= ng %doc README.bsd README.gentoo README.xvid README.buildme README.lirc %doc README.deinterlace README.plugins ChangeLog lisez-moi xdtvrc.sample %doc lircrc.miro.sample lircrc.hauppauge.sample lircrc.animax.sample %doc lircrc.WinfastTV2000.sample /usr/X11R6/lib/X11/app-defaults/XdTV %{_sysconfdir}/xdtv/%{name}_wizard-en.conf %{_sysconfdir}/xdtv/%{name}_wizard-en-UTF8.conf %{_bindir}/%{name} %{_bindir}/%{name}_cmd %{_bindir}/%{name}_wizard %{_bindir}/%{name}_scantv %{_bindir}/%{name}_alevt-cap %{_bindir}/%{name}_alevt-capall %{_bindir}/%{name}_alevt-date %{_bindir}/%{name}_v4l-conf %{_bindir}/%{name}_scan.sh %{_bindir}/%{name}_record.sh %{_bindir}/%{name}_makedvd.sh %{_man1dir}/* %{_datadir}/%{name}/icons/* %{_sysconfdir}/X11/app-defaults/* %files devel %{_includedir}/* %files OSD-font /usr/lib/X11/fonts/misc/*.pcf %clean %changelog * Thu Dec 22 2005 Sir Pingus 2.3.0-1mdk =2D 2.3.0 =2D review all the spec: now -with / without can be use with rpmbuild --Boundary-01=_UaXvEhZmb9XA/V3-- --nextPart6523882.023393fY5d Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQBEvXaagDaarYH/1aQRAlZbAJ4hLSVxqAjpRULUVvgKMjz/HAwOcQCfb54k BMCJq2DNss2SxvN6e5YjdZc= =dv17 -----END PGP SIGNATURE----- --nextPart6523882.023393fY5d--