Pascal Bleser 2011-10-16 17:15:15 +00:00 committed by Git OBS Bridge
commit 0452f14c44
5 changed files with 110 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
dateutils-0.1.5.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81a20c446bf75dff81232b4567396cf29a2192ad0bc5c736b6417f0d0e360ca5
size 205460

5
dateutils.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sun Oct 16 17:15:47 CET 2011 - pascal.bleser@opensuse.org
- initial version (0.1.5)

78
dateutils.spec Normal file
View File

@ -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}