SPECS: libXau.spec - with x11 bcond (no xproto req's, instead X11-...
Jakub Bogusz
qboosh w pld-linux.org
Pią, 20 Sie 2004, 23:18:02 CEST
On Fri, Aug 20, 2004 at 07:14:00PM +0000, djurban wrote:
> Author: djurban Date: Fri Aug 20 19:14:00 2004 GMT
> Module: SPECS Tag: HEAD
> ---- Log message:
> - with x11 bcond (no xproto req's, instead X11-devel)
> - am 1.9 patch
> - drop libtool
> - if with bcond dont package static (in X11) and Xauth.h (in X11)
> -BuildRequires: xproto
> +%{!?with_x11:BuildRequires:xproto}
> +%{?with_x11:BuildRequires:X11-devel}
> BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
>
> %define _prefix /usr/X11R6
> @@ -30,7 +33,7 @@
> Summary(pl): Biblioteka Xau - pliki dla programistów
> Group: X11/Development/Libraries
> Requires: %{name} = %{version}-%{release}
> -Requires: xproto
> +%{!?with_x11:Requires: xproto}
> Conflicts: XFree86-devel < 1:4.4.0-0.3
>
> %description devel
> @@ -54,6 +57,7 @@
>
> %prep
> %setup -q
> +%patch0 -p1
>
> %build
> %{__aclocal}
> @@ -85,13 +89,16 @@
> %files devel
> %defattr(644,root,root,755)
> %attr(755,root,root) %{_libdir}/libXau.so
> -%{_libdir}/libXau.la
> -%{_includedir}/X11/Xauth.h
> +#{_libdir}/libXau.la
> +%{?without_x11:%{_includedir}/X11/Xauth.h}
> %{_pkgconfigdir}/xau.pc
I co to ma niby dać?
libXau z xlibs, X.org i XFree86 to _zamienniki_.
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
Więcej informacji o liście dyskusyjnej pld-devel-pl