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

Revision 521, 2.9 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name:           perl-Gtk2-GladeXML
2Version:        1.006
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
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* Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.006-1
70- initial build for Vine Linux
71
72* Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.006-4
73- rebuild for new perl
74
75* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.006-3
76- Autorebuild for GCC 4.3
77
78* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.006-2
79- bump
80
81* Wed Sep 20 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.006-1
82- update to 1.006
83
84* Tue Sep 19 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.005-5
85- taking co-maintainership post-mass rebuild
86- fix certain rpmlint warnings
87
88* Wed Sep 14 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.005-4
89- Added OPTIMIZE="$RPM_OPT_FLAGS" and
90  removed "find examples -type f -exec chmod -x {} ';'"
91
92* Thu Aug 18 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.005-3
93- Third build.
94
95* Thu Aug 18 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.005-2
96- Second build.
97
98* Sun Jul 3 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.002-1
99- First build.
Note: See TracBrowser for help on using the repository browser.