1 Summary: Application to manage Xfce panel layouts
2 Name: xfce4-panel-profiles
6 Group: X11/Applications
7 Source0: http://archive.xfce.org/src/apps/xfce4-panel-profiles/1.0/%{name}-%{version}.tar.bz2
8 # Source0-md5: 94115ab592f2d134b388644e1248eecb
9 URL: https://git.xfce.org/apps/xfce4-panel-profiles/about/
10 BuildRequires: python3
11 BuildRequires: python3-modules
12 BuildRequires: python3-setuptools
13 BuildRequires: rpm-pythonprov
14 BuildRequires: rpmbuild(macros) >= 1.714
15 BuildRequires: xfce4-panel-devel >= 4.14.0
16 Requires: python3-pygobject3
17 Requires: xfce4-panel >= 4.14.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Xfce4 Panel Profiles (xfce4-panel-profiles, formerly known as
23 xfpanel-switch) is a simple application to manage Xfce panel layouts.
25 With the modular Xfce Panel, a multitude of panel layouts can be
26 created. This tool makes it possible to backup, restore, import, and
27 export these panel layouts.
32 # fix #!/usr/bin/env python -> #!/usr/bin/python:
33 %{__sed} -i -e '1s,^#!.*python3,#!%{__python3},' xfce4-panel-profiles/*.py
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
47 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hye,ie}
48 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy}
50 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/xfce4-panel-profiles
55 rm -rf $RPM_BUILD_ROOT
57 %files -f %{name}.lang
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog NEWS
60 %attr(755,root,root) %{_bindir}/xfce4-panel-profiles
61 %{_desktopdir}/org.xfce.PanelProfiles.desktop
62 %{_datadir}/metainfo/org.xfce.PanelProfiles.appdata.xml
63 %dir %{_datadir}/xfce4-panel-profiles
64 %{_datadir}/xfce4-panel-profiles/layouts
65 %{_datadir}/xfce4-panel-profiles/locale
66 %dir %{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles
67 %{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles/info.py
68 %{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py
69 %{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.glade
70 %{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.py
71 %{_iconsdir}/hicolor/*/apps/org.xfce.PanelProfiles.*
72 %{_mandir}/man1/xfce4-panel-profiles.1*