173 lines
7.0 KiB
RPMSpec
173 lines
7.0 KiB
RPMSpec
%define data_version 0.8.0
|
|
%define pkgver %(echo %version | tr _ -)
|
|
|
|
Name: dvd-slideshow
|
|
Version: 0.8.6_1
|
|
Release: 1mamba
|
|
Summary: Creates a DVD slideshow with menus and effects from a list of images
|
|
Group: Applications/Multimedia
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://dvd-slideshow.sourceforge.net
|
|
Source0: http://downloads.sourceforge.net/dvd-slideshow/dvd-slideshow-%{pkgver}.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
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
Requires: libvorbis
|
|
Requires: vorbis-tools
|
|
Requires: dvdauthor >= 0.6.13
|
|
Requires: mjpegtools
|
|
Requires: ImageMagick
|
|
Requires: ffmpeg
|
|
Requires: /usr/bin/cdrecord
|
|
BuildArch: noarch
|
|
|
|
%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.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{pkgver} -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*
|
|
%{_mandir}/man1/dvd-menu.1*
|
|
%{_mandir}/man1/dvd-slideshow.1*
|
|
%{_mandir}/man1/gallery1-to-slideshow.1*
|
|
%{_mandir}/man1/jigl2slideshow.1*
|
|
%doc COPYING.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
|
|
* Sat Feb 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.6_1-1mamba
|
|
- update to 0.8.6_1
|
|
|
|
* 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
|