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
|
--- negativo17/makemkv/makemkv.spec 2022-03-11 09:09:19.698330344 -0500
+++ stackrpms/makemkv/makemkv.spec 2022-03-11 09:20:23.416023295 -0500
@@ -10,20 +10,27 @@
# on x86_64.
%global _missing_build_ids_terminate_build 0
+# stackrpms, 2 disable debug package
+%define debug_package %{nil}
Summary: DVD and Blu-ray to MKV converter and network streamer
Name: makemkv
Version: 1.16.7
-Release: 1%{?dist}
+Release: 10%{?dist}
License: GuinpinSoft inc and Mozilla Public License Version 1.1 and LGPLv2.1+
URL: http://www.%{name}.com/
ExclusiveArch: %{ix86} x86_64 aarch64 armv7hl
-Source0: http://www.%{name}.com/download/%{name}-oss-%{version}.tar.gz
-Source1: http://www.%{name}.com/download/%{name}-bin-%{version}.tar.gz
+# stackrpms,3 because copr likes https
+Source0: https://www.%{name}.com/download/%{name}-oss-%{version}.tar.gz
+Source1: https://www.%{name}.com/download/%{name}-bin-%{version}.tar.gz
Source2: changelog.txt
Source3: %{name}.appdata.xml
-Source4: http://www.%{name}.com/developers/usage.txt#/%{name}con.txt
+# stackrpms,4 https and my value add
+Source4: https://www.%{name}.com/developers/usage.txt#/%{name}con.txt
+Source5: %{name}-wrapper
+Source6: settings.conf.example
+
BuildRequires: desktop-file-utils
BuildRequires: expat-devel
@@ -71,6 +78,8 @@
%prep
%setup -q -T -c -n %{name}-%{version} -a 0 -a 1
cp %{SOURCE2} %{SOURCE4} .
+# stackrpms,2 my value add
+cp %{SOURCE5} %{SOURCE6} .
%build
%if 0%{?rhel} == 7
@@ -110,6 +119,8 @@
mkdir -p %{buildroot}%{_datadir}/appdata
install -p -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/appdata/
%endif
+# stackrpms,2 install my script
+%{__install} -m0755 %{SOURCE5} %{buildroot}%{_bindir}/
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
@@ -139,12 +150,15 @@
%files
%license %{name}-bin-%{version}/src/eula_en_linux.txt
%license %{name}-oss-%{version}/License.txt
-%doc changelog.txt makemkvcon.txt
+# stackrpms,2 add my conf file
+%doc changelog.txt makemkvcon.txt settings.conf.example
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.*sh
%{_bindir}/makemkv
%{_bindir}/makemkvcon
%{_bindir}/mmccextr
%{_bindir}/sdftool
+# stackrpms,2 my script
+%{_bindir}/%{name}-wrapper
%{_datadir}/MakeMKV
%if 0%{?fedora}
%{_datadir}/appdata/%{name}.appdata.xml
@@ -156,6 +170,10 @@
%{_libdir}/libmmbd.so.0
%changelog
+* Fri Mar 11 2022 B. Stack <bgstack15@gmail.com> - 1.16.7-10
+- Add stackrpms customization
+- Remove debug package
+
* Tue Mar 01 2022 Simone Caronni <negativo17@gmail.com> - 1.16.7-1
- Update to 1.16.7.
|