%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Gtk2-Ex-FormFactory Version: 0.67 Release: 2mamba Summary: Gtk2::Ex::FormFactory - Makes building complex GUI's easy Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Automatic Build System URL: http://www.cpan.org Source: http://search.cpan.org/CPAN/authors/id/J/JR/JRED/Gtk2-Ex-FormFactory-%{version}.tar.gz License: Artistic, LGPL Requires: perl >= %perl_major_ver ## AUTOBUILDREQ-BEGIN BuildRequires: perl-devel >= %perl_major_ver BuildRequires: perl-Gtk2 ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This is a framework which tries to make building complex GUI's easy, by offering these two main features: * Consistent looking GUI without the need to code resp. tune each widget by hand. Instead you declare the structure of your GUI, connect it to the data of your program (which should be a well defined set of objects) and control how this structure is transformed into a specific layout in a very generic way. * Automatically keep widget and object states in sync (in both directions), even with complex data structures with a lot of internal dependencies, object nesting etc. This manpage describes the facilities of Gtk2::Ex::FormFactory objects which are only a small part of the whole framework. To get a full introduction and overview of how this framework works refer to Gtk2::Ex::FormFactory::Intro. %prep %setup -q -n Gtk2-Ex-FormFactory-%{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 * Mon Nov 12 2012 Silvan Calarco 0.67-2mamba - perl 5.16 mass rebuild * Fri Aug 19 2011 Automatic Build System 0.67-1mamba - automatic version update by autodist * Sat Nov 08 2008 Silvan Calarco 0.65-2mamba - automatic rebuild by autodist * Mon Oct 20 2008 gil 0.65-1mamba - package created by autospec