Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37561944
en ru br
ALT Linux repositórios
S:1.33-alt3MR33
5.0: 1.33-alt3MR33
4.1: 1.33-alt3MR33
4.0: 1.33-alt2MR33
3.0: 1.33-alt2MR33

Group :: Desenvolvimento/C++
RPM: pccts

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define minor_release MR33

Name: pccts
Version: 1.33
Release: alt2%minor_release

Summary: The Purdue Compiler-Construction Tools Set
License: Public Domain
Group: Development/C++

Url: http://www.polhode.com/pccts.html
Packager: Yuri N. Sedunov <aris at altlinux.ru>

Source: http://www.polhode.com/%{name}133mr.zip
Patch: %name-1.33-alt-makefile.patch

# Automatically added by buildreq on Fri Feb 13 2004

BuildRequires: unzip

%description
The Purdue Compiler-Construction Tools Set

%package devel
Summary: Headers for pccts
Group: Development/C++
Requires: %name = %version-%release

%description devel
Header files required to compile programs using pccts.

%prep
%setup -q -n %name
%patch -p1

%build
%make_build COPT="$RPM_OPT_FLAGS"

%install
%__install -d %buildroot{%_bindir,%_man1dir,%_includedir/%name,%_sysconfdir/profile.d}
%__rm -f bin/empty.txt
%__install -m755 bin/* %buildroot%_bindir/
%__install -m644 h/* %buildroot%_includedir/%name/
%__install -m644 antlr/antlr.1 dlg/dlg.1 %buildroot%_man1dir/

# we need PCCTS environment variable.

cat << __SH__ >%name.sh
PCCTS="%_includedir/%name"
export PCCTS
__SH__

cat << __CSH__ >%name.csh
setenv PCCTS "%_includedir/%name"
__CSH__

%__install -m755 %name.sh %name.csh %buildroot%_sysconfdir/profile.d/

%post devel
echo 'Please logout first before using PCCTS.'

%files
%_bindir/*
%_man1dir/*
%doc README RIGHTS

%files devel
%_includedir/%name
%_sysconfdir/profile.d/*
%doc NOTES* *.txt *.ps MPW_Read_Me

%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