Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > af7096394b316ab063bdd1b7776ccee7 > files > 5

ecl-13.5.1-4.mga5.src.rpm

%define ecllibdir		%{_libdir}/%{name}-%{version}

%define before_configure	true
%define _disable_libtoolize	%{nil}

Name:           ecl
Version:        13.5.1
Release:        %mkrel 4
Summary:        Embeddable Common-Lisp
Group:          Development/Other
License:        LGPLv2+
URL:            http://ecls.sourceforge.net
Source:         http://switch.dl.sourceforge.net/sourceforge/ecls/%{name}-%{version}.tgz
Patch0:         ecl-12.7.1-fdr-fix-atomic_ops.patch
Patch2:         ecl-12.7.1-fdr-signal_handling_thread.patch
Patch3:         ecl-12.7.1-fdr-warnings.patch

BuildRequires:  m4
BuildRequires:  texi2html
BuildRequires:	texinfo
BuildRequires:	texlive
BuildRequires:  gmp-devel
BuildRequires:  libgc-devel
BuildRequires:  libx11-devel
BuildRequires:  pkgconfig(atomic_ops)

# ECL permits to mix C code and Lisp, so users probably want gcc and 
# devel packages of libraries used by ecl
Recommends:       gcc
Recommends:       libgc-devel
Recommends:       gmp-devel

%description
ECL (Embeddable Common-Lisp) is an interpreter of the Common-Lisp
language as described in the X3J13 Ansi specification, featuring CLOS
(Common-Lisp Object System), conditions, loops, etc, plus a translator
to C, which can produce standalone executables.

# no -devel package for header files is split off
# since they are required by the main package

%package doc
Summary:      Documentation for Embeddable Common-Lisp
Group:        Development/Other
Requires:     %{name} = %{version}-%{release}

%description doc
ECL (Embeddable Common-Lisp) is an interpreter of the Common-Lisp
language as described in the X3J13 Ansi specification, featuring CLOS
(Common-Lisp Object System), conditions, loops, etc, plus a translator
to C, which can produce standalone executables.

This package contains the documentation for ECL.

%prep
%setup -q
%patch0
%patch2
%patch3
# set rpath to the final path
perl -pi -e 's|-Wl,--rpath,~A|-Wl,--rpath,%{_libdir}/ecl|' src/configure
find -name CVS | xargs rm -rf

%build
CONFIGURE_TOP=. \
%configure \
  --enable-boehm=included \
  --enable-threads=yes \
  --with-clx \
  --with-x
# Parallel make does not work
make

# documentation build broken
#(cd build/doc; make)

%install
%makeinstall_std

# documentation build broken
#(cd build/doc; %makeinstall_std)

# install man pages without invoking broken make rules and remove wrongly
# installed files
mkdir -p %{buildroot}/%{_mandir}/man1
cp -f build/doc/ecl{,-config}.man %{buildroot}/%{_mandir}/man1
lzma %{buildroot}/%{_mandir}/man1/*
rm -f %{buildroot}%{_libdir}/{Copyright,LGPL}

rm -fr %{buildroot}%{_infodir}/dir
rm -fr %{buildroot}%{_docdir}
rm -f %{buildroot}/%{ecllibdir}/BUILD-STAMP
find %{buildroot}%{ecllibdir} -name '*.lsp' | xargs chmod 0644 ||:

%files
%{_bindir}/ecl
%{_bindir}/ecl-config
%{ecllibdir}
%{_libdir}/libecl.so*
%{_includedir}/ecl
%{_mandir}/man*/*
%doc ANNOUNCEMENT
%license Copyright

%files doc
%doc examples


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 13.5.1-4.mga5
+ Revision: 750049
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 13.5.1-3.mga5
+ Revision: 678924
- Mageia 5 Mass Rebuild

  + tv <tv>
    - s/uggests:/Recommends:/

* Sat Oct 19 2013 umeabot <umeabot> 13.5.1-2.mga4
+ Revision: 526001
- Mageia 4 Mass Rebuild

* Sun Jun 02 2013 kamil <kamil> 13.5.1-1.mga4
+ Revision: 435396
- rediff P0
- rediff P2 and P3
- drop P1 sighandler.patch - merged upstream
- new version 13.5.1

* Fri Jan 11 2013 umeabot <umeabot> 12.12.1-2.mga3
+ Revision: 349311
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Dec 20 2012 kamil <kamil> 12.12.1-1.mga3
+ Revision: 333283
- disable Fedora patches
- update Source
- new version 12.12.1

* Mon Dec 03 2012 shlomif <shlomif> 12.7.1-1.mga3
+ Revision: 325910
- Fix build by making boehm-gc into the included one.

  + kamil <kamil>
    - import patches (P0,1,2,3) from Fedora:
      * ecl-12.7.1-fdr-fix-atomic_ops.patch
      * ecl-12.7.1-fdr-sighandler.patch
      * ecl-12.7.1-fdr-signal_handling_thread.patch
      * ecl-12.7.1-fdr-warnings.patch

* Thu Apr 14 2011 tv <tv> 11.1.1-2.mga1
+ Revision: 85434
- imported package ecl


* Mon Apr 11 2011 Paulo Andrade <pcpa@mandriva.com.br> 11.1.1-2mdv2011.0
+ Revision: 652725
- Rebuild with gcc 4.6.0

* Thu Jan 27 2011 Paulo Andrade <pcpa@mandriva.com.br> 11.1.1-1
+ Revision: 633432
- Update to ecl 11.1.1.

* Sat Aug 07 2010 Paulo Andrade <pcpa@mandriva.com.br> 10.4.1-1mdv2011.0
+ Revision: 567221
- Update to version 10.0.4.1

* Wed Feb 10 2010 Funda Wang <fwang@mandriva.org> 9.12.3-2mdv2010.1
+ Revision: 503632
- rebuild for new gmp

* Tue Dec 15 2009 Frederik Himpe <fhimpe@mandriva.org> 9.12.3-1mdv2010.1
+ Revision: 479068
- update to new version 9.12.3

* Sat Nov 07 2009 Frederik Himpe <fhimpe@mandriva.org> 9.10.2-1mdv2010.1
+ Revision: 462184
- update to new version 9.10.2

* Tue Aug 18 2009 Frederik Himpe <fhimpe@mandriva.org> 9.8.4-1mdv2010.0
+ Revision: 417840
- update to new version 9.8.4

* Sat Aug 08 2009 Frederik Himpe <fhimpe@mandriva.org> 9.8.1-1mdv2010.0
+ Revision: 411752
- update to new version 9.8.1

* Thu Jul 16 2009 Paulo Andrade <pcpa@mandriva.com.br> 9.7.1-1mdv2010.0
+ Revision: 396514
- Update to latest upstream release.

* Sat Sep 27 2008 Oden Eriksson <oeriksson@mandriva.com> 0.9j-6mdv2009.0
+ Revision: 288910
- rebuild

* Thu Jul 24 2008 Thierry Vignaud <tv@mandriva.org> 0.9j-5mdv2009.0
+ Revision: 244623
- rebuild

* Sat Feb 02 2008 Frederik Himpe <fhimpe@mandriva.org> 0.9j-3mdv2008.1
+ Revision: 161541
- Really fix ecl-doc requirement

* Sat Feb 02 2008 Frederik Himpe <fhimpe@mandriva.org> 0.9j-2mdv2008.1
+ Revision: 161480
- Fix requirements of doc package

* Sat Feb 02 2008 Frederik Himpe <fhimpe@mandriva.org> 0.9j-1mdv2008.1
+ Revision: 161459
- import ecl