- no longer package anything, since libs are now packaged
seperately ==> dummy package OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-libs?expand=0&rev=187
This commit is contained in:
parent
e30b00b33c
commit
9bf0e5d21e
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 9 14:28:07 UTC 2012 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- no longer package anything, since libs are now packaged
|
||||||
|
seperately ==> dummy package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 7 16:58:55 UTC 2012 - sndirsch@suse.com
|
Tue Feb 7 16:58:55 UTC 2012 - sndirsch@suse.com
|
||||||
|
|
||||||
|
@ -17,9 +17,11 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
%define dummy 1
|
||||||
|
|
||||||
Name: xorg-x11-libs
|
Name: xorg-x11-libs
|
||||||
BuildRequires: fdupes fontconfig-devel freetype2-devel gperf libXi6-devel libexpat-devel libtool libxslt pkgconfig xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libXext-devel xorg-x11-libXfixes-devel xorg-x11-libXmu-devel xorg-x11-libXp-devel xorg-x11-libXpm-devel xorg-x11-libXprintUtil-devel xorg-x11-libXrender-devel xorg-x11-libXt-devel xorg-x11-libXv-devel xorg-x11-libfontenc-devel xorg-x11-libxkbfile-devel xorg-x11-proto-devel xorg-x11-util-devel xorg-x11-xtrans-devel
|
BuildRequires: fdupes fontconfig-devel freetype2-devel gperf libXi6-devel libexpat-devel libtool libxslt pkgconfig xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libXext-devel xorg-x11-libXfixes-devel xorg-x11-libXmu-devel xorg-x11-libXp-devel xorg-x11-libXpm-devel xorg-x11-libXprintUtil-devel xorg-x11-libXrender-devel xorg-x11-libXt-devel xorg-x11-libXv-devel xorg-x11-libfontenc-devel xorg-x11-libxkbfile-devel xorg-x11-proto-devel xorg-x11-util-devel xorg-x11-xtrans-devel
|
||||||
|
%if !%{dummy}
|
||||||
%ifarch ppc64 s390x x86_64
|
%ifarch ppc64 s390x x86_64
|
||||||
Provides: libXaw.so.8()(64bit) libXaw.so.7()(64bit) libXaw.so.6()(64bit)
|
Provides: libXaw.so.8()(64bit) libXaw.so.7()(64bit) libXaw.so.6()(64bit)
|
||||||
Provides: libXaw8.so.8()(64bit) libXaw7.so.7()(64bit) libXaw6.so.6()(64bit)
|
Provides: libXaw8.so.8()(64bit) libXaw7.so.7()(64bit) libXaw6.so.6()(64bit)
|
||||||
@ -27,6 +29,7 @@ Provides: libXaw8.so.8()(64bit) libXaw7.so.7()(64bit) libXaw6.so.6()(64bit
|
|||||||
Provides: libXaw.so.8 libXaw.so.7 libXaw.so.6
|
Provides: libXaw.so.8 libXaw.so.7 libXaw.so.6
|
||||||
Provides: libXaw8.so.8 libXaw7.so.7 libXaw6.so.6
|
Provides: libXaw8.so.8 libXaw7.so.7 libXaw6.so.6
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: xorg-x11-libs-64bit
|
Obsoletes: xorg-x11-libs-64bit
|
||||||
@ -99,6 +102,7 @@ to develop X11 applications that require these.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -T -c %{name}
|
%setup -q -T -c %{name}
|
||||||
|
%if !%{dummy}
|
||||||
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
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
@ -112,8 +116,12 @@ popd
|
|||||||
pushd libXfont-*
|
pushd libXfont-*
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
popd
|
popd
|
||||||
|
%else
|
||||||
|
touch dummy
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if !%{dummy}
|
||||||
for dir in $(ls); do
|
for dir in $(ls); do
|
||||||
pushd $dir
|
pushd $dir
|
||||||
case $dir in
|
case $dir in
|
||||||
@ -129,8 +137,10 @@ for dir in $(ls); do
|
|||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if !%{dummy}
|
||||||
for dir in $(ls); do
|
for dir in $(ls); do
|
||||||
pushd $dir
|
pushd $dir
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
@ -159,6 +169,7 @@ done
|
|||||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||||
%endif
|
%endif
|
||||||
%fdupes -s $RPM_BUILD_ROOT/%_mandir
|
%fdupes -s $RPM_BUILD_ROOT/%_mandir
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
rm -rf "$RPM_BUILD_ROOT"
|
||||||
@ -169,12 +180,19 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%if %{dummy}
|
||||||
|
%doc dummy
|
||||||
|
%else
|
||||||
/usr/include/X11/bitmaps/
|
/usr/include/X11/bitmaps/
|
||||||
/usr/include/X11/pixmaps/
|
/usr/include/X11/pixmaps/
|
||||||
/usr/%{_lib}/*.so.*
|
/usr/%{_lib}/*.so.*
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n xorg-x11-devel
|
%files -n xorg-x11-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%if %{dummy}
|
||||||
|
%doc dummy
|
||||||
|
%else
|
||||||
%doc /usr/share/doc/*
|
%doc /usr/share/doc/*
|
||||||
/usr/include/X11/*.h
|
/usr/include/X11/*.h
|
||||||
/usr/include/X11/Xaw/
|
/usr/include/X11/Xaw/
|
||||||
@ -194,5 +212,6 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
%doc %{_datadir}/doc/libXvMC/
|
%doc %{_datadir}/doc/libXvMC/
|
||||||
%doc %{_datadir}/doc/libXaw/
|
%doc %{_datadir}/doc/libXaw/
|
||||||
%doc %{_datadir}/doc/libFS/
|
%doc %{_datadir}/doc/libFS/
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user