calamares/calamares.spec

167 lines
5.5 KiB
RPMSpec

Name: calamares
Version: 1.0.1
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
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libboost-devel
BuildRequires: libgcc
BuildRequires: libparted-devel
BuildRequires: libpython3-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libyaml-cpp-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: libpolkit-qt5-1-devel
BuildRequires: libboost-devel >= 1.57.0-3mamba
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
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%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
%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.*
%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/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
* 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