forked from pool/perl-HTTP-BrowserDetect
Accepting request 296419 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/296419 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-BrowserDetect?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
ed37c82ae2
commit
59fe3a81cd
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5f93fa6f8a5b07fca7786fc7bfabdedd12535ae8aa303a030fec856228a3f7fd
|
|
||||||
size 57028
|
|
3
HTTP-BrowserDetect-2.00.tar.gz
Normal file
3
HTTP-BrowserDetect-2.00.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:69dfc12dc417a791541bfb35ac725c6f51546517757c0278f0b6c284979e1dbc
|
||||||
|
size 63968
|
@@ -1,3 +1,37 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 14 19:51:07 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.00
|
||||||
|
see /usr/share/doc/packages/perl-HTTP-BrowserDetect/Changes
|
||||||
|
|
||||||
|
2.00 2015-03-30 21:46:25 America/Toronto
|
||||||
|
- Standardize interface:
|
||||||
|
browser ()
|
||||||
|
device X _string()
|
||||||
|
engine _version(), _major(), _minor(), _beta()
|
||||||
|
os
|
||||||
|
robot
|
||||||
|
(andrewmoise)
|
||||||
|
- Add Galeon, Seamonkey, and Epiphany as specifically detected
|
||||||
|
browsers (andrewmoise)
|
||||||
|
- Some internal changes that make things simpler and faster
|
||||||
|
(andrewmoise)
|
||||||
|
- Remove the $check argument (e.g. $ua->beta('.45') to check
|
||||||
|
whether the beta version is ".45") (andrewmoise)
|
||||||
|
- Update and reorganize documentation (andrewmoise)
|
||||||
|
- Breaking Change: remove deprecated user_agent($arg) usage.
|
||||||
|
This is the reason for the major version bump.
|
||||||
|
|
||||||
|
1.78 2015-03-17 22:43:27 America/Toronto
|
||||||
|
- Reorganize documentation (andrewmoise)
|
||||||
|
- Make java a robot with the other libs and tools (andrewmoise)
|
||||||
|
- Add a "lib" test to detect libs and tools (andrewmoise)
|
||||||
|
- Add AppleCoreMedia (andrewmoise)
|
||||||
|
- Make Blackberry stop setting Safari tests (andrewmoise)
|
||||||
|
- Make Android stop setting Linux tests (andrewmoise)
|
||||||
|
- Implement much more engine detection and engine version
|
||||||
|
detection (andrewmoise)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 9 07:55:25 UTC 2015 - joschibrauchle@gmx.de
|
Mon Mar 9 07:55:25 UTC 2015 - joschibrauchle@gmx.de
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-HTTP-BrowserDetect
|
# spec file for package perl-HTTP-BrowserDetect
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,13 +16,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define cpan_name HTTP-BrowserDetect
|
|
||||||
|
|
||||||
Name: perl-HTTP-BrowserDetect
|
Name: perl-HTTP-BrowserDetect
|
||||||
Version: 1.77
|
Version: 2.00
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define cpan_name HTTP-BrowserDetect
|
||||||
Summary: Determine Web browser, version, and platform from an HTTP user agent string
|
Summary: Determine Web browser, version, and platform from an HTTP user agent string
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/HTTP-BrowserDetect/
|
Url: http://search.cpan.org/dist/HTTP-BrowserDetect/
|
||||||
Source: http://www.cpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
|
||||||
@@ -30,41 +29,40 @@ BuildArch: noarch
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Data::Dump)
|
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31
|
|
||||||
BuildRequires: perl(File::Slurp)
|
|
||||||
BuildRequires: perl(JSON::PP)
|
BuildRequires: perl(JSON::PP)
|
||||||
BuildRequires: perl(Module::Build) >= 0.3601
|
BuildRequires: perl(Module::Build) >= 0.28
|
||||||
|
BuildRequires: perl(Path::Tiny)
|
||||||
BuildRequires: perl(Test::FailWarnings)
|
BuildRequires: perl(Test::FailWarnings)
|
||||||
BuildRequires: perl(Test::Most)
|
BuildRequires: perl(Test::Most)
|
||||||
BuildRequires: perl(Test::NoWarnings)
|
BuildRequires: perl(Test::NoWarnings)
|
||||||
BuildRequires: perl(Path::Tiny)
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The HTTP::BrowserDetect object does a number of tests on an HTTP user agent
|
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.
|
string. The results of these tests are available via methods of the object.
|
||||||
|
|
||||||
This module is based upon the JavaScript browser detection code available
|
This module was originally based upon the JavaScript browser detection code
|
||||||
at *http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html*.
|
available at the
|
||||||
|
http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
|
||||||
|
manpage.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
%perl_process_packlist
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes LICENSE README TODO
|
%doc Changes CONTRIBUTORS LICENSE README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user