perl-Gtk2-GladeXML-vl.spec 3.2 KB

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