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