2011-11-14 10:50:16 +00:00
|
|
|
#
|
|
|
|
# spec file for package erlang
|
|
|
|
#
|
2012-06-29 12:12:52 +00:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-11-14 10:50:16 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: erlang
|
2013-02-04 18:21:23 +00:00
|
|
|
%define otp_base_version R15B03
|
|
|
|
%define otp_version %{otp_base_version}-1
|
|
|
|
Version: R15B03_1
|
2011-11-14 10:50:16 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: General-purpose programming language and runtime environment
|
2012-06-29 12:12:52 +00:00
|
|
|
License: ErlPL-1.1
|
2011-11-14 10:50:16 +00:00
|
|
|
Group: Development/Languages/Other
|
2012-06-29 12:12:52 +00:00
|
|
|
Url: http://www.erlang.org
|
2013-02-04 18:21:23 +00:00
|
|
|
Source: otp_src_%{otp_version}.tar.gz
|
|
|
|
#Source: http://www.erlang.org/download/otp_src_%{otp_version}.tar.gz
|
|
|
|
Source1: otp_doc_html_%{otp_version}.tar.gz
|
|
|
|
#Source1: http://www.erlang.org/download/otp_doc_html_%{otp_version}.tar.gz
|
|
|
|
Source2: otp_doc_man_%{otp_version}.tar.gz
|
|
|
|
#Source2: http://www.erlang.org/download/otp_doc_man_%{otp_version}.tar.gz
|
2011-11-14 10:50:16 +00:00
|
|
|
Source3: %{name}-rpmlintrc
|
2012-11-18 19:25:27 +00:00
|
|
|
Source4: epmd.init
|
|
|
|
Source5: erlang.sysconfig
|
2011-11-14 10:50:16 +00:00
|
|
|
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
2012-11-18 19:25:27 +00:00
|
|
|
Patch0: otp-R15B02-rpath.patch
|
2011-11-14 10:50:16 +00:00
|
|
|
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
2012-11-18 19:25:27 +00:00
|
|
|
Patch1: erlang-ppc.patch
|
2013-01-07 20:53:12 +00:00
|
|
|
# PATCH-FIX-UPSTREAM fix-armv7hl.patch - matwey.kornilov@gmail.com -- this makes erlang build at Factory:ARM for armv7hl
|
|
|
|
Patch3: fix-armv7hl.patch
|
|
|
|
# autoconf is required only by fix-armv7hl.patch
|
|
|
|
BuildRequires: autoconf
|
2011-11-14 10:50:16 +00:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: openssh
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: tcl-devel
|
|
|
|
BuildRequires: tk-devel
|
|
|
|
BuildRequires: unixODBC-devel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: Mesa-devel
|
2012-06-29 12:12:52 +00:00
|
|
|
BuildRequires: java-devel >= 1.6.0
|
2011-11-14 10:50:16 +00:00
|
|
|
BuildRequires: krb5-devel
|
|
|
|
%if 0%{?sles_version} >= 10
|
|
|
|
BuildRequires: update-alternatives
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} > 1020
|
|
|
|
BuildRequires: fdupes
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?suse_version} >= 1140
|
|
|
|
BuildRequires: wxWidgets
|
|
|
|
BuildRequires: wxWidgets-wxcontainer-devel
|
|
|
|
%define _use_internal_dependency_generator 0
|
|
|
|
%define __find_requires %wx_requires
|
|
|
|
%else
|
|
|
|
BuildRequires: wxGTK-devel >= 2.8
|
|
|
|
%endif
|
|
|
|
|
2012-11-18 19:25:27 +00:00
|
|
|
%define epmd_home %{_var}/lib/epmd
|
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%description
|
|
|
|
Erlang is a general-purpose programming language and runtime
|
|
|
|
environment. Erlang has built-in support for concurrency, distribution
|
|
|
|
and fault tolerance. Erlang is used in several large telecommunication
|
|
|
|
systems from Ericsson.
|
|
|
|
|
|
|
|
%package debugger
|
|
|
|
Summary: A debugger for debugging and testing of Erlang programs
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: %{name}-gs = %{version}
|
|
|
|
Requires: %{name}-wx = %{version}
|
|
|
|
|
|
|
|
%description debugger
|
|
|
|
A debugger for debugging and testing of Erlang programs.
|
|
|
|
|
|
|
|
%package dialyzer
|
|
|
|
Summary: A DIscrepany AnaLYZer for ERlang programs
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: %{name}-gs = %{version}
|
|
|
|
Requires: %{name}-wx = %{version}
|
|
|
|
|
|
|
|
%description dialyzer
|
|
|
|
A DIscrepany AnaLYZer for ERlang programs.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Erlang documentation
|
|
|
|
Group: Development/Languages/Other
|
2012-11-18 19:25:27 +00:00
|
|
|
Recommends: %{name} = %{version}
|
2011-11-14 10:50:16 +00:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
Documentation for Erlang.
|
|
|
|
|
|
|
|
%package et
|
|
|
|
Summary: An event tracer for Erlang programs
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: %{name}-gs = %{version}
|
|
|
|
Requires: %{name}-wx = %{version}
|
|
|
|
|
|
|
|
%description et
|
|
|
|
An event tracer for Erlang programs.
|
|
|
|
|
|
|
|
%package jinterface
|
|
|
|
Summary: Erlang Java Interface
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: java >= 1.5.0
|
|
|
|
|
|
|
|
%description jinterface
|
|
|
|
JInterface module for accessing erlang from Java
|
|
|
|
|
|
|
|
%package gs
|
|
|
|
Summary: A library for Tcl/Tk support in Erlang
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: tk
|
|
|
|
|
|
|
|
%description gs
|
|
|
|
A Graphics System used to write platform independent user interfaces.
|
|
|
|
|
|
|
|
%package reltool
|
|
|
|
Summary: A release management tool
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: %{name}-gs = %{version}
|
|
|
|
Requires: %{name}-wx = %{version}
|
|
|
|
|
|
|
|
%description reltool
|
|
|
|
Reltool is a release management tool. It analyses a given
|
|
|
|
Erlang/OTP installation and determines various dependencies
|
|
|
|
between applications. The graphical frontend depicts the
|
|
|
|
dependencies and enables interactive customization of a
|
|
|
|
target system. The backend provides a batch interface
|
|
|
|
for generation of customized target systems.
|
|
|
|
|
|
|
|
%package src
|
|
|
|
Summary: Erlang/OTP applications sources
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description src
|
|
|
|
Erlang sources for all the applications in the Erlang/OTP system.
|
|
|
|
They are useful for educational purpose and as a base for creating
|
|
|
|
embedded systems.
|
|
|
|
|
|
|
|
%package toolbar
|
|
|
|
Summary: A tool bar simplifying access to the Erlang tools
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: %{name}-gs = %{version}
|
|
|
|
|
|
|
|
%description toolbar
|
|
|
|
A tool bar simplifying access to the Erlang tools.
|
|
|
|
|
|
|
|
%package tv
|
|
|
|
Summary: An ETS and MNESIA graphical table visualizer
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: %{name}-gs = %{version}
|
|
|
|
|
|
|
|
%description tv
|
|
|
|
An ETS and MNESIA graphical table visualizer.
|
|
|
|
|
|
|
|
%package wx
|
|
|
|
Summary: A library for wxWidgets support in Erlang
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
%if 0%{?suse_version} >= 1140
|
|
|
|
Requires: wxWidgets >= 2.8
|
|
|
|
%else
|
|
|
|
Requires: wxGTK >= 2.8
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description wx
|
|
|
|
A Graphics System used to write platform independent user interfaces.
|
|
|
|
|
|
|
|
%prep
|
2013-02-04 18:21:23 +00:00
|
|
|
%setup -q -n otp_src_%{otp_base_version}
|
2011-11-14 10:50:16 +00:00
|
|
|
%patch0 -p1 -b .rpath
|
2012-11-18 19:25:27 +00:00
|
|
|
%patch1 -p1
|
2013-01-07 20:53:12 +00:00
|
|
|
%ifarch %arm
|
|
|
|
%patch3 -p1
|
|
|
|
autoreconf -si ./erts
|
|
|
|
%endif
|
2011-11-14 10:50:16 +00:00
|
|
|
|
|
|
|
chmod -R u+w .
|
|
|
|
# enable dynamic linking for ssl
|
|
|
|
sed -i 's|SSL_DYNAMIC_ONLY=no|SSL_DYNAMIC_ONLY=yes|' erts/configure
|
|
|
|
# Remove shipped zlib sources
|
|
|
|
#rm -f erts/emulator/zlib/*.[ch]
|
|
|
|
|
|
|
|
# fix for arch linux bug #17001 (wx not working)
|
|
|
|
sed -i 's|WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`|WX_LIBS="`$WX_CONFIG_WITH_ARGS --libs` -lGLU"|' lib/wx/configure || return 1
|
|
|
|
|
|
|
|
%build
|
|
|
|
# we need build only 1.5 target for java
|
|
|
|
# for SLE only
|
|
|
|
%if 0%{?sles_version} >= 10 || 0%{?suse_version} >= 1110
|
2012-06-29 12:12:52 +00:00
|
|
|
export JAVAC="javac -source 1.5 -target 1.5"
|
2011-11-14 10:50:16 +00:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} == 1100 || 0%{?fedora_version} == 9
|
|
|
|
export CFLAGS="-fno-strict-aliasing"
|
|
|
|
%else
|
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
|
%endif
|
|
|
|
export CXXFLAGS=$CFLAGS
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
--with-ssl=%{_prefix} \
|
|
|
|
--enable-threads \
|
|
|
|
--enable-smp-support \
|
|
|
|
--enable-kernel-poll \
|
|
|
|
--enable-hipe \
|
|
|
|
--enable-shared-zlib
|
2013-01-07 09:57:08 +00:00
|
|
|
# clean stalled files before rebuild them
|
|
|
|
make %{?_smp_mflags} clean
|
2012-11-18 19:25:27 +00:00
|
|
|
# should work up to at least -j8
|
|
|
|
make %{?_smp_mflags}
|
2012-10-13 17:52:38 +00:00
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%install
|
|
|
|
%if 0%{?sles_version} >= 10
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
%else
|
|
|
|
%make_install
|
|
|
|
%endif
|
|
|
|
|
|
|
|
export TOOLS_VERSION=`ls %{buildroot}%{_libdir}/erlang/lib/ |grep ^tools- | sed "s|tools-||"`
|
|
|
|
|
|
|
|
# clean up
|
|
|
|
find %{buildroot}%{_libdir}/erlang -perm 0775 | xargs chmod -v 0755
|
|
|
|
find %{buildroot}%{_libdir}/erlang -name Makefile | xargs chmod -v 0644
|
|
|
|
find %{buildroot}%{_libdir}/erlang -name \*.bat | xargs rm -fv
|
|
|
|
find %{buildroot}%{_libdir}/erlang -name index.txt.old | xargs rm -fv
|
|
|
|
rm %{buildroot}%{_libdir}/erlang/lib/tools-$TOOLS_VERSION/emacs/test.erl.orig
|
|
|
|
mv %{buildroot}%{_libdir}/erlang/lib/tools-$TOOLS_VERSION/emacs/test.erl.indented %{buildroot}%{_libdir}/erlang/lib/tools-$TOOLS_VERSION/emacs/test.erl
|
|
|
|
|
2012-11-18 19:25:27 +00:00
|
|
|
# doc
|
|
|
|
mv README.md README
|
|
|
|
mkdir -p erlang_doc
|
|
|
|
tar -C erlang_doc -xzf %{SOURCE1}
|
|
|
|
tar -C %{buildroot}/%{_libdir}/erlang -xzf %{SOURCE2}
|
|
|
|
# compress man pages ...
|
|
|
|
find %{buildroot}%{_libdir}/erlang/man -type f -exec gzip {} +
|
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
#make link to OtpErlang-*.jar in %%{_javadir}
|
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
|
|
|
cd %{buildroot}%{_javadir}
|
|
|
|
export JINTERFACE_VERSION=`ls %{buildroot}%{_libdir}/erlang/lib/ |grep ^jinterface- | sed "s|jinterface-||"`
|
|
|
|
ln -sf ../../%{_lib}/erlang/lib/jinterface-$JINTERFACE_VERSION/priv/OtpErlang.jar OtpErlang-$JINTERFACE_VERSION.jar
|
|
|
|
cd -
|
|
|
|
|
2012-10-09 11:48:41 +00:00
|
|
|
# Remove binary and source files with propriatery license, see bnc#728667
|
|
|
|
rm -r %{buildroot}%{_libdir}/erlang/lib/diameter-*
|
2012-11-18 19:25:27 +00:00
|
|
|
rm -r %{buildroot}%{_libdir}/erlang/man/man?/diameter* # Doesn't make much sense w/o the above
|
2012-10-09 11:48:41 +00:00
|
|
|
rm -r lib/diameter lib/xmerl/test/xmerl_xsd_SUITE_data # Can't distribute either source
|
2011-11-14 10:50:16 +00:00
|
|
|
|
2012-11-18 19:25:27 +00:00
|
|
|
# The man-pages for binaries are safe to move to %{_mandir}, others may conflict with other packages
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
for link in $(ls %{buildroot}%{_libdir}/erlang/man/man1/); do
|
|
|
|
ln -s %{_libdir}/erlang/man/man1/$link %{buildroot}%{_mandir}/man1/$link
|
|
|
|
done
|
2012-10-13 17:52:38 +00:00
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
# emacs: automatically load support for erlang
|
|
|
|
# http://lists.mandriva.com//bugs/2007-08/msg00930.php
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp
|
|
|
|
cat > %{buildroot}%{_datadir}/emacs/site-lisp/erlang.el << EOF
|
|
|
|
(setq load-path (cons "%{_libdir}/erlang/lib/tools-$TOOLS_VERSION/emacs" load-path))
|
|
|
|
(add-to-list 'load-path "%{_datadir}/emacs/site-lisp/ess")
|
|
|
|
(load-library "erlang-start")
|
|
|
|
EOF
|
|
|
|
|
|
|
|
%if 0%{?suse_version} > 1020
|
|
|
|
# hardlink duplicates:
|
2012-11-18 19:25:27 +00:00
|
|
|
find . -name "start_erl*" | xargs chmod 755
|
2011-11-14 10:50:16 +00:00
|
|
|
%fdupes %{buildroot}/%{_libdir}/erlang
|
|
|
|
# %%doc macro copies the files to the package doc dir, hardlinks thus don't work
|
|
|
|
%fdupes -s erlang_doc
|
|
|
|
%endif
|
|
|
|
|
2012-11-18 19:25:27 +00:00
|
|
|
install -d -m 0750 %{buildroot}%{epmd_home}
|
|
|
|
install -D -m 0755 %{S:4} %{buildroot}/etc/init.d/epmd
|
|
|
|
install -D -m 0644 %{S:5} %{buildroot}/var/adm/fillup-templates/sysconfig.erlang
|
|
|
|
|
|
|
|
%pre
|
|
|
|
/usr/sbin/groupadd -r epmd &>/dev/null || :
|
2012-11-20 09:45:21 +00:00
|
|
|
/usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port Mapper Daemon" -d %{epmd_home} epmd &>/dev/null || :
|
2012-11-18 19:25:27 +00:00
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%post
|
|
|
|
%{_libdir}/erlang/Install -minimal %{_libdir}/erlang >/dev/null 2>/dev/null
|
2012-11-18 19:25:27 +00:00
|
|
|
%fillup_only erlang
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%stop_on_removal epmd
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%restart_on_update epmd
|
|
|
|
%{insserv_cleanup}
|
2011-11-14 10:50:16 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS EPLICENCE README
|
2012-11-18 19:25:27 +00:00
|
|
|
%doc %{_libdir}/erlang/PR.template
|
|
|
|
%doc %{_libdir}/erlang/README
|
|
|
|
%doc %{_libdir}/erlang/COPYRIGHT
|
2011-11-14 10:50:16 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
%dir %{_libdir}/erlang
|
|
|
|
%dir %{_libdir}/erlang/lib/
|
|
|
|
%exclude %{_libdir}/erlang/lib/*/src
|
|
|
|
%exclude %{_libdir}/erlang/lib/*/c_src
|
|
|
|
%exclude %{_libdir}/erlang/lib/*/java_src
|
|
|
|
%{_libdir}/erlang/bin/
|
|
|
|
%{_libdir}/erlang/erts-*/
|
|
|
|
%{_libdir}/erlang/lib/appmon-*/
|
|
|
|
%{_libdir}/erlang/lib/asn1-*/
|
|
|
|
%{_libdir}/erlang/lib/common_test-*/
|
|
|
|
%{_libdir}/erlang/lib/compiler-*/
|
|
|
|
%{_libdir}/erlang/lib/cosEvent-*/
|
|
|
|
%{_libdir}/erlang/lib/cosEventDomain-*/
|
|
|
|
%{_libdir}/erlang/lib/cosFileTransfer-*/
|
|
|
|
%{_libdir}/erlang/lib/cosNotification-*/
|
|
|
|
%{_libdir}/erlang/lib/cosProperty-*/
|
|
|
|
%{_libdir}/erlang/lib/cosTime-*/
|
|
|
|
%{_libdir}/erlang/lib/cosTransactions-*/
|
|
|
|
%{_libdir}/erlang/lib/crypto-*/
|
|
|
|
%{_libdir}/erlang/lib/edoc-*/
|
2012-11-18 19:25:27 +00:00
|
|
|
%{_libdir}/erlang/lib/eldap-*/
|
2011-11-14 10:50:16 +00:00
|
|
|
%{_libdir}/erlang/lib/erl_docgen-*/
|
|
|
|
%{_libdir}/erlang/lib/erl_interface-*/
|
|
|
|
%{_libdir}/erlang/lib/erts-*/
|
|
|
|
%{_libdir}/erlang/lib/eunit-*/
|
|
|
|
%{_libdir}/erlang/lib/hipe-*/
|
|
|
|
%{_libdir}/erlang/lib/ic-*/
|
|
|
|
%{_libdir}/erlang/lib/inets-*/
|
|
|
|
%{_libdir}/erlang/lib/inviso-*/
|
|
|
|
%{_libdir}/erlang/lib/kernel-*/
|
|
|
|
%{_libdir}/erlang/lib/megaco-*/
|
|
|
|
%{_libdir}/erlang/lib/mnesia-*/
|
|
|
|
%{_libdir}/erlang/lib/observer-*/
|
|
|
|
%{_libdir}/erlang/lib/odbc-*/
|
|
|
|
%{_libdir}/erlang/lib/orber-*/
|
|
|
|
%{_libdir}/erlang/lib/os_mon-*/
|
|
|
|
%{_libdir}/erlang/lib/otp_mibs-*/
|
|
|
|
%{_libdir}/erlang/lib/parsetools-*/
|
|
|
|
%{_libdir}/erlang/lib/percept-*/
|
|
|
|
%{_libdir}/erlang/lib/pman-*/
|
|
|
|
%{_libdir}/erlang/lib/public_key-*/
|
|
|
|
%{_libdir}/erlang/lib/runtime_tools-*/
|
|
|
|
%{_libdir}/erlang/lib/sasl-*/
|
|
|
|
%{_libdir}/erlang/lib/snmp-*/
|
|
|
|
%{_libdir}/erlang/lib/ssh-*/
|
|
|
|
%{_libdir}/erlang/lib/ssl-*/
|
|
|
|
%{_libdir}/erlang/lib/stdlib-*/
|
|
|
|
%{_libdir}/erlang/lib/syntax_tools-*/
|
|
|
|
%{_libdir}/erlang/lib/test_server-*/
|
|
|
|
%{_libdir}/erlang/lib/tools-*/
|
|
|
|
%{_libdir}/erlang/lib/typer-*/
|
|
|
|
%{_libdir}/erlang/lib/webtool-*/
|
2012-10-09 11:48:41 +00:00
|
|
|
%{_libdir}/erlang/lib/xmerl-*/
|
2012-11-18 19:25:27 +00:00
|
|
|
%{_libdir}/erlang/man/
|
|
|
|
%{_mandir}/man1/*.1.gz
|
2011-11-14 10:50:16 +00:00
|
|
|
%{_libdir}/erlang/misc/
|
|
|
|
%{_libdir}/erlang/releases/
|
|
|
|
%{_libdir}/erlang/usr/
|
|
|
|
%{_libdir}/erlang/Install
|
|
|
|
%{_datadir}/emacs/site-lisp/erlang.el
|
2012-11-18 19:25:27 +00:00
|
|
|
%dir %attr(-,epmd,epmd) %{epmd_home}
|
|
|
|
/etc/init.d/epmd
|
|
|
|
/var/adm/fillup-templates/sysconfig.erlang
|
2011-11-14 10:50:16 +00:00
|
|
|
|
|
|
|
%files debugger
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/debugger-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/debugger-*/src
|
|
|
|
|
|
|
|
%files dialyzer
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/dialyzer-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/dialyzer-*/src
|
|
|
|
|
|
|
|
%files doc
|
2012-11-19 07:55:56 +00:00
|
|
|
%defattr(0644,root,root,0755)
|
2011-11-14 10:50:16 +00:00
|
|
|
%doc erlang_doc/*
|
|
|
|
|
|
|
|
%files et
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/et-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/et-*/src
|
|
|
|
|
|
|
|
%files gs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/gs-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/gs-*/src
|
|
|
|
|
|
|
|
%files jinterface
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/erlang/lib/jinterface-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/jinterface-*/java_src
|
|
|
|
%{_javadir}/*
|
|
|
|
|
|
|
|
%files reltool
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/reltool-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/reltool-*/src
|
|
|
|
|
|
|
|
%files src
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%exclude %{_libdir}/erlang/lib/erl_interface-*/src/INSTALL
|
|
|
|
%{_libdir}/erlang/lib/*/src
|
|
|
|
%{_libdir}/erlang/lib/*/c_src
|
|
|
|
%{_libdir}/erlang/lib/*/java_src
|
|
|
|
|
|
|
|
%files toolbar
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/toolbar-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/toolbar-*/src
|
|
|
|
|
|
|
|
%files tv
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/tv-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/tv-*/src
|
|
|
|
|
|
|
|
%files wx
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/wx-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/wx-*/src
|
|
|
|
|
|
|
|
%changelog
|