]> git.pld-linux.org Git - packages/usernet.git/blob - usernet.spec
1a50c165979db75e33247bdaf990c649b2401f1a
[packages/usernet.git] / usernet.spec
1 Summary:        A graphical utility for controlling network interfaces.
2 Name:           usernet
3 Version:        1.0.9
4 Release:        2
5 License:        GPL
6 Group:          Utilities/System
7 Group(pl):      Narzêdzia/System
8 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9 Source0:        usernet-%{PACKAGE_VERSION}.tar.gz
10 Requires:       initscripts >= 3.20
11
12 %description
13 The usernet utility provides a graphical interface for manipulating
14 network interfaces (bringing them up or down and viewing their
15 status). Users can only manipulate interfaces that are
16 user-controllable. The superuser can control all interfaces.
17
18 Install the usernet package if you'd like to provide a graphical
19 utility for manipulating network interfaces.
20
21 %prep
22 %setup -q
23
24 %build
25 make VERSION=%{version}
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 make install BR=$RPM_BUILD_ROOT VERSION=%{version}
30
31 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(644,root,root,755)
38 %attr(755,root,root) %{_bindir}/usernet
39 %{_datadir}/usernet/%{version}
40 %{_mandir}/man1/*
41 %{_sysconfdir}/X11/wmconfig/usernet
This page took 0.044434 seconds and 3 git commands to generate.