blob: 7f492db7c3541bce5a8b0558fdca66cda9158c90 [file] [log] [blame]
Brian Waters13d96012017-12-08 16:53:31 -06001
2Name: freeDiameter
3Version: 1.1.6
4Release: 1%{?dist}
5Packager: krum.boy4ev@gmail.com
6Summary: freeDiameter is an implementation of the Diameter protocol.
7Group: Development/Libraries
8License: BSD License
9URL: http://www.freediameter.net
10Source0: http://www.freediameter.net/hg/freeDiameter/archive/1.1.6.tar.gz
11
12BuildRequires: cmake make gcc gcc-c++ flex bison lksctp-tools-devel
13BuildRequires: gnutls-devel libgcrypt-devel libidn-devel
14BuildRequires: mercurial
15Requires: lksctp-tools
16
17%description
18freeDiameter is an implementation of the Diameter protocol.
19
20Diameter is a protocol designed to carry Authentication, Authorization and
21Accounting (AAA) payload. It is an evolution of the RADIUS protocol (as the
22name suggests).
23
24See http://www.freediameter.net/ for more information on the project.
25
26freeDiameter was previously known as the "waaad" project (WIDE AAA Daemon)
27This project is not related to the "freediameter" project from Sun on sourceforge.
28
29Author: Sebastien Decugis.
30
31%package daemon
32Summary: Simple daemon parses the command line and initializes the freeDiameter framework.
33Group: Development/Libraries
34Requires: freeDiameter
35
36%description daemon
37freeDiameterd : this simple daemon parses the command line and initializes the
38freeDiameter framework. Use it for your Diameter server & agent components.
39In case of Diameter clients, you probably will prefer linking the libfdcore
40directly with your client application that must be made Diameter-aware.
41
42
43%prep
44%setup -qn %{name}-%{version}
45
46
47%build
48mkdir -p build
49cd build
50cmake ../
51
52make %{?_smp_mflags}
53
54
55%install
56rm -rf $RPM_BUILD_ROOT
57cd build
58make install DESTDIR=$RPM_BUILD_ROOT
59make test
60
61%post daemon
62echo "/usr/local/lib/" > /etc/ld.so.conf.d/%{name}.conf
63/sbin/ldconfig
64
65%files
66%defattr(-,root,root,-)
67/usr/local/include/
68/usr/local/lib/
69
70%files daemon
71%defattr(-,root,root,-)
72/usr/local/bin/
73
74
75
76%changelog
77 * Sat Jul 5 2013 Krum Boychev <krum.boy4ev@gmail.com> - 1.1.6-1
78 - initial version