added new package - xorg-x11-server-source
This commit is contained in:
parent
f672535fa1
commit
aeec5f922e
@ -9,7 +9,7 @@
|
|||||||
Summary: X.Org X11 X server
|
Summary: X.Org X11 X server
|
||||||
Name: xorg-x11-server
|
Name: xorg-x11-server
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
License: MIT/X11
|
License: MIT/X11
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
@ -237,6 +237,12 @@ outside of the standard X11 source code tree. Developers writing video
|
|||||||
drivers, input drivers, or other X modules should install this package.
|
drivers, input drivers, or other X modules should install this package.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%package source
|
||||||
|
Summary: Xserver source code required to build VNC server (Xvnc)
|
||||||
|
Group: Development/Libraries
|
||||||
|
|
||||||
|
%description source
|
||||||
|
Xserver source code needed to build VNC server (Xvnc)
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkgname}-%{version}
|
%setup -q -n %{pkgname}-%{version}
|
||||||
@ -333,6 +339,29 @@ mkdir -p $RPM_BUILD_ROOT%{_libdir}/xorg/modules/{drivers,input}
|
|||||||
}
|
}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%define xserver_source_dir %{_datadir}/xorg-x11-server-source
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{xserver_source_dir}
|
||||||
|
cp cpprules.in $RPM_BUILD_ROOT/%{xserver_source_dir}
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{xserver_source_dir}/Xext
|
||||||
|
cp Xext/SecurityPolicy $RPM_BUILD_ROOT/%{xserver_source_dir}/Xext
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{xserver_source_dir}/xkb
|
||||||
|
cp xkb/README.compiled $RPM_BUILD_ROOT/%{xserver_source_dir}/xkb
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{xserver_source_dir}/GL
|
||||||
|
cp GL/symlink-mesa.sh $RPM_BUILD_ROOT/%{xserver_source_dir}/GL
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{xserver_source_dir}/hw/xfree86
|
||||||
|
cp hw/xfree86/xorgconf.cpp $RPM_BUILD_ROOT/%{xserver_source_dir}/hw/xfree86
|
||||||
|
cp hw/xfree86/Options $RPM_BUILD_ROOT/%{xserver_source_dir}/hw/xfree86
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{xserver_source_dir}/hw/xfree86/common
|
||||||
|
cp hw/xfree86/common/vesamodes $RPM_BUILD_ROOT/%{xserver_source_dir}/hw/xfree86/common
|
||||||
|
cp hw/xfree86/common/extramodes $RPM_BUILD_ROOT/%{xserver_source_dir}/hw/xfree86/common
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{xserver_source_dir}/hw/xfree86/utils/xorgconfig/
|
||||||
|
cp hw/xfree86/utils/xorgconfig/Cards $RPM_BUILD_ROOT/%{xserver_source_dir}/hw/xfree86/utils/xorgconfig/
|
||||||
|
cp hw/xfree86/utils/xorgconfig/Cards98 $RPM_BUILD_ROOT/%{xserver_source_dir}/hw/xfree86/utils/xorgconfig/
|
||||||
|
|
||||||
|
find . -type f | egrep '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl)$' |
|
||||||
|
xargs tar cf - --mode a=r |
|
||||||
|
(cd $RPM_BUILD_ROOT/%{xserver_source_dir} && tar xf -)
|
||||||
|
|
||||||
# FIXME: Remove unwanted files/dirs
|
# FIXME: Remove unwanted files/dirs
|
||||||
{
|
{
|
||||||
rm -f $RPM_BUILD_ROOT%{_bindir}/xorgconfig
|
rm -f $RPM_BUILD_ROOT%{_bindir}/xorgconfig
|
||||||
@ -566,8 +595,15 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/aclocal/xorg-server.m4
|
%{_datadir}/aclocal/xorg-server.m4
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files source
|
||||||
|
%{xserver_source_dir}
|
||||||
|
%defattr(-, root, root, -)
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 26 2007 Adam Tkac <atkac@redhat.com> 1.2.0-9
|
||||||
|
- created new package (xorg-x11-server-source) which is needed to build VNC server
|
||||||
|
|
||||||
* Fri Feb 23 2007 Adam Jackson <ajax@redhat.com> 1.2.0-8
|
* Fri Feb 23 2007 Adam Jackson <ajax@redhat.com> 1.2.0-8
|
||||||
- xserver-1.2.0-proper-randr-version.patch: Report the RANDR version we
|
- xserver-1.2.0-proper-randr-version.patch: Report the RANDR version we
|
||||||
actually implement, instead of the version defined by the protocol headers.
|
actually implement, instead of the version defined by the protocol headers.
|
||||||
|
Loading…
Reference in New Issue
Block a user