Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Enlightenment:Factory
espionage
espionage.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File espionage.spec of Package espionage
# # spec file for package espionage # # 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/ # Name: espionage Version: 1.0 Release: 0 Summary: PyEFL D-Bus inspector License: GPL-3.0 Group: Development/Tools/Debuggers Url: https://phab.enlightenment.org/w/projects/espionage Source: https://download.enlightenment.org/rel/apps/espionage/%{name}-%{version}.tar.gz BuildRequires: ImageMagick BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files BuildRequires: python3-efl Requires: python3-efl BuildArch: noarch %description %{summary}. Features: * Connect to Session and System buses * Recursive introspection of the whole D-Bus tree * Run methods with arguments supplied by the user * Show the values of properties * Show all the D-Bus emitted signals with their contents %prep %setup -q %build python3 setup.py build %install python3 setup.py install \ -O1 --skip-build --force --root=%{buildroot} --prefix=%{_prefix} for _file in $(find data/icons -name \*.png -o -name \*.svg); do _width=$(identify -format %{w} $_file) _height=$(identify -format %{h} $_file) if ls ${_file%/*}/*.svg &> /dev/null; then install -Dm0644 $_file %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg elif [ "$_width" -eq $_height ]; then install -Dm0644 $_file %{buildroot}%{_datadir}/icons/hicolor/${_width}x${_height}/apps/%{name}.png fi done install -Dm0644 {data/desktop,%{buildroot}%{_datadir}/applications}/%{name}.desktop %fdupes %{buildroot}%{python3_sitelib} %suse_update_desktop_file %{name} %files %doc COPYING ChangeLog %{_bindir}/%{name} %{python3_sitelib}/%{name}/ %{python3_sitelib}/%{name}*.egg-info %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.??g %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