1 Summary: Structure of Management Information library
5 Copyright: distributable (see COPYING file)
8 Source: ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/%{name}-%{version}.tar.gz
9 URL: http://www.ibr.cs.tu-bs.de/projects/libsmi/
10 BuildRoot: /tmp/%{name}-%{version}-root
15 Libsmi is a C library that allows network management applications to access
16 MIB module information through a well defined API that hides the nasty
17 details of locating and parsing SMIv1/v2 MIB modules.
19 Libsmi supports exact and iterative retrieval functions for all major SMIv1
20 and SMIv2 constructs (except the AGENT-CAPABILITIES statement).
22 The layered concept of libsmi allows to add further methods to retrieve MIB
23 information from persistent repositories. In fact, besides the SMIv1/v2 MIB
24 file parser an additional parser for `SMIng' is included. Both parsers are
25 built on flex/bison grammar specifications.
27 SMIng is a research project concerned with the definition of a MIB module
28 language that is semantically fully compatible with SMIv2 but avoids many
29 problems of the ASN.1 based SMI versions.
31 Included with the library, there are three tools that make use of libsmi:
32 Smiquery allows simple queries of single MIB module items. Smilint allows
33 to increase the verbosity of the parser(s), so that MIB modules can be
34 checked for syntax and semantic errors. Finally, smidump can be used to dump
35 MIB modules. Currently, SMIng and SMIv2 are supported as output formats, so
36 that SMIv2 <-> SMIng conversions are possible.
39 Summary: Header files and development documentation for libsmi
40 Summary(pl): Pliki nag³ówkowe i dokumentacja do libsmi
41 Group: Development/Libraries
42 Group(pl): Programowanie/Biblioteki
43 Requires: %{name} = %{version}
46 Header files and development documentation for libsmi.
48 %description -l pl devel
49 Pliki nag³ówkowe i dokumentacja do libsmi.
52 Summary: Static libsmi libraries
53 Summary(pl): Biblioteki statyczne libsmi
54 Group: Development/Libraries
55 Group(pl): Programowanie/Biblioteki
56 Requires: %{name}-devel = %{version}
59 Static libsmi libraries.
61 %description -l pl static
62 Biblioteki statyczne libsmi.
68 LDFLAGS="-s"; export LDFLAGS
74 --with-mibdir=%{_datadir}/mibs
79 rm -rf $RPM_BUILD_ROOT
81 make install DESTDIR=$RPM_BUILD_ROOT
83 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
85 gzip -9nf $RPM_BUILD_ROOT/%{_mandir}/man?/* \
86 ChangeLog README THANKS TODO \
87 doc/draft-irtf-nmrg-sming-*.txt
92 rm -rf $RPM_BUILD_ROOT
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_bindir}/*
100 %attr(755,root,root) %{_libdir}/lib*.so.*.*
105 %defattr(644,root,root,755)
106 %doc *.gz doc/draft-irtf-nmrg-sming-*.txt.gz
107 %attr(755,root,root) %{_libdir}/lib*.so
108 %attr(755,root,root) %{_libdir}/lib*.la
113 %attr(644,root,root) %{_libdir}/lib*.a