Projects
Eulaceura:Factory
perl-File-Flat
_service:obs_scm:perl-File-Flat.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-File-Flat.spec of Package perl-File-Flat
%global _empty_manifest_terminate_build 0 Name: perl-File-Flat Version: 1.07 Release: 1 Summary: Implements a flat filesystem License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-Flat/ Source0: http://www.cpan.org/authors/id/E/ET/ETHER/File-Flat-%{version}.tar.gz BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl-generators BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Copy::Recursive) >= 0.35 BuildRequires: perl(File::Remove) >= 0.38 BuildRequires: perl(File::Spec) >= 0.85 BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Temp) >= 0.17 BuildRequires: perl(prefork) >= 0.02 BuildRequires: perl(strict) ## BuildRequires: perl(Test::ClassAPI) >= 1.04 BuildRequires: perl(Test::More) >= 0.47 BuildRequires: perl(warnings) Requires: perl(Cwd) Requires: perl(File::Copy::Recursive) >= 0.35 Requires: perl(File::Remove) >= 0.38 Requires: perl(File::Spec) >= 0.85 Requires: perl(File::Temp) >= 0.17 Requires: perl(prefork) >= 0.02 Requires: perl(strict) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description File::Flat implements a flat filesystem. A flat filesystem is a filesystem in which directories do not exist. It provides an abstraction over any normal filesystem which makes it appear as if directories do not exist. In effect, it will automatically create directories as needed. This is create for things like install scripts and such, as you never need to worry about the existence of directories, just write to a file, no matter where it is. %package help Summary : Implements a flat filesystem Provides: perl-File-Flat-doc %description help File::Flat implements a flat filesystem. A flat filesystem is a filesystem in which directories do not exist. It provides an abstraction over any normal filesystem which makes it appear as if directories do not exist. In effect, it will automatically create directories as needed. This is create for things like install scripts and such, as you never need to worry about the existence of directories, just write to a file, no matter where it is. %prep %setup -q -n File-Flat-%{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 Changes CONTRIBUTING dist.ini LICENSE META.json README %{perl_vendorlib}/* %files help %{_mandir}/* %changelog * Thu Sep 30 2021 wangqing <wangqing@uniontech.com> - - 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