1 Summary: Command-line date and time calculation, conversion, and comparison
6 Group: Applications/Console
7 Source0: https://github.com/hroptatyr/dateutils/releases/download/v%{version}/%{name}-%{version}.tar.xz
8 # Source0-md5: 41b11e705802768356abc4e1e9920055
9 Patch0: %{name}-no-sysctl-h.patch
10 URL: http://www.fresse.org/dateutils/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Tools which revolve around fiddling with dates and times on the
18 command line, with a strong focus on use cases that arise when dealing
19 with large amounts of financial data.
32 --disable-silent-rules \
38 rm -rf $RPM_BUILD_ROOT
40 DESTDIR=$RPM_BUILD_ROOT
42 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
43 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
46 rm -rf $RPM_BUILD_ROOT
49 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
52 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
55 %defattr(644,root,root,755)
56 %doc LICENSE README.md
57 %attr(755,root,root) %{_bindir}/*
60 %dir %{_datadir}/%{name}
61 %{_datadir}/%{name}/*.tzmcc
62 %{_datadir}/%{name}/locale