2024-01-06 09:03:54 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Glib
|
2024-01-06 09:03:54 +01:00
|
|
|
Version: 1.305
|
2024-01-06 09:03:54 +01:00
|
|
|
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
|
2024-01-06 09:03:54 +01:00
|
|
|
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 1.305-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:03:54 +01:00
|
|
|
* 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
|