2024-01-05 21:03:40 +01:00
|
|
|
Name: calamares
|
|
|
|
Version: 1.0.1
|
2024-01-05 21:03:40 +01:00
|
|
|
Release: 8mamba
|
2024-01-05 21:03:40 +01:00
|
|
|
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
|
2024-01-05 21:03:40 +01:00
|
|
|
Source1: https://github.com/calamares/partitionmanager.git/calamares/partitionmanager-%{version}.tar.bz2
|
2024-01-05 21:03:40 +01:00
|
|
|
Patch0: calamares-1.0.1-add_smart_package_manager_support.patch
|
|
|
|
Patch1: calamares-1.0.1-plymouth_path.patch
|
|
|
|
Patch2: calamares-1.0.1-displaymanager_fix_paths_openmamba.patch
|
2024-01-05 21:03:40 +01:00
|
|
|
Patch3: calamares-1.0.1-fix_reboot.patch
|
|
|
|
Patch4: calamares-1.0.1-dracut_hostonly.patch
|
|
|
|
Patch5: calamares-1.0.1-locale_use_LANG.patch
|
2024-01-05 21:03:40 +01:00
|
|
|
Patch6: calamares-1.0.1-replace_chroot_call.patch
|
2024-01-05 21:03:40 +01:00
|
|
|
Patch7: calamares-1.0.1-openmamba_autopartitioning.patch
|
2024-01-05 21:03:40 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 21:03:40 +01:00
|
|
|
BuildRequires: kconfig-devel
|
|
|
|
BuildRequires: libatasmart-devel
|
|
|
|
BuildRequires: libblkid-devel
|
2024-01-05 21:03:40 +01:00
|
|
|
BuildRequires: libboost-devel
|
2024-01-05 21:03:40 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-05 21:03:40 +01:00
|
|
|
BuildRequires: libkcoreaddons-devel
|
|
|
|
BuildRequires: libki18n-devel
|
2024-01-05 21:03:40 +01:00
|
|
|
BuildRequires: libparted-devel
|
2024-01-05 21:03:40 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 21:03:40 +01:00
|
|
|
BuildRequires: libqt5-devel
|
2024-01-05 21:03:40 +01:00
|
|
|
BuildRequires: libsolid-devel
|
2024-01-05 21:03:40 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 21:03:40 +01:00
|
|
|
BuildRequires: libuuid-devel
|
2024-01-05 21:03:40 +01:00
|
|
|
BuildRequires: libyaml-cpp-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: libpolkit-qt5-1-devel
|
2024-01-05 21:03:40 +01:00
|
|
|
BuildRequires: libboost-devel >= 1.57.0-3mamba
|
2024-01-05 21:03:40 +01:00
|
|
|
%ifarch x86_64 %{ix86}
|
|
|
|
Requires: grub
|
|
|
|
Requires: grub-efi-x86_64
|
|
|
|
%endif
|
2024-01-05 21:03:40 +01:00
|
|
|
Requires: libqt5-plugins
|
|
|
|
Requires: squashfs
|
2024-01-05 21:03:40 +01:00
|
|
|
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
|
2024-01-05 21:03:40 +01:00
|
|
|
%setup -q -a1
|
2024-01-05 21:03:40 +01:00
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
2024-01-05 21:03:40 +01:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
2024-01-05 21:03:40 +01:00
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
2024-01-05 21:03:40 +01:00
|
|
|
%patch6 -p1
|
2024-01-05 21:03:40 +01:00
|
|
|
%patch7 -p1
|
2024-01-05 21:03:40 +01:00
|
|
|
|
|
|
|
rmdir src/modules/partition/partitionmanager
|
2024-01-05 21:03:40 +01:00
|
|
|
mv partitionmanager-%{version} src/modules/partition/partitionmanager
|
2024-01-05 21:03:40 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 21:03:40 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DWITH_PARTITIONMANAGER=ON
|
|
|
|
|
2024-01-05 21:03:40 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-01-05 21:03:40 +01:00
|
|
|
install -D -m0755 src/branding/default/squid.png %{buildroot}%{_datadir}/pixmaps/calamares.png
|
|
|
|
|
2024-01-05 21:03:40 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/calamares
|
|
|
|
%{_datadir}/applications/calamares.desktop
|
2024-01-05 21:03:40 +01:00
|
|
|
%{_datadir}/pixmaps/calamares.png
|
2024-01-05 21:03:40 +01:00
|
|
|
%dir %{_datadir}/calamares
|
|
|
|
%dir %{_datadir}/calamares/branding
|
|
|
|
%dir %{_datadir}/calamares/branding/default
|
|
|
|
%{_datadir}/calamares/branding/default/*
|
|
|
|
%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
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libcalamares.so.*
|
|
|
|
%{_libdir}/libcalamaresui.so.*
|
2024-01-05 21:03:40 +01:00
|
|
|
%{_libdir}/libcalapm.so
|
2024-01-05 21:03:40 +01:00
|
|
|
%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/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/fstab
|
|
|
|
%{_libdir}/calamares/modules/fstab/*
|
|
|
|
%dir %{_libdir}/calamares/modules/greeting
|
|
|
|
%{_libdir}/calamares/modules/greeting/*
|
|
|
|
%dir %{_libdir}/calamares/modules/grub
|
|
|
|
%{_libdir}/calamares/modules/grub/*
|
|
|
|
%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/keyboard
|
|
|
|
%{_libdir}/calamares/modules/keyboard/*
|
|
|
|
%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/networkcfg
|
|
|
|
%{_libdir}/calamares/modules/networkcfg/*
|
|
|
|
%dir %{_libdir}/calamares/modules/packages
|
|
|
|
%{_libdir}/calamares/modules/packages/*
|
2024-01-05 21:03:40 +01:00
|
|
|
%dir %{_libdir}/calamares/modules/partition
|
|
|
|
%{_libdir}/calamares/modules/partition/*
|
2024-01-05 21:03:40 +01:00
|
|
|
%dir %{_libdir}/calamares/modules/prepare
|
|
|
|
%{_libdir}/calamares/modules/prepare/*
|
|
|
|
%dir %{_libdir}/calamares/modules/services
|
|
|
|
%{_libdir}/calamares/modules/services/*
|
|
|
|
%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/*
|
|
|
|
%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}/libcalamares.so
|
|
|
|
%{_libdir}/libcalamaresui.so
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:03:40 +01:00
|
|
|
* Thu May 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-8mamba
|
|
|
|
- added openmamba automatic partitioning patch
|
|
|
|
|
2024-01-05 21:03:40 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 21:03:40 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 21:03:40 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 21:03:40 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 21:03:40 +01:00
|
|
|
* Wed Feb 04 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-2mamba
|
|
|
|
- rebuilt with python3-boost
|
|
|
|
|
2024-01-05 21:03:40 +01:00
|
|
|
* Tue Feb 03 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
|
|
|
|
- package created using the webbuild interface
|