[521] | 1 | Name: perl-Gtk2-GladeXML |
---|
| 2 | Version: 1.006 |
---|
[3736] | 3 | Release: 2%{?_dist_release} |
---|
[521] | 4 | Summary: Create user interfaces directly from Glade XML files |
---|
| 5 | |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | License: GPLv2+ |
---|
| 8 | URL: http://search.cpan.org/dist/Gtk2-GladeXML/ |
---|
| 9 | Source0: http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gtk2-GladeXML-%{version}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 11 | |
---|
| 12 | BuildRequires: perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig) |
---|
| 13 | BuildRequires: perl(Glib), perl(Gtk2) |
---|
| 14 | BuildRequires: libglade2-devel >= 2.0.0 |
---|
| 15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | Glade is a free user interface builder for GTK+ and GNOME. |
---|
| 19 | After designing a user interface with glade-2 the layout |
---|
| 20 | and configuration are saved in an XML file. libglade is a |
---|
| 21 | library which knows how to build and hook up the user interface |
---|
| 22 | described in the Glade XML file at application run time. |
---|
| 23 | |
---|
| 24 | This extension module binds libglade to Perl so you can |
---|
| 25 | create and manipulate user interfaces in Perl code in |
---|
| 26 | conjunction with Gtk2 and even Gnome2. Better yet you can |
---|
| 27 | load a file's contents into a PERL scalar do a few magical |
---|
| 28 | regular expressions to customize things and the load up the app. |
---|
| 29 | It doesn't get any easier. |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %prep |
---|
| 33 | %setup -q -n Gtk2-GladeXML-%{version} |
---|
| 34 | |
---|
| 35 | chmod -x examples/* |
---|
| 36 | |
---|
| 37 | %build |
---|
| 38 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" |
---|
| 39 | make %{?_smp_mflags} |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | rm -rf $RPM_BUILD_ROOT |
---|
| 44 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 45 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 46 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
| 47 | find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' |
---|
| 48 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %check |
---|
| 52 | make test |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %clean |
---|
| 56 | rm -rf $RPM_BUILD_ROOT |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %files |
---|
| 60 | %defattr(-,root,root,-) |
---|
| 61 | %doc AUTHORS ChangeLog LICENSE NEWS README |
---|
| 62 | %doc examples/ |
---|
| 63 | %{perl_vendorarch}/auto/Gtk2/ |
---|
| 64 | %{perl_vendorarch}/Gtk2* |
---|
| 65 | %{_mandir}/man3/*.3* |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %changelog |
---|
[3736] | 69 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.006-2 |
---|
| 70 | - rebuild with perl-5.12.3 |
---|
| 71 | |
---|
[521] | 72 | * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.006-1 |
---|
| 73 | - initial build for Vine Linux |
---|
| 74 | |
---|
| 75 | * Thu Mar 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.006-4 |
---|
| 76 | - rebuild for new perl |
---|
| 77 | |
---|
| 78 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.006-3 |
---|
| 79 | - Autorebuild for GCC 4.3 |
---|
| 80 | |
---|
| 81 | * Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.006-2 |
---|
| 82 | - bump |
---|
| 83 | |
---|
| 84 | * Wed Sep 20 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.006-1 |
---|
| 85 | - update to 1.006 |
---|
| 86 | |
---|
| 87 | * Tue Sep 19 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.005-5 |
---|
| 88 | - taking co-maintainership post-mass rebuild |
---|
| 89 | - fix certain rpmlint warnings |
---|
| 90 | |
---|
| 91 | * Wed Sep 14 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.005-4 |
---|
| 92 | - Added OPTIMIZE="$RPM_OPT_FLAGS" and |
---|
| 93 | removed "find examples -type f -exec chmod -x {} ';'" |
---|
| 94 | |
---|
| 95 | * Thu Aug 18 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.005-3 |
---|
| 96 | - Third build. |
---|
| 97 | |
---|
| 98 | * Thu Aug 18 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.005-2 |
---|
| 99 | - Second build. |
---|
| 100 | |
---|
| 101 | * Sun Jul 3 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.002-1 |
---|
| 102 | - First build. |
---|