]> git.pld-linux.org Git - packages/libsmi.git/blob - libsmi.spec
- updated to 0.4.5, removed workaround (missing file appeared)
[packages/libsmi.git] / libsmi.spec
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
5 Name:           libsmi
6 Version:        0.4.5
7 Release:        1
8 License:        BSD
9 Group:          Libraries
10 Source0:        ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/%{name}-%{version}.tar.gz
11 # Source0-md5:  c904b124bcaad692e04fdf2f0cff38bb
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)
18
19 %description
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.
23
24 Libsmi supports exact and iterative retrieval functions for all major
25 SMIv1 and SMIv2 constructs (except the AGENT-CAPABILITIES statement).
26
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
31 specifications.
32
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.
36
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
43 are possible.
44
45 %description -l pl
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
49 SMIv1/v2.
50
51 %description -l ru
52 Libsmi - ÜÔÏ C ÂÉÂÌÉÏÔÅËÁ, ÄÁÀÝÁÑ ÐÒÏÇÒÁÍÍÁÍ ÕÐÒÁ×ÌÅÎÉÑ ÓÅÔØÀ ÄÏÓÔÕРË
53 ÉÎÆÏÒÍÁÃÉÏÎÎÙÍ ÍÏÄÕÌÑÍ MIB ÐÏÓÒÅÄÓÔ×ÏÍ ÈÏÒÏÛÏ ÏÐÒÅÄÅÌÅÎÎÏÇÏ API,
54 ËÏÔÏÒÙÊ ÐÒÑÞÅÔ ÎÅÐÒÉÑÔÎÙÅ ÄÅÔÁÌÉ ÐÏÉÓËÁ É ÒÁÚÂÏÒÁ ÍÏÄÕÌÅÊ SMIv1/v2
55 MIB.
56
57 %description -l uk
58 Libsmi - ÃÅ C Â¦Â̦ÏÔÅËÁ, ÝÏ ÎÁÄÁ¤ ÐÒÏÇÒÁÍÁÍ ÕÐÒÁ×̦ÎÎÑ ÍÅÒÅÖÅÀ ÄÏÓÔÕÐ
59 ÄÏ ¦ÎÆÏÒÍÁæÊÎÉÈ ÍÏÄÕ̦נMIB ÞÅÒÅÚ ÄÏÂÒÅ ×ÉÚÎÁÞÅÎÉÊ API, ÝÏ ÐÒÉÈÏ×Õ¤
60 ÎÅÐÒɤÍΦ ÄÅÔÁ̦ ÐÏÛÕËÕ ÔÁ ÒÏÚÂÏÒÕ ÍÏÄÕ̦נSMIv1/v2 MIB.
61
62 %package progs
63 Summary:        SMI tools
64 Summary(pl):    Narzêdzia SMI
65 Group:          Development/Libraries
66 Requires:       %{name} = %{version}-%{release}
67
68 %description progs
69 SMI tools.
70
71 %description progs -l pl
72 Narzêdzia SMI.
73
74 %package devel
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}
81
82 %description devel
83 Header files and development documentation for libsmi.
84
85 %description devel -l pl
86 Pliki nag³ówkowe i dokumentacja do libsmi.
87
88 %description devel -l ru
89 èÅÄÅÒÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ libsmi.
90
91 %description devel -l uk
92 èÅÄÅÒÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libsmi.
93
94 %package static
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}
101
102 %description static
103 Static libsmi libraries.
104
105 %description static -l pl
106 Biblioteki statyczne libsmi.
107
108 %description static -l ru
109 óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ
110 libsmi.
111
112 %description static -l uk
113 óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ libsmi.
114
115 %prep
116 %setup -q
117
118 %build
119 %{__libtoolize}
120 %{__aclocal}
121 %{__autoconf}
122 %{__autoheader}
123 %{__automake}
124 %configure \
125         --enable-smi \
126         --enable-sming \
127         --enable-shared \
128         --enable-static \
129         --with-mibdir=%{_datadir}/mibs
130
131 %{__make}
132
133 %install
134 rm -rf $RPM_BUILD_ROOT
135 install -d $RPM_BUILD_ROOT%{_sysconfdir}
136
137 %{__make} install \
138         DESTDIR=$RPM_BUILD_ROOT
139
140 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/smi.conf
141
142 %clean
143 rm -rf $RPM_BUILD_ROOT
144
145 %post   -p /sbin/ldconfig
146 %postun -p /sbin/ldconfig
147
148 %files
149 %defattr(644,root,root,755)
150 %doc ANNOUNCE COPYING ChangeLog README THANKS TODO
151 %{_sysconfdir}/smi.conf
152 %attr(755,root,root) %{_libdir}/lib*.so.*.*
153 %{_datadir}/mibs
154 %{_datadir}/pibs
155
156 %files progs
157 %defattr(644,root,root,755)
158 %attr(755,root,root) %{_bindir}/*
159 %{_mandir}/man1/*
160
161 %files devel
162 %defattr(644,root,root,755)
163 %doc doc/draft-irtf-nmrg-smi*.txt
164 %attr(755,root,root) %{_libdir}/lib*.so
165 %{_libdir}/lib*.la
166 %{_includedir}/*
167 %{_aclocaldir}/*.m4
168 %{_pkgconfigdir}/*.pc
169 %{_mandir}/man3/*
170
171 %files static
172 %defattr(644,root,root,755)
173 %{_libdir}/lib*.a
This page took 0.1764 seconds and 3 git commands to generate.