|
|
1cb0717 |
Name: cdpr
|
|
|
ef824e4 |
Version: 2.4
|
|
|
d167064 |
Release: 5%{?dist}
|
|
|
1cb0717 |
Summary: Cisco Discovery Protocol Analyzer
|
|
|
1cb0717 |
|
|
|
1cb0717 |
Group: Applications/System
|
|
|
1cb0717 |
License: GPLv2+
|
|
|
1cb0717 |
URL: http://sourceforge.net/projects/cdpr/
|
|
|
4297f17 |
Source0: http://www.monkeymental.com/mmfiles/%{name}-%{version}.tgz
|
|
|
1cb0717 |
|
|
|
1cb0717 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
1cb0717 |
|
|
|
1cb0717 |
BuildRequires: libpcap-devel
|
|
|
1cb0717 |
|
|
|
1cb0717 |
%description
|
|
|
1cb0717 |
cdpr is used to decode a Cisco Disovery Protocol (CDP) packet, by default it
|
|
|
1cb0717 |
will report the device ID, the IP Address (of the device), and the port
|
|
|
1cb0717 |
number that the machine is connected to.
|
|
|
1cb0717 |
Optionally it will decode the entire CDP packet.
|
|
|
1cb0717 |
|
|
|
1cb0717 |
|
|
|
1cb0717 |
%prep
|
|
|
1cb0717 |
%setup -q
|
|
|
1cb0717 |
|
|
|
1cb0717 |
sed -i 's/\r//g' COPYING README
|
|
|
1cb0717 |
|
|
|
1cb0717 |
%build
|
|
|
1cb0717 |
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
|
|
|
1cb0717 |
|
|
|
1cb0717 |
|
|
|
1cb0717 |
%install
|
|
|
1cb0717 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1cb0717 |
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
1cb0717 |
install -p -m755 %{name} $RPM_BUILD_ROOT%{_bindir}/
|
|
|
1cb0717 |
|
|
|
1cb0717 |
|
|
|
1cb0717 |
%clean
|
|
|
1cb0717 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1cb0717 |
|
|
|
1cb0717 |
|
|
|
1cb0717 |
%files
|
|
|
1cb0717 |
%defattr(-,root,root,-)
|
|
|
1cb0717 |
%doc COPYING license.txt README README.cdprs
|
|
|
1cb0717 |
%{_bindir}/%{name}
|
|
|
1cb0717 |
|
|
|
1cb0717 |
|
|
|
1cb0717 |
%changelog
|
|
|
d167064 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-5
|
|
|
d167064 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
d167064 |
|
|
|
12a8830 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-4
|
|
|
12a8830 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
12a8830 |
|
|
|
526c874 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-3
|
|
|
526c874 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
526c874 |
|
|
|
675cd23 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
|
|
|
675cd23 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
675cd23 |
|
|
|
ef824e4 |
* Tue Mar 30 2010 Michael Stahnke <stahnma@fedoraproject.org> - 2.4-1
|
|
|
ef824e4 |
- New Version
|
|
|
ef824e4 |
|
|
|
c42cf5f |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-3
|
|
|
c42cf5f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
c42cf5f |
|
|
|
79bd22d |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-2
|
|
|
79bd22d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
79bd22d |
|
|
|
4297f17 |
* Sat Sep 20 2008 Michael Stahnke <stahnma@fedoraproject.org> - 2.3-1
|
|
|
7d03c61 |
- New version
|
|
|
7d03c61 |
|
|
|
059cf1b |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.1-3
|
|
|
059cf1b |
- Autorebuild for GCC 4.3
|
|
|
059cf1b |
|
|
|
1cb0717 |
* Mon Oct 29 2007 <stahnma@fedoraproject.org> 2.2.1-2
|
|
|
1cb0717 |
- Minor SPEC file cleanup from bug # 355631
|
|
|
1cb0717 |
|
|
|
1cb0717 |
* Tue Oct 16 2007 <stahnma@fedoraproject.org> 2.2.1-1
|
|
|
1cb0717 |
- Initial RPM Build
|