Репозитории ALT
S: | 1.33-alt3MR33 |
5.1: | 1.33-alt3MR33 |
4.1: | 1.33-alt3MR33 |
4.0: | 1.33-alt2MR33 |
3.0: | 1.33-alt2MR33 |
Группа :: Разработка/C++
Пакет: pccts
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and 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
…
Полный changelog можно просмотреть здесь
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
…
Полный changelog можно просмотреть здесь