File cmsfs.spec of Package cmsfs

# spec file for package cmsfs (Version 1.1.8)
# Copyright (c) 2008 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

Name:           cmsfs
Version:        1.1.8
Release:        5
Summary:        CMS Filesystem driver and utility
Group:          System/Filesystems
License:        GPL v2 or later
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch0:         %{name}-%{version}-linux26.patch
Patch1:         %{name}-%{version}-mandir.patch
Patch2:         %{name}-cflags.patch
Patch3:         %{name}-sanitize.patch
ExclusiveArch:  s390 s390x

The CMS Filesystem package allows access to CMS files on CMS minidisks
that are owned or linked by a Linux/390 guest on z/VM. The CMS minidisk
must not reside in a z/VM SFS pool.

The RPM only contains the user mode (non kernel) utility.

    Rick Troth <>

%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1

./configure --mandir=/usr/share/man
make clean
make all
make doc

make PREFIX=$RPM_BUILD_ROOT/usr MANDIR=$RPM_BUILD_ROOT/usr/share/man install
rm $RPM_BUILD_ROOT/usr/lib/libcmsfs.a


* Wed Oct 15 2008
- added missing exclusivearch
* Mon Apr 14 2008
- fixed doc permissions
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Mon Dec 12 2005
- package created, based on version 1.1.8