annotate verysimpleslideshow/RPM/verysimpleslideshow.spec @ 33:1d063d3bf7ff

bing4desktop-0.240208-2.1
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 20:41:03 +0100
parents 4bdac9bd90cc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
prymula <prymula76@outlook.com>
parents:
diff changeset
1 #
prymula <prymula76@outlook.com>
parents:
diff changeset
2 # spec file for package vsss
prymula <prymula76@outlook.com>
parents:
diff changeset
3 #
prymula <prymula76@outlook.com>
parents:
diff changeset
4 # Copyright (c) 2020 SUSE LLC
prymula <prymula76@outlook.com>
parents:
diff changeset
5 #
prymula <prymula76@outlook.com>
parents:
diff changeset
6 # All modifications and additions to the file contributed by third parties
prymula <prymula76@outlook.com>
parents:
diff changeset
7 # remain the property of their copyright owners, unless otherwise agreed
prymula <prymula76@outlook.com>
parents:
diff changeset
8 # upon. The license for this file, and modifications and additions to the
prymula <prymula76@outlook.com>
parents:
diff changeset
9 # file, is the same license as for the pristine package itself (unless the
prymula <prymula76@outlook.com>
parents:
diff changeset
10 # license for the pristine package is not an Open Source License, in which
prymula <prymula76@outlook.com>
parents:
diff changeset
11 # case the license is the MIT License). An "Open Source License" is a
prymula <prymula76@outlook.com>
parents:
diff changeset
12 # license that conforms to the Open Source Definition (Version 1.9)
prymula <prymula76@outlook.com>
parents:
diff changeset
13 # published by the Open Source Initiative.
prymula <prymula76@outlook.com>
parents:
diff changeset
14
prymula <prymula76@outlook.com>
parents:
diff changeset
15 # Please submit bugfixes or comments via https://bugs.opensuse.org/
prymula <prymula76@outlook.com>
parents:
diff changeset
16 #
prymula <prymula76@outlook.com>
parents:
diff changeset
17
1
82b75cc1e524 postagelabels-0.220120-0.1
prymula <prymula76@outlook.com>
parents: 0
diff changeset
18 %define unmangled_version 0.230913-0
0
prymula <prymula76@outlook.com>
parents:
diff changeset
19 Name: verysimpleslideshow
1
82b75cc1e524 postagelabels-0.220120-0.1
prymula <prymula76@outlook.com>
parents: 0
diff changeset
20 Version: 0.230913
82b75cc1e524 postagelabels-0.220120-0.1
prymula <prymula76@outlook.com>
parents: 0
diff changeset
21 Release: 0
0
prymula <prymula76@outlook.com>
parents:
diff changeset
22 Summary: CLI script for creating slideshows
prymula <prymula76@outlook.com>
parents:
diff changeset
23 License: Public Domain
prymula <prymula76@outlook.com>
parents:
diff changeset
24 URL: https://prymula.ct8.pl
prymula <prymula76@outlook.com>
parents:
diff changeset
25 Source0: %{name}-%{unmangled_version}.tar.gz
prymula <prymula76@outlook.com>
parents:
diff changeset
26 %if 0%{?suse_version}>=150000
prymula <prymula76@outlook.com>
parents:
diff changeset
27 BuildRequires: python3
2
4bdac9bd90cc vsss-0.230913-0.1_PKG
prymula <prymula76@outlook.com>
parents: 1
diff changeset
28 Requires: python3, ffmpeg-4
0
prymula <prymula76@outlook.com>
parents:
diff changeset
29 %endif
prymula <prymula76@outlook.com>
parents:
diff changeset
30 %if 0%{?fedora}>=36
prymula <prymula76@outlook.com>
parents:
diff changeset
31 BuildRequires: python3
prymula <prymula76@outlook.com>
parents:
diff changeset
32 Requires: python3, ffmpeg
prymula <prymula76@outlook.com>
parents:
diff changeset
33 %endif
prymula <prymula76@outlook.com>
parents:
diff changeset
34 BuildArch: noarch
prymula <prymula76@outlook.com>
parents:
diff changeset
35
prymula <prymula76@outlook.com>
parents:
diff changeset
36 %description
2
4bdac9bd90cc vsss-0.230913-0.1_PKG
prymula <prymula76@outlook.com>
parents: 1
diff changeset
37 Create a breathtaking slide show
0
prymula <prymula76@outlook.com>
parents:
diff changeset
38
prymula <prymula76@outlook.com>
parents:
diff changeset
39 %prep
prymula <prymula76@outlook.com>
parents:
diff changeset
40 %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
prymula <prymula76@outlook.com>
parents:
diff changeset
41 rm -f %{_bindir}/vsss
prymula <prymula76@outlook.com>
parents:
diff changeset
42
prymula <prymula76@outlook.com>
parents:
diff changeset
43 %post
prymula <prymula76@outlook.com>
parents:
diff changeset
44 %{__ln_s} -f %{_bindir}/verysimpleslideshow.py %{_bindir}/vsss
prymula <prymula76@outlook.com>
parents:
diff changeset
45
prymula <prymula76@outlook.com>
parents:
diff changeset
46 %postun
prymula <prymula76@outlook.com>
parents:
diff changeset
47 rm -f %{_bindir}/vsss
prymula <prymula76@outlook.com>
parents:
diff changeset
48
prymula <prymula76@outlook.com>
parents:
diff changeset
49 %build
prymula <prymula76@outlook.com>
parents:
diff changeset
50
prymula <prymula76@outlook.com>
parents:
diff changeset
51 %install
prymula <prymula76@outlook.com>
parents:
diff changeset
52
prymula <prymula76@outlook.com>
parents:
diff changeset
53 mkdir -p %{buildroot}/usr
prymula <prymula76@outlook.com>
parents:
diff changeset
54 mkdir -p %{buildroot}/usr/bin
prymula <prymula76@outlook.com>
parents:
diff changeset
55 mkdir -p %{buildroot}/usr/share
prymula <prymula76@outlook.com>
parents:
diff changeset
56 mkdir -p %{buildroot}/usr/share/verysimpleslideshow
prymula <prymula76@outlook.com>
parents:
diff changeset
57
prymula <prymula76@outlook.com>
parents:
diff changeset
58
prymula <prymula76@outlook.com>
parents:
diff changeset
59 install -m 0755 verysimpleslideshow.py %{buildroot}/usr/bin
prymula <prymula76@outlook.com>
parents:
diff changeset
60 install -m 0644 CzytajTo %{buildroot}/usr/share/verysimpleslideshow
prymula <prymula76@outlook.com>
parents:
diff changeset
61
prymula <prymula76@outlook.com>
parents:
diff changeset
62
prymula <prymula76@outlook.com>
parents:
diff changeset
63
prymula <prymula76@outlook.com>
parents:
diff changeset
64 %files
prymula <prymula76@outlook.com>
parents:
diff changeset
65 %defattr(0755,root,root)
prymula <prymula76@outlook.com>
parents:
diff changeset
66 /usr/bin/verysimpleslideshow.py
prymula <prymula76@outlook.com>
parents:
diff changeset
67 /usr/share/verysimpleslideshow/
prymula <prymula76@outlook.com>
parents:
diff changeset
68 %defattr(0644,root,root)
prymula <prymula76@outlook.com>
parents:
diff changeset
69 /usr/share/verysimpleslideshow/CzytajTo
prymula <prymula76@outlook.com>
parents:
diff changeset
70
prymula <prymula76@outlook.com>
parents:
diff changeset
71 %changelog
prymula <prymula76@outlook.com>
parents:
diff changeset
72