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