SPECS: erlang-xmlrpc.spec (NEW) - initial

arekm arekm at pld-linux.org
Fri Apr 24 12:05:33 CEST 2009


Author: arekm                        Date: Fri Apr 24 10:05:33 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   erlang-xmlrpc.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/erlang-xmlrpc.spec
diff -u /dev/null SPECS/erlang-xmlrpc.spec:1.1
--- /dev/null	Fri Apr 24 12:05:33 2009
+++ SPECS/erlang-xmlrpc.spec	Fri Apr 24 12:05:28 2009
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+Summary:	XML-RPC library for Erlang
+Name:		erlang-xmlrpc
+Version:	1.13
+Release:	1
+License:	BSD
+Group:		Development/Languages
+Source0:	http://ejabberd.jabber.ru/files/contributions/xmlrpc-%{version}-ipr2.tgz
+# Source0-md5:	c1905556e01d8970681b93dcba892442
+URL:		http://sourceforge.net/projects/sowap/
+BuildRequires:	erlang
+BuildRequires:	erlang-xmerl
+Requires:	erlang
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is an HTTP 1.1 compliant XML-RPC library for Erlang. It is
+designed to make it easy to write XML-RPC Erlang clients and/or
+servers. The library is compliant with the XML-RPC specification
+published by http://www.xmlrpc.org/.
+
+%prep
+%setup -q -n xmlrpc-%{version}
+
+%build
+xmerldir=$(ls -1d %{_libdir}/erlang/lib/xmerl-* | head -n1)
+
+%{__make} -C src \
+	XMERL_PATH=$xmerldir
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_libdir}/erlang/lib/xmlrpc-%{version}
+cp -a ebin src $RPM_BUILD_ROOT%{_libdir}/erlang/lib/xmlrpc-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README TODO doc/*.txt
+%{_libdir}/erlang/lib/xmlrpc-*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/04/24 10:05:28  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list