]> git.pld-linux.org Git - packages/libstatgrab.git/blob - libstatgrab.spec
- updated to 0.10.3
[packages/libstatgrab.git] / libstatgrab.spec
1 Summary:        Easy-to-use interface for accessing system statistics and information
2 Summary(pl):    £atwy w u¿yciu interfejs dostêpu do statystyk i informacji o systemie
3 Name:           libstatgrab
4 Version:        0.10.3
5 Release:        1
6 License:        LGPL    
7 Group:          Libraries
8 Source0:        ftp://ftp.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/%{name}-%{version}.tar.gz
9 # Source0-md5:  b37069a92cf962adb1c26244d546e6bb
10 Patch0:         %{name}-Makefile_fix.patch
11 URL:            http://www.i-scream.org/libstatgrab/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 The libstatgrab library provides an easy-to-use interface for
19 accessing system statistics and information. Available statistics
20 include CPU, Load, Memory, Swap, Disk I/O, and Network I/O. It was
21 developed to work on Linux, FreeBSD, and Solaris. The package also
22 includes two tools: saidar provides a curses-based interface for
23 viewing live system statistics, and statgrab is a sysctl-like
24 interface to the statistics.
25
26 %description -l pl
27 Biblioteka libstatgrab dostarcza ³atwego w u¿yciu interfejsu dostêpu
28 do informacji i statystyk systemowych. Dostêpne statystyki obejmuj±
29 CPU, obci±¿enie, pamiêæ swap, dyskowe i sieciowe operacje we./wy. .
30 libstatgrab zosta³ stworzony by dzia³aæ na linuksie, FreeBSD i
31 Solarisie. Pakiet zawiera tak¿e dwa narzêdzia: saidar dostarcza
32 bazuj±cego na curses interfejsu do przegl±dania statystyk systemu i
33 statgrab, który jest interfejsem podobnym do sysctl dla statystyk.
34
35 %package devel
36 Summary:        Header files for libstatgrab library
37 Summary(pl):    Pliki nag³ówkowe biblioteki libstatgrab
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40
41 %description devel
42 Header files for libstatgrab library.
43
44 %description devel -l pl
45 Pliki nag³ówkowe biblioteki libstatgrab.
46
47 %package static
48 Summary:        Static libstatgrab library
49 Summary(pl):    Statyczna biblioteka libstatgrab
50 Group:          Development/Libraries
51 Requires:       %{name}-devel = %{version}-%{release}
52
53 %description static
54 Static libstatgrab library.
55
56 %description static -l pl
57 Statyczna biblioteka libstatgrab.
58
59 %prep
60 %setup -q
61 %patch0 -p1
62
63 %build
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %{__autoheader}
68 %{__automake}
69 %configure
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc AUTHORS ChangeLog NEWS README PLATFORMS
87 %attr(755,root,root) %{_bindir}/*
88 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
89 %{_mandir}/man3/statgrab*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/lib*.so
94 %{_libdir}/lib*.la
95 %{_includedir}/*
96 %{_pkgconfigdir}/*.pc
97 %{_mandir}/man3/sg_*
98
99 %files static
100 %defattr(644,root,root,755)
101 %{_libdir}/lib*.a
This page took 0.035261 seconds and 3 git commands to generate.