Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
libsmi
libsmi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libsmi.spec of Package libsmi
# # spec file for package libsmi (Version 0.4.5) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libsmi BuildRequires: wget Version: 0.4.5 Release: 127.<RELEASE2> AutoReqProv: on Group: System/Libraries License: MIT Url: http://www.ibr.cs.tu-bs.de/projects/libsmi Summary: A Library to Access SMI MIB Information Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-no_redef.diff Patch1: libsmi-0.4.5-gnu-source.patch Patch2: libsmi-CVE-2010-2891.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The purpose of libsmi is to * Give network management applications a concise programmer-friendly interface to access MIB module information * Separate the knowledge on SMI from the main parts of management applications * Allow addition of new kinds of MIB repositories without the need to adapt applications that make use of libsmi Authors: -------- Frank Strauss <strauss@ibr.cs.tu-bs.de> %package devel License: MIT Summary: libsmi header files and static libraries Group: Development/Libraries/C and C++ Requires: %{name} = %{version} glibc-devel %description devel This package contains the header files and static libraries of package libsmi. Authors: -------- Frank Strauss <strauss@ibr.cs.tu-bs.de> %prep %setup -q %patch0 %patch1 %patch2 %build autoreconf --force --install %configure --disable-static --with-pic --enable-smi \ --enable-sming \ --with-mibdir=%{_datadir}/mibs %{__make} %{?jobs:-j%jobs} %install make DESTDIR=$RPM_BUILD_ROOT install %{__rm} -f %{buildroot}%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc ANNOUNCE COPYING ChangeLog README THANKS TODO doc/*.txt %doc %{_mandir}/man?/* %{_libdir}/libsmi.so.* %{_bindir}/* %{_datadir}/mibs %{_datadir}/pibs %files devel %defattr(-, root, root) %{_includedir}/* %{_libdir}/libsmi.so %{_libdir}/pkgconfig/libsmi.pc %{_datadir}/aclocal/libsmi.m4 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor