Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:utilities
woof
woof.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File woof.spec of Package woof
# # spec file for package woof # # Copyright (c) 2018 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/ # Name: woof Version: 20120531 Release: 0 Summary: Simple Web-based File Exchange License: GPL-2.0+ Group: Productivity/Networking/Web/Servers URL: http://www.home.unix-ag.org/simon/woof.html Source0: https://gist.githubusercontent.com/p1-olm/cd29001df0d1bf311a87197e419d86d9/raw/b25271e886c4263bbf1115abdbdee93262530984/woof3.py Source1: README BuildRequires: python3-tools Requires: net-tools Requires: python3 BuildArch: noarch %description I guess everybody with a laptop has experienced this problem at some point: You plug into a network and just want to exchange files with other participants. It always is a pain until you can exchange files with the person vis-a-vis. Woof (Web Offer One File) tries a different approach. It assumes that everybody has a web-browser or a commandline web-client installed. Woof is a small simple stupid webserver that can easily be invoked on a single file. Your partner can access the file with tools he trusts (e.g. wget). No need to enter passwords on keyboards where you don't know about keyboard sniffers, no need to start a huge lot of infrastructure, just do a $ woof filename and tell the recipient the URL woof spits out. When he got that file, woof will quit and everything is done. And when someone wants to send you a file, woof has a switch to offer itself, so he can get woof and offer a file to you. %prep %setup -q -c "%{name}-%{version}" -T install %{SOURCE0} %{name}.py install %{SOURCE1} . sed -i 's|^#!/usr/bin/env python3|#!%{_bindir}/python3|' %{name}.py chmod -x README %build %install install -D -m0755 %{name}.py "%{buildroot}%{_bindir}/%{name}" %files %doc README %{_bindir}/%{name} %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