[pps-tools/f15] initial import
Miroslav Lichvar
mlichvar at fedoraproject.org
Wed Aug 10 15:36:41 UTC 2011
commit 74199b0f8c5bb4c7a53dc7ba8459308cc3c00396
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date: Wed Aug 10 17:24:17 2011 +0200
initial import
.gitignore | 1 +
pps-tools.spec | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9d659b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pps-tools-20100413git74c32c.tar.gz
diff --git a/pps-tools.spec b/pps-tools.spec
new file mode 100644
index 0000000..bcc91ea
--- /dev/null
+++ b/pps-tools.spec
@@ -0,0 +1,59 @@
+Name: pps-tools
+Version: 0
+Release: 0.2.20100413git74c32c%{?dist}
+Summary: LinuxPPS user-space tools
+
+Group: System Environment/Base
+License: GPLv2+
+URL: https://github.com/ago/pps-tools
+
+# git clone git://github.com/ago/pps-tools; cd pps-tools
+# git archive --prefix=pps-tools/ 74c32c | gzip > pps-tools-20100413git74c32c.tar.gz
+Source0: pps-tools-20100413git74c32c.tar.gz
+
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+%description
+This package includes the LinuxPPS user-space tools.
+
+%package devel
+Summary: LinuxPPS PPSAPI header file
+Group: Development/System
+
+%description devel
+This package includes the header needed to compile PPSAPI (RFC-2783)
+applications.
+
+%prep
+%setup -q -n %{name}
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/sys}
+install -m755 -t $RPM_BUILD_ROOT%{_bindir} ppsbind ppsfind ppstest ppswatch
+install -p -m644 -t $RPM_BUILD_ROOT%{_includedir} timepps.h
+ln -s ../timepps.h $RPM_BUILD_ROOT%{_includedir}/sys
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc debian/README debian/copyright
+%{_bindir}/pps*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/timepps.h
+%{_includedir}/sys/timepps.h
+
+%changelog
+* Tue Aug 09 2011 Miroslav Lichvar <mlichvar at redhat.com> 0-0.2.20100413git74c32c
+- include README and copyright (#692069)
+- provide also <sys/timepps.h>
+
+* Wed Mar 30 2011 Miroslav Lichvar <mlichvar at redhat.com> 0-0.1.20100413git74c32c
+- initial release
diff --git a/sources b/sources
index e69de29..e1715e2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+033b251555e5fae9820a4176b77a8a73 pps-tools-20100413git74c32c.tar.gz
More information about the scm-commits
mailing list