Sophie

Sophie

distrib > Mageia > 2 > x86_64 > by-pkgid > 560b44062990a5fddd27b2b162f871f7 > files > 2

perl-XML-Filter-BufferText-1.10.0-2.mga1.src.rpm

%define upstream_name    XML-Filter-BufferText
%define upstream_version 1.01

Name:           perl-%{upstream_name}
Version:        %perl_convert_version %{upstream_version}
Release:        %mkrel 2

Summary:        Filter to put all characters() in one event
License:        Artistic
Group:          Development/Perl
Url:            http://search.cpan.org/dist/%{upstream_name}/
Source0:        http://www.cpan.org/modules/by-module/XML/%{upstream_name}-%{upstream_version}.tar.bz2

#%if %{mdkversion} < 1010
#Buildrequires:  perl-devel
#%endif
Buildrequires:  perl(XML::SAX)
BuildArch: noarch

%description
This is a very simple filter. One common cause of grief (and programmer error)
is that XML parsers aren't required to provide character events in one chunk.
They can, but are not forced to, and most don't. This filter does the trivial
but oft-repeated task of putting all characters into a single event.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}
chmod 644 BufferText.pm Changes README

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%install
rm -rf %{buildroot}
%makeinstall_std

%check
%{__make} test

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc Changes README
%{perl_vendorlib}/XML
%{_mandir}/*/*

%changelog
* Fri Jan 21 2011 jquelin <jquelin> 1.10.0-2.mga1
+ Revision: 29450
- rebuild
- mageia rebuild

* Mon Jan 17 2011 spuhler <spuhler> 1.10.0-1.mga1
+ Revision: 20780
- removed buildroot definition from .spec
  commented the if mdkversion lines

  + jquelin <jquelin>
    - imported package perl-XML-Filter-BufferText


* Tue Jul 28 2009 Jérôme Quelin <jquelin@mandriva.org> 1.10.0-1mdv2010.1
+ Revision: 401863
- rebuild using %%perl_convert_version

* Wed Jun 18 2008 Thierry Vignaud <tv@mandriva.org> 1.01-10mdv2009.0
+ Revision: 224617
- rebuild

* Thu Mar 06 2008 Oden Eriksson <oeriksson@mandriva.com> 1.01-9mdv2008.1
+ Revision: 180653
- rebuild

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request

* Sun Sep 23 2007 Anne Nicolas <anne.nicolas@mandriva.com> 1.01-8mdv2008.0
+ Revision: 92388
- bump release (oden)

* Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.01-7mdv2008.0
+ Revision: 87099
- rebuild


* Tue Aug 29 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.01-6mdv2007.0
- Rebuild

* Wed May 03 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.01-5mdk
- Fix According to perl Policy
    - BuildRequires
    - Source URL

* Thu Sep 29 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.01-4mdk
- Fix BuildRequires

* Thu Sep 29 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.01-3mdk
- Fix BuildRequires

* Tue Jun 07 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.01-2mdk 
- spec cleanup
- don't ship useless empty directories
- make test in %%check

* Mon Jan 17 2005 Guillaume Rousse <guillomovitch@mandrake.org> 1.01-1mdk 
- first mdk release