2007-01-16 00:23:16 +01:00
|
|
|
#
|
|
|
|
# spec file for package libsmi (Version 0.4.5)
|
|
|
|
#
|
2009-01-12 02:04:18 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:23:16 +01:00
|
|
|
#
|
2009-01-12 02:04:18 +01:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:23:16 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-01-12 02:04:18 +01:00
|
|
|
|
2007-01-16 00:23:16 +01:00
|
|
|
Name: libsmi
|
|
|
|
BuildRequires: wget
|
|
|
|
Version: 0.4.5
|
2009-01-12 02:04:18 +01:00
|
|
|
Release: 125
|
|
|
|
AutoReqProv: on
|
2007-01-16 00:23:16 +01:00
|
|
|
Group: System/Libraries
|
2009-01-12 02:04:18 +01:00
|
|
|
License: X11/MIT
|
|
|
|
Url: http://www.ibr.cs.tu-bs.de/projects/libsmi
|
2007-01-16 00:23:16 +01:00
|
|
|
Summary: A Library to Access SMI MIB Information
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch0: %{name}-%{version}-no_redef.diff
|
2009-01-12 02:04:18 +01:00
|
|
|
Patch1: libsmi-0.4.5-gnu-source.patch
|
2007-01-16 00:23:16 +01:00
|
|
|
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
|
2009-01-12 02:04:18 +01:00
|
|
|
License: X11/MIT
|
2007-01-16 00:23:16 +01:00
|
|
|
Summary: libsmi header files and static libraries
|
|
|
|
Group: Development/Libraries/C and C++
|
2009-01-12 02:04:18 +01:00
|
|
|
Requires: %{name} = %{version} glibc-devel
|
2007-01-16 00:23:16 +01:00
|
|
|
|
|
|
|
%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
|
2009-01-12 02:04:18 +01:00
|
|
|
%patch1
|
2007-01-16 00:23:16 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf --force --install
|
2009-01-12 02:04:18 +01:00
|
|
|
%configure --disable-static --with-pic --enable-smi \
|
2007-01-16 00:23:16 +01:00
|
|
|
--enable-sming \
|
|
|
|
--with-mibdir=%{_datadir}/mibs
|
2009-01-12 02:04:18 +01:00
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-16 00:23:16 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2009-01-12 02:04:18 +01:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2007-01-16 00:23:16 +01:00
|
|
|
|
2009-01-12 02:04:18 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:23:16 +01:00
|
|
|
|
2009-01-12 02:04:18 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:23:16 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2009-01-12 02:04:18 +01:00
|
|
|
%changelog
|
|
|
|
* Fri Jan 09 2009 crrodriguez@suse.de
|
|
|
|
- remove static libraries and "la" files
|
|
|
|
- remove deprecated run_ldconfig usage
|
|
|
|
- define _GNU_SOURCE where needed
|
|
|
|
* Wed Oct 18 2006 mjancar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- update to 0.4.5
|
|
|
|
* bugfixes
|
|
|
|
* new MIBs
|
|
|
|
- drop libsmi-0.4.5-sysconf.diff, included upstream
|
2009-01-12 02:04:18 +01:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:23:16 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-01-12 02:04:18 +01:00
|
|
|
* Mon Jun 13 2005 ro@suse.de
|
2007-01-16 00:23:16 +01:00
|
|
|
- do not redefine vsnprintf
|
2009-01-12 02:04:18 +01:00
|
|
|
* Thu Feb 24 2005 mjancar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- update to 0.4.3
|
2009-01-12 02:04:18 +01:00
|
|
|
* Fri Feb 27 2004 mjancar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- update to 0.4.2
|
2009-01-12 02:04:18 +01:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-16 00:23:16 +01:00
|
|
|
- build as user
|
2009-01-12 02:04:18 +01:00
|
|
|
* Thu Jul 31 2003 mjancar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- use %%run_ldconfig
|
2009-01-12 02:04:18 +01:00
|
|
|
* Thu May 29 2003 mjancar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- update to 0.4.1
|
2009-01-12 02:04:18 +01:00
|
|
|
* Wed May 28 2003 coolo@suse.de
|
2007-01-16 00:23:16 +01:00
|
|
|
- add the aclocal macro file to the devel package
|
2009-01-12 02:04:18 +01:00
|
|
|
* Fri May 09 2003 ro@suse.de
|
2007-01-16 00:23:16 +01:00
|
|
|
- do a full autoreconf
|
2009-01-12 02:04:18 +01:00
|
|
|
* Tue Jan 29 2002 cihlar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- use %%{_libdir}
|
2009-01-12 02:04:18 +01:00
|
|
|
* Mon Nov 26 2001 cihlar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- update to version 0.3.0:
|
|
|
|
* many fixes
|
|
|
|
* added several files to mibs/... by new RFCs
|
|
|
|
- devel subpackage created
|
2009-01-12 02:04:18 +01:00
|
|
|
* Mon Nov 12 2001 cihlar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- fixed installation with new automake
|
2009-01-12 02:04:18 +01:00
|
|
|
* Wed Jun 06 2001 cihlar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- fixed to compile with new libtool
|
2009-01-12 02:04:18 +01:00
|
|
|
* Tue Apr 17 2001 cihlar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- update to version 0.2.16
|
2009-01-12 02:04:18 +01:00
|
|
|
* Wed Mar 07 2001 cihlar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- update to version 0.2.14
|
2009-01-12 02:04:18 +01:00
|
|
|
* Tue Feb 27 2001 cihlar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- update to version 0.2.13
|
|
|
|
- compile with --enable-smi and --enable-sming
|
2009-01-12 02:04:18 +01:00
|
|
|
* Sun Dec 03 2000 smid@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- new version 0.2.11
|
2009-01-12 02:04:18 +01:00
|
|
|
* Wed Oct 11 2000 smid@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- new version 0.2.6
|
2009-01-12 02:04:18 +01:00
|
|
|
* Thu Jun 08 2000 cihlar@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- fixed License tag
|
|
|
|
- added %%clean
|
2009-01-12 02:04:18 +01:00
|
|
|
* Fri Apr 21 2000 smid@suse.cz
|
2007-01-16 00:23:16 +01:00
|
|
|
- upgrade to 0.2.0
|
|
|
|
- buildroot added
|
2009-01-12 02:04:18 +01:00
|
|
|
* Sat Apr 08 2000 bk@suse.de
|
2007-01-16 00:23:16 +01:00
|
|
|
- added suse update config macro
|
2009-01-12 02:04:18 +01:00
|
|
|
* Thu Mar 02 2000 uli@suse.de
|
2007-01-16 00:23:16 +01:00
|
|
|
- moved man pages to %%{_mandir}
|
2009-01-12 02:04:18 +01:00
|
|
|
* Mon Oct 25 1999 uli@suse.de
|
2007-01-16 00:23:16 +01:00
|
|
|
- update -> 0.1.7
|
2009-01-12 02:04:18 +01:00
|
|
|
* Mon Sep 27 1999 uli@suse.de
|
2007-01-16 00:23:16 +01:00
|
|
|
- new package, version 0.1.6
|