]> git.pld-linux.org Git - packages/erlang.git/commitdiff
- new spec (maybe it should be erlang.spec). Not finished yet\!
authorJacek Konieczny <jajcus@pld-linux.org>
Mon, 30 Aug 2004 13:57:41 +0000 (13:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    erlang.spec -> 1.1

erlang.spec [new file with mode: 0644]

diff --git a/erlang.spec b/erlang.spec
new file mode 100644 (file)
index 0000000..2b1db8c
--- /dev/null
@@ -0,0 +1,65 @@
+Summary:       OpenSource Erlang/OTP
+Name:          otp
+Version:       R9C_2
+Release:       0.1
+Epoch:         1
+License:       distributable
+Group:         Development/Languages
+%define                _version        %(echo %{version} | sed -e 's#_#-#g') 
+Source0:       http://www.erlang.org/download/%{name}_src_%{_version}.tar.gz
+URL:           http://www.erlang.org/
+BuildRequires: perl-base
+BuildRequires: flex
+BuildRequires: XFree86-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Erlang is a programming language designed at the Ericsson Computer
+Science Laboratory. Open-source Erlang is being released to help
+encourage the spread of Erlang outside Ericsson.
+      
+%prep
+%setup -q -n %{name}_src_%{_version}
+
+%build
+%{__autoconf}
+cd lib
+%{__autoconf}
+cd erl_interface
+%{__autoconf}
+cd ../gs
+%{__autoconf}
+cd ../megaco
+%{__autoconf}
+cd ../snmp
+%{__autoconf}
+cd ..
+cd ../erts/
+%{__autoconf}
+cd ..
+%configure
+ERL_TOP=`pwd`; export ERL_TOP
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre
+
+%post
+
+%preun
+
+%postun
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
This page took 0.116421 seconds and 4 git commands to generate.