- Package review cleanups (#226641)

This commit is contained in:
Adam Jackson 2007-02-28 20:35:40 +00:00
parent 28d7506aca
commit 0a4010bbb3

View File

@ -10,8 +10,8 @@
Summary: X.Org X11 Protocol headers Summary: X.Org X11 Protocol headers
Name: xorg-x11-proto-devel Name: xorg-x11-proto-devel
Version: 7.2 Version: 7.2
Release: 4%{?dist} Release: 5%{?dist}
License: The Open Group License License: MIT
Group: Development/System Group: Development/System
URL: http://www.x.org URL: http://www.x.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -59,6 +59,7 @@ Requires(pre): xorg-x11-filesystem >= 0.99.2-3
%if ! %{build_bootstrap} %if ! %{build_bootstrap}
Requires: mesa-libGL-devel Requires: mesa-libGL-devel
%endif %endif
Requires: pkgconfig
%description %description
X.Org X11 Protocol headers X.Org X11 Protocol headers
@ -73,14 +74,17 @@ for dir in $(ls -1) ; do
pushd $dir pushd $dir
%configure %configure
make %{?_smp_mflags} make %{?_smp_mflags}
mv COPYING COPYING-${dir%%-*}
popd popd
done done
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/xproto
for dir in $(ls -1) ; do for dir in $(ls -1) ; do
pushd $dir pushd $dir
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
install -m 444 COPYING-${dir%%-*} $RPM_BUILD_ROOT/%{_docdir}/xproto
popd popd
done done
@ -97,6 +101,8 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%dir %{_docdir}/xproto
%doc %{_docdir}/xproto/COPYING-*
%dir %{_docdir}/randrproto %dir %{_docdir}/randrproto
%doc %{_docdir}/randrproto/randrproto.txt %doc %{_docdir}/randrproto/randrproto.txt
%dir %{_docdir}/damageproto %dir %{_docdir}/damageproto
@ -270,6 +276,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/xproxymngproto.pc %{_libdir}/pkgconfig/xproxymngproto.pc
%changelog %changelog
* Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 7.2-5
- Package review cleanups (#226641)
* Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 7.2-4 * Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 7.2-4
- Appease RPM. (#229336) - Appease RPM. (#229336)