forked from pool/dateutils
Accepting request 113085 from home:rudi_m
- bump version 0.2.0, this is a feature release. * The distinction between binaries for date, time and date-time processing is cleared up by a unified set of tools, prefixed with `d'. Thus: dadd + tadd -> dadd dconv + tconv + dtconv -> dconv ddiff + tdiff -> ddiff dgrep + tgrep -> dgrep dseq + tseq -> dseq dtest + ttest -> dtest * Furthermore, all tools now fully cope with dates, times and date-times. Virtual timezones have been added (use `GPS' or `TAI'). * See info page examples and/or README. OBS-URL: https://build.opensuse.org/request/show/113085 OBS-URL: https://build.opensuse.org/package/show/utilities/dateutils?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
ac22167d69
commit
6c6db6c41c
@@ -16,16 +16,16 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define xversion 0.2.0
|
||||
|
||||
Name: dateutils
|
||||
Version: 0.1.10
|
||||
Version: 0.2.0
|
||||
Release: 0
|
||||
Summary: Nifty command line date and time utilities
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/Text/Utilities
|
||||
Url: https://github.com/hroptatyr/dateutils/
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
# is upstream merged
|
||||
Patch1: dateutils-0.1.10-byteswap.patch
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -39,18 +39,17 @@ 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).
|
||||
|
||||
%package -n %{name}-devel
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description -n %{name}-devel
|
||||
%description devel
|
||||
This package contains the header and source files needed for
|
||||
compiling programs using the %{name} libraries.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%setup -q -n %{name}-%{xversion}
|
||||
|
||||
%build
|
||||
%configure --docdir=%{_docdir}/%{name}
|
||||
@@ -61,7 +60,10 @@ make V=1
|
||||
rm -f %{buildroot}%{_infodir}/dir
|
||||
|
||||
%check
|
||||
make check
|
||||
if ! make check; then
|
||||
cat test/test-suite.log
|
||||
exit 1
|
||||
fi
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@@ -79,23 +81,23 @@ rm -rf %{buildroot}
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%{_bindir}/[dt]*add
|
||||
%{_bindir}/[dt]*conv
|
||||
%{_bindir}/[dt]*diff
|
||||
%{_bindir}/[dt]*grep
|
||||
%{_bindir}/[dt]*seq
|
||||
%{_bindir}/[dt]*test
|
||||
%{_bindir}/dadd
|
||||
%{_bindir}/dconv
|
||||
%{_bindir}/ddiff
|
||||
%{_bindir}/dgrep
|
||||
%{_bindir}/dseq
|
||||
%{_bindir}/dtest
|
||||
%{_bindir}/strptime
|
||||
%doc %{_infodir}/%{name}.info*
|
||||
%doc %{_mandir}/man1/[dt]*add.1*
|
||||
%doc %{_mandir}/man1/[dt]*conv.1*
|
||||
%doc %{_mandir}/man1/[dt]*diff.1*
|
||||
%doc %{_mandir}/man1/[dt]*grep.1*
|
||||
%doc %{_mandir}/man1/[dt]*seq.1*
|
||||
%doc %{_mandir}/man1/[dt]*test.1*
|
||||
%doc %{_mandir}/man1/dadd.1*
|
||||
%doc %{_mandir}/man1/dconv.1*
|
||||
%doc %{_mandir}/man1/ddiff.1*
|
||||
%doc %{_mandir}/man1/dgrep.1*
|
||||
%doc %{_mandir}/man1/dseq.1*
|
||||
%doc %{_mandir}/man1/dtest.1*
|
||||
%doc %{_mandir}/man1/strptime.1*
|
||||
|
||||
%files -n %{name}-devel
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/dateutils/
|
||||
%{_libdir}/pkgconfig/libdu[dt]*core.pc
|
||||
|
Reference in New Issue
Block a user