[ptpd] initial commit of now old spec file which will need updating

jondkent jondkent at fedoraproject.org
Fri Mar 22 22:07:11 UTC 2013


commit 9f4763ed5a486b6270d0a4d3659db744697b341f
Author: Jon Kent <jon.kent at gmail.com>
Date:   Fri Mar 22 22:05:18 2013 +0000

    initial commit of now old spec file which will need updating

 ptpd.spec |   65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/ptpd.spec b/ptpd.spec
new file mode 100644
index 0000000..7023bca
--- /dev/null
+++ b/ptpd.spec
@@ -0,0 +1,65 @@
+Name: ptpd
+Version: 1.1.0	
+Release: 1%{?dist}
+Summary: PTPd implements the Precision Time protocol (PTP) as defined by the IEEE 1588
+
+Group: System Environment/Daemons
+License: BSD
+URL: http://ptpd.sourceforge.net/
+Source0: http://sourceforge.net/projects/ptpd/files/ptpd/1.1.0/ptpd-1.1.0.tar.gz	
+Source1: http://www2.xp-dev.com/sc/browse/105044/1.1.0-1/ptpd-etc-patch.tar.gz
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+%description
+The PTP daemon (PTPd) implements the Precision Time protocol (PTP) as defined 
+by the relevant IEEE 1588 standard. PTP was developed to provide very precise
+time coordination of LAN connected computers.
+
+PTPd is a complete implementation of the IEEE 1588 specification for a standard 
+(non-boundary) clock. PTPd has been tested with and is known to work properly 
+with other IEEE 1588 implementations.
+
+PTPd can run on most 32-bit or 64-bit, little- or big-endian processors. It 
+does not require an FPU, so it is great for embedded processors.
+
+%prep
+# extract first source implicitly and add in fedora init script and sysconfig
+%setup -a 1
+
+%build
+cd src
+CFLAGS="%{optflags}" make ptpd
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p  %{buildroot}%{_bindir}
+mkdir -p  %{buildroot}%{_initrddir}
+mkdir -p  %{buildroot}%{_sysconfdir}/sysconfig
+mkdir -p %{buildroot}%{_mandir}/man8/
+mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
+cp -p etc/init.d/ptpd %{buildroot}/%{_initddir}/ptpd
+cp -p etc/sysconfig/ptpd %{buildroot}/%{_sysconfdir}/sysconfig
+cp -p src/ptpd %{buildroot}/%{_bindir}
+cp -p src/ptpd.8 %{buildroot}/%{_mandir}/man8/
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{_sysconfdir}/*
+%{_initrddir}/*
+%{_bindir}/*
+%doc COPYRIGHT ChangeLog README RELEASE_NOTES
+%{_mandir}/man8/*
+
+
+%changelog
+* Wed Dec 01 2010 Jon Kent <jon.kent at, gmail.com> 1.1.0-1
+- Cleaned up description
+- Moved docs to use %doc tag
+- Cleaned up %build section
+- Cleaned up the src and init/sysconfig extraction
+* Sun Nov 21 2010 Jon Kent <jon.kent at, gmail.com> 1.1.0-1
+- First release of ptpd for Fedora


More information about the scm-commits mailing list