Silvan Calarco
2529743bfc
patch to fix reboot by not using /bin/sh patch to read locale from LANG [release 1.0.1-6mamba;Fri Feb 20 2015]
217 lines
7.4 KiB
RPMSpec
217 lines
7.4 KiB
RPMSpec
Name: calamares
|
|
Version: 1.0.1
|
|
Release: 6mamba
|
|
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
|
|
Source1: https://github.com/calamares/partitionmanager.git/calamares/partitionmanager-%{version}.tar.bz2
|
|
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
|
|
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
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: kconfig-devel
|
|
BuildRequires: libatasmart-devel
|
|
BuildRequires: libblkid-devel
|
|
BuildRequires: libboost-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libkcoreaddons-devel
|
|
BuildRequires: libki18n-devel
|
|
BuildRequires: libparted-devel
|
|
BuildRequires: libpython3-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libsolid-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
|
|
Requires: libqt5-plugins
|
|
Requires: squashfs
|
|
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 -a1
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
%patch3 -p1
|
|
%patch4 -p1
|
|
%patch5 -p1
|
|
|
|
rmdir src/modules/partition/partitionmanager
|
|
mv partitionmanager-%{version} src/modules/partition/partitionmanager
|
|
|
|
%build
|
|
%cmake -d build \
|
|
-DWITH_PARTITIONMANAGER=ON
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
install -D -m0755 src/branding/default/squid.png %{buildroot}%{_datadir}/pixmaps/calamares.png
|
|
|
|
%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
|
|
%{_datadir}/pixmaps/calamares.png
|
|
%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.*
|
|
%{_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/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/*
|
|
%dir %{_libdir}/calamares/modules/partition
|
|
%{_libdir}/calamares/modules/partition/*
|
|
%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
|
|
* 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
|