perl-Glib/perl-Glib.spec

146 lines
4.8 KiB
RPMSpec
Raw Permalink Normal View History

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Glib
Version: 1.3294
Release: 1mamba
Summary: Glib :: Glib Perl module
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://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: libperl
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl >= 2:5.36.0
BuildRequires: perl-ExtUtils-Depends
BuildRequires: perl-ExtUtils-PkgConfig
%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
find %{buildroot} -name *.so -exec chmod u+w {} \;
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Tue Aug 29 2023 Automatic Build System <autodist@mambasoft.it> 1.3294-1mamba
- automatic version update by autodist
* Sun Apr 16 2023 Sdk Build System <sdk@mambasoft.it> 1.3293-2mamba
- rebuilt with perl 5.36.0
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 1.3293-1mamba
- automatic version update by autodist
* Sat May 02 2020 Automatic Build System <autodist@mambasoft.it> 1.3292-1mamba
- automatic update by autodist
* Fri Oct 27 2017 Automatic Build System <autodist@mambasoft.it> 1.326-1mamba
- automatic update by autodist
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.320-2mamba
- rebuilt with perl 5.24
* Mon Jan 25 2016 Automatic Build System <autodist@mambasoft.it> 1.320-1mamba
- automatic update by autodist
* Sat Feb 14 2015 Automatic Build System <autodist@mambasoft.it> 1.310-1mamba
- automatic update by autodist
* Thu Jan 08 2015 Automatic Build System <autodist@mambasoft.it> 1.307-1mamba
- automatic update by autodist
* Fri Dec 05 2014 Automatic Build System <autodist@mambasoft.it> 1.306-1mamba
- automatic update by autodist
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 1.305-1mamba
- automatic update by autodist
* 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