update to 0.8.4

remove requirement for cdrtools [release 0.8.4-1mamba;Wed Oct 19 2011]
This commit is contained in:
Silvan Calarco 2024-01-05 22:00:30 +01:00
parent 276a99a772
commit 6d632e4a4b
3 changed files with 218 additions and 0 deletions

View File

@ -1,2 +1,11 @@
# dvd-slideshow
DVD-slideshow makes a DVD slideshow video with menus from a batch of pictures.
It consists of a set of scripts:
* dvd-slideshow reads a text file list of all the pictures you want in one slideshow and creates a DVD-compatible MPEG movie with your audio track and specified timing.
* dvd-menu makes a top-level DVD menu with the output files from dvd-slideshow or your own movies.
* dir2slideshow makes the input file for dvd-slideshow from a directory of pictures.
* gallery1-to-slideshow makes the input file for dvd-slideshow from your Gallery v1.x album.
* jigl2slideshow makes the input file for dvd-slideshow from your jigl album.

View File

@ -0,0 +1,35 @@
diff -Nru dvd-slideshow-0.8.4-2.orig/dvd-menu dvd-slideshow-0.8.4-2/dvd-menu
--- dvd-slideshow-0.8.4-2.orig/dvd-menu 2011-08-20 07:22:01.000000000 +0200
+++ dvd-slideshow-0.8.4-2/dvd-menu 2011-10-20 12:36:13.883453414 +0200
@@ -151,7 +151,7 @@
[-theme themename]
Use the given theme when setting variables/colors/etc. Themes are
- installed in /opt/dvd-slideshow/themes or in a local directory
+ installed in /usr/share/dvd-slideshow/themes or in a local directory
~/.dvd-slideshow/themes
[-vcd]|[-svcd] [ALPHA!]
diff -Nru dvd-slideshow-0.8.4-2.orig/dvd-slideshow dvd-slideshow-0.8.4-2/dvd-slideshow
--- dvd-slideshow-0.8.4-2.orig/dvd-slideshow 2011-08-22 19:48:52.000000000 +0200
+++ dvd-slideshow-0.8.4-2/dvd-slideshow 2011-10-20 12:36:28.232614810 +0200
@@ -532,7 +532,7 @@
bottomtitle_text_location_x=0
bottomtitle_text_location_y=155
-themedir='/opt/dvd-slideshow/themes' # LSB/FHS compliant. see: http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES
+themedir='/usr/share/dvd-slideshow/themes' # LSB/FHS compliant. see: http://www.pathname.com/fhs/pub/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES
local_themedir=~/.dvd-slideshow/themes # local theme directory
logo=""
diff -Nru dvd-slideshow-0.8.4-2.orig/dvd-slideshow-themes-0.8.0-1/themes.readme.txt dvd-slideshow-0.8.4-2/dvd-slideshow-themes-0.8.0-1/themes.readme.txt
--- dvd-slideshow-0.8.4-2.orig/dvd-slideshow-themes-0.8.0-1/themes.readme.txt 2006-12-18 06:08:22.000000000 +0100
+++ dvd-slideshow-0.8.4-2/dvd-slideshow-themes-0.8.0-1/themes.readme.txt 2011-10-20 12:37:05.414033018 +0200
@@ -1,6 +1,6 @@
Document how to create themes here!
-System themes are located in /opt/dvd-slideshow/themes/
+System themes are located in /usr/share/dvd-slideshow/themes/
local themes are located in ~/.dvd-slideshow/themes
if you download the themes from the subversion repository, you'll have to put

174
dvd-slideshow.spec Normal file
View File

