]>
Commit | Line | Data |
---|---|---|
85ef2e42 AM |
1 | Summary: A jungle of Erlang code: XMPP library |
2 | Name: erlang-exmpp | |
9c9b99be AM |
3 | Version: 0.9.9 |
4 | Release: 1 | |
85ef2e42 AM |
5 | License: EPL |
6 | Group: Development/Languages | |
7 | Source0: http://download.process-one.net/exmpp/exmpp-%{version}.tar.gz | |
9c9b99be AM |
8 | # Source0-md5: 464b31ff4d709d8abb24cdb063d20c56 |
9 | Patch0: build.patch | |
85ef2e42 AM |
10 | URL: https://support.process-one.net/doc/display/EXMPP/exmpp+home |
11 | BuildRequires: erlang | |
12 | BuildRequires: expat-devel | |
13 | BuildRequires: libxml2-devel | |
14 | BuildRequires: openssl-devel | |
12fc3fac | 15 | BuildRequires: pkgconfig |
85ef2e42 AM |
16 | BuildRequires: zlib-devel |
17 | Requires: erlang | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | A fast and scalable library for the Extensible Messaging and Presence | |
22 | Protocol (XMPP). | |
23 | ||
24 | %prep | |
25 | %setup -q -n exmpp-%{version} | |
803b767a | 26 | %patch0 -p1 |
85ef2e42 AM |
27 | |
28 | %build | |
29 | %configure \ | |
30 | --prefix=%{_libdir}/erlang/lib | |
31 | %{__make} | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %{__make} install \ | |
37 | DESTDIR=$RPM_BUILD_ROOT | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc doc/* README | |
45 | %{_libdir}/erlang/lib/exmpp-* |