rrdtool-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. # Basic Information
  2. Name: rrdtool
  3. Version: 1.4.7
  4. Release: 1%{?_dist_release}
  5. License: GPLv2
  6. Group: Applications/System
  7. URL: http://oss.oetiker.ch/rrdtool/
  8. Source0: http://oss.oetiker.ch/%{name}/pub/%{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. Packager: yasumichi
  13. Summary: RRDtool - Round Robin Database tool
  14. Summary(ja): RRDtool - ラウンドロビンデータベースツール
  15. # Dependency
  16. BuildRequires: glib2-devel
  17. BuildRequires: glibc-devel
  18. BuildRequires: libxml2-devel
  19. BuildRequires: lua-devel
  20. BuildRequires: pango-devel
  21. BuildRequires: tcl
  22. %description
  23. It is pretty easy to gather status information from all sorts of things,
  24. ranging from the temperature in your office to the number of octets which
  25. have passed through the FDDI interface of your router. But it is not so
  26. trivial to store this data in a efficient and systematic manner. This is
  27. where RRDtool kicks in. It lets you log and analyze the data you gather from
  28. all kinds of data-sources (DS). The data analysis part of RRDtool is based
  29. on the ability to quickly generate graphical representations of the data
  30. values collected over a definable time period.
  31. #%%description -l ja
  32. %package devel
  33. Summary: Libraries and include files of RRDtool
  34. Requires: %{name} = %{version}
  35. %description devel
  36. Libraries and include files of RRDtool
  37. %package tcl
  38. Summary: RRDTool modules for tcl
  39. Requires: %{name} = %{version}
  40. %description tcl
  41. RRDTool modules for tcl
  42. %package -n perl-rrdtool
  43. Summary: RRDTool module for perl
  44. Requires: %{name} = %{version}
  45. %description -n perl-rrdtool
  46. RRDTool module for perl
  47. %package -n python-rrdtool
  48. Summary: RRDTool module for python
  49. Requires: %{name} = %{version}
  50. BuildRequires: python-devel
  51. %description -n python-rrdtool
  52. RDTool module for python
  53. %prep
  54. %setup -q
  55. %build
  56. %configure --disable-ruby --enable-perl-site-install
  57. %{__make} %{?_smp_mflags}
  58. %install
  59. %{__rm} -rf ${RPM_BUILD_ROOT}
  60. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  61. %{__rm} -f ${RPM_BUILD_ROOT}%{_prefix}/lib/lua/*/rrd.a
  62. %{__rm} -f ${RPM_BUILD_ROOT}%{_prefix}/lib/lua/*/rrd.la
  63. %{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/librrd*.a
  64. %{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/librrd*.la
  65. %{__rm} -f ${RPM_BUILD_ROOT}%{_mandir}/man3/RRD?.3pm*
  66. %{__rm} -f ${RPM_BUILD_ROOT}%{perl_archlib}/perllocal.pod
  67. %{__rm} -f ${RPM_BUILD_ROOT}%{perl_sitearch}/auto/RRDp/.packlist
  68. %{__rm} -f ${RPM_BUILD_ROOT}%{perl_sitearch}/auto/RRDs/.packlist
  69. %clean
  70. %{__rm} -rf ${RPM_BUILD_ROOT}
  71. %files
  72. %defattr(-,root,root)
  73. %doc COPYING NEWS README TODO
  74. #/usr/local/lib64/site_ruby/1.8/x86_64-linux/RRD.so
  75. %{_bindir}/rrd*
  76. %{_prefix}/lib/lua/*/rrd.so.*
  77. %{_libdir}/librrd*.so.*
  78. %{_mandir}/man1/*.1*
  79. %{_mandir}/man3/librrd.3*
  80. %{_datadir}/rrdtool/examples/cgi-demo.cgi
  81. %files devel
  82. %defattr(-,root,root)
  83. %{_includedir}/rrd*.h
  84. %{_prefix}/lib/lua/*/rrd.so
  85. %{_libdir}/librrd.so
  86. %{_libdir}/librrd_th.so
  87. %{_libdir}/pkgconfig/librrd.pc
  88. %files tcl
  89. %defattr(-,root,root)
  90. %{_libdir}/rrdtool/ifOctets.tcl
  91. %{_libdir}/rrdtool/pkgIndex.tcl
  92. %{_libdir}/tclrrd*.so
  93. %files -n perl-rrdtool
  94. %defattr(-,root,root)
  95. %{perl_sitelib}/RRDp.pm
  96. %{perl_sitearch}/RRDs.pm
  97. %{perl_sitearch}/auto/RRDs/RRDs.bs
  98. %{perl_sitearch}/auto/RRDs/RRDs.so
  99. %{_datadir}/rrdtool/examples/*.pl
  100. %{_datadir}/rrdtool/examples/rrdcached/RRDCached.pm
  101. %{_datadir}/rrdtool/examples/rrdcached/rrdcached-size.pl
  102. %files -n python-rrdtool
  103. %defattr(-,root,root)
  104. %{python_sitearch}/py_rrdtool-*-py*.egg-info
  105. %{python_sitearch}/rrdtoolmodule.so
  106. %changelog
  107. * Fri Feb 17 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.4.7-1
  108. - initial build for Vine Linux