]>
Commit | Line | Data |
---|---|---|
e33bcf5d | 1 | Summary: A graphical utility for controlling network interfaces |
e161e961 | 2 | Summary(pl.UTF-8): Graficzne narzędzie do kontroli interfejsów sieciowych |
4fdb05a4 | 3 | Name: usernet |
4 | Version: 1.0.9 | |
5 | Release: 2 | |
6 | License: GPL | |
e33bcf5d | 7 | Group: Applications/System |
e33bcf5d | 8 | Source0: %{name}-%{version}.tar.gz |
9a765879 | 9 | # Source0-md5: 49bd462e783ee274b9ec67a8c5c45dd6 |
3d052c81 | 10 | Patch0: %{name}-Makefile.patch |
4fdb05a4 | 11 | Requires: initscripts >= 3.20 |
cc87a2fd | 12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
174e0095 JR |
13 | |
14 | %description | |
15 | The usernet utility provides a graphical interface for manipulating | |
4fdb05a4 | 16 | network interfaces (bringing them up or down and viewing their |
17 | status). Users can only manipulate interfaces that are | |
18 | user-controllable. The superuser can control all interfaces. | |
174e0095 | 19 | |
4fdb05a4 | 20 | Install the usernet package if you'd like to provide a graphical |
21 | utility for manipulating network interfaces. | |
174e0095 | 22 | |
3502e717 JR |
23 | %description -l pl.UTF-8 |
24 | Narzędzie usernet daje graficzny inferfejs do manipulowania | |
25 | interfejsami sieciowymi (podnoszenia, wyłączania, sprawdzania | |
26 | statusu). Użytkownicy mogą manipulować tylko interfejsami | |
27 | kontrolowanymi przez użytkowników. Administator może kontrolować | |
e33bcf5d JB |
28 | wszystkie. |
29 | ||
174e0095 | 30 | %prep |
4fdb05a4 | 31 | %setup -q |
3d052c81 | 32 | %patch0 -p1 |
174e0095 JR |
33 | |
34 | %build | |
cc87a2fd | 35 | %{__make} \ |
7bc9d78b | 36 | CC="%{__cc}" \ |
37 | CFLAGS="%{rpmcflags} -DVERSION=\"$(VERSION)\" `gtk-config --cflags`" \ | |
cc87a2fd | 38 | VERSION=%{version} |
174e0095 JR |
39 | |
40 | %install | |
4fdb05a4 | 41 | rm -rf $RPM_BUILD_ROOT |
7bc9d78b | 42 | |
cc87a2fd | 43 | %{__make} install \ |
44 | BR=$RPM_BUILD_ROOT \ | |
45 | VERSION=%{version} | |
4fdb05a4 | 46 | |
174e0095 JR |
47 | %clean |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
4fdb05a4 | 51 | %defattr(644,root,root,755) |
52 | %attr(755,root,root) %{_bindir}/usernet | |
b489b0c0 | 53 | %dir %{_datadir}/usernet |
4fdb05a4 | 54 | %{_datadir}/usernet/%{version} |
55 | %{_mandir}/man1/* | |
56 | %{_sysconfdir}/X11/wmconfig/usernet |