- Package review cleanups (#226641)
This commit is contained in:
parent
28d7506aca
commit
0a4010bbb3
@ -10,8 +10,8 @@
|
||||
Summary: X.Org X11 Protocol headers
|
||||
Name: xorg-x11-proto-devel
|
||||
Version: 7.2
|
||||
Release: 4%{?dist}
|
||||
License: The Open Group License
|
||||
Release: 5%{?dist}
|
||||
License: MIT
|
||||
Group: Development/System
|
||||
URL: http://www.x.org
|
||||
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}
|
||||
Requires: mesa-libGL-devel
|
||||
%endif
|
||||
Requires: pkgconfig
|
||||
|
||||
%description
|
||||
X.Org X11 Protocol headers
|
||||
@ -73,14 +74,17 @@ for dir in $(ls -1) ; do
|
||||
pushd $dir
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
mv COPYING COPYING-${dir%%-*}
|
||||
popd
|
||||
done
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/xproto
|
||||
for dir in $(ls -1) ; do
|
||||
pushd $dir
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
install -m 444 COPYING-${dir%%-*} $RPM_BUILD_ROOT/%{_docdir}/xproto
|
||||
popd
|
||||
done
|
||||
|
||||
@ -97,6 +101,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_docdir}/xproto
|
||||
%doc %{_docdir}/xproto/COPYING-*
|
||||
%dir %{_docdir}/randrproto
|
||||
%doc %{_docdir}/randrproto/randrproto.txt
|
||||
%dir %{_docdir}/damageproto
|
||||
@ -270,6 +276,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/pkgconfig/xproxymngproto.pc
|
||||
|
||||
%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
|
||||
- Appease RPM. (#229336)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user