From 0452f14c444883f76aaa0445fff1a71dbfecceff58af4c11d23ac999cd242cd8 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Sun, 16 Oct 2011 17:15:15 +0000 Subject: [PATCH] 0.1.5 OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + dateutils-0.1.5.tar.xz | 3 ++ dateutils.changes | 5 +++ dateutils.spec | 78 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 110 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 dateutils-0.1.5.tar.xz create mode 100644 dateutils.changes create mode 100644 dateutils.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/dateutils-0.1.5.tar.xz b/dateutils-0.1.5.tar.xz new file mode 100644 index 0000000..fb56652 --- /dev/null +++ b/dateutils-0.1.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81a20c446bf75dff81232b4567396cf29a2192ad0bc5c736b6417f0d0e360ca5 +size 205460 diff --git a/dateutils.changes b/dateutils.changes new file mode 100644 index 0000000..a831bb9 --- /dev/null +++ b/dateutils.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Oct 16 17:15:47 CET 2011 - pascal.bleser@opensuse.org + +- initial version (0.1.5) + diff --git a/dateutils.spec b/dateutils.spec new file mode 100644 index 0000000..264f362 --- /dev/null +++ b/dateutils.spec @@ -0,0 +1,78 @@ +# vim: set sw=4 ts=4 et nu: + +Name: dateutils +Version: 0.1.5 +Release: 0 +Summary: Command-line Tools for fiddling with Dates and Times +Source: https://github.com/downloads/hroptatyr/dateutils/dateutils-%{version}.tar.xz +URL: http://hroptatyr.github.com/dateutils/ +Group: Productivity/Text/Utilities +License: BSD3c +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: xz +BuildRequires: gcc make glibc-devel pkgconfig +BuildRequires: autoconf automake libtool +Requires(post): info +Requires(pre): info + +%description +Dateutils are a bunch of tools that revolve around fiddling with dates and +times in the command line, with a strong focus on use cases that arise when +dealing with large amounts of financial data. Their target market is shell +scripts that need date calculations or calendar conversions, and as such they +are highly pipe-able and modeled after their well-known cousins (e.g. dtest vs. +test, or dgrep vs. grep). + +%prep +%setup -q + +%build +export CFLAGS="%{optflags}" +export CCFLAGS="$CFLAGS" +%configure +%__make %{?_smp_flags} V=1 CFLAGS="$CFLAGS" + +%install +%makeinstall + +%__rm -rf "%{buildroot}%{_includedir}/dateutils" + +%post +%install_info --info-dir="%{_infodir}" "%{_infodir}/%{name}.info%{ext_info}" + +%preun +%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/%{name}.info%{ext_info}" + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files +%defattr(-,root,root) +%{_bindir}/dcal +%{_bindir}/dseq +%{_bindir}/ttest +%{_bindir}/strptime +%{_bindir}/tadd +%{_bindir}/dadd +%{_bindir}/tdiff +%{_bindir}/dgrep +%{_bindir}/dtest +%{_bindir}/tseq +%{_bindir}/tgrep +%{_bindir}/ddiff +%{_bindir}/tcal +%doc %{_mandir}/man1/dcal.1* +%doc %{_mandir}/man1/ttest.1* +%doc %{_mandir}/man1/strptime.1* +%doc %{_mandir}/man1/dtest.1* +%doc %{_mandir}/man1/tadd.1* +%doc %{_mandir}/man1/dseq.1* +%doc %{_mandir}/man1/tseq.1* +%doc %{_mandir}/man1/tcal.1* +%doc %{_mandir}/man1/dadd.1* +%doc %{_mandir}/man1/tdiff.1* +%doc %{_mandir}/man1/tgrep.1* +%doc %{_mandir}/man1/dgrep.1* +%doc %{_mandir}/man1/ddiff.1* +%doc %{_infodir}/%{name}.info%{ext_info} +