Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
mbrowse
> mbrowse.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mbrowse.spec of Package mbrowse (Revision 6)
Currently displaying revision
6
,
show latest
Name: mbrowse Version: 0.3.1 Release: 2 License: GPL Group: Applications/Netzwerk Summary: SNMP MIB Browser URL: http://www.kill-9.org/mbrowse/index.html Source0: %{name}-%{version}.tar.gz Patch: %{name}-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Packager: Carsten Schoene <cs@linux-administrator.com> Vendor: linux-administrator.com Prefix: /usr BuildRequires: net-snmp net-snmp-devel openssl-devel glib2-devel glibc-devel libgcc gcc gcc-c++ rpm-devel %if 0%{?suse_version} BuildRequires: gtk-devel tcpd-devel %endif %if 0%{?centos_version} BuildRequires: gtk+-devel tcp_wrappers %endif %description Mbrowse is an SNMP MIB browser based on GTK and net-snmp. %prep %setup -q %patch LDFLAGS=-L%{_libdir} CPPFLAGS=-I%{_prefix}/include/net-snmp ./configure \ --with-snmp-prefix=/usr \ --with-snmp-include=%{_prefix}/include/net-snmp \ --with-snmp-lib=%{_libdir} || cat config.log %__make %install [ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot} mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} make install DESTDIR="$RPM_BUILD_ROOT" install -m 644 AUTHORS COPYING ChangeLog README TODO $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.mbrowse find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.mbrowse find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.mbrowse %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/mbrowse* rm -rf ../file.list.mbrowse %files -f ../file.list.mbrowse %changelog * Mon May 22 2006 Carsten Schoene <cs@linux-administrator.com> - rebuild for SuSE 10.1 * Sun Oct 09 2005 Carsten Schoene <cs@linux-administrator.com> - rebuild for SuSE 10.0 * Sat Apr 09 2005 Carsten Schoene <cs@linux-administrator.com> - rebuild for SuSE 9.3 * Fri Oct 29 2004 Carsten Schoene <cs@linux-administrator.com> - rebuild for SuSE 9.2 - added configure fix, (net-snmp detection) * Tue Nov 11 2003 Carsten Schoene <cs@linux-administrator.com> - Initial Package, Version 0.3.1