- Fix doc macros as per package review (#226641)

This commit is contained in:
Adam Jackson 2007-03-12 19:41:17 +00:00
parent 0a4010bbb3
commit 9bd9e2305f

View File

@ -10,7 +10,7 @@
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: 5%{?dist} Release: 6%{?dist}
License: MIT License: MIT
Group: Development/System Group: Development/System
URL: http://www.x.org URL: http://www.x.org
@ -80,13 +80,15 @@ 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 install -m 444 COPYING-${dir%%-*} $OLDPWD
popd popd
done done
for i in damage randr ; do
mv $RPM_BUILD_ROOT/usr/share/doc/${i}proto/${i}proto.txt .
done
# libXext still needs XLbx.h and lbxstr.h to build. The rest are junk. # libXext still needs XLbx.h and lbxstr.h to build. The rest are junk.
rm -f $RPM_BUILD_ROOT%{_includedir}/X11/extensions/lbxbuf.h \ rm -f $RPM_BUILD_ROOT%{_includedir}/X11/extensions/lbxbuf.h \
@ -101,12 +103,9 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%dir %{_docdir}/xproto %doc COPYING-*
%doc %{_docdir}/xproto/COPYING-* %doc randrproto.txt
%dir %{_docdir}/randrproto %doc damageproto.txt
%doc %{_docdir}/randrproto/randrproto.txt
%dir %{_docdir}/damageproto
%doc %{_docdir}/damageproto/damageproto.txt
%dir %{_includedir}/GL %dir %{_includedir}/GL
%{_includedir}/GL/glxint.h %{_includedir}/GL/glxint.h
%{_includedir}/GL/glxmd.h %{_includedir}/GL/glxmd.h
@ -276,6 +275,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/xproxymngproto.pc %{_libdir}/pkgconfig/xproxymngproto.pc
%changelog %changelog
* Mon Mar 12 2007 Adam Jackson <ajax@redhat.com> 7.2-6
- Fix doc macros as per package review (#226641)
* Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 7.2-5 * Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 7.2-5
- Package review cleanups (#226641) - Package review cleanups (#226641)