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

Revision 5728, 3.5 KB checked in by yasumichi, 12 years ago (diff)

import SPEC file

Line 
1
2# Basic Information
3Name:           rrdtool
4Version:        1.4.7
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 --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
Note: See TracBrowser for help on using the repository browser.