automatic update by autodist [release 1.302-1mamba;Sat Oct 05 2013]
This commit is contained in:
parent
482b9d6b90
commit
15b6448db4
@ -1,2 +1,6 @@
|
|||||||
# perl-Glib
|
# 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.
|
||||||
|
|
||||||
|
15
perl-Glib-1.250-arm_build_ugly_hack.patch
Normal file
15
perl-Glib-1.250-arm_build_ugly_hack.patch
Normal file
@ -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}} ];
|
109
perl-Glib.spec
Normal file
109
perl-Glib.spec
Normal file
@ -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 <aleph0@openmamba.org>
|
||||||
|
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 <autodist@mambasoft.it> 1.302-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Sun Jul 07 2013 Automatic Build System <autodist@mambasoft.it> 1.301-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.261-2mamba
|
||||||
|
- perl 5.16 mass rebuild
|
||||||
|
|
||||||
|
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 1.261-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Feb 22 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.250-1mamba
|
||||||
|
- update to 1.250
|
||||||
|
|
||||||
|
* Tue Feb 21 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.240-1mamba
|
||||||
|
- update to 1.240
|
||||||
|
|
||||||
|
* Sun Aug 07 2011 Automatic Build System <autodist@mambasoft.it> 1.224-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Dec 19 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.223-1mamba
|
||||||
|
- update to 1.223
|
||||||
|
|
||||||
|
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 1.222-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Sat Apr 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.221-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Thu Feb 26 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.201-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.200-2mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Mon Oct 20 2008 gil <puntogil@libero.it> 1.200-1mamba
|
||||||
|
- update to 1.200
|
||||||
|
|
||||||
|
* Thu Nov 22 2007 Aleph0 <aleph0@openmamba.org> 1.162-1mamba
|
||||||
|
- update to 1.162
|
||||||
|
|
||||||
|
* Tue Aug 30 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.082-1qilnx
|
||||||
|
- update to version 0.182 by autospec
|
||||||
|
|
||||||
|
* Thu Nov 11 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.061-1qilnx
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user