ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Epiphanov Sergei <serpiph@nikiet.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] XdTV
Date: Wed, 19 Jul 2006 16:08:55 +0400
Message-ID: <200607191608.55948.serpiph@nikiet.ru> (raw)
In-Reply-To: <200607191436.28627.serpiph@nikiet.ru>

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

В сообщении от Wednesday 19 July 2006 14:36 Epiphanov Sergei написал(a):
> Сейчас попробую его немного попилить. Поправленный spec выложу.

Получился такой пакет, у меня собрался в hasher. Может, несколько коряво, я 
его пока не ставил. В общем, доверяйте, но проверяйте. :)

Три возможности отключены (divx, dvb и mowitz), проверяйте, какие там 
библиотеки нужны, у себя на скорую руку не нашёл.

-- 
С уважением, Епифанов Сергей

[-- Attachment #2: xdtv.spec --]
[-- Type: text/plain, Size: 7284 bytes --]

##############################################################################
# $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 for 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 and get their names
# Alsa (1.x) from http://www.alsa-project.org/ (Better sound architecture than 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)
##############################################################################

%def_disable optimization
%def_disable debug
%def_enable mmc
%def_enable nls
%def_enable pixmaps

%def_with nextaw
%def_with xawm
%def_with xaw95
%def_with xaw3d
%def_with xinerama
%def_with ogg
%def_with xvid
%def_with ffmpeg
%def_without divx
%def_with lame
%def_without dvb
%def_with zvbi
%def_with lirc
%def_with alsa
%def_with png
%def_with jpeg
%def_with faac
%def_without mowitz
%def_with xvtv
%def_with x264

Name: 				xdtv
Summary: 			XdTV is a software to record & watch TV.
Version: 			2.4.0pre0
Release: 			alt1
License: 			GPL
Packager: 			Epiphanov Sergei <serpiph@altlinux.ru>
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-fortran imake libXv-devel libXxf86dga-devel libXxf86vm-devel mkfontdir xorg-cf-files xset

%if_with nextaw
BuildPreReq: libneXtaw-devel
%endif

%if_with xawm
BuildPreReq: libXaw-devel
%endif

%if_with xaw95
BuildPreReq: libneXtaw-devel
%endif

%if_with x264
BuildPreReq: libx264-devel
%endif

%if_with xaw3d
BuildPreReq: libneXtaw-devel
%endif

%if_with xinerama
BuildPreReq: libXinerama-devel
%endif

%if_with ogg
BuildPreReq: libogg-devel
%endif

%if_with xvid
BuildPreReq: libxvid-devel
%endif

%if_with ffmpeg
BuildPreReq: libffmpeg-devel
%endif

%if_with divx
BuildPreReq: libavifile-devel
%endif

%if_with lame
BuildPreReq: liblame-devel
%endif

%if_with dvb
BuildPreReq: libzvbi-devel
%endif

%if_with zvbi
BuildPreReq: libzvbi-devel
%endif

%if_with lirc
BuildPreReq: liblirc-devel
%endif

%if_with alsa
BuildPreReq: libalsa-devel
%endif

%if_with png
BuildPreReq: libpng-devel
%endif

%if_with jpeg
BuildPreReq: libjpeg-devel
%endif

%if_with faac
BuildPreReq: libfaac-devel
%endif

%description
XdTV 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.) 
with many codecs (FFMpeg(>=0.4.6), XviD(0.9 & 1.x),
Ogg Theora (>=1.0alpha5) & Vorbis and DivX4/5).
It has also some plugin capabilities.

%package devel
Summary:			Developpement files for XdTV.
Group:				Development/C
Requires:			%name = %version

%description devel
Developpement files for %name

%package OSD-font
Summary:			Font used by XdTV OSD function.
Group:				Video
Requires:			%name = %version

%description OSD-font
Font used by XdTV OSD function.

%prep
%setup -n %name-%version

%build
export FLAGS="%optflags -DNDEBUG -DNO_DEBUG -D_GNU_SOURCE "


%configure \
%if_enabled optimization
	--enable-cpu-detection \
%else
	--disable-cpu-detection \
%endif
	%{subst_enable mmc} \
	%{subst_enable nls} \
	%{subst_enable pixmaps} \
	%{subst_enable debug} \
%if_with xinerama
	--enable-xinerama \
%else
	--disable-xinerama \
%endif
%if_with ogg
	--enable-ogg \
%else
	--disable-ogg \
%endif
%if_with x264
	--enable-x264 \
%else
	--disable-x264 \
%endif
%if_with xvtv
	--enable-xvtv \
%else
	--disable-xvtv \
%endif
%if_with mowitz
	--enable-mowitz \
%else
	--disable-mowitz \
%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 faac
	--enable-faac \
%else
	--disable-faac \
%endif
%if_with xaw95
	--enable-xaw95 \
%else
	--disable-xaw95 \
%endif
%if_with xaw3d
	--enable-xaw3d \
%else
	--disable-xaw3d \
%endif
        --with-fontdir=%buildroot%_x11fontsdir/%name \
	--with-appdefaultsdir=%_x11appconfdir

export ROOT=%buildroot/usr
%make 

%install
%makeinstall ROOT=%buildroot \
	     SUID_ROOT="" \
	     libdir="%_x11libdir/%name" \
	     resdir="%_x11x11libdir"

# 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

%files
%doc AUTHORS COPYING INSTALL FAQfr-xdtv TODO
%doc README README.dvb README.record README.bs README.ffmpeg README.streaming
%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

