Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Utilities
xview
xview.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xview.spec of Package xview
# # spec file for package xview # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 Tomasz Konojacki # # 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/ # Summary: XView toolkit and applications License: SUSE-Freeware Group: System/Libraries Name: xview Version: 3.2p1.4 Release: 0 Source: %{name}_%{version}.orig.tar.gz Source1: clock.desktop Source2: cmdtool.desktop Source3: props.desktop Source4: shelltool.desktop Source5: textedit.desktop Source6: openwin.sh Source7: openwin.csh Source8: baselibs.conf Patch1: xview-debian.patch Patch2: xview-buildsystem.patch Patch3: olvwm-hints.patch Patch4: xview-return.patch Patch5: xview-unimplemented.patch Patch6: shelltool-mouse.patch Patch7: clock-24hour.patch Patch8: olvwm-menu.patch Patch101: xview-cfree.patch Patch102: olvwm-regex.patch Patch103: wait-status.patch Patch104: xview-rpc.patch Patch105: xview-build32bit.patch Patch106: xview-strerror.patch Patch107: xview-multiple-def.patch Patch108: xview-read-lseek-type.patch BuildRequires: bison BuildRequires: flex BuildRequires: imake BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXpm-devel BuildRequires: libXt-devel BuildRequires: ncurses-devel ## see comment below at patch104 BuildRequires: libtirpc-devel BuildRequires: update-desktop-files Obsoletes: xview < %version-%release %description XView is a widget toolkit which implements OPEN LOOK specification. It comes with ol(v)wm window manager and with a few tools. %package devel Summary: XView include files and libraries necessary for development Group: Development/Libraries/X11 Requires: xview = %version Provides: xview-devel = %version-%release Obsoletes: xview-devel < %version-%release %description devel This package provides the include files and libraries necessary for developing XView applications. %prep %setup -n xview-3.2p1.4 %patch -P 1 -p1 %patch -P 2 -p1 %patch -P 3 -p1 %patch -P 4 -p1 %patch -P 5 -p1 %patch -P 6 -p1 %patch -P 7 -p1 %patch -P 8 -p1 %patch -P 101 -p1 %patch -P 102 -p1 %patch -P 103 -p1 ## rpc was deprecated in glibc long ago, but made available with flag ## --enable-obsolete-rpc, which was used in opensuse up to 15.2, ## leap 15.0, 15.1, 15.2 have glibc 2.26 with --enable-obsolete-rpc, ## flag dropped in glibc 2.32 ## apparently flag was not used in tumbleweed %if %{?pkg_vcmp:%pkg_vcmp glibc > 2.26}%{!?pkg_vcmp:0} %patch -P 104 -p1 %endif %patch -P 105 -p1 %if %{?pkg_vcmp:%pkg_vcmp glibc >= 2.32}%{!?pkg_vcmp:0} %patch -P 106 -p1 %endif %patch -P 107 -p1 %patch -P 108 -p1 cp -p %SOURCE6 . cp -p %SOURCE7 . %build _DESTDIR_=%{buildroot} OPENWINHOME=/usr X11DIR=/usr/share/X11 __LIB__=%{_lib} EXTRA_CCFLAGS=-fpermissive bash Build-LinuxXView.bash libs clients contrib olvwm %install rm -rf %{buildroot} _DESTDIR_=%{buildroot} OPENWINHOME=/usr X11DIR=/usr/share/X11 __LIB__=%{_lib} bash Build-LinuxXView.bash instlibs instclients instcontrib instolvwm instfinish %suse_update_desktop_file -i clock Utility clock %suse_update_desktop_file -i cmdtool Utility TerminalEmulator %suse_update_desktop_file -i props Utility DesktopSettings %suse_update_desktop_file -i shelltool Utility TerminalEmulator %suse_update_desktop_file -i textedit Utility TextEditor mkdir -p %{buildroot}/%{_sysconfdir}/profile.d install -m a+r -t %{buildroot}/%{_sysconfdir}/profile.d openwin.sh install -m a+r -t %{buildroot}/%{_sysconfdir}/profile.d openwin.csh chmod +x %{buildroot}/%{_libdir}/xview/*.sed %post /sbin/ldconfig %postun /sbin/ldconfig %files %doc README README.LinuxELF README.X11R6 LEGAL_NOTICE %{_datadir}/applications/* %{_libdir}/*.so.3 %{_libdir}/*.so.3.2.4 %{_libdir}/xview %{_usr}/share/doc/* %{_usr}/share/locale/* %{_usr}/share/openwin %{_usr}/share/man/man1/* %{_usr}/bin/* %{_sysconfdir}/openwin %{_sysconfdir}/profile.d/* %files devel %{_usr}/share/X11/config/* %{_usr}/share/xview %{_usr}/include/* %{_libdir}/*.a %{_libdir}/*.so %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