342 lines
12 KiB
RPMSpec
342 lines
12 KiB
RPMSpec
Name: calamares
|
|
Version: 3.2.10
|
|
Release: 2mamba
|
|
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
|
|
## GITSOURCE https://github.com/calamares/calamares.git v1.0.1
|
|
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
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libQt5WebEngine-devel
|
|
BuildRequires: libatasmart-devel
|
|
BuildRequires: libblkid-devel
|
|
BuildRequires: libboost-devel
|
|
BuildRequires: libgcc
|
|
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: libkxmlgui-devel
|
|
BuildRequires: libparted-devel
|
|
BuildRequires: libplasma-framework-devel
|
|
BuildRequires: libpwquality-devel
|
|
BuildRequires: libpython36-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libsonnet-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libyaml-cpp-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
BuildRequires: libpolkit-qt5-1-devel
|
|
BuildRequires: libboost-devel >= 1.57.0-3mamba
|
|
BuildRequires: libkpmcore-devel >= 4.0.0
|
|
BuildRequires: python36
|
|
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: python36
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%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
|
|
%patch8 -p1
|
|
|
|
sed -i "s|PYTHONLIBS_VERSION 3.3|PYTHONLIBS_VERSION 3.6|" CMakeLists.txt
|
|
|
|
%build
|
|
#:<< _EOF
|
|
%cmake -d build \
|
|
-DWITH_PARTITIONMANAGER=ON \
|
|
-DKI18N_PYTHON_EXECUTABLE:FILEPATH=%{__python36} \
|
|
-DWITH_PYTHON=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/languages.png
|
|
%{_datadir}/calamares/branding/default/show.qml
|
|
%{_datadir}/calamares/branding/default/squid.png
|
|
%{_datadir}/calamares/branding/default/stylesheet.qss
|
|
%dir %{_datadir}/calamares/branding/default/lang
|
|
#%dir %{_datadir}/calamares/modules
|
|
#%{_datadir}/calamares/modules/*.conf
|
|
%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/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/hwclock
|
|
%{_libdir}/calamares/modules/hwclock/*
|
|
%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/luksbootkeyfile
|
|
%{_libdir}/calamares/modules/luksbootkeyfile/*
|
|
%dir %{_libdir}/calamares/modules/luksopenswaphookcfg
|
|
%{_libdir}/calamares/modules/luksopenswaphookcfg/*
|
|
%dir %{_libdir}/calamares/modules/keyboard
|
|
%{_libdir}/calamares/modules/keyboard/*
|
|
%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/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/oemid
|
|
%{_libdir}/calamares/modules/oemid/*
|
|
%dir %{_libdir}/calamares/modules/packages
|
|
%{_libdir}/calamares/modules/packages/*
|
|
%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/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/contextualprocess
|
|
%{_libdir}/calamares/modules/contextualprocess/*
|
|
%dir %{_libdir}/calamares/modules/openrcdmcryptcfg
|
|
%{_libdir}/calamares/modules/openrcdmcryptcfg/*
|
|
%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/*
|
|
%doc AUTHORS LICENSE
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libcalamares
|
|
%{_includedir}/libcalamares/*.h
|
|
%dir %{_includedir}/libcalamares/kdsingleapplicationguard
|
|
%{_includedir}/libcalamares/kdsingleapplicationguard/*.h
|
|
%dir %{_includedir}/libcalamares/utils
|
|
%{_includedir}/libcalamares/utils/*.h
|
|
%dir %{_libdir}/cmake/Calamares
|
|
%{_libdir}/cmake/Calamares/Calamares*.cmake
|
|
%{_libdir}/cmake/Calamares/CMakeColors.cmake
|
|
%{_libdir}/libcalamares.so
|
|
%{_libdir}/libcalamaresui.so
|
|
#%doc README.md
|
|
|
|
|
|
%changelog
|
|
* 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
|