tcpick.spec

Marcin Banasiak mailinggrup w o2.pl
Czw, 3 Lut 2005, 14:21:24 CET


Przesyłam mój pierwszy spec. Jakby ktoś mógł to bardzo proszę o skorygowanie 
jego poprawności.

Pozdrawiam Marcin Banasiak
-------------- następna część ---------
#$Revision: $,$Date: $
Summary:	Network analyzer
Summary(pl):	Analizator sieci
Name:		tcpick
Version:	0.2.1
Release:	1
License:	GPL
Group:		Applications/System
Group(pl):	Sieciowe
URL:		http://tcpick.sourceforge.net/
Source0:	http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
# Source0-md5:	bb94f2f9ea81aeb645619fbe9b3b9a29
BuildRequires:	libpcap-devel
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
tcpick is a textmode sniffer libpcap-based that can track tcp streams
and saves the captured data in files or displays them in the terminal.

%description -l pl
tcpick jest sniferem opartym o bibliotek? libpcap. Wykrywa strumienie
tcp i zapisuje zdobyte dane do pliku lub wy?wietla je w terminalu.

%prep
%setup -q -n %{name}-%{version}

%build
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}

install src/tcpick $RPM_BUILD_ROOT%{_bindir}
install tcpick.8 $RPM_BUILD_ROOT%{_mandir}/man8

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog EXAMPLES README NEWS
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man8/*

#%define date  %(echo 'LC_ALL="C" date+"%a %b %d %Y"')
#%changelog
#*%{date} PLD Team <feedback w pld-linux.org>
#All persons listed below can be reached at <cvs_login>@pld-linux.org

#$Log: $


Więcej informacji o liście dyskusyjnej pld-devel-pl