Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:stawidy
perl-Gtk2-Ex-Simple-List
perl-Gtk2-Ex-Simple-List.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Gtk2-Ex-Simple-List.spec of Package perl-Gtk2-Ex-Simple-List
# norootforbuild Name: perl-Gtk2-Ex-Simple-List Version: 0.50 Release: 0 Summary: Simple Interface to the Complex MVC List Widget of GTK2 Source: http://search.cpan.org/CPAN/authors/id/R/RM/RMCFARLA/Gtk2-Perl-Ex/Gtk2-Ex-Simple-List-%{version}.tar.gz URL: http://search.cpan.org/dist/Gtk2-Ex-Simple-List/ Group: Development/Libraries/Perl License: Perl License BuildRoot: %{_tmppath}/build-%{name}-%{version} Requires: perl Requires: perl(Gtk2) BuildRequires: make perl perl-macros BuildRequires: perl(Gtk2) %description Gtk2 has a powerful, but complex MVC (Model, View, Controller) system used to implement list and tree widgets. Gtk2::Ex::Simple::List automates the complex setup work and allows you to treat the list model as a more natural list of lists structure. After creating a new Gtk2::Ex::Simple::List object with the desired columns you may set the list data with a simple Perl array assignment. Rows may be added or deleted with all of the normal array operations. You can treat the data member of the Simple::List object as an array reference, and manipulate the list data with perl's normal array operators. A mechanism has also been put into place allowing columns to be Perl scalars. The scalar is converted to text through Perl's normal mechanisms and then displayed in the list. This same mechanism can be expanded by defining arbitrary new column types before calling the new function. %prep %setup -q -n "Gtk2-Ex-Simple-List-%{version}" %__sed -i '/^auto_install/d' Makefile.PL %build %__perl Makefile.PL PREFIX="%{_prefix}" %__make %{?jobs:-j%{jobs}} %install %perl_make_install %perl_process_packlist %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %dir %{perl_vendorlib}/Gtk2 %dir %{perl_vendorlib}/Gtk2/Ex %dir %{perl_vendorlib}/Gtk2/Ex/Simple %{perl_vendorlib}/Gtk2/Ex/Simple/List.pm %{perl_vendorlib}/Gtk2/Ex/Simple/TiedCommon.pm %{perl_vendorlib}/Gtk2/Ex/Simple/TiedList.pm %dir %{perl_vendorarch}/auto/Gtk2 %dir %{perl_vendorarch}/auto/Gtk2/Ex %dir %{perl_vendorarch}/auto/Gtk2/Ex/Simple %{perl_vendorarch}/auto/Gtk2/Ex/Simple/List/ %doc %{perl_man3dir}/Gtk2::Ex::Simple::List.%{perl_man3ext}* %changelog # vim: set sw=3 ts=3 noet: # Local Variables: # mode: rpm-spec # tab-width: 3 # End:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor