File perl-SUSE-BugzillaClient.spec of Package SUSE-bugzilla

# spec file for package perl-SUSE-BugzillaClient 
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments via

# norootforbuild

Name:         perl-SUSE-BugzillaClient
Version:      0.5
Release:      1
Requires:     perl = %{perl_version} perl-TermReadKey perl-libwww-perl perl-XML-Parser perl-XML-SAX perl-Text-CSV_XS
Group:        Development/Libraries/Perl
License:      GPL
Summary:      Perl Library for accessing bugzilla systems
Source:       SUSE-BugzillaClient-%{version}.tar.gz
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
BuildArch:    noarch

SUSE::BugzillaClient is a Client Library for accessing
and other bugzilla installations.  It can query bugs by ID or the URL of 
a search. It returns a hash for each bug that contains the bugs properties.
An example script is included.

    Thomas Schmidt <>

%setup -n SUSE-BugzillaClient-%{version}

perl Makefile.PL


# remove filelist
rm -rf ${RPM_BUILD_ROOT}%{perl_vendorarch}/auto

mkdir -p ${RPM_BUILD_ROOT}/usr/share/doc/packages/perl-SUSE-BugzillaClient/examples
mv ${RPM_BUILD_ROOT}%{perl_vendorlib}/SUSE/ ${RPM_BUILD_ROOT}/usr/share/doc/packages/perl-SUSE-BugzillaClient/examples


%defattr(-, root, root)
%dir %{perl_vendorlib}/SUSE
%if %suse_version < 1200
#%dir %{perl_vendorarch}/auto/SUSE
#%dir %{perl_vendorarch}/auto/SUSE/BugzillaClient

%dir /usr/share/doc/packages/perl-SUSE-BugzillaClient
* Mon Jun 17 2013
- grabbed release taken from stefan box.
* Mon May  2 2011
- fix build for 12.1
* Tue Oct 12 2010
- fix rpmlint for 11.3
* Tue Oct 12 2010
- add patch from uwe for partnerids
* Wed Oct 28 2009
  patches by Christian Dengler:
- add: evaluate the XML element "status_whiteboard"
- uncomment debug instruction which was interpreted as a filehandle (not
  anymore imported function)
* Fri Sep 25 2009
- add patches from michal marek
- fix example to run without login
* Mon May  7 2007
- Can be used with other bugzillas than now.
- Can use CSV output for faster queries
* Tue Feb 20 2007
- initial checkin