From 7383383d8aec539a78dcbfbc93edde52dcac4945 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Fri, 11 Mar 2022 09:22:55 -0500 Subject: makemkv: conform to negativo17 better --- makemkv/makemkv.spec | 78 ++++++++++++++++++++++++++++++++++------------------ 1 file changed, 52 insertions(+), 26 deletions(-) (limited to 'makemkv/makemkv.spec') diff --git a/makemkv/makemkv.spec b/makemkv/makemkv.spec index e42ee38..3ea0968 100644 --- a/makemkv/makemkv.spec +++ b/makemkv/makemkv.spec @@ -10,20 +10,23 @@ # 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.5 +Version: 1.16.7 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 +ExclusiveArch: %{ix86} x86_64 aarch64 armv7hl +# 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 +# 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 @@ -45,15 +48,20 @@ BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: zlib-devel -Requires: ccextractor +%if 0%{?rhel} == 7 +BuildRequires: devtoolset-8-gcc-c++ +%else +BuildRequires: gcc-c++ +%endif + Requires: hicolor-icon-theme # This makes sure you can open AACS and BD+ encrypted BluRays transparently. # See below in the install section. -Provides: libaacs%{?__isa:%{__isa}}%{!?__isa:%{nil}} = %{version}-%{release} -Provides: libbdplus%{?__isa:%{__isa}}%{!?__isa:%{nil}} = %{version}-%{release} -Obsoletes: libaacs%{?__isa:%{__isa}}%{!?__isa:%{nil}} < %{version}-%{release} -Obsoletes: libbdplus%{?__isa:%{__isa}}%{!?__isa:%{nil}} < %{version}-%{release} +Provides: libaacs%{?_isa} = %{version}-%{release} +Provides: libbdplus%{?_isa} = %{version}-%{release} +Obsoletes: libaacs < %{version}-%{release} +Obsoletes: libbdplus < %{version}-%{release} %description MakeMKV is your one-click solution to convert video that you own into free and @@ -70,9 +78,14 @@ your favorite player on your favorite OS or on your favorite device. %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 +. /opt/rh/devtoolset-8/enable +%endif + # Accept eula mkdir -p %{name}-bin-%{version}/tmp echo "accepted" > %{name}-bin-%{version}/tmp/eula_accepted @@ -106,6 +119,7 @@ EOF 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 @@ -136,12 +150,14 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files %license %{name}-bin-%{version}/src/eula_en_linux.txt %license %{name}-oss-%{version}/License.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}/sdftool %{_bindir}/mmccextr +%{_bindir}/sdftool +# stackrpms,2 my script %{_bindir}/%{name}-wrapper %{_datadir}/MakeMKV %if 0%{?fedora} @@ -154,33 +170,43 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_libdir}/libmmbd.so.0 %changelog -* Fri Nov 05 2021 B. Stack - 1.16.5-10 -- Update +* Fri Mar 11 2022 B. Stack - 1.16.7-10 +- Add stackrpms customization - Remove debug package -* Thu Jul 08 2021 B. Stack - 1.16.4-10 -- Update +* Tue Mar 01 2022 Simone Caronni - 1.16.7-1 +- Update to 1.16.7. + +* Tue Nov 02 2021 Simone Caronni - 1.16.5-1 +- Update to 1.16.5. + +* Tue Jul 20 2021 Simone Caronni - 1.16.4-1 +- Update to 1.16.4. + +* Fri Mar 26 2021 Simone Caronni - 1.16.3-1 +- Update to 1.16.3. +- Remove ccextractor dependency, mmccextr is a bundled stripped down version. -* Thu Apr 01 2021 B. Stack - 1.16.3-10 -- Update +* Mon Mar 15 2021 Simone Caronni - 1.16.1-1 +- Update to 1.16.1. -* Tue Dec 15 2020 B. Stack - 1.15.4-10 -- Update +* Thu Dec 17 2020 Simone Caronni - 1.15.4-1 +- Update to 1.15.4. -* Mon Oct 05 2020 B. Stack - 1.15.3-10 -- Update +* Mon Oct 12 2020 Simone Caronni - 1.15.3-1 +- Update to 1.15.3. -* Thu Jul 23 2020 B. Stack - 1.15.2-10 -- Update +* Mon Aug 17 2020 Simone Caronni - 1.15.2-1 +- Update to 1.15.2. -* Thu Apr 16 2020 B. Stack - 1.15.1-10 -- Update +* Fri Apr 24 2020 Simone Caronni - 1.15.1-1 +- Update to 1.15.1. -* Wed Dec 04 2019 B. Stack - 1.14.7-10 -- Update +* Sat Mar 07 2020 Simone Caronni - 1.15.0-1 +- Update to 1.15.0. -* Mon Nov 11 2019 B. Stack - 1.14.5-10 -- Add stackrpms customizations +* Tue Dec 17 2019 Simone Caronni - 1.14.7-1 +- Update to 1.14.7. * Thu Sep 12 2019 Simone Caronni - 1.14.5-1 - Update to 1.14.5. -- cgit