rpms/nbtscan/FC-5 nbtscan-1.5.1-makefile.patch, NONE, 1.1 nbtscan.spec, NONE, 1.1 sources, 1.1, 1.2
Sindre Pedersen Bjørdal (sindrepb)
fedora-extras-commits at redhat.com
Fri May 11 23:48:20 UTC 2007
- Previous message (by thread): rpms/nbtscan/EL-5 nbtscan-1.5.1-makefile.patch, NONE, 1.1 nbtscan.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/nbtscan/FC-6 nbtscan-1.5.1-makefile.patch, NONE, 1.1 nbtscan.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sindrepb
Update of /cvs/extras/rpms/nbtscan/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3661
Modified Files:
sources
Added Files:
nbtscan-1.5.1-makefile.patch nbtscan.spec
Log Message:
add files to branch
nbtscan-1.5.1-makefile.patch:
--- NEW FILE nbtscan-1.5.1-makefile.patch ---
--- nbtscan-1.5.1a/Makefile.in.orig 2007-05-05 21:14:22.000000000 +0200
+++ nbtscan-1.5.1a/Makefile.in 2007-05-05 21:15:00.000000000 +0200
@@ -6,6 +6,9 @@ OBJECTS=nbtscan.o statusq.o range.o list
DEFS=@DEFS@
TARGET=@TARGET@
+#for Fedora
+DESTDIR=
+
prefix = @prefix@
exec_prefix = @exec_prefix@
BINDIR = @bindir@
@@ -14,7 +17,7 @@ nbtscan: $(OBJECTS)
$(CC) $(CFLAGS) -o nbtscan $(OBJECTS) $(LIBS)
install:
- $(INSTALL) $(TARGET) $(BINDIR)/$(TARGET)
+ $(INSTALL) -D $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET)
nbtscan.o: nbtscan.c statusq.h range.h list.h
$(CC) $(CFLAGS) $(DEFS) -c nbtscan.c
--- NEW FILE nbtscan.spec ---
Name: nbtscan
Version: 1.5.1
Release: 1%{?dist}
Summary: Tool to gather NetBIOS info from Windows networks
Group: Applications/Internet
License: GPL
URL: http://www.inetcat.net/software/nbtscan.html
Source0: http://www.inetcat.net/software/%{name}-%{version}.tar.gz
#add $DESTDIR to make install
Patch0: nbtscan-1.5.1-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
NBTscan is a program for scanning IP networks for NetBIOS name information.
It sends a NetBIOS status query to each address in supplied range and lists
received information in human readable form.
%prep
%setup -qn %{name}-%{version}a
%patch0 -p1
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING README
%{_bindir}/*
%changelog
* Sat May 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 1.5.1-1
- Initial build
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/nbtscan/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 11 May 2007 21:42:58 -0000 1.1
+++ sources 11 May 2007 23:47:46 -0000 1.2
@@ -0,0 +1 @@
+85bb085077c380b82a6ff73e0de0c154 nbtscan-1.5.1.tar.gz
- Previous message (by thread): rpms/nbtscan/EL-5 nbtscan-1.5.1-makefile.patch, NONE, 1.1 nbtscan.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/nbtscan/FC-6 nbtscan-1.5.1-makefile.patch, NONE, 1.1 nbtscan.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list