Projects
home:Eustace:branches:Eulaceura:Factory
perl-Term-Chrome
_service:obs_scm:perl-Term-Chrome.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Term-Chrome.spec of Package perl-Term-Chrome
%global _empty_manifest_terminate_build 0 Name: perl-Term-Chrome Version: 2.01 Release: 1 Summary: DSL for colors and other terminal chrome License: GPL-1.0-only or Artistic-1.0-Perl Group: Development/Libraries URL: https://metacpan.org/dist/Term-Chrome Source0: https://www.cpan.org/modules/by-module/Term/Term-Chrome-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(Module::Build::Tiny) BuildRequires: perl(Test::Is) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Term::Chrome is a domain-specific language (DSL) for terminal decoration (colors and other attributes). In the current implementation stringification to ANSI sequences for xterm and xterm-256 is hard-coded (which means it doesn't use the terminfo(5) database), but this gives optimized (short) strings. Colors and attributes are exposed as objects that have overloading for arithmetic operators. %package help Summary : DSL for colors and other terminal chrome Provides: perl-Term-Chrome %description help Term::Chrome is a domain-specific language (DSL) for terminal decoration (colors and other attributes). In the current implementation stringification to ANSI sequences for xterm and xterm-256 is hard-coded (which means it doesn't use the terminfo(5) database), but this gives optimized (short) strings. Colors and attributes are exposed as objects that have overloading for arithmetic operators. %prep %setup -q -n Term-Chrome-%{version} %build export PERL_MM_OPT="" %{__perl} Build.PL --installdirs=vendor ./Build %install export PERL_MM_OPT="" rm -rf $RPM_BUILD_ROOT ./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* pushd %{buildroot} touch filelist.lst if [ -d usr/bin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ];then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ];then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib ];then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi popd mv %{buildroot}/filelist.lst . %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files -f filelist.lst %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Mon Feb 19 2024 woody2918 <wudi1@uniontech.com> - 2.01-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2