Sisyphus repositório
Última atualização: 1 junho 2020 | SRPMs: 17568 | Visitas: 18679062
en ru br
ALT Linux repositórios
S:2.2-alt1

Group :: Desenvolvimento/Outros
RPM: gnucobol

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: gnucobol
Version: 2.2
Release: alt1

Summary: GnuCOBOL (formely Open COBOL) - COBOL compiler

License: GPLv2+ and LGPLv2+
Group: Development/Other
Url: http://www.opencobol.org

Packager: Ilya Mashkin <oddity at altlinux.ru>

# Source: http://downloads.sourceforge.net/%name/%name-%version.tar.gz

# Source-url: https://ftp.gnu.org/gnu/gnucobol/gnucobol-%version.tar.xz
Source: %name-%version.tar

# Automatically added by buildreq on Wed Jun 06 2012

# optimized out: libtinfo-devel
BuildRequires: libdb4-devel libgmp-devel libncurses-devel help2man

Requires: libcob = %version-%release
Obsoletes: libcob-devel < %version
# explicitly added texinfo for info files
BuildRequires: texinfo

Provides: open-cobol = %version-%release
Obsoletes: open-cobol < %version

%description
GnuCOBOL is an open-source COBOL compiler, which translates COBOL
programs to C code and compiles it using GCC.

%package -n libcob
Summary: GnuCOBOL runtime library
License: LGPLv2+
Group: Development/Other

%description -n libcob
GnuCOBOL is an open-source COBOL compiler, which translates COBOL
programs to C code and compiles it using GCC.

This package contains GnuCOBOL runtime library.

%prep
%setup
# hack to work around break -frecord-gcc-switches
subst 's!/-g/!/-g /!' ./configure.ac
%autoreconf

%build
%add_optflags %optflags_shared
%configure --disable-rpath --disable-static --enable-debug
# get rid of RPATH
#sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' libtool

%make_build || %make

%install
%makeinstall_std

%find_lang %name

%check
%make_build -k check

%files -f %name.lang
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
%_bindir/cobc
%_bindir/cob-config
%_bindir/cobcrun
%_datadir/gnucobol/
%_infodir/gnucobol.info*
%_includedir/*
%_libdir/libcob.so
%dir %_libdir/gnucobol/
%_libdir/gnucobol/CBL_OC_DUMP.so
%_man1dir/*

%files -n libcob
%doc COPYING.LESSER
%_libdir/libcob.so.*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009