view verysimpleslideshow/RPM/verysimpleslideshow.spec @ 12:74d743cf58cb

bing4desktop-0.240206-0_clean
author prymula <prymula76@outlook.com>
date Tue, 06 Feb 2024 12:01:38 +0100
parents 4bdac9bd90cc
children
line wrap: on
line source

#
# spec file for package vsss
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

%define unmangled_version 0.230913-0
Name:       verysimpleslideshow
Version:	0.230913
Release:    0
Summary:	CLI script for creating slideshows 
License:	Public Domain
URL:		https://prymula.ct8.pl
Source0:	%{name}-%{unmangled_version}.tar.gz
%if 0%{?suse_version}>=150000
BuildRequires:	python3
Requires:       python3, ffmpeg-4
%endif
%if 0%{?fedora}>=36
BuildRequires:	python3
Requires:		python3, ffmpeg
%endif
BuildArch:	noarch

%description
Create a breathtaking slide show

%prep
%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
rm -f %{_bindir}/vsss

%post
%{__ln_s} -f %{_bindir}/verysimpleslideshow.py %{_bindir}/vsss

%postun
rm -f %{_bindir}/vsss

%build

%install

mkdir -p %{buildroot}/usr
mkdir -p %{buildroot}/usr/bin
mkdir -p %{buildroot}/usr/share
mkdir -p %{buildroot}/usr/share/verysimpleslideshow


install -m 0755 verysimpleslideshow.py %{buildroot}/usr/bin
install -m 0644 CzytajTo %{buildroot}/usr/share/verysimpleslideshow



%files
%defattr(0755,root,root)
/usr/bin/verysimpleslideshow.py
/usr/share/verysimpleslideshow/
%defattr(0644,root,root)
/usr/share/verysimpleslideshow/CzytajTo

%changelog