1 Summary: Structure of Management Information library
2 Summary(pl): Biblioteka SMI (Struktur zarz±dzania informacjami)
3 Summary(ru): âÉÂÌÉÏÔÅËÁ ÄÌÑ ÄÏÓÔÕÐÁ Ë ÉÎÆÏÒÍÁÃÉÉ SMI MIB
4 Summary(uk): â¦Â̦ÏÔÅËÁ ÄÌÑ ÄÏÓÔÕÐÕ ÄÏ ¦ÎÆÏÒÍÁæ§ SMI MIB
10 Source0: ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/%{name}-%{version}.tar.gz
11 # Source0-md5: 8c87fe16800391ef74c43756634898e2
12 Source1: %{name}-smi.conf
13 URL: http://www.ibr.cs.tu-bs.de/projects/libsmi/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: libtool
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Libsmi is a C library that allows network management applications to
21 access MIB module information through a well defined API that hides
22 the nasty details of locating and parsing SMIv1/v2 MIB modules.
24 Libsmi supports exact and iterative retrieval functions for all major
25 SMIv1 and SMIv2 constructs (except the AGENT-CAPABILITIES statement).
27 The layered concept of libsmi allows to add further methods to
28 retrieve MIB information from persistent repositories. In fact,
29 besides the SMIv1/v2 MIB file parser an additional parser for `SMIng'
30 is included. Both parsers are built on flex/bison grammar
33 SMIng is a research project concerned with the definition of a MIB
34 module language that is semantically fully compatible with SMIv2 but
35 avoids many problems of the ASN.1 based SMI versions.
37 Included with the library, there are three tools that make use of
38 libsmi: Smiquery allows simple queries of single MIB module items.
39 Smilint allows to increase the verbosity of the parser(s), so that MIB
40 modules can be checked for syntax and semantic errors. Finally,
41 smidump can be used to dump MIB modules. Currently, SMIng and SMIv2
42 are supported as output formats, so that SMIv2 <-> SMIng conversions
46 libsmi jest bibliotek± pozwalaj±c± aplikacjom zarz±dzania sieci± na
47 dostêp do informacji o modu³ach MIB poprzez dobrze zdefiniowane API,
48 ukrywaj±ce brzydkie szczegó³y szukania i parsowania modu³ów MIB
52 Libsmi - ÜÔÏ C ÂÉÂÌÉÏÔÅËÁ, ÄÁÀÝÁÑ ÐÒÏÇÒÁÍÍÁÍ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ ÄÏÓÔÕÐ Ë
53 ÉÎÆÏÒÍÁÃÉÏÎÎÙÍ ÍÏÄÕÌÑÍ MIB ÐÏÓÒÅÄÓÔ×ÏÍ ÈÏÒÏÛÏ ÏÐÒÅÄÅÌÅÎÎÏÇÏ API,
54 ËÏÔÏÒÙÊ ÐÒÑÞÅÔ ÎÅÐÒÉÑÔÎÙÅ ÄÅÔÁÌÉ ÐÏÉÓËÁ É ÒÁÚÂÏÒÁ ÍÏÄÕÌÅÊ SMIv1/v2
58 Libsmi - ÃÅ C ¦Â̦ÏÔÅËÁ, ÝÏ ÎÁÄÁ¤ ÐÒÏÇÒÁÍÁÍ ÕÐÒÁ×̦ÎÎÑ ÍÅÒÅÖÅÀ ÄÏÓÔÕÐ
59 ÄÏ ¦ÎÆÏÒÍÁæÊÎÉÈ ÍÏÄÕÌ¦× MIB ÞÅÒÅÚ ÄÏÂÒÅ ×ÉÚÎÁÞÅÎÉÊ API, ÝÏ ÐÒÉÈÏ×Õ¤
60 ÎÅÐÒɤÍΦ ÄÅÔÁ̦ ÐÏÛÕËÕ ÔÁ ÒÏÚÂÏÒÕ ÍÏÄÕÌ¦× SMIv1/v2 MIB.
64 Summary(pl): Narzêdzia SMI
65 Group: Development/Libraries
66 Requires: %{name} = %{version}-%{release}
71 %description progs -l pl
75 Summary: Header files and development documentation for libsmi
76 Summary(pl): Pliki nag³ówkowe i dokumentacja do libsmi
77 Summary(ru): èÅÄÅÒÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libsmi
78 Summary(uk): èÅÄÅÒÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libsmi
79 Group: Development/Libraries
80 Requires: %{name} = %{version}-%{release}
83 Header files and development documentation for libsmi.
85 %description devel -l pl
86 Pliki nag³ówkowe i dokumentacja do libsmi.
88 %description devel -l ru
89 èÅÄÅÒÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libsmi.
91 %description devel -l uk
92 èÅÄÅÒÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libsmi.
95 Summary: Static libsmi libraries
96 Summary(pl): Biblioteki statyczne libsmi
97 Group: Development/Libraries
98 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libsmi
99 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libsmi
100 Requires: %{name}-devel = %{version}-%{release}
103 Static libsmi libraries.
105 %description static -l pl
106 Biblioteki statyczne libsmi.
108 %description static -l ru
109 óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ
112 %description static -l uk
113 óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libsmi.
118 # to be sure to remove workaround when missing file exists
119 [ -f tools/dump-svg-script.js ] && exit 1
120 # missing dist file, (re)generate from processed version
121 sed -e '1d;/^;$/d;s/\\"/"/g;s/\\\\/\\/g;s/\\n"$//;s/^"//;' tools/dump-svg-script.h > tools/dump-svg-script.js
122 touch tools/dump-svg-script.h
135 --with-mibdir=%{_datadir}/mibs
140 rm -rf $RPM_BUILD_ROOT
141 install -d $RPM_BUILD_ROOT%{_sysconfdir}
144 DESTDIR=$RPM_BUILD_ROOT
146 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/smi.conf
149 rm -rf $RPM_BUILD_ROOT
151 %post -p /sbin/ldconfig
152 %postun -p /sbin/ldconfig
155 %defattr(644,root,root,755)
156 %doc ANNOUNCE COPYING ChangeLog README THANKS TODO
157 %{_sysconfdir}/smi.conf
158 %attr(755,root,root) %{_libdir}/lib*.so.*.*
163 %defattr(644,root,root,755)
164 %attr(755,root,root) %{_bindir}/*
168 %defattr(644,root,root,755)
169 %doc doc/draft-irtf-nmrg-smi*.txt
170 %attr(755,root,root) %{_libdir}/lib*.so
174 %{_pkgconfigdir}/*.pc
178 %defattr(644,root,root,755)