Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:chickin
gui-ufw
gufw.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gufw.spec of Package gui-ufw
# # spec file for package gufw # # 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: gufw Version: 22.04.0 Release: 0 Summary: Uncomplicated Firewall License: GPL-3.0 Group: Productivity/Networking/Security Url: http://gufw.org/ Source0: https://github.com/costales/gufw/releases/download/22.04/gui-ufw-22.04.0.tar.gz BuildArch: noarch BuildRequires: autoconf BuildRequires: fdupes BuildRequires: intltool BuildRequires: pkgconfig(python3) >= 3.5 BuildRequires: python3-distutils-extra BuildRequires: python3-netifaces BuildRequires: update-desktop-files Requires: dbus-1-python Requires: girepository-1_0 Requires: gufw-lang Requires: notification-daemon Requires: python3-distutils-extra Requires: python3-gobject >= 3.0.1 Requires: python3-netifaces Requires: typelib(WebKit2) Requires: ufw Recommends: %{name}-lang %description An easy, intuitive, way to manage your Linux firewall. It supports common tasks such as allowing or blocking pre-configured, common p2p, or individual ports port(s), and many others! %lang_package %prep %setup -q -n gui-ufw-%{version} #Submited patch through ufw's bug report #Fix directory locations instead of #CONFIG_PREFIX# #http://bugs.launchpad.net/ufw/+bug/819600 for i in `grep -rl "/usr/bin/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done %build %install python3 setup.py install --prefix=%{_prefix} \ --root %{buildroot} # %if 1 == 0 rm -f %{buildroot}%{python3_sitelib}/gufw/model/__init__.py rm -f %{buildroot}%{python3_sitelib}/gufw/view/__init__.py rm -f %{buildroot}%{python3_sitelib}/gufw/model/__init__.pyc rm -f %{buildroot}%{python3_sitelib}/gufw/view/__init__.pyc chmod 755 %{buildroot}%{python3_sitelib}/gufw/model/ufw_backend.py %endif chmod 755 %{buildroot}%{python3_sitelib}/gufw/gufw.py %suse_update_desktop_file -r gufw System Security %find_lang gufw %fdupes -s %{buildroot}etc/gufw/ %fdupes -s %{buildroot}%{python3_sitelib}/ %fdupes -s %{buildroot}%{_datadir}/%{name}/ %post %if 1 == 0 cp %{python3_sitelib}/gufw/__init__.py %{python3_sitelib}/gufw/model/__init__.py cp %{python3_sitelib}/gufw/__init__.py %{python3_sitelib}/gufw/view/__init__.py %endif %desktop_database_post %postun %desktop_database_postun %files %defattr(-,root,root) %doc COPYING.GPL3 %dir %{_sysconfdir}/gufw/app_profiles %config %{_sysconfdir}/gufw/app_profiles/* %{_bindir}/gufw %{_bindir}/gufw-pkexec %{python3_sitelib}/gufw-%{version}-py%python3_version.egg-info %{python3_sitelib}/gufw/__init__.py* %{python3_sitelib}/gufw/gufw/controller.py* %{python3_sitelib}/gufw/gufw.py* %{python3_sitelib}/gufw/__pycache__/ %dir %{python3_sitelib}/gufw %{_datadir}/applications/gufw.desktop %{_datadir}/doc/gufw/README %{_datadir}/gufw/ui/add.ui #%%{_datadir}/gufw/ui/main.ui %{_datadir}/gufw/ui/preferences.ui %{_datadir}/icons/hicolor/48x48/apps/gufw.png %{_datadir}/man/man8/gufw.8.gz %{_datadir}/polkit-1/actions/com.ubuntu.pkexec.gufw.policy %{python3_sitelib}/gufw/gufw/ %{python3_sitelib}/gufw/gufw/model %{python3_sitelib}/gufw/gufw/view %{_datadir}/doc/gufw %{_datadir}/gufw %{_datadir}/gufw/media %{_datadir}/gufw/ui %{_datadir}/icons/hicolor %{_datadir}/icons/hicolor/48x48 %{_datadir}/icons/hicolor/48x48/apps %{_sysconfdir}/gufw %{_datadir}/polkit-1 %{_datadir}/polkit-1/actions %files lang -f gufw.lang %defattr(-,root,root,-) %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