Name: pimd Version: 2.3.2 Release: 6%{?dist} Summary: The original PIM-SM multicast routing daemon Group: System Environment/Daemons License: BSD URL: http://troglobit.com/pimd.html BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: ftp://ftp.troglobit.com/pimd/%{name}-%{version}.tar.gz Source1: %{name}.service # https://fedorahosted.org/fpc/ticket/174 Provides: bundled(libite) = 1.4.2 BuildRequires: systemd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %description pimd is a lightweight, stand-alone PIM-SM/SSM multicast routing daemon available under the free 3-clause BSD license. This is the restored original version from University of Southern California, by Ahmed Helmy, Rusty Eddy and Pavlin Ivanov Radoslavov. %prep %setup -q %build %configure export CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=${RPM_BUILD_ROOT} rm $RPM_BUILD_ROOT/usr/share/doc/pimd/LICENSE rm $RPM_BUILD_ROOT/usr/share/doc/pimd/LICENSE.mrouted # Systemd unit files install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service %clean rm -rf $RPM_BUILD_ROOT %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %defattr(-,root,root,-) %{_sbindir}/pimd %{_mandir}/man8/* %license LICENSE LICENSE.mrouted %doc README.md README-config.md README.config.jp README-debug.md ChangeLog.org %doc CONTRIBUTING.md CODE-OF-CONDUCT.md INSTALL.md %doc TODO.org CREDITS FAQ.md AUTHORS %config(noreplace) %{_sysconfdir}/%{name}.conf %{_unitdir}/%{name}.service %changelog * Thu Aug 03 2017 Fedora Release Engineering - 2.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Sep 19 2016 John W. Linville 2.3.2-3 - Add BuildRequires and Requires for systemd * Fri Sep 16 2016 John W. Linville 2.3.2-2 - Add systemd unit file * Wed Sep 07 2016 John W. Linville 2.3.2-1 - Initial import