diff --git a/Data-SearchEngine-0.32.tar.gz b/Data-SearchEngine-0.32.tar.gz deleted file mode 100644 index d690870..0000000 --- a/Data-SearchEngine-0.32.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5227db1fd91931c4caab3b79eb8c28aa07e1c43973cff613c6d66e86d7f0247 -size 18151 diff --git a/Data-SearchEngine-0.33.tar.gz b/Data-SearchEngine-0.33.tar.gz new file mode 100644 index 0000000..5513570 --- /dev/null +++ b/Data-SearchEngine-0.33.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:027fc51ccb9ff8a2ae7f4d62721323bdab7d8fd2d6eb3ca2de3dfa6976c4809c +size 17839 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b320f5 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,20 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-Data-SearchEngine.changes b/perl-Data-SearchEngine.changes index 3f342ec..668ac26 100644 --- a/perl-Data-SearchEngine.changes +++ b/perl-Data-SearchEngine.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Apr 16 19:37:26 UTC 2015 - coolo@suse.com + +- updated to 0.33 + see /usr/share/doc/packages/perl-Data-SearchEngine/Changes + + 0.33 Jan 25 2012 + * Add fields attribute to Data::SearchEngine::Query. + ------------------------------------------------------------------- Fri Dec 16 19:25:15 UTC 2011 - pascal.bleser@opensuse.org diff --git a/perl-Data-SearchEngine.spec b/perl-Data-SearchEngine.spec index e2d6d66..9218ff4 100644 --- a/perl-Data-SearchEngine.spec +++ b/perl-Data-SearchEngine.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Data-SearchEngine # -# Copyright (c) 2011 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 # remain the property of their copyright owners, unless otherwise agreed @@ -16,84 +16,60 @@ # - Name: perl-Data-SearchEngine -Version: 0.32 +Version: 0.33 Release: 0 -Summary: A role for search engine abstraction -Source: http://search.cpan.org/CPAN/authors/id/G/GP/GPHAT/Data-SearchEngine-%{version}.tar.gz -Url: http://search.cpan.org/dist/Data-SearchEngine +%define cpan_name Data-SearchEngine +Summary: Role for Search Engine Abstraction +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic) +Url: http://search.cpan.org/dist/Data-SearchEngine/ +Source0: http://www.cpan.org/authors/id/A/AN/ANELSON/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} +BuildRequires: perl BuildRequires: perl-macros -BuildRequires: make -BuildRequires: perl(strict) -BuildRequires: perl(Test::More) -BuildRequires: perl(Time::HiRes) -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 -BuildRequires: perl(Moose::Role) BuildRequires: perl(Data::Paginator) >= 0.03 +BuildRequires: perl(JSON::Any) BuildRequires: perl(JSON::XS) +BuildRequires: perl(Moose) +BuildRequires: perl(Moose::Role) BuildRequires: perl(MooseX::Storage) BuildRequires: perl(MooseX::Storage::Deferred) -BuildRequires: perl(Digest::MD5) -BuildRequires: perl(JSON::Any) -BuildRequires: perl(Moose) -BuildRequires: perl(MooseX::Clone) -Requires: perl(Moose::Role) Requires: perl(Data::Paginator) >= 0.03 +Requires: perl(JSON::Any) Requires: perl(JSON::XS) +Requires: perl(Moose) +Requires: perl(Moose::Role) Requires: perl(MooseX::Storage) Requires: perl(MooseX::Storage::Deferred) -Requires: perl(Digest::MD5) -Requires: perl(JSON::Any) -Requires: perl(Moose) -Requires: perl(MooseX::Clone) -%if 0%{?suse_version} >= 1120 -BuildArch: noarch -%endif +%{perl_requires} %description -There are lots of search engine libraries. Each has a different interface. -The goal of Data::SearchEngine is to provide a simple, extensive set of -classes and roles that you can use to wrap a search implementation. The -net result will be an easily swappable backend with a common set of +There are *lots* of search engine libraries. Each has a different +interface. The goal of Data::SearchEngine is to provide a simple, extensive +set of classes and roles that you can use to wrap a search implementation. +The net result will be an easily swappable backend with a common set of features. %prep -%setup -q -n "Data-SearchEngine-%{version}" -%__sed -i '/^auto_install/d' Makefile.PL +%setup -q -n %{cpan_name}-%{version} %build -%__perl Makefile.PL PREFIX="%{_prefix}" -%__make %{?_smp_flags} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install %perl_make_install %perl_process_packlist +%perl_gen_filelist -%check -%__make test - -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} - -%files -%defattr(-,root,root) +%files -f %{name}.files +%defattr(-,root,root,755) %doc Changes ignore.txt LICENSE README README.mkdn -%dir %{perl_vendorlib}/Data -%{perl_vendorlib}/Data/SearchEngine.pm -%{perl_vendorlib}/Data/SearchEngine -%dir %{perl_vendorlib}/Moose -%dir %{perl_vendorlib}/Moose/Meta -%dir %{perl_vendorlib}/Moose/Meta/Attribute -%dir %{perl_vendorlib}/Moose/Meta/Attribute/Custom -%dir %{perl_vendorlib}/Moose/Meta/Attribute/Custom/Trait -%{perl_vendorlib}/Moose/Meta/Attribute/Custom/Trait/Digestable.pm -%doc %{perl_man3dir}/Data::SearchEngine.%{perl_man3ext}%{ext_man} -%doc %{perl_man3dir}/Data::SearchEngine::*.%{perl_man3ext}%{ext_man} -%doc %{perl_man3dir}/Moose::Meta::Attribute::Custom::Trait::Digestable.%{perl_man3ext}%{ext_man} %changelog