Accepting request 640604 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/640604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Glib?expand=0&rev=52
This commit is contained in:
Dominique Leuenberger 2018-10-12 11:09:05 +00:00 committed by Git OBS Bridge
commit 45906ffaa0
5 changed files with 61 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1350d92975969387d27c9001a834037a0a2183789f4b0cd67e0af6021794f058
size 301221

3
Glib-1.328.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:459cc2add7aaa90aa56675582a93989158ed38caa1e10628733ccc690e0464d5
size 301694

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#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_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Oct 8 11:57:27 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
- Fix autogenerated changes
-------------------------------------------------------------------
Thu Sep 27 05:18:32 UTC 2018 - Stephan Kulow <coolo@suse.com>
- updated to 1.328
see /usr/share/doc/packages/perl-Glib/ChangeLog.pre-git
-------------------------------------------------------------------
Wed Sep 12 13:12:39 UTC 2018 - pmonrealgonzalez@suse.com

View File

@ -12,26 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Glib
Name: perl-Glib
Version: 1.327
Version: 1.328
Release: 0
%define cpan_name Glib
Summary: Perl wrappers for the GLib utility and Object libraries
License: LGPL-2.1-or-later
Group: Development/Languages/Perl
Url: https://metacpan.org/pod/Glib
Source: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz
Group: Development/Libraries/Perl
Url: https://metacpan.org/pod/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: glib2-devel >= 2.0.0
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::Depends) >= 0.300
BuildRequires: perl(ExtUtils::PkgConfig) >= 1.000
BuildRequires: perl(ExtUtils::PkgConfig) >= 1.000000
Requires: perl(ExtUtils::Depends) >= 0.300
Requires: perl(ExtUtils::PkgConfig) >= 1.000
Requires: perl(ExtUtils::PkgConfig) >= 1.000000
Provides: %{name}-devel = %{version}
%{perl_requires}
@ -40,15 +42,18 @@ This wrapper attempts to provide a perlish interface while remaining as
true as possible to the underlying C API, so that any reference materials
you can find on using GLib may still apply to using the libraries from
perl. This module also provides facilities for creating wrappers for other
GObject-based libraries. The the SEE ALSO manpage section contains pointers
to all sorts of good information.
GObject-based libraries. The SEE ALSO section contains pointers to all
sorts of good information.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags} V=1
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
@ -56,7 +61,8 @@ make %{?_smp_mflags} V=1
%perl_gen_filelist
%files -f %{name}.files
%license LICENSE
%defattr(-,root,root,755)
%doc AUTHORS ChangeLog.pre-git doctypes Glib.exports NEWS perl-Glib.doap README TODO xsapi.pod.foot xsapi.pod.head
%license LICENSE
%changelog