forked from pool/perl-Term-ProgressBar
Compare commits
11 Commits
13b2a6f11b
...
964b6d1388
Author | SHA256 | Date | |
---|---|---|---|
964b6d1388 | |||
52262576b7 | |||
08d701d44b | |||
7ad1061343 | |||
e78bf76af1 | |||
8f6733fc8f | |||
03e3b8ef41 | |||
|
b1289c6242 | ||
|
4a0014557b | ||
f4bc2fdf3e | |||
|
2342e2870e |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c1e0602c738a91fe54b01bcaa0d1a898b07ef6815c55eb2ebd6da4e3be20f696
|
|
||||||
size 18711
|
|
3
Term-ProgressBar-2.23.tar.gz
Normal file
3
Term-ProgressBar-2.23.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:defc03fb9f4ac1c9df1359d312bff3c0865ddefbf3aba64cd42a69a86215d49d
|
||||||
|
size 19202
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,54 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 9 03:07:26 UTC 2022 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 2.23
|
||||||
|
see /usr/share/doc/packages/perl-Term-ProgressBar/Changes
|
||||||
|
|
||||||
|
2.23 2022-10-08 MANWAR
|
||||||
|
- Merged PR #11: Added a check to print a full bar at the end, thanks @cwallacetlc.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 13 06:01:23 UTC 2018 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.22
|
||||||
|
see /usr/share/doc/packages/perl-Term-ProgressBar/Changes
|
||||||
|
|
||||||
|
2.22 2018-05-12 MANWAR
|
||||||
|
- Merged PR #10: Amend to prevent uninitialised warning error, thanks @lharey.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 3 06:15:55 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.21
|
||||||
|
see /usr/share/doc/packages/perl-Term-ProgressBar/Changes
|
||||||
|
|
||||||
|
2.21 2017-08-02 MANWAR
|
||||||
|
- Added key 'clean' to Makefile.PL script.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 12 06:13:35 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.20
|
||||||
|
see /usr/share/doc/packages/perl-Term-ProgressBar/Changes
|
||||||
|
|
||||||
|
2.20 2017-07-11 MANWAR
|
||||||
|
- silent mode avoids uninitialized value messages (GFIREBALL)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 11 06:26:04 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.19
|
||||||
|
see /usr/share/doc/packages/perl-Term-ProgressBar/Changes
|
||||||
|
|
||||||
|
2.19 2017-07-10 MANWAR
|
||||||
|
- Fixed inconsistent version as reported by CPANTS.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 7 07:18:52 UTC 2016 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.18
|
||||||
|
see /usr/share/doc/packages/perl-Term-ProgressBar/Changes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 13 19:08:26 UTC 2015 - coolo@suse.com
|
Mon Apr 13 19:08:26 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Term-ProgressBar
|
# spec file for package perl-Term-ProgressBar
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,28 +12,28 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Term-ProgressBar
|
|
||||||
Version: 2.17
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name Term-ProgressBar
|
%define cpan_name Term-ProgressBar
|
||||||
Summary: provide a progress meter on a standard terminal
|
Name: perl-Term-ProgressBar
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
Version: 2.23
|
||||||
Group: Development/Libraries/Perl
|
Release: 0
|
||||||
Url: http://search.cpan.org/dist/Term-ProgressBar/
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Source: http://www.cpan.org/authors/id/S/SZ/SZABGAB/%{cpan_name}-%{version}.tar.gz
|
Summary: Provide a progress meter on a standard terminal
|
||||||
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/M/MA/MANWAR/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Capture::Tiny) >= 0.13
|
BuildRequires: perl(Capture::Tiny) >= 0.13
|
||||||
BuildRequires: perl(Class::MethodMaker) >= 1.02
|
BuildRequires: perl(Class::MethodMaker) >= 1.02
|
||||||
BuildRequires: perl(Term::ReadKey) >= 2.14
|
BuildRequires: perl(Term::ReadKey) >= 2.14
|
||||||
BuildRequires: perl(Test::Exception) >= 0.31
|
BuildRequires: perl(Test::Exception) >= 0.310000
|
||||||
BuildRequires: perl(Test::More) >= 0.80
|
BuildRequires: perl(Test::More) >= 0.80
|
||||||
|
BuildRequires: perl(Test::Warnings)
|
||||||
Requires: perl(Class::MethodMaker) >= 1.02
|
Requires: perl(Class::MethodMaker) >= 1.02
|
||||||
Requires: perl(Term::ReadKey) >= 2.14
|
Requires: perl(Term::ReadKey) >= 2.14
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
@@ -44,7 +44,7 @@ the user know that something is happening, roughly how much stuff has been
|
|||||||
done, and maybe an estimate at how long remains.
|
done, and maybe an estimate at how long remains.
|
||||||
|
|
||||||
A typical use sets up the progress bar with a number of items to do, and
|
A typical use sets up the progress bar with a number of items to do, and
|
||||||
then calls "update" to update the bar whenever an item is processed.
|
then calls update to update the bar whenever an item is processed.
|
||||||
|
|
||||||
Often, this would involve updating the progress bar many times with no
|
Often, this would involve updating the progress bar many times with no
|
||||||
user-visible change. To avoid unnecessary work, the update method returns a
|
user-visible change. To avoid unnecessary work, the update method returns a
|
||||||
@@ -65,15 +65,15 @@ major-character added. This exponentially increases the granularity of the
|
|||||||
bar for the same width.
|
bar for the same width.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{version}
|
||||||
find . -type f -print0 | xargs -0 chmod 644
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@@ -81,7 +81,6 @@ find . -type f -print0 | xargs -0 chmod 644
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc Changes examples README
|
%doc Changes examples README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user