tc-viewer.spec
Krystian Tomczyk
krystian w kamionek.net
Pią, 12 Sty 2007, 19:57:01 CET
Dnia 12-01-2007, piÄ
o godzinie 07:39 +0100, Jakub Bogusz napisaĹ(a):
> > Tylko czy taki hack jest dopuszczalny?
>
> ~/rpm/cokolwiek jest niedopuszczalne. Katalog moĹźe nazywaÄ siÄ
> zupeĹnie
> inaczej. I Ĺmiecenie bezpoĹrednio w %{_builddir} teĹź.
>
Tego siÄ spodziewaĹem
>
> I lepiej nie nazywaÄ ĹşrĂłdĹa samym "Changelog" - nazwa zbyt pospolita,
> moĹźliwa jest kolizja z innym pakietem.
Ale to pochodzi ze strony autora...
O ile ze specem (a w zasadzie jego poprawianiem) jakoĹ sobie poradziĹem
to poniewaĹź nie uĹźywam takich technologii wiÄc nie mogÄ tego sprawdziÄ.
--
Pozdrawiam
Krystian T.
"errare humanum est..."
-------------- następna część ---------
# $Revision:$, $Date:$
Summary: Provides the ability to watch current transfers that take place in HTB and HFSC
Summary(pl): Pozwala �ledzi� bie��cy ruch w klasach HTB, HFSC.
Name: tc-viewer
Version: 1.5
Release: 0.1
License: GPL
Group: Networking
Source0: http://snaj.ath.cx/%{name}/tc-viewer
# Source0-md5: e56f6a686e110aba273a94b62dd6f36d
Source1: http://snaj.ath.cx/tc-viewer/%{name}.conf
# Source1-md5: 8c57ec7df34b953ade2202b0a092496e
Source2: http://snaj.ath.cx/tc-viewer/Changelog
# Source2-md5: 89813ba4e157c2ab287ebafdd7ab74b4
URL: http://snaj.ath.cx/tc-viewer/tc-viewer.html
Requires: perl
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
tc-viewer provides the ability to watch current transfers that take
place in HTB and HFSC traffic shaping classes on specified interface.
%description -l pl
tc-viewer pozwala �ledzi� bie��cy transfer w HTB i HFSC dla ka�dej z
klas na okre�lonym inferfejsie.
%prep
%setup -qcT
cp %{SOURCE1} tc-viewer.conf.example
cp %{SOURCE2} Changelog
%build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
cp %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc Changelog tc-viewer.conf.example
%attr(755,root,root) %{_bindir}/tc-viewer
%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