perl-Gnome2-GConf-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. Name: perl-Gnome2-GConf
  2. Version: 1.044
  3. Release: 2%{?_dist_release}
  4. Summary: Perl wrappers for the GConf configuration engine
  5. License: LGPLv2+
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Gnome2-GConf/
  8. Source0: http://www.cpan.org/modules/by-module/Gnome2/Gnome2-GConf-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. ## core
  11. BuildRequires: perl(Test::More)
  12. ## non-core
  13. BuildRequires: perl(Glib) >= 1.120, perl(Glib::MakeHelper), GConf2
  14. BuildRequires: perl(ExtUtils::Depends) >= 0.2
  15. BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03
  16. BuildRequires: GConf2-devel
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. This module allows you to use the GConf configuration system in order to
  22. store/retrieve the configuration of an application. The GConf system is a
  23. powerful configuration manager based on a user daemon that handles a set of
  24. key and value pairs, and notifies any changes of the value to every program
  25. that monitors those keys. GConf is used by GNOME 2.x.
  26. %prep
  27. %setup -q -n Gnome2-GConf-%{version}
  28. %build
  29. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
  30. %{__make} %{?_smp_mflags}
  31. %{__cp} xs/* .
  32. %install
  33. %{__rm} -rf %{buildroot}
  34. %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
  35. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  36. find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
  37. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  38. %{_fixperms} %{buildroot}/*
  39. %check
  40. %{?_with_network_tests: make test }
  41. %clean
  42. %{__rm} -rf %{buildroot}
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc AUTHOR ChangeLog doctypes gconf.typemap maps NEWS README examples/ t/
  46. %{perl_vendorarch}/auto/*
  47. %{perl_vendorarch}/Gnome2*
  48. %{_mandir}/man3/*
  49. %changelog
  50. * Fri Apr 01 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.044-2
  51. - build with perl 5.12.3
  52. - add Vendor and Distribution tags
  53. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.044-1
  54. - initial build for Vine Linux based on fedora development
  55. * Thu Jul 30 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 1.044-7
  56. - Fix mass rebuild breakdown: Add BR: perl(Glib::MakeHelper).
  57. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.044-6
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  59. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.044-5
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  61. * Sun Jul 13 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.044-4
  62. - skip network tests when building in the buildsys
  63. * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.044-3
  64. Rebuild for new perl
  65. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.044-2
  66. - Autorebuild for GCC 4.3
  67. * Tue Oct 23 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.044-1
  68. - update to 1.044
  69. - add t/ to doc
  70. * Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.043-2
  71. - bump
  72. * Sun Oct 15 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.043-1
  73. - update to 1.043
  74. * Mon Sep 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.040-1
  75. - update to 1.040
  76. * Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.032-4
  77. - bump for mass rebuild
  78. * Tue Aug 22 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.032-3
  79. - bump for build & release
  80. * Fri Aug 18 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.032-2
  81. - added missing BR
  82. - tweaked %build to help -debuginfo generation
  83. * Sun Aug 13 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.032-1
  84. - Specfile autogenerated by cpanspec 1.68.
  85. - Initial spec file for F-E