1 Summary: XML-RPC library for Erlang
6 Group: Development/Languages
7 Source0: http://ejabberd.jabber.ru/files/contributions/xmlrpc-%{version}-ipr2.tgz
8 # Source0-md5: c1905556e01d8970681b93dcba892442
9 URL: http://sourceforge.net/projects/sowap/
11 BuildRequires: erlang-xmerl
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 This is an HTTP 1.1 compliant XML-RPC library for Erlang. It is
17 designed to make it easy to write XML-RPC Erlang clients and/or
18 servers. The library is compliant with the XML-RPC specification
19 published by http://www.xmlrpc.org/.
22 %setup -q -n xmlrpc-%{version}
25 xmerldir=$(ls -1d %{_libdir}/erlang/lib/xmerl-* | head -n1)
31 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_libdir}/erlang/lib/xmlrpc-%{version}
34 cp -a ebin src $RPM_BUILD_ROOT%{_libdir}/erlang/lib/xmlrpc-%{version}
37 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)
41 %doc CHANGES README TODO doc/*.txt
42 %{_libdir}/erlang/lib/xmlrpc-*