automatic version update by autodist [release 3.0.0-1mamba;Thu Dec 10 2015]
This commit is contained in:
parent
cc911e5858
commit
34823734dd
23
fpc.spec
23
fpc.spec
@ -1,5 +1,5 @@
|
||||
Name: fpc
|
||||
Version: 2.6.4
|
||||
Version: 3.0.0
|
||||
Release: 1mamba
|
||||
Summary: A Turbo Pascal 7.0 and Delphi compatible 32bit Pascal Compiler
|
||||
Group: Applications/Development
|
||||
@ -12,6 +12,7 @@ License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: dos2unix
|
||||
Requires(post): %{__install_info}
|
||||
Requires(preun): %{__install_info}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
@ -38,15 +39,29 @@ if [ ! -e %{_bindir}/fpc ]; then
|
||||
echo `pwd`/../bootstrap | ./install.sh
|
||||
fi
|
||||
|
||||
dos2unix ./fpcsrc/compiler/utils/samplecfg
|
||||
dos2unix ./install/beos/samplecfg
|
||||
|
||||
%build
|
||||
if [ ! -e %{_bindir}/fpc ]; then
|
||||
%make build NOGDB=1 FPCPROG=`pwd`/bootstrap/bin/fpc
|
||||
else
|
||||
%make build NOGDB=1
|
||||
fi
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
if [ ! -e %{_bindir}/fpc ]; then
|
||||
%makeinstall \
|
||||
INSTALL_PREFIX=%{buildroot}%{_prefix} \
|
||||
INSTALL_MANDIR=%{buildroot}%{_mandir} \
|
||||
NOGDB=1 FPCPROG=`pwd`/bootstrap/bin/fpc
|
||||
else
|
||||
%makeinstall \
|
||||
INSTALL_PREFIX=%{buildroot}%{_prefix} \
|
||||
INSTALL_MANDIR=%{buildroot}%{_mandir} \
|
||||
NOGDB=1
|
||||
fi
|
||||
|
||||
%ifarch x86_64
|
||||
ln -s %{_prefix}/lib/fpc/%{version}/ppcx64 %{buildroot}%{_bindir}/ppcx64
|
||||
@ -86,12 +101,18 @@ _EOF
|
||||
%dir %{_prefix}/lib/fpc
|
||||
%dir %{_prefix}/lib/fpc/%{version}
|
||||
%{_prefix}/lib/fpc/%{version}/*
|
||||
%dir %{_prefix}/lib/fpc/2.6.4
|
||||
%{_prefix}/lib/fpc/2.6.4/*
|
||||
%dir %{_prefix}/lib/fpc/lexyacc
|
||||
%{_prefix}/lib/fpc/lexyacc/*
|
||||
%{_mandir}/man1/*.1*
|
||||
%{_mandir}/man5/*.5*
|
||||
%{_docdir}/fpc-2.6.4/*
|
||||
%doc fpcsrc/rtl/COPYING.FPC
|
||||
|
||||
%changelog
|
||||
* Thu Dec 10 2015 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Oct 25 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.4-1mamba
|
||||
- package created using the webbuild interface
|
||||
|
Loading…
Reference in New Issue
Block a user