Projects
Eulaceura:Factory
perl-HTTP-BrowserDetect
_service:obs_scm:perl-HTTP-BrowserDetect.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-HTTP-BrowserDetect.spec of Package perl-HTTP-BrowserDetect
%global _empty_manifest_terminate_build 0 Name: perl-HTTP-BrowserDetect Version: 3.41 Release: 1 Summary: Determine Web browser, version, and platform from an HTTP user agent string License: GPL-1.0-only OR Artistic-1.0-Perl Group: Development/Libraries URL: http://search.cpan.org/dist/HTTP-BrowserDetect/ Source0: http://www.cpan.org/authors/id/O/OA/OALDERS/HTTP-BrowserDetect-%{version}.tar.gz BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(JSON::PP) >= 4.04 BuildRequires: perl(List::Util) >= 1.49 BuildRequires: perl(Path::Tiny) BuildRequires: perl(strict) BuildRequires: perl(Test::Differences) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::NoWarnings) BuildRequires: perl(Test::Warnings) BuildRequires: perl(warnings) Requires: perl(strict) Requires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The HTTP::BrowserDetect object does a number of tests on an HTTP user agent string. The results of these tests are available via methods of the object. %prep %setup -q -n HTTP-BrowserDetect-%{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 CONTRIBUTORS cpanfile dist.ini LICENSE META.json perlcriticrc perlimports.toml perltidyrc precious.toml README.md tidyall.ini TODO %{perl_vendorlib}/* %{_mandir}/* %changelog * Tue Oct 15 2024 xiejing <xiejing@kylinos.cn> - 3.41-1 - Update to 3.41 - add amazonbot * Wed Mar 27 2024 Xu Jin <jinxu@kylinos.cn> - 3.40-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