Sync from SUSE:SLFO:Main pps-tools revision b1896d1065f0881f23e1b29879fae354
This commit is contained in:
commit
80da10f8bd
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="disabled" name="obs_scm">
|
||||||
|
<param name="url">https://github.com/ago/pps-tools.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="filename">pps-tools</param>
|
||||||
|
<param name="versionformat">0.0.0+git.%cd</param>
|
||||||
|
</service>
|
||||||
|
<service mode="disabled" name="set_version"/>
|
||||||
|
<service name="tar" mode="buildtime"/>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/ago/pps-tools.git</param>
|
||||||
|
<param name="changesrevision">c50cb7183e252b47308fa22f420e0a877277aa29</param></service></servicedata>
|
BIN
pps-tools-0.0.0+git.20211122.obscpio
(Stored with Git LFS)
Normal file
BIN
pps-tools-0.0.0+git.20211122.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
80
pps-tools.changes
Normal file
80
pps-tools.changes
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 29 06:29:58 UTC 2022 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.0.0+git.20211122:
|
||||||
|
* added README
|
||||||
|
* added way to add sysroot
|
||||||
|
* timepps: Ensure structs passed to kernel are zero initialized
|
||||||
|
* Makefile: fix installation to empty DESTDIR
|
||||||
|
* ppsfind: Use /bin/sh, fix possible issues.
|
||||||
|
* ppswatch: Fix quitting after signal
|
||||||
|
* Fix linking under -Wl,--as-needed
|
||||||
|
* Add ppsldisc from LKML patch by Rodolfo Giometti.
|
||||||
|
* Makefile: Cleanup CFLAGS: remove -I. add -fPIC.
|
||||||
|
* Removes OFFSETASSERT requirement from ppstest and ppsctl.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 9 21:07:50 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Add subpackage pps-udev
|
||||||
|
* grant group "ntp" permission to the /dev/pps* devices
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 20 07:11:40 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Make sure optflags are honored
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 14 10:58:06 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.0.0+git.20181203:
|
||||||
|
* Makefile: fix installation to empty DESTDIR
|
||||||
|
* ppsfind: Use /bin/sh, fix possible issues.
|
||||||
|
* ppswatch: Fix quitting after signal
|
||||||
|
* Fix linking under -Wl,--as-needed
|
||||||
|
* Add ppsldisc from LKML patch by Rodolfo Giometti.
|
||||||
|
* Makefile: Cleanup CFLAGS: remove -I. add -fPIC.
|
||||||
|
* Removes OFFSETASSERT requirement from ppstest and ppsctl.
|
||||||
|
* ppsfind: Add licence to the file header.
|
||||||
|
* Remove debian directory.
|
||||||
|
* ppswatch: Add useful stats output.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 8 09:44:32 UTC 2016 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- install timepps.h in location specified by RFC 2783
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 11 17:15:07 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update license information
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 05 14:15:29 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Simplify version scheme (use just date)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 4 17:09:38 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update description to go a bit more into detail on PPS.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 01 16:25:29 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.0.0+git.20120407:
|
||||||
|
* rename ppsbind to ppsctl
|
||||||
|
* ppsctl: don't bind by default
|
||||||
|
* add copyright information
|
||||||
|
* pps-test: line-flush stdout output
|
||||||
|
* Add uninstall production.
|
||||||
|
* Add .gitignore for generated files.
|
||||||
|
* Install timepps.h in location specified by RFC 2783.
|
||||||
|
* Update .gitignore
|
||||||
|
* Include our own timepps.h since it is in the same tree
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 1 15:55:46 UTC 2016 - matwey.kornilov@gmail.com
|
||||||
|
|
||||||
|
- Initial version
|
||||||
|
|
4
pps-tools.obsinfo
Normal file
4
pps-tools.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: pps-tools
|
||||||
|
version: 0.0.0+git.20211122
|
||||||
|
mtime: 1637567329
|
||||||
|
commit: c50cb7183e252b47308fa22f420e0a877277aa29
|
90
pps-tools.spec
Normal file
90
pps-tools.spec
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
#
|
||||||
|
# spec file for package pps-tools
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define version_unconverted 0.0.0+git.20211122
|
||||||
|
Name: pps-tools
|
||||||
|
Version: 0.0.0+git.20211122
|
||||||
|
Release: 0
|
||||||
|
Summary: Userspace tools for the Linux Pulse Per Second subsystem
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
Group: Hardware/Other
|
||||||
|
URL: http://linuxpps.org
|
||||||
|
Source: %{name}-%{version}.tar.gz
|
||||||
|
Source1: pps.rules
|
||||||
|
Requires: pps-udev
|
||||||
|
|
||||||
|
%description
|
||||||
|
Userland tools to test Linux kernel PPS API. See Documentations/pps/pps.txt
|
||||||
|
for reference.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for the LinuxPPS API
|
||||||
|
Group: Hardware/Other
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
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.
|
||||||
|
|
||||||
|
%package -n pps-udev
|
||||||
|
Summary: Udev rules for Linux Kernel PPS
|
||||||
|
Group: Hardware/Other
|
||||||
|
Requires(pre): user(ntp)
|
||||||
|
|
||||||
|
%description -n pps-udev
|
||||||
|
Udev rules for Linux Kernel PPS.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
# for some reason rebuild occurs during installation
|
||||||
|
# we need to be sure that optflags are still honored
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/89-pps.rules
|
||||||
|
|
||||||
|
%post -n pps-udev
|
||||||
|
%udev_rules_update
|
||||||
|
|
||||||
|
%postun -n pps-udev
|
||||||
|
%udev_rules_update
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/ppsctl
|
||||||
|
%{_bindir}/ppsfind
|
||||||
|
%{_bindir}/ppsldisc
|
||||||
|
%{_bindir}/ppstest
|
||||||
|
%{_bindir}/ppswatch
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license COPYING
|
||||||
|
%{_includedir}/sys/timepps.h
|
||||||
|
|
||||||
|
%files -n pps-udev
|
||||||
|
%{_udevrulesdir}/89-pps.rules
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user