tc-viewer.spec
Krystian Tomczyk
krystian at kamionek.net
Fri Jan 12 19:57:01 CET 2007
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..."
-------------- next part --------------
# $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 at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
More information about the pld-devel-pl
mailing list