3,14 → 3,11 |
# |
# spec file for vcs rpm |
# |
# originally based on mp3plot's which in turn was based on other sources |
# 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_suse 0%{?suse_version} |
%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_fedora 0%{?fedora} |
%define is_redhat 0%{?rhl} |
%define is_rhel 0%{?rhel} |
49,17 → 46,8 |
Source0: http://p.outlyer.net/%{name}/files/%{name}-%{version}.tar.gz |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build |
BuildArch: noarch |
# 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 |
# TODO: How to set alternative dependencies? i.e. mplayer/ffmpeg |
Requires: mplayer / ffmpeg |
Requires: bash >= 3.1 |
Requires: ImageMagick >= 6.3.5-7 |
Requires: coreutils |
115,11 → 103,6 |
%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 |
|