Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
switzerland
switzerland.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File switzerland.spec of Package switzerland
# # spec file for package switzerland # # Copyright (c) 2015 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: switzerland Version: 0.1.0 Release: 0 Summary: Network Testing Tool License: GPL-2.0 and GPL-3.0+ Group: Productivity/Networking/Diagnostic Url: https://www.eff.org/pages/switzerland-network-testing-tool Source0: https://sourceforge.net/projects/%{name}/files/%{name}/zero%20point%20one/%{name}-%{version}.tgz BuildRequires: gcc-c++ BuildRequires: libpcap-devel BuildRequires: python-setuptools Requires: ntp Requires: python BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Switzerland is a tool for testing networks, ISPs and firewalls developed by the Electronic Frontier Foundation (www.eff.org). It will spot IP packets which are forged or modified between clients, inform you, and give you copies of the modified packets. %package -n %{name}-doc Summary: Documentation for the switzerland Group: Documentation BuildArch: noarch %description -n %{name}-doc Switzerland is a tool for testing networks, ISPs and firewalls developed by the Electronic Frontier Foundation (www.eff.org). It will spot IP packets which are forged or modified between clients, inform you, and give you copies of the modified packets. Documentation for the package switzerland. %prep %setup -q # SED-FIX-OPENSUSE -- Fix RPM_OPT_FLAGS and build FastCollector sed -i -e 's|gcc -O3 -lpcap|gcc %{optflags}|; s|%s %s|%s %s -lpcap|' setup.py # s|-O3 -lpcap|-O3|; # Remove Shebang find -exec grep -q "/usr/bin/env" {} \; \ -exec sed -i 's|/usr/bin/env||' {} \; %build python setup.py build make %{?_smp_mflags} %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %{_bindir}/FastCollector %{_bindir}/*%{name}* %{python_sitelib}/Switzerland-%{version}-py%{py_ver}.egg-info %{python_sitelib}/%{name} %files -n %{name}-doc %defattr(-,root,root,-) %doc doc BUGS.txt COPYING CREDITS README.txt %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