calamares/calamares.spec

516 lines
19 KiB
RPMSpec

Name: calamares
Version: 3.2.55
Release: 1mamba
Summary: Distribution-independent installer framework
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/calamares/calamares
Source: https://github.com/calamares/calamares.git/v%{version}/calamares-%{version}.tar.bz2
Patch0: calamares-2.3-add_smart_package_manager_support.patch
Patch1: calamares-1.0.1-plymouth_path.patch
Patch2: calamares-1.1.2-displaymanager_fix_paths_openmamba.patch
Patch3: calamares-1.0.1-fix_reboot.patch
Patch4: calamares-3.1.11-dracut_hostonly.patch
Patch5: calamares-1.0.1-locale_use_LANG.patch
Patch6: calamares-1.0.1-replace_chroot_call.patch
Patch7: calamares-1.1.2-openmamba_autopartitioning.patch
Patch8: calamares-3.2.2-python-3.3.patch
Patch9: calamares-3.2.32.1-skip-partition-if-minsize-less-than-available-size.patch
Patch10: calamares-3.2.17.1-dont-backup-dotfiles.patch
Patch11: calamares-3.2.32.1-boost-python36-link-fix.patch
Patch12: calamares-3.2.32.1-lxqt-0.16.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Positioning-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libQt5WebChannel-devel
BuildRequires: libQt5WebEngine-devel
BuildRequires: libX11-devel
BuildRequires: libappstream-qt-devel
BuildRequires: libboost-devel
BuildRequires: libgcc
BuildRequires: libicu-devel
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libki18n-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkpackage-devel
BuildRequires: libkparts-devel
BuildRequires: libkpmcore-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libparted-devel
BuildRequires: libplasma-framework-devel
BuildRequires: libpwquality-devel
BuildRequires: libpython3-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
BuildRequires: libyaml-cpp-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
## AUTOBUILDREQ-END
BuildRequires: libyaml-cpp-devel >= 0.7.0
BuildRequires: libkpmcore-devel >= 21.08.2
BuildRequires: cmake
BuildRequires: libpolkit-qt5-1-devel
BuildRequires: libboost-devel >= 1.75.0
BuildRequires: python-boost-py3 >= 1.75.0
BuildRequires: python3
BuildRequires: python-jsonschema
#BuildRequires: libPythonQt-devel
%ifarch x86_64 %{ix86}
Requires: grub
Requires: grub-efi-x86_64
%endif
Requires: libqt5-plugins
Requires: squashfs
Requires: gptfdisk
Requires: ckbcomp
Requires: python3
Requires: python-boost-py3
Requires: python-jsonschema
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Distribution-independent installer framework.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
#-D -T
#:<< _EOF
%patch4 -p1
#%patch9 -p1
#%patch10 -p1
%patch11 -p1
%patch12 -p1
%build
#:<< _EOF
%cmake -d build \
-DWITH_PARTITIONMANAGER=ON \
-DKI18N_PYTHON_EXECUTABLE:FILEPATH=%{__python3} \
-DWITH_PYTHON=ON \
-DPYTHON_EXECUTABLE=%{__python3}
# PythonQt deprecated
# -DWITH_PYTHONQT=ON \
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
install -D -m0755 src/branding/default/squid.png %{buildroot}%{_datadir}/pixmaps/calamares.png
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_bindir}/calamares
%{_datadir}/applications/calamares.desktop
%{_datadir}/pixmaps/calamares.png
%{_datadir}/icons/hicolor/scalable/apps/calamares.svg
%dir %{_datadir}/calamares
%dir %{_datadir}/calamares/branding
%dir %{_datadir}/calamares/branding/default
%{_datadir}/calamares/branding/default/branding.desc
%{_datadir}/calamares/branding/default/*.png
%{_datadir}/calamares/branding/default/show.qml
%{_datadir}/calamares/branding/default/stylesheet.qss
%{_datadir}/calamares/branding/default/*.license
%dir %{_datadir}/calamares/branding/default/lang
%dir %{_datadir}/calamares/qml
%dir %{_datadir}/calamares/qml/calamares
%dir %{_datadir}/calamares/qml/calamares/slideshow
%{_datadir}/calamares/qml/calamares/slideshow/*
#%{_datadir}/calamares/settings.conf
%{_datadir}/polkit-1/actions/com.github.calamares.calamares.policy
%{_mandir}/man8/calamares.8*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libcalamares.so.*
%{_libdir}/libcalamaresui.so.*
#%{_libdir}/libcalapm.so
%dir %{_libdir}/calamares
%{_libdir}/calamares/libcalamares.so
%dir %{_libdir}/calamares/modules
%dir %{_libdir}/calamares/modules/bootloader
%{_libdir}/calamares/modules/bootloader/*
%dir %{_libdir}/calamares/modules/displaymanager
%{_libdir}/calamares/modules/displaymanager/*
%dir %{_libdir}/calamares/modules/dracut
%{_libdir}/calamares/modules/dracut/*
%dir %{_libdir}/calamares/modules/dracutlukscfg
%{_libdir}/calamares/modules/dracutlukscfg/*
%dir %{_libdir}/calamares/modules/dummycpp
%{_libdir}/calamares/modules/dummycpp/*
#%dir %{_libdir}/calamares/modules/dummypythonqt
#%{_libdir}/calamares/modules/dummypythonqt/*
%dir %{_libdir}/calamares/modules/dummyprocess
%{_libdir}/calamares/modules/dummyprocess/*
%dir %{_libdir}/calamares/modules/dummypython
%{_libdir}/calamares/modules/dummypython/*
%dir %{_libdir}/calamares/modules/finished
%{_libdir}/calamares/modules/finished/*
%dir %{_libdir}/calamares/modules/finishedq
%{_libdir}/calamares/modules/finishedq/*
%dir %{_libdir}/calamares/modules/fsresizer
%{_libdir}/calamares/modules/fsresizer/*
%dir %{_libdir}/calamares/modules/fstab
%{_libdir}/calamares/modules/fstab/*
%dir %{_libdir}/calamares/modules/grubcfg
%{_libdir}/calamares/modules/grubcfg/*
%dir %{_libdir}/calamares/modules/hostinfo
%{_libdir}/calamares/modules/hostinfo/*
%dir %{_libdir}/calamares/modules/hwclock
%{_libdir}/calamares/modules/hwclock/*
%dir %{_libdir}/calamares/modules/keyboard
%{_libdir}/calamares/modules/keyboard/*
%dir %{_libdir}/calamares/modules/keyboardq
%{_libdir}/calamares/modules/keyboardq/*
%dir %{_libdir}/calamares/modules/initcpio
%{_libdir}/calamares/modules/initcpio/*
%dir %{_libdir}/calamares/modules/initcpiocfg
%{_libdir}/calamares/modules/initcpiocfg/*
%dir %{_libdir}/calamares/modules/initramfs
%{_libdir}/calamares/modules/initramfs/*
%dir %{_libdir}/calamares/modules/initramfscfg
%{_libdir}/calamares/modules/initramfscfg/*
%dir %{_libdir}/calamares/modules/interactiveterminal
%{_libdir}/calamares/modules/interactiveterminal/*
%dir %{_libdir}/calamares/modules/license
%{_libdir}/calamares/modules/license/*
%dir %{_libdir}/calamares/modules/locale
%{_libdir}/calamares/modules/locale/*
%dir %{_libdir}/calamares/modules/localecfg
%{_libdir}/calamares/modules/localecfg/*
%dir %{_libdir}/calamares/modules/localeq
%{_libdir}/calamares/modules/localeq/*
%dir %{_libdir}/calamares/modules/luksbootkeyfile
%{_libdir}/calamares/modules/luksbootkeyfile/*
%dir %{_libdir}/calamares/modules/luksopenswaphookcfg
%{_libdir}/calamares/modules/luksopenswaphookcfg/*
%dir %{_libdir}/calamares/modules/machineid
%{_libdir}/calamares/modules/machineid/*
%dir %{_libdir}/calamares/modules/mount
%{_libdir}/calamares/modules/mount/*
%dir %{_libdir}/calamares/modules/netinstall
%{_libdir}/calamares/modules/netinstall/*
%dir %{_libdir}/calamares/modules/networkcfg
%{_libdir}/calamares/modules/networkcfg/*
%dir %{_libdir}/calamares/modules/notesqml
%{_libdir}/calamares/modules/notesqml/*
%dir %{_libdir}/calamares/modules/oemid
%{_libdir}/calamares/modules/oemid/*
%dir %{_libdir}/calamares/modules/packages
%{_libdir}/calamares/modules/packages/*
%dir %{_libdir}/calamares/modules/packagechooserq
%{_libdir}/calamares/modules/packagechooserq/*
%dir %{_libdir}/calamares/modules/partition
%{_libdir}/calamares/modules/partition/*
%dir %{_libdir}/calamares/modules/plasmalnf
%{_libdir}/calamares/modules/plasmalnf/*
%dir %{_libdir}/calamares/modules/plymouthcfg
%{_libdir}/calamares/modules/plymouthcfg/*
%dir %{_libdir}/calamares/modules/removeuser
%{_libdir}/calamares/modules/removeuser/*
%dir %{_libdir}/calamares/modules/summary
%{_libdir}/calamares/modules/summary/*
%dir %{_libdir}/calamares/modules/summaryq
%{_libdir}/calamares/modules/summaryq/*
%dir %{_libdir}/calamares/modules/umount
%{_libdir}/calamares/modules/umount/*
%dir %{_libdir}/calamares/modules/unpackfs
%{_libdir}/calamares/modules/unpackfs/*
%dir %{_libdir}/calamares/modules/users
%{_libdir}/calamares/modules/users/*
%dir %{_libdir}/calamares/modules/webview
%{_libdir}/calamares/modules/webview/*
%dir %{_libdir}/calamares/modules/welcome
%{_libdir}/calamares/modules/welcome/*
%dir %{_libdir}/calamares/modules/welcomeq
%{_libdir}/calamares/modules/welcomeq/*
%dir %{_libdir}/calamares/modules/contextualprocess
%{_libdir}/calamares/modules/contextualprocess/*
%dir %{_libdir}/calamares/modules/mkinitfs
%{_libdir}/calamares/modules/mkinitfs/*
%dir %{_libdir}/calamares/modules/usersq
%{_libdir}/calamares/modules/usersq/*
%dir %{_libdir}/calamares/modules/openrcdmcryptcfg
%{_libdir}/calamares/modules/openrcdmcryptcfg/*
%dir %{_libdir}/calamares/modules/packagechooser
%{_libdir}/calamares/modules/packagechooser/*
%dir %{_libdir}/calamares/modules/preservefiles/
%{_libdir}/calamares/modules/preservefiles/*
%dir %{_libdir}/calamares/modules/rawfs
%{_libdir}/calamares/modules/rawfs/*
%dir %{_libdir}/calamares/modules/services-openrc
%{_libdir}/calamares/modules/services-openrc/*
%dir %{_libdir}/calamares/modules/services-systemd
%{_libdir}/calamares/modules/services-systemd/*
%dir %{_libdir}/calamares/modules/shellprocess
%{_libdir}/calamares/modules/shellprocess/*
%dir %{_libdir}/calamares/modules/tracking
%{_libdir}/calamares/modules/tracking/*
%dir %{_libdir}/calamares/modules/zfs
%{_libdir}/calamares/modules/zfs/*
%doc AUTHORS LICENSES/*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/libcalamares
%{_includedir}/libcalamares/*.h
%dir %{_includedir}/libcalamares/geoip
%{_includedir}/libcalamares/geoip/*.h
%dir %{_includedir}/libcalamares/locale
%{_includedir}/libcalamares/locale/*.h
%dir %{_includedir}/libcalamares/modulesystem
%{_includedir}/libcalamares/modulesystem/*.h
%dir %{_includedir}/libcalamares/network
%{_includedir}/libcalamares/network/*.h
%dir %{_includedir}/libcalamares/partition
%{_includedir}/libcalamares/partition/*.h
%dir %{_includedir}/libcalamares/utils
%{_includedir}/libcalamares/utils/*.h
%dir %{_includedir}/libcalamares/viewpages
%{_includedir}/libcalamares/viewpages/*.h
%dir %{_includedir}/libcalamares/widgets
%{_includedir}/libcalamares/widgets/*.h
%dir %{_libdir}/cmake/Calamares
%{_libdir}/cmake/Calamares/Calamares*.cmake
%{_libdir}/cmake/Calamares/CMakeColors.cmake
%{_libdir}/cmake/Calamares/FindYAMLCPP.cmake
%{_libdir}/libcalamares.so
%{_libdir}/libcalamaresui.so
#%doc README.md
%changelog
* Sat Apr 16 2022 Automatic Build System <autodist@mambasoft.it> 3.2.55-1mamba
- automatic version update by autodist
* Wed Mar 23 2022 Automatic Build System <autodist@mambasoft.it> 3.2.54-1mamba
- automatic version update by autodist
* Sat Mar 05 2022 Automatic Build System <autodist@mambasoft.it> 3.2.53-1mamba
- automatic version update by autodist
* Sat Feb 26 2022 Automatic Build System <autodist@mambasoft.it> 3.2.52-1mamba
- automatic version update by autodist
* Wed Feb 02 2022 Automatic Build System <autodist@mambasoft.it> 3.2.51-1mamba
- automatic version update by autodist
* Wed Jan 19 2022 Automatic Build System <autodist@mambasoft.it> 3.2.50-1mamba
- automatic version update by autodist
* Sun Dec 12 2021 Automatic Build System <autodist@mambasoft.it> 3.2.49.1-1mamba
- automatic version update by autodist
* Sat Dec 04 2021 Automatic Build System <autodist@mambasoft.it> 3.2.48-1mamba
- automatic version update by autodist
* Wed Nov 24 2021 Automatic Build System <autodist@mambasoft.it> 3.2.47-1mamba
- automatic version update by autodist
* Thu Nov 11 2021 Automatic Build System <autodist@mambasoft.it> 3.2.46-1mamba
- automatic version update by autodist
* Mon Nov 01 2021 Automatic Build System <autodist@mambasoft.it> 3.2.45-1mamba
- automatic version update by autodist
* Thu Oct 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.44.3-2mamba
- rebuilt with libyaml-cpp 0.7.0
* Fri Oct 08 2021 Automatic Build System <autodist@mambasoft.it> 3.2.44.3-1mamba
- automatic version update by autodist
* Tue Sep 28 2021 Automatic Build System <autodist@mambasoft.it> 3.2.44.2-1mamba
- automatic version update by autodist
* Sat Sep 25 2021 Automatic Build System <autodist@mambasoft.it> 3.2.44.1-1mamba
- automatic version update by autodist
* Fri Sep 17 2021 Automatic Build System <autodist@mambasoft.it> 3.2.43-1mamba
- automatic version update by autodist
* Mon Sep 13 2021 Automatic Build System <autodist@mambasoft.it> 3.2.42-1mamba
- automatic version update by autodist
* Fri Aug 06 2021 Automatic Build System <autodist@mambasoft.it> 3.2.41.1-1mamba
- automatic version update by autodist
* Sun Aug 01 2021 Automatic Build System <autodist@mambasoft.it> 3.2.41-1mamba
- automatic version update by autodist
* Wed Jul 14 2021 Automatic Build System <autodist@mambasoft.it> 3.2.40-1mamba
- automatic version update by autodist
* Tue Apr 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.39.3-2mamba
- rebuilt by autoport with build requirements: libkpmcore-devel>=21.04.0-1mamba--buildreqlibkpmcore-devel>=21.04.0-1mamba
* Thu Apr 15 2021 Automatic Build System <autodist@mambasoft.it> 3.2.39.3-1mamba
- automatic version update by autodist
* Wed Apr 07 2021 Automatic Build System <autodist@mambasoft.it> 3.2.39.2-1mamba
- automatic version update by autodist
* Thu Apr 01 2021 Automatic Build System <autodist@mambasoft.it> 3.2.39.1-1mamba
- automatic version update by autodist
* Sun Mar 21 2021 Automatic Build System <autodist@mambasoft.it> 3.2.39-1mamba
- automatic version update by autodist
* Sat Mar 20 2021 Automatic Build System <autodist@mambasoft.it> 3.2.38.1-1mamba
- automatic version update by autodist
* Wed Mar 17 2021 Automatic Build System <autodist@mambasoft.it> 3.2.38-1mamba
- automatic version update by autodist
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 3.2.37-1mamba
- automatic version update by autodist
* Tue Feb 09 2021 Automatic Build System <autodist@mambasoft.it> 3.2.36-1mamba
- automatic version update by autodist
* Tue Jan 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.35.1-1mamba
- update to 3.2.35.1
* Sat Nov 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.34-1mamba
- update to 3.2.34
- lxqt: patched to configure startlxqt instead of lxqt-session in login manager
* Sat Nov 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.32.1-2mamba
- rebuilt with updated skip-partition-if-minsize-less-than-available-size and fix for python 3.7
* Sat Nov 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.32.1-1mamba
- update to 3.2.32.1
* Sat May 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.24-1mamba
- update to 3.2.24
* Sat Dec 21 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.17.1-1mamba
- update to 3.2.17.1
- added a patch to remove making a backup of home dotfiles in case of partition reuse
* Sat Oct 12 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.15-2mamba
- added a patch to skip creating a partition if minSize is less than available size (for /home)
* Sat Oct 12 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.15-1mamba
- update to 3.2.15
* Sat Oct 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.14-1mamba
- update to 3.2.14
* Mon Sep 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.13-2mamba
- rebuilt with libkpmcore3 as it does not work with 4.0
* Mon Sep 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.13-1mamba
- update to 3.2.13
* Sun Jun 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.10-2mamba
- fixed build with python 3.6
* Sun Jun 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.10-1mamba
- update to 3.2.10
* Sun Sep 23 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.2-2mamba
- rebuilt with python 3.3 patch
* Sun Sep 23 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.2-1mamba
- update to 3.2.2
* Mon Jan 01 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.11-3mamba
- added patch to use pythonlib 3.3 instead of python binary to run python scripts
* Sun Dec 31 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.11-2mamba
- require ckbcomp for keyboard module
* Sun Dec 24 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.11-1mamba
- update to 3.1.11
* Thu Jul 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3-1mamba
- update to 2.3
* Sat Jun 18 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.4.2-3mamba
- rebuilt
* Fri Jan 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.4.2-2mamba
- rebuilt
* Wed Dec 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.4.2-1mamba
- update to 1.1.4.2
* Sun Sep 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-2mamba
- require gptfdisk
* Mon Aug 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-1mamba
- update to 1.1.2
* Thu May 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-8mamba
- added openmamba automatic partitioning patch
* Sat Mar 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-7mamba
- add upstream patch to fix error in chroot_call in EFI installation
- require grub and grub-efi-x86_64
* Fri Feb 20 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-6mamba
- fix for kdm detection in displaymanager patch
- patch to fix reboot by not using /bin/sh
- patch to read locale from LANG
* Thu Feb 19 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-5mamba
- patch packages module to support smart package manager
- patch to fix plymouth path in grubcfg module for openmamba
- patch to fix path in displaymanager module for openmamba
- install icon for desktop file
* Sat Feb 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-4mamba
- rebuilt with WITH_PARTITIONMANAGER=ON
* Fri Feb 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-3mamba
- rebuilt with kde5 dependencies for partition module
* Wed Feb 04 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-2mamba
- rebuilt with python3-boost
* Tue Feb 03 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
- package created using the webbuild interface