2005-08-29 06:52:37 +00:00
|
|
|
%define pkgname xinit
|
|
|
|
|
|
|
|
Summary: X.Org X11 X Window System xinit startup scripts
|
|
|
|
Name: xorg-x11-%{pkgname}
|
2006-01-31 15:31:51 +00:00
|
|
|
Version: 1.0.1
|
2005-12-16 18:55:15 +00:00
|
|
|
Release: 1
|
2005-08-29 06:52:37 +00:00
|
|
|
License: MIT/X11
|
|
|
|
Group: User Interface/X
|
|
|
|
URL: http://www.x.org
|
2005-11-23 02:25:56 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2005-12-16 18:55:15 +00:00
|
|
|
Source0: http://xorg.freedesktop.org/releases/X11R7.0-RC4/everything/%{pkgname}-%{version}.tar.bz2
|
2005-11-01 01:49:40 +00:00
|
|
|
Source10: xinitrc-common
|
|
|
|
Source11: xinitrc
|
|
|
|
Source12: Xclients
|
|
|
|
Source13: Xmodmap
|
|
|
|
Source14: Xresources
|
|
|
|
Source15: xinput.sh
|
2005-11-23 02:25:56 +00:00
|
|
|
# NOTE: Xsession is used by xdm/kdm/gdm and possibly others, so we keep it
|
|
|
|
# here instead of the xdm package.
|
2005-11-13 06:22:11 +00:00
|
|
|
Source16: Xsession
|
2005-08-29 06:52:37 +00:00
|
|
|
|
2005-10-06 03:49:49 +00:00
|
|
|
BuildRequires: libX11-devel
|
2005-11-23 02:25:56 +00:00
|
|
|
# NOTE: startx needs xauth in order to run, but that is not picked up
|
|
|
|
# automatically by rpm. (Bug #173684)
|
|
|
|
Requires: xauth
|
2005-08-29 06:52:37 +00:00
|
|
|
|
|
|
|
# NOTE: xinit, startx moved to xorg-x11-xinit during the X.Org X11R7
|
|
|
|
# modularization. These Conflicts lines ensure upgrades work smoothly.
|
|
|
|
Conflicts: XFree86, xorg-x11
|
|
|
|
|
2005-11-01 01:49:40 +00:00
|
|
|
# NOTE: Most of the xinitrc scripts/config files are now in xorg-x11-xinit,
|
2005-11-23 02:25:56 +00:00
|
|
|
# so the xinitrc package became unnecessary. The xdm configs/scripts move
|
|
|
|
# to the xdm package.
|
2005-11-01 01:49:40 +00:00
|
|
|
Obsoletes: xinitrc
|
|
|
|
|
2005-08-29 06:52:37 +00:00
|
|
|
%description
|
|
|
|
X.Org X11 X Window System xinit startup scripts
|
|
|
|
|
|
|
|
%prep
|
2005-11-12 00:28:09 +00:00
|
|
|
%setup -q -n %{pkgname}-%{version}
|
2005-08-29 06:52:37 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
# FIXME: Upstream should default to XINITDIR being this. Make a patch to
|
|
|
|
# Makefile.am and submit it in a bug report or check into CVS.
|
|
|
|
make XINITDIR=/etc/X11/xinit
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
# FIXME: Upstream should default to XINITDIR being this. Make a patch to
|
|
|
|
# Makefile.am and submit it in a bug report or check into CVS.
|
|
|
|
%makeinstall XINITDIR=$RPM_BUILD_ROOT/etc/X11/xinit
|
|
|
|
|
2005-11-01 01:49:40 +00:00
|
|
|
# Install Red Hat custom xinitrc, etc.
|
|
|
|
{
|
2005-11-13 06:22:11 +00:00
|
|
|
for script in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE16} ; do
|
2005-11-01 01:49:40 +00:00
|
|
|
install -m 755 $script $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/${script##*/}
|
|
|
|
done
|
|
|
|
|
|
|
|
install -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/X11/Xmodmap
|
|
|
|
install -m 644 %{SOURCE14} $RPM_BUILD_ROOT%{_sysconfdir}/X11/Xresources
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d
|
|
|
|
install -m 755 %{SOURCE15} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/xinput.sh
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/Xclients.d
|
|
|
|
}
|
|
|
|
|
2005-08-29 06:52:37 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc
|
|
|
|
%dir %{_bindir}
|
|
|
|
%{_bindir}/startx
|
|
|
|
%{_bindir}/xinit
|
|
|
|
%dir %{_sysconfdir}/X11
|
|
|
|
%dir %{_sysconfdir}/X11/xinit
|
2005-11-01 01:49:40 +00:00
|
|
|
%{_sysconfdir}/X11/xinit/xinitrc
|
|
|
|
%{_sysconfdir}/X11/xinit/xinitrc-common
|
|
|
|
%config(noreplace) %{_sysconfdir}/X11/Xmodmap
|
|
|
|
%config(noreplace) %{_sysconfdir}/X11/Xresources
|
|
|
|
%dir %{_sysconfdir}/X11/xinit/Xclients.d
|
|
|
|
%{_sysconfdir}/X11/xinit/Xclients
|
2005-11-13 06:24:22 +00:00
|
|
|
%{_sysconfdir}/X11/xinit/Xsession
|
2005-11-01 01:49:40 +00:00
|
|
|
%dir %{_sysconfdir}/X11/xinit/xinitrc.d
|
|
|
|
%{_sysconfdir}/X11/xinit/xinitrc.d/*
|
2005-08-29 06:52:37 +00:00
|
|
|
%dir %{_mandir}
|
2005-12-16 18:55:15 +00:00
|
|
|
%dir %{_mandir}/man1
|
|
|
|
%{_mandir}/man1/startx.1x*
|
|
|
|
%{_mandir}/man1/xinit.1x*
|
2005-08-29 06:52:37 +00:00
|
|
|
|
|
|
|
%changelog
|
2006-01-31 15:31:51 +00:00
|
|
|
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
|
|
|
|
- Updated to xinit 1.0.1 from X11R7.0
|
|
|
|
|
2005-12-16 18:55:15 +00:00
|
|
|
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
|
|
|
|
- Updated to xinit 1.0.0 from X11R7 RC4.
|
|
|
|
- Changed manpage dir from man1x to man1 to match upstream default.
|
|
|
|
|
2005-11-23 02:25:56 +00:00
|
|
|
* Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-6
|
|
|
|
- Add "Requires: xauth" for startx, to fix bug (#173684)
|
|
|
|
|
|
|
|
* Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.3-5
|
|
|
|
- Do not provide xinit anymore, gdm has been fixed and that breaks things
|
|
|
|
with the obsoletes
|
2005-11-14 22:42:10 +00:00
|
|
|
|
2005-11-13 06:22:11 +00:00
|
|
|
* Sat Nov 12 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-4
|
|
|
|
- Added Xsession script from xinitrc, as it is very similar codebase, which
|
|
|
|
shares "xinitrc-common" anyway, and all of the display managers use it.
|
|
|
|
|
|
|
|
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-3
|
2005-11-12 00:28:09 +00:00
|
|
|
- Updated to xinit 0.99.3 from X11R7 RC2.
|
|
|
|
|
2005-11-07 21:41:52 +00:00
|
|
|
* Mon Nov 7 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
|
|
|
|
- Added "Provides: xinitrc = 5.0.0-1" for temporary compatibility between
|
|
|
|
monolithic and modular X. This will be removed however for FC5.
|
|
|
|
|
2005-11-01 01:49:40 +00:00
|
|
|
* Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
|
2005-11-01 01:57:24 +00:00
|
|
|
- Import custom Red Hat xinit scripts from xinitrc package.
|
|
|
|
- Obsolete xinitrc package, as we include the scripts/configs here now.
|
|
|
|
- Fix all scripts/configs to avoid the now obsolete /usr/X11R6 prefix.
|
2005-11-01 01:49:40 +00:00
|
|
|
|
2005-11-01 00:09:33 +00:00
|
|
|
* Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
|
|
|
|
- Updated to xinit 0.99.2 from X11R7 RC1.
|
|
|
|
- Change manpage location to 'man1x' in file manifest.
|
|
|
|
|
2005-10-06 03:49:49 +00:00
|
|
|
* Wed Oct 5 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
|
|
|
|
- Use Fedora-Extras style BuildRoot tag.
|
|
|
|
- Update BuildRequires to use new library package names.
|
|
|
|
- Tidy up spec file a bit.
|
|
|
|
|
2005-08-29 06:52:37 +00:00
|
|
|
* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
|
|
|
|
- Initial build.
|