source: projects/specs/trunk/r/rrdtool/rrdtool-vl.spec @ 8710

Revision 8710, 3.7 KB checked in by tomop, 10 years ago (diff)

munin, rrdtool

Line 
1
2# Basic Information
3Name:           rrdtool
4Version:        1.4.8
5Release:        1%{?_dist_release}
6License:        GPLv2
7Group:          Applications/System
8URL:            http://oss.oetiker.ch/rrdtool/
9Source0:        http://oss.oetiker.ch/%{name}/pub/%{name}-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11
12Vendor:         Project Vine
13Distribution:   Vine Linux
14Packager:       yasumichi
15
16Summary:        RRDtool - Round Robin Database tool
17Summary(ja):    RRDtool - ラウンドロビンデータベースツール
18
19# Dependency
20BuildRequires:  glib2-devel
21BuildRequires:  glibc-devel
22BuildRequires:  libxml2-devel
23BuildRequires:  lua-devel
24BuildRequires:  pango-devel
25BuildRequires:  tcl
26
27%description
28It is pretty easy to gather status information from all sorts of things,
29ranging from the temperature in your office to the number of octets which
30have passed through the FDDI interface of your router. But it is not so
31trivial to store this data in a efficient and systematic manner. This is
32where RRDtool kicks in. It lets you log and analyze the data you gather from
33all kinds of data-sources (DS). The data analysis part of RRDtool is based
34on the ability to quickly generate graphical representations of the data
35values collected over a definable time period.
36
37#%%description -l ja
38
39%package devel
40Summary:        Libraries and include files of RRDtool
41Requires:       %{name} = %{version}
42
43%description devel
44Libraries and include files of RRDtool
45
46%package tcl
47Summary:        RRDTool modules for tcl
48Requires:       %{name} = %{version}
49
50%description tcl
51RRDTool modules for tcl
52
53%package -n perl-rrdtool
54Summary:        RRDTool module for perl
55Requires:       %{name} = %{version}
56
57%description -n perl-rrdtool
58RRDTool module for perl
59
60%package -n python-rrdtool
61Summary:        RRDTool module for python
62Requires:       %{name} = %{version}
63BuildRequires:  python-devel
64
65%description -n python-rrdtool
66RDTool module for python
67
68%prep
69%setup -q
70
71%build
72%configure \
73        --disable-ruby \
74        --enable-perl-site-install \
75        --with-perl-options="INSTALLDIRS=vendor"
76
77perl -pi -e 's/(rrdcached_LDADD =)/$1 \$(ALL_LIBS) /' src/Makefile
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
90%{__rm} -f ${RPM_BUILD_ROOT}%{perl_vendorarch}/auto/RRDp/.packlist
91%{__rm} -f ${RPM_BUILD_ROOT}%{perl_vendorarch}/auto/RRDs/.packlist
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)
119%{_datadir}/rrdtool/ifOctets.tcl
120%{_datadir}/rrdtool/pkgIndex.tcl
121%{_libdir}/tclrrd*.so
122
123%files -n perl-rrdtool
124%defattr(-,root,root)
125%{perl_vendorlib}/RRDp.pm
126%{perl_vendorarch}/RRDs.pm
127%{perl_vendorarch}/auto/RRDs/RRDs.bs
128%{perl_vendorarch}/auto/RRDs/RRDs.so
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
139* Tue Jul  1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-1
140- new upstream release.
141
142* Fri Feb 17 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.4.7-1
143- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.