2016-05-01 16:21:26 +00:00
|
|
|
#
|
|
|
|
# spec file for package pps-tools
|
|
|
|
#
|
2020-10-20 07:13:12 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2016-05-01 16:21:26 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-14 11:15:36 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-05-01 16:21:26 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2018-12-14 11:15:36 +00:00
|
|
|
%define version_unconverted 0.0.0+git.20181203
|
2016-05-01 16:21:26 +00:00
|
|
|
Name: pps-tools
|
2018-12-14 11:15:36 +00:00
|
|
|
Version: 0.0.0+git.20181203
|
2016-05-01 16:21:26 +00:00
|
|
|
Release: 0
|
2016-05-04 17:13:53 +00:00
|
|
|
Summary: Userspace tools for the Linux Pulse Per Second subsystem
|
2018-12-14 11:15:36 +00:00
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://linuxpps.org
|
2016-05-01 16:30:54 +00:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2016-05-01 16:21:26 +00:00
|
|
|
|
|
|
|
%description
|
2016-05-01 16:30:54 +00:00
|
|
|
Userland tools to test Linux kernel PPS API. See Documentations/pps/pps.txt
|
|
|
|
for reference.
|
2016-05-01 16:21:26 +00:00
|
|
|
|
|
|
|
%package devel
|
2016-05-04 17:13:53 +00:00
|
|
|
Summary: Development files for the LinuxPPS API
|
2016-05-01 16:21:26 +00:00
|
|
|
|
|
|
|
%description devel
|
2016-05-04 17:13:53 +00:00
|
|
|
This subpackage contains a header-only C API providing a number of
|
|
|
|
inline C functions that call out to the kernel's Pulse Per Second
|
|
|
|
API. It is, for example, used by ntpd to interact with timing
|
|
|
|
devices.
|
2016-05-01 16:21:26 +00:00
|
|
|
|
|
|
|
%prep
|
2020-10-20 07:13:12 +00:00
|
|
|
%autosetup
|
2016-05-01 16:21:26 +00:00
|
|
|
|
|
|
|
%build
|
2016-05-01 16:30:54 +00:00
|
|
|
export CFLAGS="%{optflags}"
|
2020-10-20 07:13:12 +00:00
|
|
|
%make_build
|
2016-05-01 16:21:26 +00:00
|
|
|
|
|
|
|
%install
|
2020-10-20 07:13:12 +00:00
|
|
|
# for some reason rebuild occurs during installation
|
|
|
|
# we need to be sure that optflags are still honored
|
|
|
|
export CFLAGS="%{optflags}"
|
2018-12-14 11:15:36 +00:00
|
|
|
%make_install
|
2016-05-01 16:21:26 +00:00
|
|
|
|
|
|
|
%files
|
2018-12-14 11:15:36 +00:00
|
|
|
%license COPYING
|
2016-05-01 16:30:54 +00:00
|
|
|
%{_bindir}/ppsctl
|
2016-05-01 16:21:26 +00:00
|
|
|
%{_bindir}/ppsfind
|
2018-12-14 11:15:36 +00:00
|
|
|
%{_bindir}/ppsldisc
|
2016-05-01 16:21:26 +00:00
|
|
|
%{_bindir}/ppstest
|
2018-12-14 11:15:36 +00:00
|
|
|
%{_bindir}/ppswatch
|
2016-05-01 16:21:26 +00:00
|
|
|
|
|
|
|
%files devel
|
2018-12-14 11:15:36 +00:00
|
|
|
%license COPYING
|
2016-08-08 12:56:41 +00:00
|
|
|
%{_includedir}/sys/timepps.h
|
2016-05-01 16:21:26 +00:00
|
|
|
|
|
|
|
%changelog
|