Blame erlang.spec

Peter Lemenkov 3be4ce
%{?__erlang_provides_requires: %{__erlang_provides_requires}}
Peter Lemenkov 3be4ce
Gérard Milmeister dfad3f
%define ver R13B
Peter Lemenkov b1e63e
%define rel 04
Gérard Milmeister d0c493
Gérard Milmeister 8d9a91
Name:           erlang
Gérard Milmeister d0c493
Version:        %{ver}
Peter Lemenkov 859b2c
Release:        %{rel}.6%{?dist}
Gérard Milmeister 8d9a91
Summary:        General-purpose programming language and runtime environment
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
Group:          Development/Languages
Tom Callaway b499d4
License:        ERPL
Gérard Milmeister 8d9a91
URL:            http://www.erlang.org
Gérard Milmeister dfad3f
Source:         http://www.erlang.org/download/otp_src_%{ver}%{rel}.tar.gz
Gérard Milmeister dfad3f
Source1:        http://www.erlang.org/download/otp_doc_html_%{ver}%{rel}.tar.gz
Gérard Milmeister dfad3f
Source2:        http://www.erlang.org/download/otp_doc_man_%{ver}%{rel}.tar.gz
Peter Lemenkov 7748c2
Source3:	erlang-find-provides.escript
Peter Lemenkov 7748c2
Source4:	erlang-find-provides.sh
Peter Lemenkov 7748c2
Source5:	erlang-find-requires.escript
Peter Lemenkov 7748c2
Source6:	erlang-find-requires.sh
Peter Lemenkov 7748c2
Source7:	macros.erlang
Peter Lemenkov b1e63e
# TODO this patch needs rebase against current tree
Gérard Milmeister dfad3f
Patch0:         otp-links.patch
Peter Lemenkov acb9d1
# Fedora-specific
Peter Lemenkov b1e63e
Patch1:		otp-0001-Do-not-format-man-pages.patch
Peter Lemenkov acb9d1
# Fedora-specific
Peter Lemenkov b1e63e
Patch2:		otp-0002-Remove-rpath.patch
Peter Lemenkov acb9d1
# Upstreamed
Peter Lemenkov acb9d1
Patch6:		otp-0006-Fix-shared-libraries-installation.patch
Peter Lemenkov acb9d1
# Fedora-specific
Peter Lemenkov acb9d1
Patch7:		otp-0007-Fix-for-dlopening-libGL-and-libGLU.patch
Peter Lemenkov acb9d1
# Upstreamed
Peter Lemenkov acb9d1
Patch8:		otp-0008-Fix-check-for-compile-workspace-overflow.patch
Gérard Milmeister 8d9a91
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Gérard Milmeister e76567
Gérard Milmeister 9b92d7
BuildRequires:	ncurses-devel
Gérard Milmeister 9b92d7
BuildRequires:  openssl-devel
Peter Lemenkov b1e63e
BuildRequires:	zlib-devel
Gérard Milmeister 9b92d7
BuildRequires:  flex
Gérard Milmeister 63aec6
BuildRequires:	m4
Peter Lemenkov b1e63e
BuildRequires:	fop
Gérard Milmeister e76567
Peter Lemenkov 3be4ce
Requires: erlang-appmon = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-asn1 = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-common_test = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-compiler = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-cosEvent = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-cosEventDomain = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-cosFileTransfer = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-cosNotification = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-cosProperty = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-cosTime = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-cosTransaction = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-crypto = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-debugger = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-dialyzer = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-docbuilder = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-edoc = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-erl_docgen = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-erl_interface = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-et = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-eunit = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-examples = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-gs = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-hipe = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-ic = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-inets = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-inviso = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-jinterface = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-kernel = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-megaco = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-mnesia = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-observer = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-odbc = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-orber = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-os_mon = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-otp_mibs = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-parsetools = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-percept = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-pman = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-public_key = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-reltool = %{version}-%{release}
Peter Lemenkov 859b2c
Requires: erlang-rpm-macros = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-runtime_tools = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-sasl = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-snmp = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-ssh = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-ssl = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-stdlib = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-syntax_tools = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-test_server = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-toolbar = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-tools = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-tv = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-typer = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-webtool = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-wx = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires: erlang-xmerl = %{version}-%{release}
Gérard Milmeister 8d9a91
Peter Lemenkov b1e63e
%description
Gérard Milmeister 8d9a91
Erlang is a general-purpose programming language and runtime
Gérard Milmeister 8d9a91
environment. Erlang has built-in support for concurrency, distribution
Gérard Milmeister 8d9a91
and fault tolerance. Erlang is used in several large telecommunication
Gérard Milmeister 8d9a91
systems from Ericsson.
Gérard Milmeister 8d9a91
Peter Lemenkov 3be4ce
%package appmon
Peter Lemenkov 3be4ce
Summary:	A utility used to supervise Applications executing on several Erlang nodes
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description appmon
Peter Lemenkov 3be4ce
A utility used to supervise Applications executing on several Erlang nodes.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package asn1
Peter Lemenkov 3be4ce
Summary:	Provides support for Abstract Syntax Notation One
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description asn1
Peter Lemenkov 3be4ce
Provides support for Abstract Syntax Notation One.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package common_test
Peter Lemenkov 3be4ce
Summary:	A portable framework for automatic testing
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description common_test
Peter Lemenkov 3be4ce
A portable framework for automatic testing.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package compiler
Peter Lemenkov 3be4ce
Summary:	A byte code compiler for Erlang which produces highly compact code
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description compiler
Peter Lemenkov 3be4ce
A byte code compiler for Erlang which produces highly compact code.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package cosEvent
Peter Lemenkov 3be4ce
Summary:	Orber OMG Event Service
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description cosEvent
Peter Lemenkov 3be4ce
Orber OMG Event Service.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package cosEventDomain
Peter Lemenkov 3be4ce
Summary:	Orber OMG Event Domain Service
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description cosEventDomain
Peter Lemenkov 3be4ce
Orber OMG Event Domain Service.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package cosFileTransfer
Peter Lemenkov 3be4ce
Summary:	Orber OMG File Transfer Service
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description cosFileTransfer
Peter Lemenkov 3be4ce
Orber OMG File Transfer Service.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package cosNotification
Peter Lemenkov 3be4ce
Summary:	Orber OMG Notification Service
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description cosNotification
Peter Lemenkov 3be4ce
Orber OMG Notification Service.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package cosProperty
Peter Lemenkov 3be4ce
Summary:	Orber OMG Property Service
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description cosProperty
Peter Lemenkov 3be4ce
Orber OMG Property Service.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package cosTime
Peter Lemenkov 3be4ce
Summary:	Orber OMG Timer and TimerEvent Service
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description cosTime
Peter Lemenkov 3be4ce
Orber OMG Timer and TimerEvent Service.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package cosTransaction
Peter Lemenkov 3be4ce
Summary:	Orber OMG Transaction Service
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description cosTransaction
Peter Lemenkov 3be4ce
Orber OMG Transaction Service.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package crypto
Peter Lemenkov 3be4ce
Summary:	Cryptographical support
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description crypto
Peter Lemenkov 3be4ce
Cryptographical support.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package debugger
Peter Lemenkov 3be4ce
Summary:	A debugger for debugging and testing of Erlang programs
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description debugger
Peter Lemenkov 3be4ce
A debugger for debugging and testing of Erlang programs.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package dialyzer
Peter Lemenkov 3be4ce
Summary:	A DIscrepany AnaLYZer for ERlang programs
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description dialyzer
Peter Lemenkov 3be4ce
A DIscrepany AnaLYZer for ERlang programs.
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
%package doc
Gérard Milmeister 8d9a91
Summary:	Erlang documentation
Gérard Milmeister 8d9a91
Group:		Development/Languages
Peter Lemenkov acb9d1
BuildArch:	noarch
Peter Lemenkov acb9d1
Obsoletes:	%{name}-doc < R13B-04.4
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
%description doc
Gérard Milmeister 8d9a91
Documentation for Erlang.
Gérard Milmeister 8d9a91
Peter Lemenkov 3be4ce
%package docbuilder
Peter Lemenkov 3be4ce
Summary:	Tool for generating HTML documentation for applications
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description docbuilder
Peter Lemenkov 3be4ce
Tool for generating HTML documentation for applications.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package edoc
Peter Lemenkov 3be4ce
Summary:	A utility used to generate documentation out of tags in source files
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description edoc
Peter Lemenkov 3be4ce
A utility used to generate documentation out of tags in source files.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package erl_docgen
Peter Lemenkov 3be4ce
Summary:	A utility used to generate erlang HTML documentation
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description erl_docgen
Peter Lemenkov 3be4ce
A utility used to generate erlang HTML documentation.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package erl_interface
Peter Lemenkov 3be4ce
Summary:	Low level interface to C
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description erl_interface
Peter Lemenkov 3be4ce
Low level interface to C.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package erts
Peter Lemenkov 3be4ce
Summary:	Functionality necessary to run the Erlang System itself
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description erts
Peter Lemenkov 3be4ce
Functionality necessary to run the Erlang System itself.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package et
Peter Lemenkov 3be4ce
Summary:	An event tracer for Erlang programs
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description et
Peter Lemenkov 3be4ce
An event tracer for Erlang programs.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package eunit
Peter Lemenkov 3be4ce
Summary:	Support for unit testing
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description eunit
Peter Lemenkov 3be4ce
Support for unit testing.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package examples
Peter Lemenkov 3be4ce
Summary:	Examples for some Erlang modules
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name} = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description examples
Peter Lemenkov 3be4ce
Examples for some Erlang modules.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package gs
Peter Lemenkov 3be4ce
Summary:	A library for Tcl/Tk support in Erlang
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
BuildRequires:	tcl-devel
Peter Lemenkov 3be4ce
BuildRequires:	tk-devel
Peter Lemenkov 3be4ce
Requires:       tk
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description gs
Peter Lemenkov 3be4ce
A Graphics System used to write platform independent user interfaces.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package hipe
Peter Lemenkov 3be4ce
Summary:	High Performance Erlang
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description hipe
Peter Lemenkov 3be4ce
High Performance Erlang.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package ic
Peter Lemenkov 3be4ce
Summary:	IDL compiler
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description ic
Peter Lemenkov 3be4ce
IDL compiler.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package inets
Peter Lemenkov 3be4ce
Summary:	A set of services such as a Web server and a ftp client etc
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description inets
Peter Lemenkov 3be4ce
A set of services such as a Web server and a ftp client etc.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package inviso
Peter Lemenkov 3be4ce
Summary:	A trace tool for both development and delivered systems
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description inviso
Peter Lemenkov 3be4ce
A trace tool for both development and delivered systems.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package jinterface
Peter Lemenkov 3be4ce
Summary:	A library for accessing Java from Erlang
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
BuildRequires:	java-1.6.0-openjdk-devel
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description jinterface
Peter Lemenkov 3be4ce
Low level interface to Java.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package kernel
Peter Lemenkov 3be4ce
Summary:	Main erlang library
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description kernel
Peter Lemenkov 3be4ce
Main erlang library.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package megaco
Peter Lemenkov 3be4ce
Summary:	Megaco/H.248 support library
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description megaco
Peter Lemenkov 3be4ce
Megaco/H.248 is a protocol for control of elements in a physically
Peter Lemenkov 3be4ce
decomposed multimedia gateway, enabling separation of call control
Peter Lemenkov 3be4ce
from media conversion.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package mnesia
Peter Lemenkov 3be4ce
Summary:	A heavy duty real-time distributed database
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description mnesia
Peter Lemenkov 3be4ce
A heavy duty real-time distributed database.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package observer
Peter Lemenkov 3be4ce
Summary:	A set of tools for tracing and investigation of distributed systems
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description observer
Peter Lemenkov 3be4ce
A set of tools for tracing and investigation of distributed systems.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package odbc
Peter Lemenkov 3be4ce
Summary:	A library for unixODBC support in Erlang
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
BuildRequires:  unixODBC-devel
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description odbc
Peter Lemenkov 3be4ce
An interface to relational SQL-databases built on ODBC (Open Database
Peter Lemenkov 3be4ce
Connectivity).
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package orber
Peter Lemenkov 3be4ce
Summary:	A CORBA Object Request Broker
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description orber
Peter Lemenkov 3be4ce
A CORBA Object Request Broker.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package os_mon
Peter Lemenkov 3be4ce
Summary:	A monitor which allows inspection of the underlying operating system
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description os_mon
Peter Lemenkov 3be4ce
A monitor which allows inspection of the underlying operating system.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package otp_mibs
Peter Lemenkov 3be4ce
Summary:	SNMP management information base for Erlang/OTP nodes
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description otp_mibs
Peter Lemenkov 3be4ce
SNMP management information base for Erlang/OTP nodes.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package parsetools
Peter Lemenkov 3be4ce
Summary:	A set of parsing and lexical analysis tools
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description parsetools
Peter Lemenkov 3be4ce
A set of parsing and lexical analysis tools.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package percept
Peter Lemenkov 3be4ce
Summary:	A concurrency profiler tool
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description percept
Peter Lemenkov 3be4ce
A concurrency profiler tool.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package pman
Peter Lemenkov 3be4ce
Summary:	A graphical process manager used to inspect Erlang processes
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description pman
Peter Lemenkov 3be4ce
A graphical process manager used to inspect Erlang processes.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package public_key
Peter Lemenkov 3be4ce
Summary:	API to public key infrastructure
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description public_key
Peter Lemenkov 3be4ce
API to public key infrastructure.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package reltool
Peter Lemenkov 3be4ce
Summary:	A release management tool
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description reltool
Peter Lemenkov 3be4ce
Reltool is a release management tool. It analyses a given
Peter Lemenkov 3be4ce
Erlang/OTP installation and determines various dependencies
Peter Lemenkov 3be4ce
between applications. The graphical frontend depicts the
Peter Lemenkov 3be4ce
dependencies and enables interactive customization of a
Peter Lemenkov 3be4ce
target system. The backend provides a batch interface
Peter Lemenkov 3be4ce
for generation of customized target systems.
Peter Lemenkov 3be4ce
Peter Lemenkov 859b2c
%package rpm-macros
Peter Lemenkov 859b2c
Summary:	Necessary macros for building Erlang
Peter Lemenkov 859b2c
Group:		Development/Languages
Peter Lemenkov 859b2c
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 859b2c
Peter Lemenkov 859b2c
%description rpm-macros
Peter Lemenkov 859b2c
Necessary macros for building Erlang.
Peter Lemenkov 859b2c
Peter Lemenkov 3be4ce
%package runtime_tools
Peter Lemenkov 3be4ce
Summary:	A set of tools to include in a production system
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description runtime_tools
Peter Lemenkov 3be4ce
A set of tools to include in a production system.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package sasl
Peter Lemenkov 3be4ce
Summary:	The System Architecture Support Libraries
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description sasl
Peter Lemenkov 3be4ce
The System Architecture Support Libraries is a set of tools for
Peter Lemenkov 3be4ce
release upgrades and alarm handling etc.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package snmp
Peter Lemenkov 3be4ce
Summary:	Simple Network Management Protocol (SNMP) support
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description snmp
Peter Lemenkov 3be4ce
Simple Network Management Protocol (SNMP) support including a
Peter Lemenkov 3be4ce
MIB compiler and tools for creating SNMP agents.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package ssh
Peter Lemenkov 3be4ce
Summary:	Secure Shell application with sftp and ssh support
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description ssh
Peter Lemenkov 3be4ce
Secure Shell application with sftp and ssh support.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package ssl
Peter Lemenkov 3be4ce
Summary:	Secure Socket Layer support
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description ssl
Peter Lemenkov 3be4ce
Secure Socket Layer support.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package stdlib
Peter Lemenkov 3be4ce
Summary:	The Erlang standard libraries
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description stdlib
Peter Lemenkov 3be4ce
The Erlang standard libraries.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package syntax_tools
Peter Lemenkov 3be4ce
Summary:	A set of tools for dealing with erlang sources
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description syntax_tools
Peter Lemenkov 3be4ce
A utility used to handle abstract Erlang syntax trees,
Peter Lemenkov 3be4ce
reading source files differently, pretty-printing syntax trees.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package test_server
Peter Lemenkov 3be4ce
Summary:	The OTP Test Server
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description test_server
Peter Lemenkov 3be4ce
The OTP Test Server.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package toolbar
Peter Lemenkov 3be4ce
Summary:	A tool bar simplifying access to the Erlang tools
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description toolbar
Peter Lemenkov 3be4ce
A tool bar simplifying access to the Erlang tools.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package tools
Peter Lemenkov 3be4ce
Summary:	A set of programming tools including a coverage analyzer etc
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description tools
Peter Lemenkov 3be4ce
A set of programming tools including a coverage analyzer etc.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package tv
Peter Lemenkov 3be4ce
Summary:	An ETS and MNESIA graphical table visualizer
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description tv
Peter Lemenkov 3be4ce
An ETS and MNESIA graphical table visualizer.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package typer
Peter Lemenkov 3be4ce
Summary:	TYPe annotator for ERlang programs
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description typer
Peter Lemenkov 3be4ce
TYPe annotator for ERlang programs.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package webtool
Peter Lemenkov 3be4ce
Summary:	A tool that simplifying the use of web based Erlang tools
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description webtool
Peter Lemenkov 3be4ce
A tool that simplifying the use of web based Erlang tools.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package wx
Peter Lemenkov 3be4ce
Summary:	A library for wxWidgets support in Erlang
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Requires:	mesa-libGL
Peter Lemenkov 3be4ce
Requires:	mesa-libGLU
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
BuildRequires:  wxGTK-devel
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description wx
Peter Lemenkov 3be4ce
A Graphics System used to write platform independent user interfaces.
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%package xmerl
Peter Lemenkov 3be4ce
Summary:	Provides support for XML 1.0
Peter Lemenkov 3be4ce
Group:		Development/Languages
Peter Lemenkov 3be4ce
Requires:	%{name}-erts = %{version}-%{release}
Peter Lemenkov 3be4ce
Obsoletes:	%{name} < R13B-04.5
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%description xmerl
Peter Lemenkov 3be4ce
Provides support for XML 1.0.
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
%prep
Gérard Milmeister dfad3f
%setup -q -n otp_src_%{ver}%{rel}
Peter Lemenkov b1e63e
%patch1 -p1 -b .do_not_format_manpages
Gérard Milmeister e245b2
%patch2 -p1 -b .rpath
Peter Lemenkov acb9d1
%patch6 -p1 -b .fix_shared_lib_install
Peter Lemenkov acb9d1
%patch7 -p1 -b .dlopen_opengl_libs
Peter Lemenkov acb9d1
%patch8 -p1 -b .pcre_overflow
Peter Lemenkov b1e63e
# remove shipped zlib sources
Peter Lemenkov b1e63e
rm -f erts/emulator/zlib/*.[ch]
Gérard Milmeister d0c493
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
%build
Dennis Gilmore 6d50d6
%ifarch sparcv9 sparc64
Peter Lemenkov b1e63e
CFLAGS="$RPM_OPT_FLAGS -mcpu=ultrasparc -fno-strict-aliasing" %configure --enable-shared-zlib
Dennis Gilmore 6d50d6
%else
Peter Lemenkov b1e63e
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure --enable-shared-zlib
Dennis Gilmore 6d50d6
%endif
Gérard Milmeister 8d9a91
make
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
%install
Gérard Milmeister 8d9a91
rm -rf $RPM_BUILD_ROOT
Gérard Milmeister 8d9a91
make INSTALL_PREFIX=$RPM_BUILD_ROOT install
Gérard Milmeister 8d9a91
Peter Lemenkov 3be4ce
# fix 0775 permission on some directories
Peter Lemenkov 3be4ce
find $RPM_BUILD_ROOT%{_libdir}/erlang -type d -perm 0775 | xargs chmod 755
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
# Fix 664 file mode
Peter Lemenkov 3be4ce
chmod 644 $RPM_BUILD_ROOT%{_libdir}/erlang/lib/kernel-*/examples/uds_dist/c_src/Makefile
Peter Lemenkov 3be4ce
chmod 644 $RPM_BUILD_ROOT%{_libdir}/erlang/lib/kernel-*/examples/uds_dist/src/Makefile
Peter Lemenkov 3be4ce
chmod 644 $RPM_BUILD_ROOT%{_libdir}/erlang/lib/ssl-*/examples/certs/Makefile
Peter Lemenkov 3be4ce
chmod 644 $RPM_BUILD_ROOT%{_libdir}/erlang/lib/ssl-*/examples/src/Makefile
Gérard Milmeister 8d9a91
Peter Lemenkov 7748c2
# install additional doc files
Gérard Milmeister 8d9a91
mkdir -p erlang_doc
Gérard Milmeister 8d9a91
tar -C erlang_doc -zxf %{SOURCE1}
Peter Lemenkov 7748c2
Peter Lemenkov 7748c2
# install man-pages
Peter Lemenkov 78bacd
tar -C $RPM_BUILD_ROOT%{_libdir}/erlang -zxf %{SOURCE2}
Peter Lemenkov 78bacd
gzip $RPM_BUILD_ROOT%{_libdir}/erlang/man/man*/*
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
# make links to binaries
Peter Lemenkov 78bacd
mkdir -p $RPM_BUILD_ROOT%{_bindir}
Peter Lemenkov 78bacd
cd $RPM_BUILD_ROOT%{_bindir}
Gérard Milmeister a219b3
for file in erl erlc escript dialyzer
Gérard Milmeister 8d9a91
do
Gérard Milmeister 8d9a91
  ln -sf ../%{_lib}/erlang/bin/$file .
Gérard Milmeister 8d9a91
done
Gérard Milmeister 8d9a91
Peter Lemenkov 3be4ce
# Remove batch files intended to use on one proprietary OS.
Peter Lemenkov 3be4ce
rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/lib/observer-*/priv/bin/etop.bat
Peter Lemenkov 3be4ce
rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/lib/observer-*/priv/bin/getop.bat
Peter Lemenkov 3be4ce
rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/lib/webtool-*/priv/bin/start_webtool.bat
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
# Remove old txt files
Peter Lemenkov 3be4ce
rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/lib/ssl-*/examples/certs/etc/otpCA/index.txt.old
Peter Lemenkov 3be4ce
rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/lib/ssl-*/examples/certs/etc/erlangCA/index.txt.old
Gérard Milmeister 88a85b
Peter Lemenkov 3be4ce
# remove unneeded Erlang sources, but keep *.hrl files
Peter Lemenkov 3be4ce
for d in $RPM_BUILD_ROOT%{_libdir}/erlang/lib/* ; do find $d/src -type f ! -name "*.hrl" -print -delete || true ; done
Peter Lemenkov 7748c2
rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/lib/hipe-*/{cerl,flow,icode,main,misc,util}/*.erl
Peter Lemenkov 7748c2
rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/lib/orber-*/COSS/CosNaming/*.erl
Peter Lemenkov 3be4ce
find $RPM_BUILD_ROOT%{_libdir}/erlang/lib/*/src -type d -empty -delete
Peter Lemenkov b1e63e
Peter Lemenkov 7748c2
# remove C and Java sources
Peter Lemenkov 7748c2
rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/lib/asn1-*/c_src
Peter Lemenkov 7748c2
rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/lib/erl_interface-*/src
Peter Lemenkov 7748c2
rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/lib/ic-*/c_src
Peter Lemenkov 7748c2
rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/lib/ic-*/java_src
Peter Lemenkov 7748c2
rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/lib/jinterface-*/java_src
Peter Lemenkov 7748c2
rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/lib/odbc-*/c_src
Peter Lemenkov 7748c2
rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/lib/tools-*/c_src
Peter Lemenkov 7748c2
Peter Lemenkov 3be4ce
# remove empty directories
Peter Lemenkov 7748c2
rm -r $RPM_BUILD_ROOT%{_libdir}/erlang/erts-*/doc
Peter Lemenkov 7748c2
rm -r $RPM_BUILD_ROOT%{_libdir}/erlang/erts-*/man
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
# remove unneeded files
Peter Lemenkov 7748c2
rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/lib/cosEvent-*/info
Peter Lemenkov 7748c2
rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/lib/cosEventDomain-*/info
Peter Lemenkov 7748c2
rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/lib/hipe-*/vsn.mk
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
# No longer needed utilities for formatting man-pages
Peter Lemenkov 7748c2
rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/misc
Peter Lemenkov 7748c2
Peter Lemenkov 3be4ce
# Remove *.o files
Peter Lemenkov 3be4ce
rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/lib/crypto-*/priv/obj
Peter Lemenkov 3be4ce
rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/lib/odbc-*/priv/obj
Peter Lemenkov 3be4ce
rm -rf $RPM_BUILD_ROOT%{_libdir}/erlang/lib/ssl-*/priv/obj
Peter Lemenkov 3be4ce
Peter Lemenkov 7748c2
# Install RPM related files
Peter Lemenkov 859b2c
install -D -p -m 0755 %{SOURCE3} $RPM_BUILD_ROOT%{_rpmconfigdir}/erlang-find-provides.escript
Peter Lemenkov 859b2c
install -D -p -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{_rpmconfigdir}/erlang-find-provides.sh
Peter Lemenkov 859b2c
install -D -p -m 0755 %{SOURCE5} $RPM_BUILD_ROOT%{_rpmconfigdir}/erlang-find-requires.escript
Peter Lemenkov 859b2c
install -D -p -m 0755 %{SOURCE6} $RPM_BUILD_ROOT%{_rpmconfigdir}/erlang-find-requires.sh
Peter Lemenkov 7748c2
install -D -p -m 0644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.erlang
Peter Lemenkov 7748c2
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
%clean
Gérard Milmeister 8d9a91
rm -rf $RPM_BUILD_ROOT
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
Peter Lemenkov b1e63e
%files
Gérard Milmeister 8d9a91
%defattr(-,root,root)
Peter Lemenkov 3be4ce
Peter Lemenkov b1e63e
%doc AUTHORS EPLICENCE README.md
Peter Lemenkov 3be4ce
%doc %{_libdir}/erlang/PR.template
Peter Lemenkov 3be4ce
%doc %{_libdir}/erlang/README
Peter Lemenkov 3be4ce
%doc %{_libdir}/erlang/COPYRIGHT
Gérard Milmeister 8d9a91
Peter Lemenkov 3be4ce
%files appmon
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/appmon-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files asn1
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/asn1-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/asn1-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/asn1-*/priv
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/asn1-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files common_test
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/common_test-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files compiler
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/compiler-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files cosEvent
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/cosEvent-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files cosEventDomain
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/cosEventDomain-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files cosFileTransfer
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/cosFileTransfer-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files cosNotification
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/cosNotification-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files cosProperty
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/cosProperty-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files cosTime
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/cosTime-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files cosTransaction
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/cosTransactions-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files crypto
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/crypto-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files debugger
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/debugger-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files dialyzer
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/dialyzer-*/
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
%files doc
Gérard Milmeister 8d9a91
%defattr(-,root,root)
Gérard Milmeister 8d9a91
%doc erlang_doc/*
Gérard Milmeister 8d9a91
Peter Lemenkov 3be4ce
%files docbuilder
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/docbuilder-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files edoc
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/edoc-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files erl_docgen
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/erl_docgen-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files erl_interface
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/erl_interface-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files erts
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/
Peter Lemenkov 3be4ce
%{_bindir}/*
Peter Lemenkov 3be4ce
%{_libdir}/erlang/bin/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/erts-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/erts-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/man/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/releases/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/usr/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/Install
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files et
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/et-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/et-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/et-*/include
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/et-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files eunit
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/eunit-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/eunit-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/eunit-*/include
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files examples
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/asn1-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/et-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/eunit-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/gs-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/ic-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/inets-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/kernel-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/megaco-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/mnesia-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/orber-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/reltool-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/snmp-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/ssl-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/stdlib-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/syntax_tools-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/tools-*/examples
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/wx-*/examples
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files gs
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/gs-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/gs-*/contribs
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/gs-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/gs-*/priv
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/gs-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files hipe
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/hipe-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files ic
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/ic-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/ic-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/ic-*/include
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/ic-*/priv
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/ic-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files inets
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/inets-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/inets-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/inets-*/priv
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/inets-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files inviso
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/inviso-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files jinterface
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/jinterface-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files kernel
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/kernel-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/kernel-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/kernel-*/include
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/kernel-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files megaco
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/megaco-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/megaco-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/megaco-*/include
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/megaco-*/priv
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/megaco-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files mnesia
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/mnesia-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/mnesia-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/mnesia-*/include
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/mnesia-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files observer
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/observer-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files odbc
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/odbc-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files orber
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/orber-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/orber-*/COSS
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/orber-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/orber-*/include
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/orber-*/java_src
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/orber-*/priv
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/orber-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files os_mon
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/os_mon-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files otp_mibs
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/otp_mibs-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files parsetools
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/parsetools-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files percept
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/percept-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files pman
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/pman-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files public_key
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/public_key-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files reltool
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/reltool-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/reltool-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/reltool-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 859b2c
%files rpm-macros
Peter Lemenkov 859b2c
%defattr(-,root,root)
Peter Lemenkov 859b2c
%{_sysconfdir}/rpm/macros.erlang
Peter Lemenkov 859b2c
%{_rpmconfigdir}/erlang-find-provides.escript
Peter Lemenkov 859b2c
%{_rpmconfigdir}/erlang-find-provides.sh
Peter Lemenkov 859b2c
%{_rpmconfigdir}/erlang-find-requires.escript
Peter Lemenkov 859b2c
%{_rpmconfigdir}/erlang-find-requires.sh
Peter Lemenkov 859b2c
Peter Lemenkov 3be4ce
%files runtime_tools
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/runtime_tools-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files sasl
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/sasl-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files snmp
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/snmp-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/snmp-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/snmp-*/include
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/snmp-*/mibs
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/snmp-*/priv
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/snmp-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files ssh
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/ssh-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files ssl
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/ssl-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/ssl-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/ssl-*/include
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/ssl-*/pkix
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/ssl-*/priv
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/ssl-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files stdlib
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/stdlib-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/stdlib-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/stdlib-*/include
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/stdlib-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files syntax_tools
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/syntax_tools-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/syntax_tools-*/ebin
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files test_server
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/test_server-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files toolbar
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/toolbar-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files tools
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/tools-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/tools-*/bin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/tools-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/tools-*/emacs
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/tools-*/priv
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/tools-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files tv
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/tv-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files typer
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/typer-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files webtool
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/webtool-*/
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files wx
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%dir %{_libdir}/erlang/lib/wx-*/
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/wx-*/ebin
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/wx-*/include
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/wx-*/priv
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/wx-*/src
Peter Lemenkov 3be4ce
Peter Lemenkov 3be4ce
%files xmerl
Peter Lemenkov 3be4ce
%defattr(-,root,root)
Peter Lemenkov 3be4ce
%{_libdir}/erlang/lib/xmerl-*/
Peter Lemenkov 3be4ce
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
%post
Peter Lemenkov 3be4ce
%{_libdir}/erlang/Install -minimal -cross %{_libdir}/erlang >/dev/null 2>/dev/null
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
%changelog
Peter Lemenkov 859b2c
* Mon Apr 26 2010 Peter Lemenkov <lemenkov@gmail.com> - R13B-04.6
Peter Lemenkov 859b2c
- Made erlang-rpm-macros as separate package
Peter Lemenkov 859b2c
- Fix error while installing erlang-rpm-macros
Peter Lemenkov 859b2c
Peter Lemenkov 3be4ce
* Wed Apr 17 2010 Peter Lemenkov <lemenkov@gmail.com> - R13B-04.5
Peter Lemenkov 3be4ce
- Use erlang rpm macros for adding provides/reqires
Peter Lemenkov 3be4ce
- All %%{_libdir}/erlang/lib/* items were splitted off from main package, which
Peter Lemenkov 3be4ce
  in turn becomes purely virtual now.
Peter Lemenkov 3be4ce
- Removing RPM_BUILD_ROOT from several installed files is no longer required
Peter Lemenkov 3be4ce
Peter Lemenkov acb9d1
* Sat Apr 17 2010 Peter Lemenkov <lemenkov@gmail.com> - R13B-04.4
Peter Lemenkov acb9d1
- Added missing Requires mesa-libGL{U} for wx module (rhbz #583287)
Peter Lemenkov acb9d1
- Fix for buffer overflow in pcre module (rhbz #583288)
Peter Lemenkov acb9d1
- Doc sub-package marked as noarch (partially resolves rhbz #491165)
Peter Lemenkov acb9d1
Peter Lemenkov 7748c2
* Fri Mar 26 2010 Peter Lemenkov <lemenkov@gmail.com> - R13B-04.3
Peter Lemenkov 7748c2
- Added rpm-related stuff for auto-generating erlang dependencies in the future builds
Peter Lemenkov 7748c2
- Since now *.yrl files are removed too.
Peter Lemenkov 7748c2
- Removed unnecessary C and Java sources
Peter Lemenkov 7748c2
Peter Lemenkov 78bacd
* Fri Mar 26 2010 Peter Lemenkov <lemenkov@gmail.com> - R13B-04.2
Peter Lemenkov 78bacd
- Do not remove all files from %%{_libdir}/erlang/lib/*/src - keep
Peter Lemenkov 78bacd
  *.[yh]rl intact
