File perl-App-JobLog.spec of Package perl-App-JobLog

#
# spec file for package perl-App-JobLog
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           perl-App-JobLog
Version:        1.042
Release:        0
%define cpan_name App-JobLog
Summary:        Base of Work Log Application
License:        Artistic-1.0 or GPL-1.0+
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/dist/App-JobLog/
Source0:        https://cpan.metacpan.org/authors/id/D/DF/DFH/%{cpan_name}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl
BuildRequires:  perl-macros
BuildRequires:  perl(App::Cmd::Setup)
BuildRequires:  perl(App::Cmd::Tester)
BuildRequires:  perl(Capture::Tiny)
BuildRequires:  perl(Class::Autouse)
BuildRequires:  perl(Config::Tiny)
BuildRequires:  perl(DateTime) >= 0.66
BuildRequires:  perl(DateTime::TimeZone) >= 1.30
BuildRequires:  perl(File::HomeDir)
BuildRequires:  perl(File::Path) >= 2.060000
BuildRequires:  perl(File::ReadBackwards)
BuildRequires:  perl(IO::All)
BuildRequires:  perl(Modern::Perl)
BuildRequires:  perl(Module::Build) >= 0.360100
BuildRequires:  perl(String::Random)
BuildRequires:  perl(Term::ReadKey) >= 2.30
BuildRequires:  perl(Test::Fatal)
BuildRequires:  perl(Text::WrapI18N)
BuildRequires:  perl(autodie)
BuildRequires:  perl(parent)
Requires:       perl(App::Cmd::Setup)
Requires:       perl(Class::Autouse)
Requires:       perl(Config::Tiny)
Requires:       perl(DateTime) >= 0.66
Requires:       perl(DateTime::TimeZone) >= 1.30
Requires:       perl(File::HomeDir)
Requires:       perl(File::Path) >= 2.060000
Requires:       perl(File::ReadBackwards)
Requires:       perl(IO::All)
Requires:       perl(Modern::Perl)
Requires:       perl(Module::Build) >= 0.360100
Requires:       perl(Term::ReadKey) >= 2.30
Requires:       perl(Text::WrapI18N)
Requires:       perl(parent)
%{perl_requires}

%description
*App::JobLog* provides a simple command line utility for keeping track of
what you do when. The underlying design goals were to keep it fast, simple,
and idiot proof and to keep the generated documents human readable and
comprehensible. The usual form of such a document is a log -- a series of
line-delimited events, each containing a time stamp, a description, and
perhaps other meta-data. The problem with a log is that it's usually a
little numbing to scroll through it for anything but the most recent
events, and with a job log what you usually want isn't time stamps but
durations. So in addition to a logging facility we want a report extraction
facility. Finally, we often want to filter out particular activities and
categorize them in various ways, so along with the time stamps and
descriptions we want tags. That's about it. Besides this minimal
functionality we want the log to impose as few restrictions as possible so
that we don't need to think about how it works. We don't want to worry
about characters with special valence so the log has to handle its own
escaping of spaces and colons and so forth. We don't want to worry about
character encoding so the log has to be in Unicode (utf8).

*App::JobLog* keeps its documents, by default, in a hidden directory in
your home directory called _.joblog/_. These documents are a README file
explaining to anyone who stumbles across the directory what it's function
is, a log, called _log_, a configuration file, called _config.ini_, a
vacation file, called _vacation_, and perhaps log backups.

To perform any action with *App::JobLog* one invokes the executable with a
command and a list of options. These commands are listed below.

%prep
%setup -q -n %{cpan_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%check
%{__make} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changelog README
%license LICENSE

%changelog
openSUSE Build Service is sponsored by