Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
xaw3d
xaw3d.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xaw3d.spec of Package xaw3d
# # spec file for package xaw3d # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: xaw3d BuildRequires: bison flex xorg-x11-devel License: MIT Group: System/Libraries Provides: Xaw3d AutoReqProv: on # bug437293 %ifarch ppc64 Obsoletes: xaw3d-64bit %endif # Version: 1.5E Release: 425 Summary: 3D Athena Widgets Url: http://www.visi.com/~hawkeyd/xaw3d.html Source: Xaw3d-1.5E.tar.bz2 Source2: baselibs.conf Patch: Xaw3d-1.5E.dif Patch1: Xaw3d-1.5E-secure.patch Patch2: Xaw3d-1.5E-thumb.patch Patch3: Xaw3d-1.5E-hsbar.patch Patch4: Xaw3d-1.5E-compat.patch Patch5: Xaw3d-1.5E-3Dlabel.patch Patch6: Xaw3d-1.5E-gvI18N.patch Patch7: Xaw3d-1.5E-fontset.patch Patch8: Xaw3d-1.5E-null.patch Patch9: Xaw3d-1.5E-close-destroy-crash.patch Patch10: Xaw3d-1.5E-cast.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} %if "%_exec_prefix" == "/usr/X11R6" %global _includedir %{_exec_prefix}/include %endif %description This is a library that can be used instead of the standard Athena-Widget-Library. It has tried to keep the standard of the libXaw library. There are also programs which explicitly use this library (this is the reason why the library was included). NOTE: Do NOT replace /usr/X11R6/lib/libXaw.so.6.1! Authors: -------- Kaleb S. Keithley <kaleb@x.org> Achille Hui <eillihca@drizzle.stanford.edu> Robert Withrow <witr@rwwa.com> Malcolm Strickland <chuck-strickland@orl.mmc.com> David Flanagan <david@ora.com> Jamie Zawinski <jwz@netscape.com> Frank Terhaar-Yonkers <fty@bizarre.trpnc.epa.gov> Mike Schulze <mike@cs.curtin.edu.au> Gustaf Neumann <neumann@mohegan.wi-inf.uni-essen.de> Jerry Whelan <guru@stasi.bradley.edu> Mark Rawling <mwr@mel.dit.csiro.au> Tim Theisen <tim@cs.wisc.edu> Mitch Trachtenberg <mitch@mta.com> Keith Packard <keithp@ncd.com> Dimitri P. Bouras <dimitri@ee.ubc.ca> Uri Blumenthal <uri@watson.ibm.com> Heiko Schroeder <heiko@pool.informatik.rwth-aachen.de> %package -n xaw3d-devel License: MIT Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/X11 Provides: xaw3d:/usr/include/X11/Xaw3d/Xaw3dP.h Requires: xaw3d = %{version} AutoReqProv: on # bug437293 %ifarch ppc64 Obsoletes: xaw3d-devel-64bit %endif # %description -n xaw3d-devel This package contains all necessary include files and libraries needed to develop applications that require the xaw3d library. Authors: -------- Kaleb S. Keithley <kaleb@x.org> Achille Hui <eillihca@drizzle.stanford.edu> Robert Withrow <witr@rwwa.com> Malcolm Strickland <chuck-strickland@orl.mmc.com> David Flanagan <david@ora.com> Jamie Zawinski <jwz@netscape.com> Frank Terhaar-Yonkers <fty@bizarre.trpnc.epa.gov> Mike Schulze <mike@cs.curtin.edu.au> Gustaf Neumann <neumann@mohegan.wi-inf.uni-essen.de> Jerry Whelan <guru@stasi.bradley.edu> Mark Rawling <mwr@mel.dit.csiro.au> Tim Theisen <tim@cs.wisc.edu> Mitch Trachtenberg <mitch@mta.com> Keith Packard <keithp@ncd.com> Dimitri P. Bouras <dimitri@ee.ubc.ca> Uri Blumenthal <uri@watson.ibm.com> Heiko Schroeder <heiko@pool.informatik.rwth-aachen.de> %package -n xaw3dd License: MIT Summary: 3D Athena Widgets as a Replacement for Athena Widgets Conflicts: axe Requires: xaw3d Summary: 3D Athena Widgets as a Replacement for Athena Widgets Group: Development/Libraries/X11 AutoReqProv: on %description -n xaw3dd NOTE: Do NOT replace /usr/X11R6/lib/libXaw.so.6.1. All necessary changes in /etc/ld.so.conf will be done in SuSEconfig by YaST. If any problems arise using or starting X Window System programs, remove this package and delete any remaining symbolic links in /usr/X11R6/lib/Xaw3d/. Authors: -------- Kaleb S. Keithley <kaleb@x.org> Achille Hui <eillihca@drizzle.stanford.edu> Robert Withrow <witr@rwwa.com> Malcolm Strickland <chuck-strickland@orl.mmc.com> David Flanagan <david@ora.com> Jamie Zawinski <jwz@netscape.com> Frank Terhaar-Yonkers <fty@bizarre.trpnc.epa.gov> Mike Schulze <mike@cs.curtin.edu.au> Gustaf Neumann <neumann@mohegan.wi-inf.uni-essen.de> Jerry Whelan <guru@stasi.bradley.edu> Mark Rawling <mwr@mel.dit.csiro.au> Tim Theisen <tim@cs.wisc.edu> Mitch Trachtenberg <mitch@mta.com> Keith Packard <keithp@ncd.com> Dimitri P. Bouras <dimitri@ee.ubc.ca> Uri Blumenthal <uri@watson.ibm.com> Heiko Schroeder <heiko@pool.informatik.rwth-aachen.de> %prep %setup -n xc cd lib/Xaw3d %patch1 -p0 -b .secure %patch2 -p0 -b .thumb %patch3 -p0 -b .hsbar %patch4 -p0 -b .compat %patch5 -p0 -b .3Dlab %patch6 -p0 -b .gvI18N %patch7 -p0 -b .fontset %patch8 -p3 -b .null %patch %patch9 %patch10 -p2 rm -rf laylex.c laygram.h laygram.c rm -rf exports/ mkdir -p exports/include/X11/Xaw3d mkdir -p X11 ln -sf ../exports/include/X11/Xaw3d X11/Xaw3d xmkmf -a %build cd lib/Xaw3d make %{?jobs:-j%jobs} CC='gcc -g' CCOPTIONS="$RPM_OPT_FLAGS" XAWLIBNAME=Xaw SOXAWREV=6.1 make %{?jobs:-j%jobs} CC='gcc -g' CCOPTIONS="$RPM_OPT_FLAGS" XAWLIBNAME=Xaw6 SOXAWREV=6.1 make %{?jobs:-j%jobs} CC='gcc -g' CCOPTIONS="$RPM_OPT_FLAGS" XAWLIBNAME=Xaw SOXAWREV=7.0 make %{?jobs:-j%jobs} CC='gcc -g' CCOPTIONS="$RPM_OPT_FLAGS" XAWLIBNAME=Xaw7 SOXAWREV=7.0 make %{?jobs:-j%jobs} CC='gcc -g' CCOPTIONS="$RPM_OPT_FLAGS" XAWLIBNAME=Xaw SOXAWREV=8.0 make %{?jobs:-j%jobs} CC='gcc -g' CCOPTIONS="$RPM_OPT_FLAGS" XAWLIBNAME=Xaw8 SOXAWREV=8.0 %install cd lib/Xaw3d rm -rf %{buildroot}%{_includedir}/X11/Xaw3d mkdir -p %{buildroot}%{_includedir}/X11/Xaw3d rm -rf %{buildroot}%{_includedir}/Xaw3d ln -sf X11/Xaw3d %{buildroot}%{_includedir}/Xaw3d make DESTDIR=%{buildroot} install XAWLIBNAME=Xaw SOXAWREV=6.1 make DESTDIR=%{buildroot} install XAWLIBNAME=Xaw6 SOXAWREV=6.1 make DESTDIR=%{buildroot} install XAWLIBNAME=Xaw SOXAWREV=7.0 make DESTDIR=%{buildroot} install XAWLIBNAME=Xaw7 SOXAWREV=7.0 make DESTDIR=%{buildroot} install XAWLIBNAME=Xaw SOXAWREV=8.0 make DESTDIR=%{buildroot} install XAWLIBNAME=Xaw8 SOXAWREV=8.0 make DESTDIR=%{buildroot} install.man mkdir -p %{buildroot}%{_docdir}/xaw3d install -c -m 0444 README.XAW3D %{buildroot}%{_docdir}/xaw3d rm -f %{buildroot}%{_libdir}/Xaw3d/libXaw*.so rm -f %{buildroot}%{_libdir}/Xaw3d/libXaw7.so.8* install -c -m 0444 NOTE %{buildroot}%{_docdir}/xaw3d/README.SuSE ln -sf %{_docdir}/xaw3d/README.SuSE %{buildroot}%{_libdir}/Xaw3d/NOTE # removing unwanted file rm -f %{buildroot}%{_includedir}/Xaw3d/Template.c %{__rm} -f %{buildroot}%{_libdir}/*.a # Create /etc/ld.so.conf.d/xaw3dd.conf mkdir -p %{buildroot}/etc/ld.so.conf.d cat > %{buildroot}/etc/ld.so.conf.d/xaw3dd.conf <<EOF %ifarch s390x sparc64 x86_64 ppc64 ppc /usr/lib64/Xaw3d %endif /usr/lib/Xaw3d EOF %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post -n xaw3dd -p /sbin/ldconfig %postun -n xaw3dd -p /sbin/ldconfig %files %defattr(-,root,root) %dir %{_docdir}/xaw3d %{_libdir}/libXaw3d.so.* %{_docdir}/xaw3d/README.XAW3D %files -n xaw3d-devel %defattr(-,root,root) %dir %{_includedir}/X11/Xaw3d %{_includedir}/X11/Xaw3d/*.h %{_includedir}/Xaw3d %{_libdir}/libXaw3d.so %files -n xaw3dd %defattr(-,root,root) /etc/ld.so.conf.d/xaw3dd.conf %dir %{_libdir}/Xaw3d %{_libdir}/Xaw3d/libXaw*.so.* %doc %{_libdir}/Xaw3d/NOTE %{_docdir}/xaw3d/README.SuSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor