From 15b6448db4af5269d478c347034c4cf917cef06b Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:03:54 +0100 Subject: [PATCH] automatic update by autodist [release 1.302-1mamba;Sat Oct 05 2013] --- README.md | 4 + perl-Glib-1.250-arm_build_ugly_hack.patch | 15 +++ perl-Glib.spec | 109 ++++++++++++++++++++++ 3 files changed, 128 insertions(+) create mode 100644 perl-Glib-1.250-arm_build_ugly_hack.patch create mode 100644 perl-Glib.spec diff --git a/README.md b/README.md index c5f9be3..33325ae 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-Glib +This module provides perl access to GLib and GLib's GObject libraries. +GLib is a portability and utility library; GObject provides a generic type system with inheritance and a powerful signal system. +Together these libraries are used as the foundation for many of the libraries that make up the Gnome environment, and are used in many unrelated projects. + diff --git a/perl-Glib-1.250-arm_build_ugly_hack.patch b/perl-Glib-1.250-arm_build_ugly_hack.patch new file mode 100644 index 0000000..53b1d20 --- /dev/null +++ b/perl-Glib-1.250-arm_build_ugly_hack.patch @@ -0,0 +1,15 @@ +diff -Nru Glib-1.250.orig/lib/Glib/ParseXSDoc.pm Glib-1.250/lib/Glib/ParseXSDoc.pm +--- Glib-1.250.orig/lib/Glib/ParseXSDoc.pm 2012-01-06 07:26:40.000000000 +0100 ++++ Glib-1.250/lib/Glib/ParseXSDoc.pm 2012-02-22 12:16:45.952533359 +0100 +@@ -104,8 +104,9 @@ + + # NOTE: don't assume STDOUT, because other code may have select'd + # a different file handle. +- store_fd $parser->{xspods}, select; +- store_fd $parser->{data}, select; ++ # FIXME: ARM build really ugly hack ++ #store_fd $parser->{xspods}, select; ++ #store_fd $parser->{data}, select; + } + + return [ keys %{$parser->{data}} ]; diff --git a/perl-Glib.spec b/perl-Glib.spec new file mode 100644 index 0000000..aef01ec --- /dev/null +++ b/perl-Glib.spec @@ -0,0 +1,109 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Glib +Version: 1.302 +Release: 1mamba +Summary: Glib :: Glib Perl module +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/Glib-%{version}.tar.gz +Patch0: %{name}-1.250-arm_build_ugly_hack.patch +License: GPL +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libglib-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl-ExtUtils-Depends +BuildRequires: perl-ExtUtils-PkgConfig +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This module provides perl access to GLib and GLib's GObject libraries. +GLib is a portability and utility library; GObject provides a generic type system with inheritance and a powerful signal system. +Together these libraries are used as the foundation for many of the libraries that make up the Gnome environment, and are used in many unrelated projects. + +%prep +%setup -q -n Glib-%{version} +#%ifarch arm +# FIXME: ugly hack to avoid build lockup on ARM for currently unclear reasons (perl problem?) +#% patch0 -p1 +#%endif + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Sat Oct 05 2013 Automatic Build System 1.302-1mamba +- automatic update by autodist + +* Sun Jul 07 2013 Automatic Build System 1.301-1mamba +- automatic version update by autodist + +* Mon Nov 12 2012 Silvan Calarco 1.261-2mamba +- perl 5.16 mass rebuild + +* Thu Aug 09 2012 Automatic Build System 1.261-1mamba +- automatic version update by autodist + +* Wed Feb 22 2012 Silvan Calarco 1.250-1mamba +- update to 1.250 + +* Tue Feb 21 2012 Silvan Calarco 1.240-1mamba +- update to 1.240 + +* Sun Aug 07 2011 Automatic Build System 1.224-1mamba +- automatic version update by autodist + +* Sun Dec 19 2010 Silvan Calarco 1.223-1mamba +- update to 1.223 + +* Fri Jul 10 2009 Automatic Build System 1.222-1mamba +- automatic update by autodist + +* Sat Apr 04 2009 Silvan Calarco 1.221-1mamba +- automatic update by autodist + +* Thu Feb 26 2009 Silvan Calarco 1.201-1mamba +- automatic update by autodist + +* Tue Nov 04 2008 Silvan Calarco 1.200-2mamba +- automatic rebuild by autodist + +* Mon Oct 20 2008 gil 1.200-1mamba +- update to 1.200 + +* Thu Nov 22 2007 Aleph0 1.162-1mamba +- update to 1.162 + +* Tue Aug 30 2005 Davide Madrisan 1.082-1qilnx +- update to version 0.182 by autospec + +* Thu Nov 11 2004 Alessandro Ramazzina 1.061-1qilnx +- package created by autospec