%dir %_sysconfdir/%name
%_sysconfdir/%name/%{name}_wizard-en.conf
%_sysconfdir/%name/%{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/*
%_x11appconfdir/*

%files devel
%_includedir/*

%files OSD-font
%dir %_x11fontsdir/xdtv
%_x11fontsdir/xdtv/*

%post OSD-font
%_sbindir/chkfontpath -q --add %_x11fontsdir/%name ||:

%postun OSD-font
if [ "$1" = "0" ]; then
        %_sbindir/chkfontpath -q --remove %_x11fontsdir/%name ||:
fi
	

%changelog
* Wed Jul 19 2006 Sergei Epiphanov <serpiph@altlinux.ru> 2.4.0pre0-alt1
- Updated version to 2.4.0pre0
- Cleanup spec

* Thu Dec 22 2005 Sir Pingus <pingus_77@yahoo.fr> 2.3.0-1mdk
- 2.3.0
- review all the spec: now -with / without can be use with rpmbuild

  reply	other threads:[~2006-07-19 12:08 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-19  0:02 Хихин Руслан
2006-07-19  5:23 ` Damir Shayhutdinov
2006-07-19  6:18   ` Хихин Руслан
2006-07-19  6:19 ` Gleb Kulikov
2006-07-19  9:04 ` Igor Zubkov
2006-07-19 10:06 ` Michael Shigorin
2006-07-19 20:08   ` Хихин Руслан
2006-07-20  3:22     ` Slava Semushin
2006-07-20  5:27       ` Хихин Руслан
2006-07-20  9:14         ` Eugene Prokopiev
2006-07-20 19:48           ` Хихин Руслан
2006-07-23  4:42             ` Хихин Руслан
2006-07-23 17:38               ` [sisyphus] XawTV4 Хихин Руслан
2006-07-24  7:36                 ` Damir Shayhutdinov
2006-07-24  8:26                   ` Хихин Руслан
2006-07-25  7:02                     ` Хихин Руслан
2006-07-25  8:38                       ` Хихин Руслан
2006-07-26 20:35                         ` Хихин Руслан
2006-07-27 17:50                           ` Michael Shigorin
2006-07-27 22:01                             ` Хихин Руслан
2006-07-28  5:06                               ` Slava Semushin
2006-07-28  5:41                                 ` Damir Shayhutdinov
2006-07-28  5:54                                   ` Slava Semushin
2006-07-28  5:58                                     ` Damir Shayhutdinov
2006-08-01 16:51                                   ` Хихин Руслан
2006-08-01 17:46                                     ` Хихин Руслан
2006-07-28  5:48                                 ` Andrey Rahmatullin
2006-07-30 20:37                                   ` Michael Shigorin
2006-07-31  8:18                                     ` Хихин Руслан
2006-07-31 17:04                                 ` Хихин Руслан
2006-07-31 17:39                                   ` Sergey Vlasov
2006-07-31 18:21                                     ` Хихин Руслан
2006-08-01 19:26                                   ` Michael Shigorin
2006-08-02  3:15                                     ` Хихин Руслан
2006-08-02  8:54                                       ` Хихин Руслан
2006-08-02  9:05                                         ` Damir Shayhutdinov
2006-08-02  9:28                                           ` Хихин Руслан
2006-08-02  9:35                                             ` Damir Shayhutdinov
2006-08-02  9:39                                             ` Slava Semushin
2006-08-02 10:16                                               ` Хихин Руслан
2006-08-02  9:35                                           ` Хихин Руслан
2006-08-02 15:15                                         ` Michael Shigorin
2006-08-02 18:37                                           ` Хихин Руслан
2006-08-02 18:58                                             ` Andrey Rahmatullin
2006-08-02 15:14                                       ` Michael Shigorin
2006-08-02 16:50                                         ` Хихин Руслан
2006-08-03 12:56                                           ` Aleksey Avdeev
2006-08-02 18:47                                         ` Хихин Руслан
2006-08-02 18:59                                           ` Andrey Rahmatullin
2006-08-04 20:01                                               ` Michael Shigorin
2006-08-05 12:28                                               ` Хихин Руслан
2006-08-06 19:35                                                 ` Хихин Руслан
2006-08-07  7:29                                               ` Slava Semushin
2006-08-14  5:43                                                 ` Хихин Руслан
2006-07-19 10:36 ` [sisyphus] XdTV Epiphanov Sergei
2006-07-19 12:08   ` Epiphanov Sergei [this message]
2006-07-19 12:21     ` Led
2006-07-19 20:00     ` Хихин Руслан
2006-07-19 22:24       ` Хихин Руслан
2006-07-20  3:24         ` Slava Semushin
2006-07-20  4:06           ` Хихин Руслан
2006-07-20  9:47           ` Igor Zubkov
2006-07-20 10:04             ` Led
2006-07-20 22:49               ` Хихин Руслан
2006-07-21  8:24                 ` Igor Zubkov
2006-07-21 17:42                   ` Хихин Руслан
2006-07-22  8:35                   ` Хихин Руслан
2006-07-22  8:42                     ` Pavlov Konstantin
2006-07-22  9:10                       ` Хихин Руслан
2006-07-23  5:40                   ` Хихин Руслан
2006-07-20  6:29       ` Хихин Руслан

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200607191608.55948.serpiph@nikiet.ru \
    --to=serpiph@nikiet.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git