1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- %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: 26%{?_dist_release}
- License: distributable
- Group: Development/Libraries
- Source0: %{module}-%{version}.tar.bz2
- URL: http://search.cpan.org/~kmacleod/XML-Grove/
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Requires: perl >= 5.8.2
- BuildRequires: perl-libxml-perl
- BuildArch: noarch
- %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
- #make test || /bin/true
- %clean
- rm -rf $RPM_BUILD_ROOT
- %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
- %files -f XML-Grove-%{version}-filelist
- %defattr(-,root,root)
- %changelog
- * Fri Aug 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46alpha-26
- - applied new versioning policy
- - rebuilt with perl-5.10.0
- - changed Group to Development/Libraries
- * Wed Jul 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46alpha-25vl6
- - changed Group to Development/Languages
- * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 0.46alpha-25vl5
- - build on perl-5.8.6-0vl1
- * Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl4
- - rebuilt on perl-5.8.2
- * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl3
- - rebuilt on perl-5.8.1
- * Sun Apr 20 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl2
- - build on perl-5.8.0
- * Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl1
- - build for VineLinux
- * Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
- - automated release bump and build
- * Tue Jun 4 2002 Chip Turner <cturner@redhat.com>
- - properly claim directories owned by package so they are removed when package is removed
- * Sat Jan 26 2002 Jeff Johnson <jbj@redhat.com>
- - add internal provides.
- * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Mon Jul 23 2001 Crutcher Dunnavant <crutcher@redhat.com> 0.46alpha-2
- - imported from mandrake
- * Mon Jun 18 2001 Till Kamppeter <till@mandrakesoft.com> 0.46alpha-1mdk
- - Newly introduced for Foomatic.
|