2011-08-10 15:24:17 +00:00
|
|
|
Name: pps-tools
|
|
|
|
Version: 0
|
2012-03-01 07:43:27 +00:00
|
|
|
Release: 0.4.20120215gitac0aa6%{?dist}
|
2011-08-10 15:24:17 +00:00
|
|
|
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
|
2012-03-01 07:43:27 +00:00
|
|
|
# git archive --prefix=pps-tools/ ac0aa6 | gzip > pps-tools-20120215gitac0aa6.tar.gz
|
|
|
|
Source0: pps-tools-20120215gitac0aa6.tar.gz
|
2011-08-10 15:24:17 +00:00
|
|
|
|
|
|
|
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}
|
2012-03-01 07:43:27 +00:00
|
|
|
install -m755 -t $RPM_BUILD_ROOT%{_bindir} ppsctl ppsfind ppstest ppswatch
|
2011-08-10 15:24:17 +00:00
|
|
|
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,-)
|
2012-03-01 07:43:27 +00:00
|
|
|
%doc COPYING debian/README debian/copyright
|
2011-08-10 15:24:17 +00:00
|
|
|
%{_bindir}/pps*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/timepps.h
|
|
|
|
%{_includedir}/sys/timepps.h
|
|
|
|
|
|
|
|
%changelog
|
2012-03-01 07:43:27 +00:00
|
|
|
* Thu Mar 01 2012 Miroslav Lichvar <mlichvar@redhat.com> 0-0.4.20120215gitac0aa6
|
|
|
|
- update to 20120215gitac0aa6
|
|
|
|
|
2012-01-14 01:11:58 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.3.20100413git74c32c
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-08-10 15:24:17 +00:00
|
|
|
* Tue Aug 09 2011 Miroslav Lichvar <mlichvar@redhat.com> 0-0.2.20100413git74c32c
|
|
|
|
- include README and copyright (#692069)
|
|
|
|
- provide also <sys/timepps.h>
|
|
|
|
|
|
|
|
* Wed Mar 30 2011 Miroslav Lichvar <mlichvar@redhat.com> 0-0.1.20100413git74c32c
|
|
|
|
- initial release
|