Accepting request 37664 from X11:XOrg
checked in (request 37664) OBS-URL: https://build.opensuse.org/request/show/37664 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-libs?expand=0&rev=131
This commit is contained in:
parent
f7f66dc476
commit
fd50c0b120
@ -1,9 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Sun Apr 11 16:40:46 CEST 2010 - sndirsch@suse.de
|
|
||||||
|
|
||||||
- libxtrap-pcfix.patch --> libXTrap-pcfix.diff
|
|
||||||
- specfile cleanup
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 5 07:11:20 CEST 2010 - sndirsch@suse.de
|
Mon Apr 5 07:11:20 CEST 2010 - sndirsch@suse.de
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ Source90: baselibs.conf
|
|||||||
Patch2: libXft-2.1.7-lcd-filter-2.patch
|
Patch2: libXft-2.1.7-lcd-filter-2.patch
|
||||||
Patch5: libxkbui.diff
|
Patch5: libxkbui.diff
|
||||||
Patch10: libXxf86misc-xcb.diff
|
Patch10: libXxf86misc-xcb.diff
|
||||||
Patch21: libXTrap-pcfix.diff
|
Patch21: libxtrap-pcfix.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the remaining X.Org libraries.
|
This package contains the remaining X.Org libraries.
|
||||||
@ -219,7 +219,9 @@ Authors:
|
|||||||
%setup -q -T -c %{name}
|
%setup -q -T -c %{name}
|
||||||
for i in $RPM_SOURCE_DIR/*.tar.bz2; do tar xjf $i; done
|
for i in $RPM_SOURCE_DIR/*.tar.bz2; do tar xjf $i; done
|
||||||
pushd libXft-*/src
|
pushd libXft-*/src
|
||||||
|
%if %suse_version > 1010
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%endif
|
||||||
popd
|
popd
|
||||||
pushd libxkbui-*
|
pushd libxkbui-*
|
||||||
%patch5
|
%patch5
|
||||||
@ -232,30 +234,35 @@ pushd libXTrap-*
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
for dir in $(ls); do
|
for dir in xbitmaps-* $(ls | grep -v -e xbitmaps); do
|
||||||
pushd $dir
|
pushd $dir
|
||||||
case $dir in
|
option=""; echo $dir | grep -q libXvMC && option="--sysconfdir=/etc"
|
||||||
libXvMC-*) option="--sysconfdir=/etc" ;;
|
case $dir in
|
||||||
libvnc*|libXcliplist*) autoreconf -fi ;;
|
*)
|
||||||
*) ;;
|
echo $dir | grep -q -E "libvnc|libXcliplist" && autoreconf -fi
|
||||||
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
|
%configure \
|
||||||
|
%if %suse_version > 1110
|
||||||
|
--disable-static \
|
||||||
|
%endif
|
||||||
|
--with-pic --enable-type1 ${option}
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
||||||
%configure \
|
|
||||||
--disable-static \
|
|
||||||
--with-pic --enable-type1 ${option}
|
|
||||||
%{__make} %{?jobs:-j%jobs}
|
%{__make} %{?jobs:-j%jobs}
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
|
||||||
%install
|
%install
|
||||||
for dir in $(ls); do
|
for dir in xbitmaps-* $(ls | grep -v xbitmap); do
|
||||||
pushd $dir
|
pushd $dir
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
/sbin/ldconfig -n $RPM_BUILD_ROOT/usr/%_lib
|
/sbin/ldconfig -n $RPM_BUILD_ROOT/usr/%_lib
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/include/X11/pixmaps/
|
mkdir -p $RPM_BUILD_ROOT/usr/include/X11/pixmaps/
|
||||||
|
%if %suse_version > 1110
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||||
|
%endif
|
||||||
# already in libXext now (same version)
|
# already in libXext now (same version)
|
||||||
rm $RPM_BUILD_ROOT/usr/include/X11/extensions/lbxbuf.h
|
rm $RPM_BUILD_ROOT/usr/include/X11/extensions/lbxbuf.h
|
||||||
rm $RPM_BUILD_ROOT/usr/include/X11/extensions/lbxbufstr.h
|
rm $RPM_BUILD_ROOT/usr/include/X11/extensions/lbxbufstr.h
|
||||||
@ -270,6 +277,10 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%pre -n xorg-x11-devel
|
||||||
|
test -L usr/include/X11 && rm usr/include/X11
|
||||||
|
exit 0
|
||||||
|
|
||||||
%post -n libpciaccess0 -p /sbin/ldconfig
|
%post -n libpciaccess0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libpciaccess0 -p /sbin/ldconfig
|
%postun -n libpciaccess0 -p /sbin/ldconfig
|
||||||
@ -297,8 +308,13 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
/usr/include/xcb/
|
/usr/include/xcb/
|
||||||
/usr/%{_lib}/*.so
|
/usr/%{_lib}/*.so
|
||||||
%exclude /usr/%{_lib}/libpciaccess.so
|
%exclude /usr/%{_lib}/libpciaccess.so
|
||||||
|
%if %suse_version <= 1110
|
||||||
|
/usr/%{_lib}/*.a
|
||||||
|
/usr/%{_lib}/*.la
|
||||||
|
%endif
|
||||||
/usr/%{_lib}/pkgconfig/*.pc
|
/usr/%{_lib}/pkgconfig/*.pc
|
||||||
%exclude /usr/%{_lib}/pkgconfig/pciaccess.pc
|
%exclude /usr/%{_lib}/pkgconfig/pciaccess.pc
|
||||||
|
#/usr/share/aclocal/*.m4
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
%dir %{_datadir}/doc/libXvMC
|
%dir %{_datadir}/doc/libXvMC
|
||||||
|
Loading…
Reference in New Issue
Block a user