Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
wondershaper
wondershaper.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wondershaper.spec of Package wondershaper
# # spec file for package wondershaper # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} %define _fillupdir /var/adm/fillup-templates %endif Name: wondershaper Version: 1.1a Release: 0 Summary: Wondershaper is a QOS (Quality of Service) script. License: GPL-2.0+ Group: Productivity/Networking/System Url: http://lartc.org/wondershaper/ Source0: wondershaper-1.1a.tar.bz2 Source1: sysconfig.wondershaper Source2: rcwondershaper Patch0: %{name}-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires: iproute2 PreReq: %fillup_prereq %insserv_prereq %description Many cablemodem and ADSL users experience horrifying latency while uploading or downloading. They also notice that uploading hampers downloading greatly. The wondershaper neatly addresses these issues, allowing users of a router with a wondershaper to continue using SSH over a loaded link happily. Authors: -------- Bert Hubert <ahu@ds9a.nl> %prep %setup cp %{S:1} %{S:2} . %patch0 -p1 %build %install mv wshaper wshaper.cbq install -m 755 -d $RPM_BUILD_ROOT/usr/sbin install -m 755 -d $RPM_BUILD_ROOT%{_fillupdir} install -m 755 -d $RPM_BUILD_ROOT/etc/init.d install -m 750 wshaper.* $RPM_BUILD_ROOT/usr/sbin/ install -m 644 sysconfig.wondershaper $RPM_BUILD_ROOT%{_fillupdir}/ install -m 755 rcwondershaper $RPM_BUILD_ROOT/etc/init.d/wondershaper ln -sf ../../etc/init.d/wondershaper $RPM_BUILD_ROOT/usr/sbin/rcwondershaper %post %{fillup_only} %preun %stop_on_removal wondershaper %postun %restart_on_update wondershaper %insserv_cleanup %files %defattr(-, root, root) %doc COPYING ChangeLog README TODO VERSION %config /etc/init.d/wondershaper /usr/sbin/* %{_fillupdir}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor