update to 1.0.2

This commit is contained in:
Miroslav Lichvar 2018-02-26 14:58:44 +01:00
parent c6f482cd62
commit 30fc714c4f
3 changed files with 10 additions and 12 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/pps-tools-20120407git0deb9c.tar.xz
/pps-tools-1.0.2.tar.gz

View File

@ -1,15 +1,12 @@
Name: pps-tools
Version: 0
Version: 1.0.2
Release: 0.16.20120407git0deb9c%{?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/ 0deb9c | xz > pps-tools-20120407git0deb9c.tar.xz
Source0: pps-tools-20120407git0deb9c.tar.xz
URL: https://github.com/redlab-i/pps-tools
Source0: https://github.com/redlab-i/pps-tools/archive/v%{version}/%{name}-%{version}.tar.gz
%description
This package includes the LinuxPPS user-space tools.
@ -23,22 +20,23 @@ This package includes the header needed to compile PPSAPI (RFC-2783)
applications.
%prep
%setup -q -n %{name}
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags}
%install
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/sys}
install -m755 -t $RPM_BUILD_ROOT%{_bindir} ppsctl ppsfind ppstest ppswatch
install -m755 -t $RPM_BUILD_ROOT%{_bindir} \
ppsctl ppsfind ppsldisc ppstest ppswatch
install -p -m644 -t $RPM_BUILD_ROOT%{_includedir}/sys timepps.h
%files
%doc COPYING debian/README debian/copyright
%license COPYING
%{_bindir}/pps*
%files devel
%doc COPYING debian/copyright
%license COPYING
%{_includedir}/sys/timepps.h
%changelog

View File

@ -1 +1 @@
e8af76a671370ebe0154c14155ea1779 pps-tools-20120407git0deb9c.tar.xz
SHA512 (pps-tools-1.0.2.tar.gz) = fa86455ece83700d5a1c522082f78ed324927fb9f53d3cf5f615a566a39e54938a41e82b6d4ae23d57c273fb923f96db4ca2d071199795d020952703afa53fcb