Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
perl-Term-ProgressBar
perl-Term-ProgressBar.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Term-ProgressBar.spec of Package perl-Term-ProgressBar
# # spec file for package perl-Term-ProgressBar # # Copyright (c) 2013 SUSE LINUX Products 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/ # %define modname Term-ProgressBar Name: perl-%{modname} Version: 2.14 Release: 0 Summary: A progress bar for terminals License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl Requires: perl(Class::MethodMaker) Requires: perl(Term::ReadKey) BuildRequires: perl(Capture::Tiny) >= 0.13 BuildRequires: perl(Class::MethodMaker) BuildRequires: perl(Term::ReadKey) BuildRequires: perl(Test::Exception) Source: http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/%{modname}-%{version}.tar.gz Url: http://search.cpan.org/dist/Term-ProgressBar/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This module provides a simple progress indicator for command line programs. You initialize a ProgressBar object with a brief description of what is happening and the number of things that need doing, and after each thing is done you call the object's update() method. At the moment, this is presented to the user (on stderr) as a sequence of 50 hash marks (no matter how many things are being done). %prep %setup -q -n %{modname}-%{version} %__sed -i 's/\r$//' examples/*.pl %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" make %check make test %install rm -rf %{buildroot} make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc README Changes examples %doc %{_mandir}/man?/* %{perl_vendorlib}/Term #%{perl_vendorarch}/auto/Term-ProgressBar %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor