]> git.pld-linux.org Git - packages/usernet.git/blame - usernet.spec
- dropped pre-cvs changelog
[packages/usernet.git] / usernet.spec
CommitLineData
e33bcf5d 1Summary: A graphical utility for controlling network interfaces
e161e961 2Summary(pl.UTF-8): Graficzne narzędzie do kontroli interfejsów sieciowych
4fdb05a4 3Name: usernet
4Version: 1.0.9
5Release: 2
6License: GPL
e33bcf5d 7Group: Applications/System
e33bcf5d 8Source0: %{name}-%{version}.tar.gz
9a765879 9# Source0-md5: 49bd462e783ee274b9ec67a8c5c45dd6
3d052c81 10Patch0: %{name}-Makefile.patch
4fdb05a4 11Requires: initscripts >= 3.20
cc87a2fd 12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
174e0095
JR
13
14%description
15The usernet utility provides a graphical interface for manipulating
4fdb05a4 16network interfaces (bringing them up or down and viewing their
17status). Users can only manipulate interfaces that are
18user-controllable. The superuser can control all interfaces.
174e0095 19
4fdb05a4 20Install the usernet package if you'd like to provide a graphical
21utility for manipulating network interfaces.
174e0095 22
3502e717
JR
23%description -l pl.UTF-8
24Narzędzie usernet daje graficzny inferfejs do manipulowania
25interfejsami sieciowymi (podnoszenia, wyłączania, sprawdzania
26statusu). Użytkownicy mogą manipulować tylko interfejsami
27kontrolowanymi przez użytkowników. Administator może kontrolować
e33bcf5d
JB
28wszystkie.
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 41rm -rf $RPM_BUILD_ROOT
7bc9d78b 42
cc87a2fd 43%{__make} install \
44 BR=$RPM_BUILD_ROOT \
45 VERSION=%{version}
4fdb05a4 46
174e0095
JR
47%clean
48rm -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
This page took 0.034128 seconds and 5 git commands to generate.