Name: rom-properties Version: 2.3 Release: 1%{?dist} Summary: File browser extension for managing video game ROM and disc images License: GPLv2 URL: https://github.com/KyleGospo/%{name} Source: https://github.com/GerbilSoft/rom-properties/archive/refs/tags/v%{version}.tar.gz Patch0: no_tests.patch Patch1: no_zlibng.patch Patch2: defaults.patch Requires: curl Requires: zlib Requires: libpng Requires: libjpeg-turbo Requires: nettle Requires: tinyxml2 Requires: libseccomp Requires: %{name}-common = %{version}-%{release} Requires: %{name}-thumbnailer-dbus = %{version}-%{release} Requires: %{name}-utils = %{version}-%{release} Recommends: lz4 Recommends: lzo BuildRequires: systemd-rpm-macros BuildRequires: cmake BuildRequires: gcc BuildRequires: g++ BuildRequires: pkgconf BuildRequires: gettext-devel BuildRequires: libseccomp-devel BuildRequires: libcurl-devel BuildRequires: nettle-devel BuildRequires: zlib-devel BuildRequires: lz4-devel BuildRequires: lzo-devel BuildRequires: libzstd-devel BuildRequires: tinyxml2-devel BuildRequires: libpng-devel BuildRequires: libjpeg-turbo-devel BuildRequires: gsound-devel BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qttools BuildRequires: extra-cmake-modules BuildRequires: kf6-kio-devel BuildRequires: kf6-kwidgetsaddons-devel BuildRequires: kf6-kfilemetadata-devel BuildRequires: glib2-devel BuildRequires: gtk4-devel BuildRequires: gdk-pixbuf2-devel BuildRequires: nautilus-devel BuildRequires: gsound-devel BuildRequires: gtk3-devel BuildRequires: cairo-devel BuildRequires: Thunar-devel %global debug_package %{nil} %description This shell extension adds a few nice features to file browsers for managing video game ROM and disc images. %prep %autosetup -p1 -n %{name}-%{version} %build %cmake %cmake_build %install %cmake_install kbuildsycoca6 --noincremental rm -rf %{buildroot}%{_sysconfdir}/apparmor.d rm -rf %{buildroot}%{_prefix}/lib/debug %files %license %{_defaultdocdir}/%{name}/LICENSE %doc %{_defaultdocdir}/%{name}/NETWORK.md %doc %{_defaultdocdir}/%{name}/COMPILING.md %doc %{_defaultdocdir}/%{name}/README.md %doc %{_defaultdocdir}/%{name}/NEWS.md %doc %{_defaultdocdir}/%{name}/keys.conf.example %doc %{_defaultdocdir}/%{name}/rom-properties.conf.example %{_libdir}/libromdata.* %package cli Summary: CLI tools for rom-properties Requires: %{name}%{?_isa} = %{version}-%{release} %description cli %{summary} %files cli %{_bindir}/rpcli %package common Summary: Common files for rom-properties Requires: %{name}%{?_isa} = %{version}-%{release} BuildArch: noarch %description common %{summary} %files common %{_datadir}/%{name}/amiibo-data.bin %{_datadir}/applications/com.gerbilsoft.rom-properties.rp-config.desktop %{_datadir}/metainfo/com.gerbilsoft.rom-properties.metainfo.xml %{_datadir}/mime/packages/rom-properties.xml %{_datarootdir}/locale/*/LC_MESSAGES/rom-properties.mo %package gtk3 Summary: GTK3/4 integration for rom-properties Requires: %{name}%{?_isa} = %{version}-%{release} %description gtk3 %{summary} %files gtk3 %{_libdir}/nautilus/extensions-3.0/rom-properties-gtk3.so %{_libdir}/nautilus/extensions-4/rom-properties-gtk4.so %{_libdir}/caja/extensions-2.0/rom-properties-gtk3.so %{_libdir}/nemo/extensions-3.0/rom-properties-gtk3.so %{_libdir}/thunarx-3/rom-properties-gtk3.so %package kf6 Summary: KDE6 integration for rom-properties Requires: %{name}%{?_isa} = %{version}-%{release} %description kf6 %{summary} %files kf6 %{_datadir}/kio/servicemenus/rp-convert-to-png.desktop %{_libdir}/qt6/plugins/kf6/thumbcreator/rom-properties-kf6.so %{_libdir}/qt6/plugins/kf6/propertiesdialog/xattrview-kf6.so %{_libdir}/qt6/plugins/kf6/kfilemetadata/kfilemetadata_rom-properties-kf6.so %{_libdir}/qt6/plugins/kf6/overlayicon/overlayiconplugin_rom-properties-kf6.so %{_libdir}/qt6/plugins/kf6/propertiesdialog/rom-properties-kf6.so %package xfce Summary: XFCE integration for rom-properties Requires: %{name}%{?_isa} = %{version}-%{release} %description xfce %{summary} %files xfce %{_libdir}/thunarx-2/rom-properties-xfce.so %package thumbnailer-dbus Summary: Dbus service for rom-properties Requires: %{name}%{?_isa} = %{version}-%{release} %description thumbnailer-dbus %{summary} %files thumbnailer-dbus %{_bindir}/rp-thumbnailer-dbus %{_datadir}/dbus-1/services/com.gerbilsoft.rom-properties.SpecializedThumbnailer1.service %{_datadir}/thumbnailers/com.gerbilsoft.rom-properties.SpecializedThumbnailer1.service %package utils Summary: utils for rom-properties Requires: %{name}%{?_isa} = %{version}-%{release} %description utils %{summary} %files utils %{_libexecdir}/rp-download %{_libexecdir}/rp-thumbnail %{_datadir}/thumbnailers/rom-properties.thumbnailer %{_bindir}/rp-stub %{_bindir}/rp-config %changelog