xinit/xinit.spec

86 lines
2.6 KiB
RPMSpec

Name: xinit
Version: 1.4.2
Release: 1mamba
Summary: xinit - X Window System initializer
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.x.org/wiki/
Source: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.xz
Source1: xinit-xinitrc
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
## AUTOBUILDREQ-END
%description
The xinit program is used to start the X Window System server and a first client program on systems that cannot start X directly from init or in environments that use multiple window systems.
When this first client exits, xinit will kill the X server and then terminate.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -d -m0755 %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d
install -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/X11/xinit
%{_sysconfdir}/X11/xinit/xinitrc
%dir %{_sysconfdir}/X11/xinit/xinitrc.d
%{_bindir}/%{name}
%{_bindir}/startx
%{_mandir}/man?/*
%doc COPYING
#ChangeLog README
%changelog
* Fri Dec 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
- update to 1.4.2
* Thu Feb 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-2mamba
- update xinitrc for kde plasma and lxqt
* Fri May 22 2020 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic update by autodist
* Mon Sep 17 2018 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic update by autodist
* Wed Sep 17 2014 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
- automatic update by autodist
* Fri Jun 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3-2mamba
- install a custom system xinitrc which tries to start the installed desktop manager
- provide directory %{_sysconfdir}/X11/xinit/xinitrc.d
* Sat Sep 14 2013 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
- automatic update by autodist
* Wed May 02 2012 Automatic Build System <autodist@mambasoft.it> 1.3.2-1mamba
- automatic version update by autodist
* Thu Aug 11 2011 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic version update by autodist
* Tue Apr 26 2011 Tiziana Ferro <tiziana.ferro@email.it> 1.3.0-1mamba
- package created by autospec