@ -0,0 +1,174 @@
%define data_version 0.8.0
Name: dvd-slideshow
Version: 0.8.4
Release: 1mamba
Summary: Creates a DVD slideshow with menus and effects from a list of images
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://dvd-slideshow.sourceforge.net
Source0: http://downloads.sourceforge.net/dvd-slideshow/dvd-slideshow-%{version}-2.tar.gz
Source1: http://downloads.sourceforge.net/dvd-slideshow-examples/dvd-slideshow-examples-%{data_version}-1.tar.gz
Source2: http://downloads.sourceforge.net/dvd-slideshow-themes/dvd-slideshow-themes-%{data_version}-1.tar.gz
Patch0: %{name}-0.8.4-2-setupdir.patch
License: GPL
Requires: libvorbis
Requires: vorbis-tools
Requires: dvdauthor >= 0.6.13
Requires: mjpegtools
Requires: ImageMagick
Requires: ffmpeg
BuildRequires: ImageMagick-devel
BuildRequires: dvdauthor
BuildRequires: libmjpegtools-devel
BuildRequires: sox-devel
#BuildRequires: urw-fonts
BuildRequires: /usr/bin/cdrecord
## AUTOBUILDREQ-BEGIN
BuildRequires: libvorbis-devel
BuildRequires: vorbis-tools
## AUTOBUILDREQ-END
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
DVD-slideshow makes a DVD slideshow video with menus from a batch of pictures.
It consists of a set of scripts:
* dvd-slideshow reads a text file list of all the pictures you want in one slideshow and creates a DVD-compatible MPEG movie with your audio track and specified timing.
* dvd-menu makes a top-level DVD menu with the output files from dvd-slideshow or your own movies.
* dir2slideshow makes the input file for dvd-slideshow from a directory of pictures.
* gallery1-to-slideshow makes the input file for dvd-slideshow from your Gallery v1.x album.
* jigl2slideshow makes the input file for dvd-slideshow from your jigl album.
%package themes
Group: Applications/Multimedia
Summary: Themes for DVD-slideshow
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description themes
DVD-slideshow makes a DVD slideshow video with menus from a batch of pictures.
It consists of a set of scripts:
* dvd-slideshow reads a text file list of all the pictures you want in one slideshow and creates a DVD-compatible MPEG movie with your audio track and specified timing.
* dvd-menu makes a top-level DVD menu with the output files from dvd-slideshow or your own movies.
* dir2slideshow makes the input file for dvd-slideshow from a directory of pictures.
* gallery1-to-slideshow makes the input file for dvd-slideshow from your Gallery v1.x album.
* jigl2slideshow makes the input file for dvd-slideshow from your jigl album.
This package contains extra themes for DVD-slideshow.
%package examples
Group: Applications/Multimedia
Summary: Examples for DVD-slideshow
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description examples
DVD-slideshow makes a DVD slideshow video with menus from a batch of pictures.
It consists of a set of scripts:
* dvd-slideshow reads a text file list of all the pictures you want in one slideshow and creates a DVD-compatible MPEG movie with your audio track and specified timing.
* dvd-menu makes a top-level DVD menu with the output files from dvd-slideshow or your own movies.
* dir2slideshow makes the input file for dvd-slideshow from a directory of pictures.
* gallery1-to-slideshow makes the input file for dvd-slideshow from your Gallery v1.x album.
* jigl2slideshow makes the input file for dvd-slideshow from your jigl album.
This package contains examples for DVD-slideshow.
%prep
%setup -q -n %{name}-%{version}-2 -a1 -a2
#%patch -p1
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}%{_bindir}
install -p -m 755 dir2slideshow %{buildroot}%{_bindir}
install -p -m 755 dvd-menu %{buildroot}%{_bindir}
install -p -m 755 dvd-slideshow %{buildroot}%{_bindir}
install -p -m 755 dvd-menu %{buildroot}%{_bindir}
install -p -m 755 gallery1-to-slideshow %{buildroot}%{_bindir}
install -p -m 755 jigl2slideshow %{buildroot}%{_bindir}
install -d %{buildroot}%{_mandir}/man1
install -m 644 man/*.1 %{buildroot}%{_mandir}/man1
install -D -m 666 dvd-slideshowrc %{buildroot}%{_datadir}/dvd-slideshow/dvd-slideshowrc
# install themes
for data in $(find dvd-slideshow-themes-%{data_version}-1 -type d -mindepth 1 -maxdepth 1); do
install -d %{buildroot}%{_datadir}/dvd-slideshow/themes/$(basename $data)
install -m 644 $data/* %{buildroot}%{_datadir}/dvd-slideshow/themes/$(basename $data)
done
# install examples
for data in $(find dvd-slideshow-examples-%{data_version}-1 -type d -mindepth 1 -maxdepth 1 ! \(-name images -or -name audio -or -name cool\)); do
install -d %{buildroot}%{_datadir}/dvd-slideshow/examples/$(basename $data)
install -p -m 755 $data/runtest.sh %{buildroot}%{_datadir}/dvd-slideshow/examples/$(basename $data)
install -m 644 $data/{*.txt,*.html} %{buildroot}%{_datadir}/dvd-slideshow/examples/$(basename $data)
done
install -d %{buildroot}%{_datadir}/dvd-slideshow/examples/images
install -m 644 dvd-slideshow-examples-%{data_version}-1/images/*.jpg \
%{buildroot}%{_datadir}/dvd-slideshow/examples/images
install -d %{buildroot}%{_datadir}/dvd-slideshow/examples/audio
install -p -m 755 dvd-slideshow-examples-%{data_version}-1/audio/* \
%{buildroot}%{_datadir}/dvd-slideshow/examples/audio
install -d %{buildroot}%{_datadir}/dvd-slideshow/examples/cool
install -p -m 755 dvd-slideshow-examples-%{data_version}-1/cool/* \
%{buildroot}%{_datadir}/dvd-slideshow/examples/cool
install -p -m 755 dvd-slideshow-examples-%{data_version}-1/*.sh \
%{buildroot}%{_datadir}/dvd-slideshow/examples
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/dir2slideshow
%{_bindir}/dvd-menu
%{_bindir}/dvd-slideshow
%{_bindir}/gallery1-to-slideshow
%{_bindir}/jigl2slideshow
%dir %{_datadir}/dvd-slideshow
%{_datadir}/dvd-slideshow/dvd-slideshowrc
%dir %{_datadir}/dvd-slideshow/themes
%{_datadir}/dvd-slideshow/themes/default
%{_mandir}/man1/dir2slideshow.1.gz
%{_mandir}/man1/dvd-menu.1.gz
%{_mandir}/man1/dvd-slideshow.1.gz
%{_mandir}/man1/gallery1-to-slideshow.1.gz
%{_mandir}/man1/jigl2slideshow.1.gz
%doc doc/*.html TODO.txt COPYING.txt INSTALL.txt
%files themes
%defattr(-,root,root)
%{_datadir}/dvd-slideshow/themes/babyblue
%{_datadir}/dvd-slideshow/themes/babypink
%{_datadir}/dvd-slideshow/themes/dinner
%{_datadir}/dvd-slideshow/themes/travel
%{_datadir}/dvd-slideshow/themes/wedding
%doc dvd-slideshow-themes-*/themes.readme.txt
%files examples
%defattr(-,root,root)
%{_datadir}/dvd-slideshow/examples
%doc dvd-slideshow-examples-*/changelog.txt
%changelog
* Wed Oct 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.4-1mamba
- update to 0.8.4
- remove requirement for cdrtools
* Fri May 14 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.8.2-1mamba
- update to 0.8.2
- fixed spec file
* Wed Dec 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-2mamba
- automatic rebuild by autodist
* Wed Aug 20 2008 gil <puntogil@libero.it> 0.8.0-1mamba
- package created by autospec