Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
mbrowse
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 7
[-]
[+]
Changed
mbrowse.spec
@@ -8,9 +8,6 @@ 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 @@ -29,7 +26,12 @@ %setup -q %patch +%build LDFLAGS=-L%{_libdir} CPPFLAGS=-I%{_prefix}/include/net-snmp ./configure \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + --datadir=%{_datadir} \ + --sysconfdir=%{_sysconfdir} \ --with-snmp-prefix=/usr \ --with-snmp-include=%{_prefix}/include/net-snmp \ --with-snmp-lib=%{_libdir} || cat config.log @@ -38,24 +40,23 @@ %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 +%__make install DESTDIR="$RPM_BUILD_ROOT" %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/mbrowse* -rm -rf ../file.list.mbrowse -%files -f ../file.list.mbrowse +%files +%defattr(-,root,root) +%doc AUTHORS COPYING ChangeLog README TODO +%{_bindir}/mbrowse %changelog +* Fri Jan 09 2009 Carsten Schoene <cs@linux-administrator.com> - 0.3.1 +- removed autogenerated filelist +- added configure options + * Mon May 22 2006 Carsten Schoene <cs@linux-administrator.com> - rebuild for SuSE 10.1