1 Summary: Structure of Management Information library
5 License: distributable (see COPYING file)
10 Source0: ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/%{name}-%{version}.tar.gz
11 URL: http://www.ibr.cs.tu-bs.de/projects/libsmi/
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Libsmi is a C library that allows network management applications to
18 access MIB module information through a well defined API that hides
19 the nasty details of locating and parsing SMIv1/v2 MIB modules.
21 Libsmi supports exact and iterative retrieval functions for all major
22 SMIv1 and SMIv2 constructs (except the AGENT-CAPABILITIES statement).
24 The layered concept of libsmi allows to add further methods to
25 retrieve MIB information from persistent repositories. In fact,
26 besides the SMIv1/v2 MIB file parser an additional parser for `SMIng'
27 is included. Both parsers are built on flex/bison grammar
30 SMIng is a research project concerned with the definition of a MIB
31 module language that is semantically fully compatible with SMIv2 but
32 avoids many problems of the ASN.1 based SMI versions.
34 Included with the library, there are three tools that make use of
35 libsmi: Smiquery allows simple queries of single MIB module items.
36 Smilint allows to increase the verbosity of the parser(s), so that MIB
37 modules can be checked for syntax and semantic errors. Finally,
38 smidump can be used to dump MIB modules. Currently, SMIng and SMIv2
39 are supported as output formats, so that SMIv2 <-> SMIng conversions
43 Summary: Header files and development documentation for libsmi
44 Summary(pl): Pliki nag³ówkowe i dokumentacja do libsmi
45 Group: Development/Libraries
46 Group(de): Entwicklung/Libraries
47 Group(fr): Development/Librairies
48 Group(pl): Programowanie/Biblioteki
49 Requires: %{name} = %{version}
52 Header files and development documentation for libsmi.
54 %description -l pl devel
55 Pliki nag³ówkowe i dokumentacja do libsmi.
58 Summary: Static libsmi libraries
59 Summary(pl): Biblioteki statyczne libsmi
60 Group: Development/Libraries
61 Group(de): Entwicklung/Libraries
62 Group(fr): Development/Librairies
63 Group(pl): Programowanie/Biblioteki
64 Requires: %{name}-devel = %{version}
67 Static libsmi libraries.
69 %description -l pl static
70 Biblioteki statyczne libsmi.
81 --with-mibdir=%{_datadir}/mibs
86 rm -rf $RPM_BUILD_ROOT
88 %{__make} install DESTDIR=$RPM_BUILD_ROOT
90 gzip -9nf ChangeLog README THANKS TODO \
91 doc/draft-irtf-nmrg-sming-*.txt
94 rm -rf $RPM_BUILD_ROOT
96 %post -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/*
102 %attr(755,root,root) %{_libdir}/lib*.so.*.*
107 %defattr(644,root,root,755)
108 %doc *.gz doc/draft-irtf-nmrg-sming-*.txt.gz
109 %attr(755,root,root) %{_libdir}/lib*.so
110 %attr(755,root,root) %{_libdir}/lib*.la
115 %defattr(644,root,root,755)