]> git.pld-linux.org Git - packages/bcount.git/blob - bcount.spec
- tabs in preamble
[packages/bcount.git] / bcount.spec
1 %define         _test   test2
2 Summary:        Bytes counter
3 Summary(pl.UTF-8):      Licznik bajtów
4 Name:           bcount
5 Version:        1.0
6 Release:        0.%{_test}.2
7 License:        GPL
8 Group:          Networking/Utilities
9 Source0:        http://www.deth.org.pl/~alex/bcount/%{name}-%{version}%{_test}.tar.gz
10 # Source0-md5:  af92076cb4dbb870b991b677d0ad3bc2
11 Patch0:         %{name}-ncurses.patch
12 URL:            http://www.deth.org.pl/~alex/bcount/
13 BuildRequires:  ncurses-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Bytes Counter displays detailed information about the number of bytes
18 and packets that have been transferred over a network interface.
19
20 %description -l pl.UTF-8
21 Bcount jest licznikiem pokazującym informację o bajtach i pakietach
22 przechodzących przez interfejs sieciowy.
23
24 %prep
25 %setup -q -n %{name}-%{version}%{_test}
26 %patch0 -p1
27
28 %build
29 %configure \
30          \
31
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_var}/log}
38 install bcount $RPM_BUILD_ROOT%{_sbindir}
39
40 :> $RPM_BUILD_ROOT%{_var}/log/bcount.log
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc AUTHORS ChangeLog README TODO README.protocol
48 %doc README.log README.ethx README.fuckyou
49 %attr(755,root,root) %{_sbindir}/*
50 %attr(640,root,root) %ghost %{_var}/log/bcount.log
This page took 0.03427 seconds and 3 git commands to generate.