File xcoral.spec of Package xcoral
#
# spec file for package xcoral (Version 3.47)
#
# 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 http://bugs.opensuse.org/
#
# 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: 44
Url: http://xcoral.free.fr/
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
%description
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).
Authors:
--------
Lionel Fournigault <xcoral@free.fr>
Bruno Pages <xcoral@free.fr>
Dominique Leveque <xcoral@free.fr>
%prep
%setup -q
%patch -P 0
%patch1
%build
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=/usr --bindir=/usr/bin
make
%install
rm -rf $RPM_BUILD_ROOT
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
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Doc/*
%doc FIXES
%config(noreplace) /etc/skel/.xcoralrc
/usr/bin/xcoral
/usr/lib/xcoral
%changelog
* Wed Nov 05 2008 meissner@suse.de
- use RPM_OPT_FLAGS, fixed all check_gcc_output errors and warnings.
* Mon May 26 2008 ma@suse.de
- Version 3.47
- Fix using an outdated /etc/skel/.xcoralrc. Use the one included
in the tarball.
* Wed Dec 05 2007 ro@suse.de
- move /etc/skel/.xcoralrc here
* Fri Jan 26 2007 ma@suse.de
- Fixed array subscript out of range (#152845).
* Wed Jan 24 2007 ro@suse.de
- move from /usr/X11R6 to /usr
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Nov 08 2005 dmueller@suse.de
- don't build as root
* Wed Apr 27 2005 ro@suse.de
- build with gcc-4
* Mon Sep 15 2003 ma@suse.de
- Version 3.42b, fixes segfault when used with KDE-3.1.1.
* Mon Feb 24 2003 ma@suse.de
- Version 3.42, fixes several bugs.
* Thu Sep 19 2002 ma@suse.de
- New Version 3.40
* Tue Oct 30 2001 ma@suse.de
- fixed missing refresh of toolbar if was obscured by popup menu.
* Tue May 08 2001 mfabian@suse.de
- bzip2 sources
* Mon Mar 12 2001 uli@suse.de
- added xf86 to neededforbuild
* Tue Oct 31 2000 ma@suse.de
- removed group unsorted
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Thu Sep 09 1999 bs@suse.de
- fixed call of Check at the end of %%install section
* Mon Jan 25 1999 ma@suse.de
- Zip all "documentation.ps"
* Thu Dec 10 1998 ma@suse.de
- New Version 3.2
* Sat Sep 19 1998 ro@suse.de
- dont redeclare sys_errlist for glibc
* Wed Aug 26 1998 ma@suse.de
- New Version 3.14
- Minor fixes for window geometry handling
- Minor fixes for backspace/delete handling, documentation
updated
* Tue Oct 21 1997 ma@suse.de
- spec file provided
* Thu Jun 12 1997 hf@suse.de
New Version 3.1
Fixed the Backspace - Delete problem in sourcecode.