Author: thl
Update of /cvs/free/rpms/vdrsync/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv22597
Modified Files:
.cvsignore sources
Added Files:
vdrsync-panteltje.patch vdrsync-recpath.patch vdrsync.spec
Log Message:
initial import from livna
vdrsync-panteltje.patch:
--- NEW FILE vdrsync-panteltje.patch ---
--- vdrsync.pl~ 2005-03-22 21:45:40.000000000 +0200
+++ vdrsync.pl 2007-01-21 01:34:21.000000000 +0200
@@ -39,7 +39,7 @@
my %progs = (
tcmplex => "",
mplex => "",
- tcmplex_panteltje => "",
+ 'tcmplex-panteltje' => "",
dvdauthor => "",
mkisofs => "",
transcode => "",
@@ -576,7 +576,7 @@
my $mplex_command;
- $mplex_command = "nice -n 19 $progs{tcmplex_panteltje} -i $filestomux[0] -0
$filestomux[1]";
+ $mplex_command = "nice -n 19 $progs{'tcmplex-panteltje'} -i
$filestomux[0] -0 $filestomux[1]";
dprint("Mplexing using tcmplex-panteltje\n");
my $counter = 2;
while (scalar(@filestomux) > $counter) {
@@ -1393,14 +1393,14 @@
if ($transc_mpx && (! $progs{tcmplex})) {
die "Usage of tcmplex was specified, but the program could not be found
within your path\n";
}
- if ($panteltje && (! $progs{tcmplex_panteltje})) {
+ if ($panteltje && (! $progs{'tcmplex-panteltje'})) {
die "Usage of tcmplex-panteltje was specified, but the program could not be
found within your path\n";
}
- if ($mplex && (! $progs{tcmplex_panteltje}) && (! $progs{tcmplex})
&& (! $progs{mplex})) {
+ if ($mplex && (! $progs{'tcmplex-panteltje'}) && (!
$progs{tcmplex}) && (! $progs{mplex})) {
die "Need to multiplex the files, but did not find a single
multiplexer\n";
}
if ($mplex && (! $panteltje) && (! $transc_mpx) && (!
$progs{mplex})) {
- if ($progs{tcmplex_panteltje}) {
+ if ($progs{'tcmplex-panteltje'}) {
$panteltje = 1;
} elsif ($progs{tcmplex}) {
$transc_mpx = 1;
vdrsync-recpath.patch:
--- NEW FILE vdrsync-recpath.patch ---
--- vdrsync.pl~ 2005-03-22 21:45:40.000000000 +0200
+++ vdrsync.pl 2005-09-20 17:34:55.000000000 +0300
@@ -5561,13 +5561,13 @@
closedir $DIR;
my @files = sort (grep { /\d{3}.vdr$/ } @allfiles);
- $self->{summary_file} = $indir . "summary.vdr" if (-e
"$indir/summary.vdr");
- $self->{marks_file} = $indir . "marks.vdr" if (-e
"$indir/marks.vdr");
- $self->{index_file} = $indir . "index.vdr" if (-e
"$indir/index.vdr");
- $self->{chapter_marks_file} = $indir . "chapter_marks.vdr" if (-e
"$indir/chapter_marks.vdr");
+ $self->{summary_file} = "$indir/summary.vdr" if (-e
"$indir/summary.vdr");
+ $self->{marks_file} = "$indir/marks.vdr" if (-e
"$indir/marks.vdr");
+ $self->{index_file} = "$indir/index.vdr" if (-e
"$indir/index.vdr");
+ $self->{chapter_marks_file} = "$indir/chapter_marks.vdr" if (-e
"$indir/chapter_marks.vdr");
foreach (@files) {
- $_ = $indir . $_;
+ $_ = "$indir/$_";
#print "trying to open $_\n";
my $DUMMYFH;
open $DUMMYFH, "$_" or die "Can not open $_: $!\n";
--- NEW FILE vdrsync.spec ---
Name: vdrsync
Version: 0.1.3
Release: 9.PRE1.050322%{?dist}
Summary: Recording demultiplexer for VDR
Group: Applications/Multimedia
License: GPLv2
URL:
http://vdrsync.vdr-portal.de/
Source0:
http://vdrsync.vdr-portal.de/releases/%{name}-%{version}PRE1.tgz
Source1:
http://vdrsync.vdr-portal.de/releases/%{name}-050322.tgz
Patch0: %{name}-recpath.patch
Patch1: %{name}-panteltje.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: dejavu-lgc-fonts >= 2.21
Requires: dvdauthor
Requires: ffmpeg
Requires: m2vrequantiser
Requires: mjpegtools
Requires: mkisofs
%description
vdrsync is a script that demultiplexes VDR recordings and tries to
synchronize the video and audio streams by addition or deletion of
audio data. It can also start some other tools at the end of a run to
generate a video DVD Directory structure that can be burned on a DVD.
%prep
%setup -q -n %{name}-%{version}PRE1 -a1
mv vdrsync-050322/*.pl vdrsync-050322/CHANGES . ; rm -rf vdrsync-050322
%patch0
%patch1
for f in README.dvd-menu MANUAL-DE ; do
iconv -f iso-8859-1 -t utf-8 $f > $f.utf-8 ; mv $f.utf-8 $f
done
rename .pl "" *.pl
%{__perl} -pi -e "s/tcmplex_panteltje/'tcmplex-panteltje'/g" vdrsync
%{__perl} -pi -e 's/(vdrsync(_buffer)?|dvd-menu)\.pl/$1/g' *
%{__perl} -pi -e 's|vdrsync_buffer|%{_datadir}/vdrsync/vdrsync_buffer|' \
vdrsync
%{__perl} -pi -e
's|/usr/X11R6/lib/X11/fonts/truetype/arial.ttf|%{_datadir}/fonts/dejavu/DejaVuLGCSans.ttf|
; s/arial.ttf/DejaVuLGCSans.ttf/' *dvd-menu*
%build
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT%{_bindir}
install -pm 755 vdrsync dvd-menu $RPM_BUILD_ROOT%{_bindir}
install -Dpm 755 vdrsync_buffer \
$RPM_BUILD_ROOT%{_datadir}/vdrsync/vdrsync_buffer
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc BUGS CHANGES COPYING MANUAL README* TODO
%lang(de) %doc MANUAL-DE
%{_bindir}/vdrsync
%{_bindir}/dvd-menu
%{_datadir}/vdrsync/
%changelog
* Mon Aug 04 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info -
0.1.3-9.PRE1.050322
- rebuild
* Sun Nov 18 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-8.PRE1.050322
- Adjust font paths for dejavu-lgc-fonts 2.21+.
* Wed Aug 22 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-7.PRE1.050322
- Use DejaVu LGC fonts instead of Bitstream Vera.
- Fix some tcmplex-panteltje detection bugs.
- License: GPLv2
* Fri Oct 27 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-6.PRE1.050322
- Use m2vrequantiser instead of transcode.
* Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 0.1.3-5
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Sat Sep 23 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-4.PRE1.050322
- Rebuild.
* Sat Mar 18 2006 Thorsten Leemhuis <fedora at leemhuis.info> - 0.1.3-3.PRE1.050322
- drop 1.lvn from release
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Tue Nov 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-1.lvn.3.PRE1.050322
- Fix missing dir separator in recording paths.
* Sun Aug 28 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-1.lvn.2.PRE1.050322
- 050322 snapshot, cleanup patch applied upstream.
* Fri Aug 12 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-1.lvn.1.PRE1
- Convert docs to UTF-8.
* Sat Jun 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-0.2.PRE1
- Rebuild for FC4.
* Mon Jan 31 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.1.3-0.1.PRE1
- Update to 0.1.3PRE1.
* Sun Dec 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0.1.2.2-0.2
- Remove unnecessary Epochs.
* Sun Nov 21 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.1.2.2-0.scop.1
- First build.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/vdrsync/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:56:52 -0000 1.1
+++ .cvsignore 4 Aug 2008 18:55:50 -0000 1.2
@@ -0,0 +1,2 @@
+vdrsync-0.1.3PRE1.tgz
+vdrsync-050322.tgz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/vdrsync/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:56:52 -0000 1.1
+++ sources 4 Aug 2008 18:55:50 -0000 1.2
@@ -0,0 +1,2 @@
+2efa8cef6b38d391f19c7e822c2ddec1 vdrsync-0.1.3PRE1.tgz
+5400f0e0e15ba1a434108eaa782c7905 vdrsync-050322.tgz