]> git.pld-linux.org Git - packages/scli.git/blob - scli.spec
- added patch against new autoconf
[packages/scli.git] / scli.spec
1 Summary:        A collection of SNMP command line management tools
2 Summary(pl.UTF-8):      Zestaw narzędzi SNMP do monitorowania i zarządzania
3 Name:           scli
4 Version:        0.2.12
5 Release:        4
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        ftp://ftp.ibr.cs.tu-bs.de/local/scli/%{name}-%{version}.tar.gz
9 # Source0-md5:  5e2e783d7e5f734f8588f23f215b3ff0
10 Patch0:         %{name}.patch
11 URL:            http://www.ibr.cs.tu-bs.de/projects/scli/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  glib-devel >= 1.2
15 BuildRequires:  libxml2-devel >= 2.0
16 BuildRequires:  ncurses-devel >= 5.0
17 BuildRequires:  readline-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The scli package contains small and efficient command line utilities
22 to monitor and configure network devices and host systems. It is based
23 on the Simple Network Management Protocol (SNMP).
24
25 %description -l pl.UTF-8
26 scli jest narzędziem służącym do do monitorowania i konfiguracji
27 urządzeń sieciowych i systemów operacyjnych przy pomocy protokołu
28 SNMP.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 %build
35 rm -f missing
36 %{__aclocal}
37 %{__autoconf}
38 %{__automake}
39 CPPFLAGS="-I/usr/include/ncurses `xml2-config --cflags`"
40 export CPPFLAGS
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post   -p      /sbin/postshell
54 -/usr/sbin/fix-info-dir -c %{_infodir}
55
56 %postun -p      /sbin/postshell
57 -/usr/sbin/fix-info-dir -c %{_infodir}
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS NEWS README TODO
62 %attr(755,root,root) %{_bindir}/*
63 %{_infodir}/scli.info*
64 %{_mandir}/man1/*
This page took 0.079013 seconds and 3 git commands to generate.