]> git.pld-linux.org Git - packages/dateutils.git/blame - dateutils.spec
- up to 0.4.7
[packages/dateutils.git] / dateutils.spec
CommitLineData
bb768ab7
AG
1Summary: Command-line date and time calculation, conversion, and comparison
2Name: dateutils
eafa692f
AM
3Version: 0.4.7
4Release: 1
bb768ab7
AG
5License: BSD
6Group: Applications/Console
7Source0: https://github.com/hroptatyr/dateutils/releases/download/v%{version}/%{name}-%{version}.tar.xz
eafa692f 8# Source0-md5: 41b11e705802768356abc4e1e9920055
64d0e875 9Patch0: %{name}-no-sysctl-h.patch
bb768ab7
AG
10URL: http://www.fresse.org/dateutils/
11BuildRequires: autoconf
12BuildRequires: automake
13BuildRequires: libtool
bb768ab7
AG
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Tools which revolve around fiddling with dates and times on the
18command line, with a strong focus on use cases that arise when dealing
19with large amounts of financial data.
20
21%prep
22%setup -q
64d0e875 23%patch0 -p1
bb768ab7
AG
24
25%build
26%{__libtoolize}
27%{__aclocal}
28%{__autoconf}
29%{__autoheader}
30%{__automake}
31%configure \
32 --disable-silent-rules \
33 --without-old-links \
34
35%{__make}
36
37%install
38rm -rf $RPM_BUILD_ROOT
39%{__make} install \
40 DESTDIR=$RPM_BUILD_ROOT
41
42rm -f $RPM_BUILD_ROOT%{_infodir}/dir
43rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%post
49[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
50
51%preun
52[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
53
54%files
55%defattr(644,root,root,755)
56%doc LICENSE README.md
57%attr(755,root,root) %{_bindir}/*
58%{_mandir}/man1/*
59%{_infodir}/%{name}*
60%dir %{_datadir}/%{name}
61%{_datadir}/%{name}/*.tzmcc
62%{_datadir}/%{name}/locale
This page took 0.105901 seconds and 4 git commands to generate.