Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Update
ifplugd
ifplugd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ifplugd.spec of Package ifplugd
# # spec file for package ifplugd # # Copyright (c) 2013 SUSE LINUX Products 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/ # Name: ifplugd BuildRequires: gcc-c++ BuildRequires: libdaemon-devel BuildRequires: lynx BuildRequires: pkgconfig Version: 0.28 Release: 0 Summary: Daemon Activating Network Interfaces on Cable Plug License: GPL-2.0+ Group: Productivity/Networking/Other Url: http://0pointer.de/lennart/projects/ifplugd/ Source: http://0pointer.de/lennart/projects/ifplugd/%{name}-%{version}.tar.gz Source1: README.initscript Patch: ifplugd.dif Patch1: ifplugd-0.28.dif Patch2: ifplugd.action.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ifplugd is a lightweight Linux daemon that configures the network automatically when a cable is plugged in and unconfigures it when the cable is pulled. It is primarily intended for use with laptops. It relies on the distribution's native network configuration subsystem, so is not very intrusive. Authors: -------- Lennard Poettering <mzvscyhtq (at) 0pointer (dot) de> %prep %setup -q %patch -p1 %patch1 %patch2 # %setup -n %{name}-%{version} -T -D -a 1 cp %{S:1} . %build export CFLAGS="$RPM_OPT_FLAGS -D__KERNEL_STRICT_NAMES -fno-strict-aliasing" %configure --disable-xmltoman --disable-subversion %{__make} %{?_smp_mflags} %install %make_install #will not work, can not combine "doc /" and "doc [^/]" ... #mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/ifplugd/ #mv $RPM_BUILD_ROOT/etc/init.d/ifplugd $RPM_BUILD_DIR/%{name}-%{version}/doc/ifplugd.init rm -fv $RPM_BUILD_ROOT/etc/init.d/ifplugd #UsrMerge mkdir $RPM_BUILD_ROOT/sbin ln -s %{_sbindir}/ifplugd $RPM_BUILD_ROOT/sbin ln -s %{_sbindir}/ifplugstatus $RPM_BUILD_ROOT/sbin #EndUsrMerge %clean rm -rf $RPM_BUILD_ROOT %files %defattr (-,root,root) %doc LICENSE README doc/README.SuSE %doc conf/ifplugd.init README.initscript %{_sbindir}/* #UsrMerge /sbin/* #EndUsrMerge %doc %{_mandir}/man5/ifplugd.conf.5.gz %doc %{_mandir}/man8/ifplugd.8.gz %doc %{_mandir}/man8/ifplugstatus.8.gz %config %{_sysconfdir}/ifplugd #%{_sysconfdir}/init.d/* %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