%define gittag %(echo %version | cut -d. -f5) Name: silicon Version: 2.0.0.20200531git.43b2621 Release: 1mamba Summary: Silicon Empire is set of tools to Burn, Copy, Backup, Manage and more, your optical discs like CDs, DVDs and Blu-Rays Group: Graphical Desktop/Applications/Utilities Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/realbardia/silicon Source: https://github.com/realbardia/silicon.git/master@%{gittag}/silicon-%{version}.tar.bz2 #Source: http://getsilicon.org/download/silicon-%{version}-src.tar.gz Patch0: silicon-1.8.1-gcc-5.3.patch Patch1: silicon-2.0.0.20200531git.43b2621-gcc-12.2.0.patch Patch2: silicon-2.0.0.20200531git.43b2621-missing_QPainterPath_include.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libglvnd-devel BuildRequires: libstdc++6-devel BuildRequires: libtag-devel BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: libtag-devel >= 1.9.1 %debug_package %description Silicon Empire is set of tools to Burn, Copy, Backup, Manage and … your optical discs like CDs, DVDs and Blu-Rays. When you start working with silicon Empire Just feels everything done easily and quickly with high quality. You Burn, Copy, Mount and … your discs in few clicks and short time %global __provides_exclude_from ^%{_libdir}/%{name}/.*$ # Don't clean build at the end %global __spec_rmbuild_cmd /bin/true %prep %setup -q #-D -T #:<< _EOF #%patch0 -p1 %patch1 -p1 -b .gcc-12.2.0 %patch2 -p1 %build #:<< _EOF %_qt5_qmake %make -j1 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -d -m0755 %{buildroot}%{_libdir} cp -Rp ../build/lib/* %{buildroot}%{_libdir} cp -Rp ../build/bin %{buildroot}%{_prefix} cp -Rp ../build/share %{buildroot}%{_prefix} mkdir -p %{buildroot}/%{_datadir}/pixmaps/ mv %{buildroot}/usr/share/silicon/icons/silicon.png %{buildroot}/%{_datadir}/pixmaps/ mkdir -p %{buildroot}/%{_datadir}/applications cp Silicon/files/Silicon.desktop %{buildroot}/%{_datadir}/applications/silicon.desktop #rm -f %{buildroot}%{_libdir}/%{name}/plugins/libSingleInnerDialogQML.so #rm -f %{buildroot}%{_libdir}/%{name}/plugins/libHal* #rm -f %{buildroot}%{_libdir}/%{name}/plugins/libmpg321* rm -f %{buildroot}%{_libdir}/libsdatabase.so rm -f %{buildroot}%{_libdir}/libsidi.so rm -f %{buildroot}%{_libdir}/libsilicon.so %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/silicon %{_bindir}/silicon_rootmount %{_libdir}/libsdatabase.so.* %{_libdir}/libsidi.so.* %{_libdir}/libsilicon.so.* %dir %{_libdir}/silicon %dir %{_libdir}/silicon/apps %{_libdir}/silicon/apps/lib*.so* %{_libdir}/silicon/plugins/lib*.so* %{_datadir}/applications/silicon.desktop %{_datadir}/pixmaps/silicon.png %{_datadir}/silicon/languages/*.qm %{_datadir}/silicon/themes/*/*.png %{_datadir}/silicon/themes/*/theme.css %doc COPYING COPYING.LESSER %changelog * Mon Mar 13 2023 Silvan Calarco 2.0.0.20200531git.43b2621-1mamba - update to 2.0.0.20200531git.43b2621 * Tue Dec 29 2015 Silvan Calarco 1.8.1-2mamba - mass rebuild with libtag 1.9.1 * Sun Apr 29 2012 Ercole 'ercolinux' Carpanetto 1.8.1-1mamba - package created by autospec