update to 1.0.2
This commit is contained in:
parent
c6f482cd62
commit
30fc714c4f
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
/pps-tools-20120407git0deb9c.tar.xz
|
/pps-tools-1.0.2.tar.gz
|
||||||
|
@ -1,15 +1,12 @@
|
|||||||
Name: pps-tools
|
Name: pps-tools
|
||||||
Version: 0
|
Version: 1.0.2
|
||||||
Release: 0.16.20120407git0deb9c%{?dist}
|
Release: 0.16.20120407git0deb9c%{?dist}
|
||||||
Summary: LinuxPPS user-space tools
|
Summary: LinuxPPS user-space tools
|
||||||
|
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/ago/pps-tools
|
URL: https://github.com/redlab-i/pps-tools
|
||||||
|
Source0: https://github.com/redlab-i/pps-tools/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
# 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
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package includes the LinuxPPS user-space tools.
|
This package includes the LinuxPPS user-space tools.
|
||||||
@ -23,22 +20,23 @@ This package includes the header needed to compile PPSAPI (RFC-2783)
|
|||||||
applications.
|
applications.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags}
|
CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/sys}
|
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
|
install -p -m644 -t $RPM_BUILD_ROOT%{_includedir}/sys timepps.h
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING debian/README debian/copyright
|
%license COPYING
|
||||||
%{_bindir}/pps*
|
%{_bindir}/pps*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc COPYING debian/copyright
|
%license COPYING
|
||||||
%{_includedir}/sys/timepps.h
|
%{_includedir}/sys/timepps.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user