Projects
Eulaceura:Factory
perl-File-ConfigDir
_service:obs_scm:perl-File-ConfigDir.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-File-ConfigDir.spec of Package perl-File-ConfigDir
%global _empty_manifest_terminate_build 0 Name: perl-File-ConfigDir Version: 0.021 Release: 1 Summary: Get directories of configuration files License: GPL-1.0-or-later or Artistic-1.0 Group: Development/Libraries URL: http://search.cpan.org/dist/File-ConfigDir/ Source0: http://www.cpan.org/authors/id/R/RE/REHSACK/File-ConfigDir-%{version}.tar.gz BuildArch: noarch BuildRequires: perl >= 1:v5.8.1 BuildRequires: perl-generators BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Basename) BuildRequires: perl(File::HomeDir) >= 0.50 BuildRequires: perl(File::Path) >= 2.00 BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) BuildRequires: perl(FindBin) BuildRequires: perl(List::MoreUtils) >= v0.0.419 BuildRequires: perl(List::MoreUtils::XS) >= v0.0.418 BuildRequires: perl(Test::More) >= 0.9 BuildRequires: perl-Test-Without-Module Requires: perl(Carp) Requires: perl(File::Basename) Requires: perl(File::HomeDir) >= 0.50 Requires: perl(File::Path) >= 2.00 Requires: perl(File::Spec) Requires: perl(FindBin) Requires: perl(List::MoreUtils) >= v0.0.419 Requires: perl(List::MoreUtils::XS) >= v0.0.418 %description This module is a helper for installing, reading and finding configuration file locations. It's intended to work in every supported Perl5 environment and will always try to Do The Right Thing(TM). %package help Summary : Get directories of configuration files Provides: perl-File-ConfigDir-doc %description help Man page for perl-File-ConfigDir. %prep %setup -q -n File-ConfigDir-%{version} %build export PERL_MM_OPT="" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install export PERL_MM_OPT="" rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; 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 || : make test %clean rm -rf $RPM_BUILD_ROOT %files -f filelist.lst %defattr(-,root,root,-) %doc ARTISTIC-1.0 Changes GPL-1 LICENSE META.json README.md %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Wed Jul 13 2022 Xu Jin <jinxu@kylinos.cn> 0.021-1 - Specfile autogenerated by Perl_Bot
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