packages perl-Gtk2-GladeXML.spec
      Pages: < 1 >  DOWNLOAD      
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)

Name:           perl-Gtk2-GladeXML
Version:        1.007
Release:        1mamba
Summary:        Gtk2::GladeXML - an interface to libglade
Group:          System/Libraries/Perl
Vendor:        openmamba
Distribution:  openmamba
Packager:       Silvan Calarco <silvan.calarco@...>
URL:            http://www.cpan.org
Source:         http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gtk2-GladeXML-%{version}.tar.gz
License:        GPL
Requires:       perl >= %perl_major_ver
BuildRequires:  perl-devel >= %perl_major_ver
BuildRequires:  perl-ExtUtils-Depends >= 0.202
BuildRequires:  perl-ExtUtils-PkgConfig >= 1.05
BuildRoot:      %{_tmppath}/%{name}-%{version}-root

%description
^Gtk2::GladeXML allows Perl programmers to use libglade, a C library which generates graphical user interfaces directly from the XML output of the Glade user interface designer.

%prep
%setup -q -n Gtk2-GladeXML-%{version}

%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

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist

%files -f .packlist
%defattr(-,root,root)

%changelog
* Fri Jan 02 2009 Silvan Calarco <silvan.calarco@...> 1.007-1mamba
- automatic update by autodist

* Sat Nov 08 2008 Silvan Calarco <silvan.calarco@...> 1.006-2mamba
- automatic rebuild by autodist

* Wed Oct 04 2006 Silvan Calarco <silvan.calarco@...> 1.006-1qilnx
- package created by autospec