Peter Lemenkov 78bacd
- Fix permissions for megaco *.so objects
Peter Lemenkov 78bacd
- Fix permissions for asn1 *.so objects
Peter Lemenkov 78bacd
Peter Lemenkov b1e63e
* Sat Feb 13 2010 Peter Lemenkov <lemenkov@gmail.com> - R13B-04.1
Peter Lemenkov b1e63e
- New release R13B-04
Peter Lemenkov b1e63e
- Since now we're using %%configure instead of ./configure
Peter Lemenkov b1e63e
- Removed no longer needed fix for newer glibc version
Peter Lemenkov b1e63e
- Dropped %%patch3 (applied upstream)
Peter Lemenkov b1e63e
- Rebased patches
Peter Lemenkov b1e63e
- Added BR fop for rebuilding of docs
Peter Lemenkov b1e63e
- Use system-wide zlib instead of shipped one
Peter Lemenkov b1e63e
- Dropped BR gd-devel
Peter Lemenkov b1e63e
- Removed unneeded sources (should be fixed upstream)
Peter Lemenkov b1e63e
- Fixed permission for wx driver (should be fixed upstream)
Peter Lemenkov b1e63e
Peter Lemenkov b1e63e
* Thu Oct 22 2009 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> - R13B-02-1
Peter Lemenkov b1e63e
- Update to R13B-02 (patched for what's released as 02-1 by upstream)
Kevin Kofler dbc24b
Tomáš Mráz eddd81
* Tue Aug 25 2009 Tomas Mraz <tmraz@redhat.com> - R13B-01.2
Tomáš Mráz 94dab0
- rebuilt with new openssl
Tomáš Mráz 94dab0
Gérard Milmeister dfad3f
* Mon Aug 10 2009 Gerard Milmeister <gemi@bluewin.ch> - R13B-01.1
Gérard Milmeister dfad3f
- update to R13B01
Gérard Milmeister dfad3f
Jesse Keating ebd1bd
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - R12B-6.7
Jesse Keating ebd1bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating ebd1bd
Gérard Milmeister e5c813
* Tue Apr 21 2009 Debarshi Ray <rishi@fedoraproject.org> R12B-5.7
Gérard Milmeister e5c813
- Updated rpath patch.
Gérard Milmeister e5c813
- Fixed configure to respect $RPM_OPT_FLAGS.
Gérard Milmeister e5c813
Gérard Milmeister a219b3
* Sun Mar  1 2009 Gerard Milmeister <gemi@bluewin.ch> - R12B-5.6
Gérard Milmeister a219b3
- new release R12B-5
Gérard Milmeister a219b3
- link escript and dialyzer to %{_bindir}
Gérard Milmeister a219b3
Jesse Keating 8d86c9
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - R12B-5.5
Jesse Keating 8d86c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating 8d86c9
Dennis Gilmore 6d50d6
* Sat Feb 14 2009 Dennis Gilmore <dennis@ausil.us> - R12B-4.5
Dennis Gilmore 6d50d6
- fix sparc arches to compile
Dennis Gilmore 6d50d6
Tomáš Mráz 819bc1
* Fri Jan 16 2009 Tomas Mraz <tmraz@redhat.com> - R12B-4.4
Tomáš Mráz 819bc1
- rebuild with new openssl
Tomáš Mráz 819bc1
Gérard Milmeister e245b2
* Sat Oct 25 2008 Gerard Milmeister <gemi@bluewin.ch> - R12B-4.1
Gérard Milmeister e245b2
- new release R12B-4
Gérard Milmeister e245b2
Gérard Milmeister a219b3
* Fri Sep  5 2008 Gerard Milmeister <gemi@bluewin.ch> - R12B-3.3
Gérard Milmeister af8394
- fixed sslrpath patch
Gérard Milmeister af8394
Tom Callaway b499d4
* Thu Jul 17 2008 Tom "spot" Callaway <tcallawa@redhat.com> - R12B-3.2
Tom Callaway b499d4
- fix license tag
Tom Callaway b499d4
Gérard Milmeister d0c493
* Sun Jul  6 2008 Gerard Milmeister <gemi@bluewin.ch> - R12B-3.1
Gérard Milmeister d0c493
- new release R12B-3
Gérard Milmeister d0c493
Gérard Milmeister e77dba
* Thu Mar 27 2008 Gerard Milmeister <gemi@bluewin.ch> - R12B-1.1
Gérard Milmeister e77dba
- new release R12B-1
Gérard Milmeister e77dba
Gérard Milmeister 58d5f0
* Sat Feb 23 2008 Gerard Milmeister <gemi@bluewin.ch> - R12B-0.3
Gérard Milmeister 58d5f0
- disable strict aliasing optimization
Gérard Milmeister 58d5f0
Jesse Keating 6708aa
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - R12B-0.2
Jesse Keating 6708aa
- Autorebuild for GCC 4.3
Jesse Keating 6708aa
Gérard Milmeister cdc6d1
* Sat Dec  8 2007 Gerard Milmeister <gemi@bluewin.ch> - R12B-0.1
Gérard Milmeister cdc6d1
- new release R12B-0
Gérard Milmeister cdc6d1
Jesse Keating 0a92f9
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - R11B-6
Jesse Keating 0a92f9
 - Rebuild for deps
Jesse Keating 0a92f9
Gérard Milmeister 328420
* Sun Aug 19 2007 Gerard Milmeister <gemi@bluewin.ch> - R11B-5.3
Gérard Milmeister 328420
- fix some permissions
Gérard Milmeister 328420
Gérard Milmeister 724004
* Sat Aug 18 2007 Gerard Milmeister <gemi@bluewin.ch> - R11B-5.2
Gérard Milmeister 724004
- enable dynamic linking for ssl
Gérard Milmeister 724004
Gérard Milmeister 37d540
* Sat Aug 18 2007 Gerard Milmeister <gemi@bluewin.ch> - R11B-5.1
Gérard Milmeister 37d540
- new release R11B-5
Gérard Milmeister 37d540
Thomas Fitzsimmons a60bf5
* Sat Mar 24 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - R11B-2.4
Thomas Fitzsimmons a60bf5
- Require java-1.5.0-gcj-devel for build.
Thomas Fitzsimmons a60bf5
Gérard Milmeister 88a85b
* Sun Dec 31 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-2.3
Gérard Milmeister 88a85b
- remove buildroot from installed files
Gérard Milmeister 88a85b
Gérard Milmeister 717787
* Sat Dec 30 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-2.2
Gérard Milmeister 717787
- added patch for compiling with glibc 2.5
Gérard Milmeister 717787
Gérard Milmeister 380e40
* Sat Dec 30 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-2.1
Gérard Milmeister 380e40
- new version R11B-2
Gérard Milmeister 380e40
Gérard Milmeister d64f98
* Mon Aug 28 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-0.3
Gérard Milmeister d64f98
- Rebuild for FE6
Gérard Milmeister d64f98
Gérard Milmeister 63aec6
* Wed Jul  5 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-0.2
Gérard Milmeister 63aec6
- add BR m4
Gérard Milmeister 63aec6
Gérard Milmeister 402a17
* Thu May 18 2006 Gerard Milmeister <gemi@bluewin.ch> - R11B-0.1
Gérard Milmeister 402a17
- new version R11B-0
Gérard Milmeister 402a17
Gérard Milmeister 928fb3
* Wed May  3 2006 Gerard Milmeister <gemi@bluewin.ch> - R10B-10.3
Gérard Milmeister 928fb3
- added patch for run_erl by Knut-Håvard Aksnes
Gérard Milmeister 928fb3
Gérard Milmeister b7307b
* Mon Mar 13 2006 Gerard Milmeister <gemi@bluewin.ch> - R10B-10.1
Gérard Milmeister b7307b
- new version R10B-10
Gérard Milmeister b7307b
Gérard Milmeister 9b92d7
* Thu Dec 29 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-9.1
Gérard Milmeister 9b92d7
- New Version R10B-9
Gérard Milmeister 9b92d7
Gérard Milmeister da518f
* Sat Oct 29 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-8.2
Gérard Milmeister da518f
- updated rpath patch
Gérard Milmeister da518f
Gérard Milmeister e76567
* Sat Oct 29 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-8.1
Gérard Milmeister e76567
- New Version R10B-8
Gérard Milmeister e76567
Gérard Milmeister 4613f8
* Sat Oct  1 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-6.4
Gérard Milmeister 4613f8
- Added tk-devel and tcl-devel to buildreq
Gérard Milmeister 4613f8
- Added tk to req
Gérard Milmeister 4613f8
Gérard Milmeister 4613f8
* Tue Sep  6 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-6.3
Gérard Milmeister 8d9a91
- Remove perl BuildRequires
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
* Tue Aug 30 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-6.2
Gérard Milmeister 8d9a91
- change /usr/lib to %%{_libdir}
Gérard Milmeister 8d9a91
- redirect output in %%post to /dev/null
Gérard Milmeister 8d9a91
- add unixODBC-devel to BuildRequires
Gérard Milmeister 8d9a91
- split doc off to erlang-doc package
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
* Sat Jun 25 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-6.1
Gérard Milmeister 8d9a91
- New Version R10B-6
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
* Sun Feb 13 2005 Gerard Milmeister <gemi@bluewin.ch> - R10B-3.1
Gérard Milmeister 8d9a91
- New Version R10B-3
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
* Mon Dec 27 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:R10B-2-0.fdr.1
Gérard Milmeister 8d9a91
- New Version R10B-2
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
* Wed Oct  6 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:R10B-0.fdr.1
Gérard Milmeister 8d9a91
- New Version R10B
Gérard Milmeister 8d9a91
Gérard Milmeister 8d9a91
* Thu Oct 16 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:R9B-1.fdr.1
Gérard Milmeister 8d9a91
- First Fedora release