]> git.pld-linux.org Git - packages/usernet.git/commitdiff
- spec adapterized.
authorkloczek <kloczek@pld-linux.org>
Wed, 7 Jun 2000 04:41:53 +0000 (04:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    usernet.spec -> 1.4

usernet.spec

index 5380f126f219876f3b393a9289ac3beef02f7649..1a50c165979db75e33247bdaf990c649b2401f1a 100644 (file)
@@ -1,37 +1,41 @@
-Summary: A graphical utility for controlling network interfaces.
-Name: usernet
-Version: 1.0.9
-Release: 2
-Copyright: GPL
-Group: Applications/System
+Summary:       A graphical utility for controlling network interfaces.
+Name:          usernet
+Version:       1.0.9
+Release:       2
+License:       GPL
+Group:         Utilities/System
+Group(pl):     Narzêdzia/System
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Source: usernet-%{PACKAGE_VERSION}.tar.gz
-Requires: initscripts >= 3.20
+Source0:       usernet-%{PACKAGE_VERSION}.tar.gz
+Requires:      initscripts >= 3.20
 
 %description
 The usernet utility provides a graphical interface for manipulating
-network interfaces (bringing them up or down and viewing their status).
-Users can only manipulate interfaces that are user-controllable.  The
-superuser can control all interfaces.
+network interfaces (bringing them up or down and viewing their
+status). Users can only manipulate interfaces that are
+user-controllable. The superuser can control all interfaces.
 
-Install the usernet package if you'd like to provide a graphical utility
-for manipulating network interfaces.
+Install the usernet package if you'd like to provide a graphical
+utility for manipulating network interfaces.
 
 %prep
-%setup
+%setup -q
 
 %build
-make VERSION=%{PACKAGE_VERSION}
+make VERSION=%{version}
 
 %install
-make install BR=$RPM_BUILD_ROOT VERSION=%{PACKAGE_VERSION}
+rm -rf $RPM_BUILD_ROOT
+make install BR=$RPM_BUILD_ROOT VERSION=%{version}
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
-/usr/bin/usernet
-/usr/share/usernet/%{PACKAGE_VERSION}
-/usr/man/man1/usernet.1
-/etc/X11/wmconfig/usernet
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/usernet
+%{_datadir}/usernet/%{version}
+%{_mandir}/man1/*
+%{_sysconfdir}/X11/wmconfig/usernet
This page took 0.1031 seconds and 4 git commands to generate.