Subversion Repositories pub

Compare Revisions

Ignore whitespace Rev 647 → Rev 648

/video-contact-sheet/trunk/dist/arch/PKGBUILD.in
12,9 → 12,10
arch=('any')
url="http://p.outlyer.net/vcs/"
license=('LGPL')
depends=('bash>=3.1' 'imagemagick>=6.3.5.7' 'mplayer' 'ffmpeg')
depends=('bash>=3.1' 'imagemagick>=6.3.5.7' 'ffmpeg')
makedepends=('bzip2')
optdepends=('lsdvd: for DVD support'
optdepends=('mplayer: for better more complete detection/capture'
'lsdvd: for DVD support'
'perl: for DVD support')
backup=()
options=('docs' 'zipman')
/video-contact-sheet/trunk/dist/rpm/vcs.spec.in
3,11 → 3,14
#
# spec file for vcs rpm
#
# based on mp3plot's which in turn was based on other sources
# originally based on mp3plot's which in turn was based on other sources
#
# Some useful references:
# "Packaging for openSUSE Leap" <https://en.opensuse.org/openSUSE:How_to_contribute_to_Leap>
# "Build Service cross distribution howto"
# <https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto>
 
%define is_mandrake %(test -e /etc/mandrake-release && echo 1 || echo 0)
%define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0)
%define is_suse 0%{?suse_version}
%define is_fedora 0%{?fedora}
%define is_redhat 0%{?rhl}
%define is_rhel 0%{?rhel}
46,8 → 49,17
Source0: http://p.outlyer.net/%{name}/files/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
BuildArch: noarch
# TODO: How to set alternative dependencies? i.e. mplayer/ffmpeg
Requires: mplayer / ffmpeg
# As of 2017 there's some conflicting information on boolean operators
# [1] says they are not supported in Requires
# [2] says they are supported in all fields, including requires (rpm >= 4.13)
# 1: <https://fedoraproject.org/wiki/Packaging:Guidelines#Rich.2FBoolean_dependencies>
# 2: <http://rpm.org/user_doc/boolean_dependencies.html>
# Fedora 25 has RPM 4.13
# openSUSE Leap 42.2 has RPM 4.11
#Requires: rpm >= 4.13
#Requires: ( mplayer or ffmpeg )
Requires: ffmpeg
Recommends: mplayer
Requires: bash >= 3.1
Requires: ImageMagick >= 6.3.5-7
Requires: coreutils
103,6 → 115,11
%doc examples/vcs.conf.example
 
%changelog
* Sat May 20 2017 - outlyer (at) gmail (dot) com
- Rewrote dependencies with notes about boolean (alternative) dependecies
- Depend on ffmpeg and recommend mplayer while distributions catch up with RPM
- Removed Mandrake detection and updated the macro for SUSE
 
* Fri Mar 08 2013 - outlyer (at) gmail (dot) com
- Install 'compact' profile