Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Education
fpc-cross-i386-linux
fpc-cross-i386-linux.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fpc-cross-i386-linux.spec of Package fpc-cross-i386-linux
# # spec file for package fpc-cross-i386-linux # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: fpc-cross-i386-linux Version: 2.2.0 Release: 21.1 Summary: Free Pascal Compiler Group: Development/Languages License: GPL and modified LGPL v.2 Url: http://www.freepascal.org/ Source0: fpcbuild-%{version}.tar.bz2 Vendor: openSUSE-Education Source1: libgdb-6.2.1-%_arch-linux.zip Source2: i386-linux-ld-as.tar.bz2 Requires: gpm binutils BuildRequires: fpc ncurses-devel texlive-latex unzip ExcludeArch: i386 ppc BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Freepascal is a free 32/64bit Pascal Compiler. It comes with a run-time library fully compatible with Turbo Pascal 7.0 and nearly Delphi compatible. Some extensions are added to the language, like function overloading. Shared libraries can be linked. This package contains commandline compiler and utils. Provided units are the runtime library (RTL), free component library (FCL) and bindings for among others gtk1, gtk2, ncurses, zlib, mysql, postgres and ibase. %ifarch ppc %define ppcname ppcppc %define smart _all %else %ifarch x86_64 %define ppcname ppcx64 %define smart _smart %else %define ppcname ppc386 %define smart _smart %endif %endif # disable the debuginfo package %define debug_package %{nil} %define __spec_install_post /usr/lib/rpm/brp-compress %prep %setup -n fpcbuild-%{version} -a 1 %__ln_s $PWD/libgdb fpcsrc/libgdb %setup -n fpcbuild-%{version} -a 2 %build export PATH="$PWD/i386-linux-ld-as:$PATH" pushd "fpcsrc" 1>/dev/null COMPILEOPTS="-XLAtinfo= " %__make %{?jobs:-j%{jobs}} "all" OPT="${COMPILEOPTS}" CPU_TARGET=i386 popd 1>/dev/null %install export PATH="$PWD/i386-linux-ld-as:$PATH" pushd "fpcsrc" 1>/dev/null INSTALLOPTS="INSTALL_PREFIX=%{buildroot}%{_prefix} \ INSTALL_LIBDIR=%{buildroot}%{_libdir} \ INSTALL_BASEDIR=%{buildroot}%{_libdir}/fpc/%{version} \ CODPATH=%{buildroot}%{_libdir}/fpc/lexyacc \ INSTALL_DOCDIR=%{buildroot}%{_defaultdocdir}/%{name} \ INSTALL_BINDIR=%{buildroot}%{_bindir} INSTALL_EXAMPLEDIR=%{buildroot}%{_defaultdocdir}/%{name}/examples" %__make %{?jobs:-j%{jobs}} "install" ${INSTALLOPTS} CPU_TARGET=i386 %__rm -rf "%{buildroot}%{_defaultdocdir}/%{name}" %__rm -rf "%{buildroot}%{_libdir}/fpc/lexyacc" %__rm -rf "%{buildroot}%{_libdir}/fpc/%{version}/msg" %__rm -rf "%{buildroot}%{_libdir}/fpc/%{version}/samplecfg" %__rm -rf "%{buildroot}%{_bindir}" %__mkdir_p "%{buildroot}%{_bindir}" # create link %__ln_s -f "../%{_lib}/fpc/%{version}/ppc386" "%{buildroot}%{_bindir}/ppc386" %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root,-) %{_libdir}/fpc/%{version}/ppc386 %{_libdir}/fpc/%{version}/units %{_bindir}/ppc386 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor