2024-01-06 09:04:30 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Gtk2-Ex-FormFactory
|
|
|
|
Version: 0.67
|
2024-03-26 13:22:19 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 09:04:30 +01:00
|
|
|
Summary: Gtk2::Ex::FormFactory - Makes building complex GUI's easy
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
2024-03-26 13:22:19 +01:00
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 09:04:30 +01:00
|
|
|
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
|
2024-03-26 13:22:19 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-06 09:04:30 +01:00
|
|
|
BuildRequires: perl-Gtk2
|
2024-03-26 13:22:19 +01:00
|
|
|
BuildRequires: perl-Scalar-List-Utils
|
|
|
|
BuildRequires: perl-devel
|
2024-01-06 09:04:30 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%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
|
2024-03-26 13:22:19 +01:00
|
|
|
* Tue Mar 26 2024 Automatic Build System <autodist@openmamba.org> 0.67-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
2024-01-06 09:04:30 +01:00
|
|
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.67-2mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Fri Aug 19 2011 Automatic Build System <autodist@mambasoft.it> 0.67-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Nov 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.65-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Mon Oct 20 2008 gil <puntogil@libero.it> 0.65-1mamba
|
|
|
|
- package created by autospec
|