Name: blenderbim Version: 0.2 Release: 1%{?dist} Summary: Blender BIM add-on desktop files License: GPLv2+ URL: https://blenderbim.org/ BuildArch: noarch Source0: blenderbim.sh Source1: blenderbim.png Source2: blenderbim.desktop Source3: blenderbim.xml Source4: x-ifc_128x128.png Source5: x-ifc_512x512.png BuildRequires: desktop-file-utils Requires: IfcOpenShell-blenderbim shared-mime-info %description BlenderBIM is a graphical IFC editor and authoring package %prep %build %install mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/128x128/apps mkdir -p %{buildroot}/%{_datadir}/applications mkdir -p %{buildroot}/%{_datadir}/mime/packages mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/128x128/mimetypes mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/512x512/mimetypes cp %{SOURCE0} %{buildroot}%{_bindir}/ chmod +x %{buildroot}%{_bindir}/* cp %{SOURCE1} %{buildroot}/%{_datadir}/icons/hicolor/128x128/apps/ cp %{SOURCE2} %{buildroot}/%{_datadir}/applications/ cp %{SOURCE3} %{buildroot}/%{_datadir}/mime/packages/ cp %{SOURCE4} %{buildroot}/%{_datadir}/icons/hicolor/128x128/mimetypes/x-ifc.png cp %{SOURCE5} %{buildroot}/%{_datadir}/icons/hicolor/512x512/mimetypes/x-ifc.png desktop-file-install --vendor="" --delete-original \ --dir=%{buildroot}/%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/%{name}.desktop %files %{_bindir}/%{name}.sh %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/*/mimetypes/* %{_datadir}/mime/packages/*.xml %changelog * Thu Sep 15 2022 Bruno Postle 0.2-1 - * Mon Sep 12 2022 Bruno Postle 0.1-1 - * Sun Sep 11 2022 Bruno Postle 0.0-1 -