Obsoletes: gated mrt zebra frr-sysvinit
Conflicts: bird
+
%description
FRRouting is a free software that manages TCP/IP based routing
protocol. It takes multi-server and multi-thread approach to resolve
FRRouting is a fork of Quagga.
+
%package contrib
Summary: contrib tools for frr
Group: System Environment/Daemons
%description contrib
Contributed/3rd party tools which may be of use with frr.
+
%package pythontools
Summary: python tools for frr
BuildRequires: python
%description pythontools
Contributed python 2.7 tools which may be of use with frr.
+
%package devel
Summary: Header and object files for frr development
Group: System Environment/Daemons
The frr-devel package contains the header and object files neccessary for
developing OSPF-API and frr applications.
+
%prep
%setup -q -n frr-%{frrversion}
+
%build
# For standard gcc verbosity, uncomment these lines:
make SPHINXBUILD=%{sphinx} info
popd
+
%install
mkdir -p %{buildroot}%{_sysconfdir}/{frr,sysconfig,logrotate.d,pam.d,default} \
%{buildroot}/var/log/frr %{buildroot}%{_infodir}
install -m644 %{zeb_rh_src}/frr.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/frr
install -d -m750 %{buildroot}%{rundir}
+
%pre
# add vty_group
%if 0%{?vty_group:1}
%endif
fi
+
%postun
if [ "$1" -ge 1 ]; then
#
:
fi
+
%preun
%if "%{initsystem}" == "systemd"
##
%endif
/sbin/install-info --delete %{_infodir}/frr.info.gz %{_infodir}/dir
+
%files
%doc */*.sample* AUTHORS COPYING
%doc doc/mpls
%config(noreplace) %{_sysconfdir}/logrotate.d/frr
%{_sbindir}/frr-reload
+
%files contrib
%doc tools
+
%files pythontools
%{_sbindir}/frr-reload.py
%{_sbindir}/frr-reload.pyc
%{_sbindir}/frr-reload.pyo
+
%files devel
%{_libdir}/lib*.so
%if %{with_ospfclient}
%{_includedir}/%name/eigrpd/*.h
%endif
+
%changelog
* Sun May 20 2018 Martin Winter <mwinter@opensourcerouting.org> - %{version}
- Fixed RPKI RPM build