%define _use_internal_dependency_generator 0 %define module XML-Grove Summary: A Perl module providing simple access to the information set of parsed XML, HTML, or SGML instances. Name: perl-%{module} Version: 0.46alpha Release: 28%{?_dist_release} License: distributable Group: Development/Libraries URL: http://search.cpan.org/~kmacleod/XML-Grove/ Source0: %{module}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch BuildRequires: perl-libxml-perl BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Distribution: Vine Linux Vendor: Project Vine %description XML::Grove is a tree-based object model for accessing the information set of parsed or stored XML, HTML, or SGML instances. XML::Grove objects are Perl hashes and arrays where you access the properties of the objects using normal Perl syntax. %prep %setup -q -n %{module}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \; find $RPM_BUILD_ROOT/usr -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" | grep -v perllocal.pod | grep -v "\.packlist" > XML-Grove-%{version}-filelist if [ "$(cat XML-Grove-%{version}-filelist)X" = "X" ] ; then echo "ERROR: EMPTY FILE LIST" exit -1 fi %clean rm -rf $RPM_BUILD_ROOT %files -f XML-Grove-%{version}-filelist %defattr(-,root,root) %changelog * Sun Nov 30 2014 Ryoichi INAGAKI 0.46alpha-28 - rebuilt with perl 5.16.3 * Sat Apr 30 2011 Yoji TOYODA 0.46alpha-27 - rebuild with perl-5.12.3 * Fri Aug 1 2008 Ryoichi INAGAKI 0.46alpha-26 - applied new versioning policy - rebuilt with perl-5.10.0 - changed Group to Development/Libraries * Wed Jul 19 2006 Ryoichi INAGAKI 0.46alpha-25vl6 - changed Group to Development/Languages * Sun Jan 2 2005 IWAI, Masaharu 0.46alpha-25vl5 - build on perl-5.8.6-0vl1 * Sat Dec 13 2003 Satoshi MACHINO 0.46alpha-25vl4 - rebuilt on perl-5.8.2 * Thu Nov 06 2003 Satoshi MACHINO 0.46alpha-25vl3 - rebuilt on perl-5.8.1 * Sun Apr 20 2003 Satoshi MACHINO 0.46alpha-25vl2 - build on perl-5.8.0 * Sun Mar 02 2003 Satoshi MACHINO 0.46alpha-25vl1 - build for VineLinux * Tue Aug 6 2002 Chip Turner - automated release bump and build * Tue Jun 4 2002 Chip Turner - properly claim directories owned by package so they are removed when package is removed * Sat Jan 26 2002 Jeff Johnson - add internal provides. * Wed Jan 09 2002 Tim Powers - automated rebuild * Mon Jul 23 2001 Crutcher Dunnavant 0.46alpha-2 - imported from mandrake * Mon Jun 18 2001 Till Kamppeter 0.46alpha-1mdk - Newly introduced for Foomatic.