source: projects/specs/trunk/p/perl-Gtk2-GladeXML/perl-Gtk2-GladeXML-vl.spec @ 9185

Revision 9185, 3.2 KB checked in by inagaki, 9 years ago (diff)

2014-12-23 Ryoichi INAGAKI <ryo1@…>

  • perl-Authen-{Krb5, Krb5-Simple}, perl-Gnome2-{Canvas, GConf, VFS, Wnck}, perl-Gtk2-RDF-Core: rebuilt
  • perl-Gnome2, perl-Gtk2-{GladeXML, ImageView?}, perl-NetPacket?: updated


Line 
1Name:           perl-Gtk2-GladeXML
2Version:        1.007
3Release:        1%{?_dist_release}
4Summary:        Create user interfaces directly from Glade XML files
5
6Group:          Development/Libraries
7License:        GPLv2+
8URL:            http://search.cpan.org/dist/Gtk2-GladeXML/
9Source0:        http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gtk2-GladeXML-%{version}.tar.gz
10
11BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
12BuildRequires:  perl(ExtUtils::Depends) >= 0.300
13BuildRequires:  perl(ExtUtils::PkgConfig) >= 1.000
14BuildRequires:  perl(Glib) >= 1.020
15BuildRequires:  perl(Gtk2) >= 1.000
16BuildRequires:  libglade2-devel >= 2.0.0
17Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18
19%description
20Glade is a free user interface builder for GTK+ and GNOME.
21After designing a user interface with glade-2 the layout
22and configuration are saved in an XML file. libglade is a
23library which knows how to build and hook up the user interface
24described in the Glade XML file at application run time.
25
26This extension module binds libglade to Perl so you can
27create and manipulate user interfaces in Perl code in
28conjunction with Gtk2 and even Gnome2. Better yet you can
29load a file's contents into a PERL scalar do a few magical
30regular expressions to customize things and the load up the app.
31It doesn't get any easier.
32
33
34%prep
35%setup -q -n Gtk2-GladeXML-%{version}
36
37chmod -x examples/*
38
39%build
40%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
41make %{?_smp_mflags}
42
43
44%install
45rm -rf $RPM_BUILD_ROOT
46make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
47find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
48find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
49find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
50chmod -R u+w $RPM_BUILD_ROOT/*
51
52
53%check
54make test
55
56
57%clean
58rm -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.
Note: See TracBrowser for help on using the repository browser.