-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
davinci-helper.spec
141 lines (105 loc) · 4.91 KB
/
davinci-helper.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# NAME OF THE APP EXECUTABLE
Name: davinci-helper
# APP VERSION
Version: 2.0.11
# RELEASE AND DISTRIBUTION VERSION
Release: 1
# SHORT SUMMARY OF WHAT THE APP DOES
Summary: The best DaVinci Resolve companion app on Linux
# PUBBLICATION LICENSE
License: GPL-3.0
# WEB ADDRESS OF THE APP GITHUB
URL: https://github.com/H3rz3n/davinci-helper
# COMPILATION SOURCE https://github.com/H3rz3n/davinci-helper/blob/testing/
Source0: %{name}-%{version}.tar.gz
# COMPILATION ARCHITECTURE
BuildArch: noarch
# DEPENDENCIES REQUIRED FOR COMPILATION
BuildRequires: gtk4-devel
BuildRequires: libadwaita-devel
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: python3-wheel
BuildRequires: pyproject-rpm-macros
# DEPENDENCIES REQUIRED FOR EXECUTION
Requires: gtk4
Requires: libadwaita
Requires: python3-pip
# DISABLING THE AUTOMATIC DEPENDENCIES GENERATOR
%undefine __python_requires
%{?python_disable_dependency_generator}
# REMOVING SHEBANG OPTIONS
%undefine _py3_shebang_s
%undefine _py3_shebang_P
# APP FUNCTIONS DESCRIPTION
%description
DaVinci Helper is the ultimate app to help you install and run DaVinci Resolve on Fedora Linux.
# PREPARATION OPERATIONS FOR COMPILATION
%prep
%autosetup
# APP COMPILATION
%build
%pyproject_wheel
# APP INSTALLATION
%install
%pyproject_install
install -Dm644 %{_builddir}/%{name}-%{version}/data/desktop/com.davinci.helper.app.desktop %{buildroot}%{_datadir}/applications/com.davinci.helper.app.desktop
install -Dm644 %{_builddir}/%{name}-%{version}/data/desktop/davinci_helper_icon.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/davinci_helper_icon.svg
install -Dm644 %{_builddir}/%{name}-%{version}/data/desktop/com.davinci.helper.app.metainfo.xml %{buildroot}%{_datadir}/metainfo/com.davinci.helper.app.metainfo.xml
install -Dm644 %{_builddir}/%{name}-%{version}/data/polkit/com.davinci.helper.app.policy %{buildroot}/%{_datadir}/polkit-1/actions/com.davinci.helper.app.policy
install -Dm644 %{_builddir}/%{name}-%{version}/data/polkit/com.davinci.helper.app.rules %{buildroot}/%{_datadir}/polkit-1/rules.d/com.davinci.helper.app.rules
# LIST OF FILES INSTALLED BY THE APP AND THEIR LOCATIONS INSIDE THE SYSTEM
%files
# LIST OF FILES INCLUDED IN THE EQUIPMENT OF THE PACKAGE AND THEIR POSITION
%license LICENSE
%doc README.md
# LIST OF THE INSTALLED DIRECTORY AND THEIR POSITION
%{python3_sitelib}/davinci_helper*
%{_datadir}/davinci-helper/*
# LIST OF THE INSTALLED FILES AND THEIR POSITION
%{_bindir}/%{name}
%{_datadir}/applications/com.davinci.helper.app.desktop
%{_datadir}/icons/hicolor/scalable/apps/davinci_helper_icon.svg
%{_datadir}/metainfo/com.davinci.helper.app.metainfo.xml
%{_datadir}/polkit-1/actions/com.davinci.helper.app.policy
%{_datadir}/polkit-1/rules.d/com.davinci.helper.app.rules
# POST INSTALLATION OPERATIONS
%post
update-desktop-database &> /dev/null || :
sudo systemctl restart polkit
pip install moviepy
# CHANGELOG OF THE VERSION
%changelog
* Sat Nov 09 2024 Lorenzo Maiuri <[email protected]> - 2.0.11-1
- Fixed app version.
* Thu Nov 07 2024 Lorenzo Maiuri <[email protected]> - 2.0.10-1
- Fixed a minor issue with DNF-5 commands.
* Thu Nov 07 2024 Lorenzo Maiuri <[email protected]> - 2.0.9-1
- Fixed a minor issue that prevented the RPM-Fusion repository from installing properly.
* Wed Oct 30 2024 Lorenzo Maiuri <[email protected]> - 2.0.8-1
- Fixed a minor issue that will make a broken output during AMD GPU driver installation
* Mon Oct 21 2024 Lorenzo Maiuri <[email protected]> - 2.0.7-1
- Fixed a major issues that will make the app not install all the necessary libraries during Nvidia GPU driver installation
* Mon Oct 21 2024 Lorenzo Maiuri <[email protected]> - 2.0.6-1
- Fixed a major issues that will make the app not install all the necessary libraries during Nvidia GPU driver installation
* Mon Oct 21 2024 Lorenzo Maiuri <[email protected]> - 2.0.5-1
- Fixed a major issues that will make the app not install all the necessary libraries during Nvidia GPU driver installation
* Wed Oct 16 2024 Lorenzo Maiuri <[email protected]> - 2.0.3-1
- Fixing a major issues that will stuck the app during video conversion.
* Sat Oct 12 2024 Lorenzo Maiuri <[email protected]> - 2.0.2-1
- Fixing italian translation.
* Sat Oct 12 2024 Lorenzo Maiuri <[email protected]> - 2.0.1-1
- Fixed OS detection on Nobara Linux.
* Fri Oct 04 2024 Lorenzo Maiuri <[email protected]> - 2.0.0-1
- Full Adwaita UI.
- Added support for DaVinci 19.
- Added support for Fedora 41.
- Added support for video conversion.
- Minor bug fixes and improved performance.
* Sat Aug 17 2024 Lorenzo Maiuri <[email protected]> - 1.1.0-1
- Added AMD GPU support.
* Sat Aug 17 2024 Lorenzo Maiuri <[email protected]> - 1.0.1-1
- Switched license to GPL-3.0
* Tue Aug 13 2024 Lorenzo Maiuri <[email protected]> - 1.0.0-1
- Initial release