File xcoral.spec of Package xcoral

# spec file for package xcoral (Version 3.47)
# Copyright (c) 2009 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

# norootforbuild

Name:           xcoral
BuildRequires:  xorg-x11 xorg-x11-devel
License:        GPL v2 or later
Group:          Productivity/Editors/Other
Provides:       xcoral21
AutoReqProv:    on
Summary:        X11 Editor with C/C++/Java Browser and lots more ;)
Version:        3.47
Release:        45
Source:         xcoral-3.47.tar.bz2
Patch0:         xcoral-3.47.configure.diff
Patch1:         xcoral-arraysubscript.patch
# !!! Uncomment BuildRoot if you don't want it.
# !!! If you want it, be carefull: we'll do a 'rm -rf {BuildRoot}'
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Half of the YaST developers swear on it, not only because of the built
in C/C++/Java browser. Xcoral provides support for the work with C,
C++, Java, Perl, Ada, and Fortran programs and for the creation of
LaTeX and HTML documents. With the help of the built in 'SMall Ansi C
Interpreter' (SMAC), xcoral can be configured and extended in almost
arbitrary ways. Examples can be found in the directory /usr/lib/xcoral.

Further information about Xcoral and SMAC is available in the detailed
online help system (also available Postscript format).

    Lionel Fournigault <>
    Bruno Pages        <>
    Dominique Leveque  <>

%setup -q

./configure --prefix=/usr --bindir=/usr/bin

mkdir -p $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/lib
make installprefix=$RPM_BUILD_ROOT install
find Doc -name '*.ps' -exec bzip2 {} \;
find Doc -name '*.pdf' -exec bzip2 {} \;
#install -D -m 644 %{S:1} $RPM_BUILD_ROOT/etc/skel/.xcoralrc
install -D -m 644 SmacLib/xcoralrc.lf $RPM_BUILD_ROOT/etc/skel/.xcoralrc


%doc	Doc/*
%doc	FIXES
%config(noreplace) /etc/skel/.xcoralrc

openSUSE Build Service is sponsored by