Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
xfce4-panel-profiles
xfce4-panel-profiles.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-panel-profiles.spec of Package xfce4-panel-profiles
# # spec file for package xfce4-panel-profiles # # Copyright (c) 2023 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: xfce4-panel-profiles Version: 1.0.14 Release: 0 Summary: Simple application to manage Xfce panel layouts License: GPL-3.0-only Group: System/GUI/Other URL: https://git.xfce.org/apps/xfce4-panel-profiles/about/ #Git-Clone: https://gitlab.xfce.org/apps/xfce4-panel-profiles.git Source: https://archive.xfce.org/src/apps/xfce4-panel-profiles/1.0/%{name}-%{version}.tar.bz2 # PATCH-FEATURE-OPENSUSE Libxfce4ui.patch maurizio.galli@gmail.com -- OBS gets confused which typelib to require as dependency and we only need Libxfce4ui Patch0: Libxfce4ui.patch BuildRequires: appstream-glib BuildRequires: findutils BuildRequires: gobject-introspection BuildRequires: intltool BuildRequires: python3 BuildRequires: python3-base BuildRequires: python3-gobject BuildRequires: python3-gobject-Gdk BuildRequires: sed BuildRequires: xfce4-panel Requires: python3 Requires: python3-base Requires: python3-gobject Requires: python3-gobject-Gdk Requires: python3-psutil Requires: xfce4-panel Recommends: %{name}-lang Recommends: xfce4-panel-plugin-whiskermenu BuildArch: noarch %description Simple application to manage Xfce panel layouts. This tool makes it possible to backup, restore, import, and export panel layouts. %prep %autosetup -p1 %build # configure macro not working due to it using unsupported options ./configure \ --prefix=%{_prefix} \ --python=python3 %make_build %install # fix shebangs - convert to /usr/bin/python3 for dir in %{name}; do # find *.py, filter to files that contain bad shebangs find $dir -name '*.py' -type f -print0 \ | xargs -0 grep -lE '^#!%{_bindir}/env' \ | xargs sed -i '1s|#!%{_bindir}/env\>|#!%{_bindir}/python3|' done %make_install # Remove not needed doc files rm %{buildroot}%{_datadir}/doc/%{name}/{AUTHORS,COPYING,INSTALL,NEWS,README.md} # Avoid rpmlint messages chmod a-x %{buildroot}%{_datadir}/%{name}/%{name}/info.py find %{buildroot}%{_datadir} \! -type d -print0 | xargs -0 -r chmod a-x find %{buildroot}%{_datadir} -type d -print0 | xargs -0 -r chmod a+x sed -i -e '/^Keywords=Configuration;User;/ d' %{buildroot}%{_datadir}/applications/*.desktop %find_lang %{name} appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml %files -f %{name}.lang %doc AUTHORS NEWS README.md %license COPYING %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/layouts %dir %{_datadir}/%{name}/%{name} %dir %{_datadir}/icons/hicolor/* %{_bindir}/%{name} %{_datadir}/applications/*.desktop %attr(644, root, root) %{_datadir}/%{name}/layouts/* %{_datadir}/%{name}/%{name}/*.py %attr(644, root, root) %{_datadir}/%{name}/%{name}/%{name}.glade %attr(644, root, root) %{_datadir}/metainfo/org.xfce.PanelProfiles.appdata.xml %{_datadir}/icons/hicolor/*/* %attr(644, root, root) %{_mandir}/man1/xfce4-panel-profiles.1.gz %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