source: projects/specs/branches/6/p/perl-Gtk2-GladeXML/perl-Gtk2-GladeXML-vl.spec @ 3736

Revision 3736, 3.0 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with perl-5.12.3

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