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