File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / pimd / redhat / pimd.spec
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jun 12 07:59:38 2017 UTC (7 years ago) by misho
Branches: pimd, MAIN
CVS tags: v2_3_2, HEAD
pimd 2.3.2

    1: Name:           pimd
    2: Version:        2.1.8
    3: Release:        2%{?dist}
    4: Summary:        pimd, the PIM-SM v2 multicast daemon
    5: 
    6: Group:          System Environment/Daemons
    7: License:        BSD
    8: URL:            https://github.com/troglobit/%{name}/archive/master.zip
    9: Source0:        %{name}-master.zip
   10: Source1:        %{name}.init
   11: BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
   12: 
   13: BuildRequires:  make gcc
   14: 
   15: %description
   16: This is pimd, a lightweight, stand-alone implementation of Protocol Independent
   17: Multicast-Sparse Mode that may be freely distributed and/or deployed under the
   18: BSD license.  The project implements the full PIM-SM specification according to
   19: RFC 2362 with a few noted exceptions (see the RELEASE.NOTES for details).
   20: 
   21: 
   22: %prep
   23: %setup -q -n %{name}-master
   24: 
   25: 
   26: %build
   27: ./configure
   28: make %{?_smp_mflags}
   29: 
   30: 
   31: %install
   32: %{__mkdir_p} %{buildroot}%{_sysconfdir}
   33: %{__install} -m 0644 pimd.conf %{buildroot}%{_sysconfdir}/
   34: %{__mkdir_p} %{buildroot}%{_initrddir}
   35: %{__install} -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
   36: %{__mkdir_p} %{buildroot}%{_sbindir}
   37: %{__install} -m 0755 %{name} %{buildroot}%{_sbindir}/%{name}
   38: %{__mkdir_p} %{buildroot}%{_mandir}/man8
   39: %{__install} -m 0644 pimd.8 %{buildroot}%{_mandir}/man8/pimd.8
   40: 
   41: 
   42: %clean
   43: %{__rm} -rf %{buildroot}
   44: 
   45: 
   46: %files
   47: %defattr(-,root,root,-)
   48: %doc AUTHORS CREDITS FAQ INSTALL LICENSE LICENSE.mrouted README README.config README.config.jp README.debug RELEASE.NOTES TODO
   49: %config %{_sysconfdir}/pimd.conf
   50: %{_initrddir}/%{name}
   51: %{_sbindir}/%{name}
   52: %{_mandir}/man8/pimd.8.gz
   53: 
   54: 
   55: %post
   56: chkconfig --add %{name}
   57: 
   58: 
   59: %changelog
   60: * Mon Jan 27 2014 timeos@zssos.sk - 2.1.8
   61: 
   62:   fix for - pimd segfaults in igmp_read() (https://github.com/troglobit/pimd/issues/29)
   63: * Thu Dec 31 2013 timeos@zssos.sk - 2.1.8
   64: 
   65:   Initial - Built from upstream version.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>