INFO: Cobcy.spec

Wojciech "Sas" Cieciwa cieciwa w alpha.zarz.agh.edu.pl
Śro, 16 Wrz 1998, 12:18:12 CEST


Summary: Cobol compiler 
Summary(pl): Kompilator COBOLu
Name: cobcy
Version: 0.2
Release: 1
Copyright: GPL
Group: Languages
Source: cobcy-0.2.tar.gz
Patch: adtlib.diff
Patch1:hexv.diff
Buildroot: /tmp/%{name}-%{version}-root

%description
Cobcy is a free (GPL) cobol compiler. It compiles cobol code into
frequently messy, but readable C (confusion is mostly due to long 
variable names). Turning wrapping off while viewing helps a lot.
Current capabilities include a lot of basic COBOL, but several features,
like arrays, strings, and record-record MOVEs are still missing.

%description -l pl
Cobcy jest darmowa wersja kompilatora cobolu.
Aktualna wersja dziala poprawnie dla prostych operacji, ale niektore
bardziej skomplikowane jak tablice, lancuchy, przemieszczenia recordow
ciagle sa nieudostepnione.

%package example
Summary: Exampler for Cobcy compiler.
Summary(pl): Przyklady dla kompilatora Cobcy 
Requires: %name
Group: Languages/Example
%description example
Example for Cobcy.

%description -l pl example
Przyklady dla kompilatora Cobcy

%prep
%setup -q -n %name
%patch -p1 -b .orig
%patch1 -p1 -b .orig

%build
./configure --prefix=/usr
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" depend
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
strip cobcy
cd hexv
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" depend
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
strip hexv

%install
install -d $RPM_BUILD_ROOT/usr/bin
install -d $RPM_BUILD_ROOT/usr/lib/%name/example

cp cobcy $RPM_BUILD_ROOT/usr/bin
cp cobol $RPM_BUILD_ROOT/usr/bin
cp hexv/hexv $RPM_BUILD_ROOT/usr/bin
cp -R tests/* $RPM_BUILD_ROOT/usr/lib/%name/example

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/%name

%files
%doc CODE.STY README docs/*
%defattr(644, root, root, 755)
/usr/bin/cobol
/usr/bin/cobcy
/usr/bin/hexv

%files example
%defattr(644, root, root, 755)
/usr/lib/%name/*

%changelog
* Wed Aug 16 1998 Wojciech "Sas" Cieciwa <cieciwa w alpha.zarz.agh.edu.pl>
- building RPM.



=============================================================================
  UNIX System Administrator, POLAND
      _/_/_/_/ _/_/_/_/  _/_/_/_/     Wojciech 'Sas' Cieciwa
     _/       _/    _/  _/                   
    _/_/_/_/ _/_/_/_/  _/_/_/_/     cieciwa w alpha.zarz.agh.edu.pl
         _/ _/    _/        _/     sas w uci.agh.edu.pl                 
  _/_/_/_/ _/    _/  _/_/_/_/                 
		http://alpha.zarz.agh.edu.pl/~cieciwa




Więcej informacji o liście dyskusyjnej pld-devel-pl