[5728] | 1 | |
---|
| 2 | # Basic Information |
---|
| 3 | Name: rrdtool |
---|
[8710] | 4 | Version: 1.4.8 |
---|
[5728] | 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 |
---|
[8710] | 72 | %configure \ |
---|
| 73 | --disable-ruby \ |
---|
| 74 | --enable-perl-site-install \ |
---|
| 75 | --with-perl-options="INSTALLDIRS=vendor" |
---|
| 76 | |
---|
| 77 | perl -pi -e 's/(rrdcached_LDADD =)/$1 \$(ALL_LIBS) /' src/Makefile |
---|
[5728] | 78 | %{__make} %{?_smp_mflags} |
---|
| 79 | |
---|
| 80 | %install |
---|
| 81 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 82 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 83 | |
---|
| 84 | %{__rm} -f ${RPM_BUILD_ROOT}%{_prefix}/lib/lua/*/rrd.a |
---|
| 85 | %{__rm} -f ${RPM_BUILD_ROOT}%{_prefix}/lib/lua/*/rrd.la |
---|
| 86 | %{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/librrd*.a |
---|
| 87 | %{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/librrd*.la |
---|
| 88 | %{__rm} -f ${RPM_BUILD_ROOT}%{_mandir}/man3/RRD?.3pm* |
---|
| 89 | %{__rm} -f ${RPM_BUILD_ROOT}%{perl_archlib}/perllocal.pod |
---|
[8710] | 90 | %{__rm} -f ${RPM_BUILD_ROOT}%{perl_vendorarch}/auto/RRDp/.packlist |
---|
| 91 | %{__rm} -f ${RPM_BUILD_ROOT}%{perl_vendorarch}/auto/RRDs/.packlist |
---|
[5728] | 92 | |
---|
| 93 | |
---|
| 94 | %clean |
---|
| 95 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | %files |
---|
| 99 | %defattr(-,root,root) |
---|
| 100 | %doc COPYING NEWS README TODO |
---|
| 101 | #/usr/local/lib64/site_ruby/1.8/x86_64-linux/RRD.so |
---|
| 102 | %{_bindir}/rrd* |
---|
| 103 | %{_prefix}/lib/lua/*/rrd.so.* |
---|
| 104 | %{_libdir}/librrd*.so.* |
---|
| 105 | %{_mandir}/man1/*.1* |
---|
| 106 | %{_mandir}/man3/librrd.3* |
---|
| 107 | %{_datadir}/rrdtool/examples/cgi-demo.cgi |
---|
| 108 | |
---|
| 109 | %files devel |
---|
| 110 | %defattr(-,root,root) |
---|
| 111 | %{_includedir}/rrd*.h |
---|
| 112 | %{_prefix}/lib/lua/*/rrd.so |
---|
| 113 | %{_libdir}/librrd.so |
---|
| 114 | %{_libdir}/librrd_th.so |
---|
| 115 | %{_libdir}/pkgconfig/librrd.pc |
---|
| 116 | |
---|
| 117 | %files tcl |
---|
| 118 | %defattr(-,root,root) |
---|
[8710] | 119 | %{_datadir}/rrdtool/ifOctets.tcl |
---|
| 120 | %{_datadir}/rrdtool/pkgIndex.tcl |
---|
[5728] | 121 | %{_libdir}/tclrrd*.so |
---|
| 122 | |
---|
| 123 | %files -n perl-rrdtool |
---|
| 124 | %defattr(-,root,root) |
---|
[8710] | 125 | %{perl_vendorlib}/RRDp.pm |
---|
| 126 | %{perl_vendorarch}/RRDs.pm |
---|
| 127 | %{perl_vendorarch}/auto/RRDs/RRDs.bs |
---|
| 128 | %{perl_vendorarch}/auto/RRDs/RRDs.so |
---|
[5728] | 129 | %{_datadir}/rrdtool/examples/*.pl |
---|
| 130 | %{_datadir}/rrdtool/examples/rrdcached/RRDCached.pm |
---|
| 131 | %{_datadir}/rrdtool/examples/rrdcached/rrdcached-size.pl |
---|
| 132 | |
---|
| 133 | %files -n python-rrdtool |
---|
| 134 | %defattr(-,root,root) |
---|
| 135 | %{python_sitearch}/py_rrdtool-*-py*.egg-info |
---|
| 136 | %{python_sitearch}/rrdtoolmodule.so |
---|
| 137 | |
---|
| 138 | %changelog |
---|
[8710] | 139 | * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-1 |
---|
| 140 | - new upstream release. |
---|
| 141 | |
---|
[5728] | 142 | * Fri Feb 17 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.4.7-1 |
---|
| 143 | - initial build for Vine Linux |
---|