]> git.pld-linux.org Git - packages/xfce4-panel-profiles.git/blame - xfce4-panel-profiles.spec
- up to 1.0.13
[packages/xfce4-panel-profiles.git] / xfce4-panel-profiles.spec
CommitLineData
91c7c714
JR
1Summary: Application to manage Xfce panel layouts
2Name: xfce4-panel-profiles
6bda1814 3Version: 1.0.13
707f4006 4Release: 1
91c7c714
JR
5License: GPL v2
6Group: X11/Applications
7Source0: http://archive.xfce.org/src/apps/xfce4-panel-profiles/1.0/%{name}-%{version}.tar.bz2
6bda1814 8# Source0-md5: 94115ab592f2d134b388644e1248eecb
91c7c714
JR
9URL: https://git.xfce.org/apps/xfce4-panel-profiles/about/
10BuildRequires: python3
11BuildRequires: python3-modules
12BuildRequires: python3-setuptools
13BuildRequires: rpm-pythonprov
14BuildRequires: rpmbuild(macros) >= 1.714
15BuildRequires: xfce4-panel-devel >= 4.14.0
16Requires: python3-pygobject3
17Requires: xfce4-panel >= 4.14.0
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Xfce4 Panel Profiles (xfce4-panel-profiles, formerly known as
23xfpanel-switch) is a simple application to manage Xfce panel layouts.
24
25With the modular Xfce Panel, a multitude of panel layouts can be
26created. This tool makes it possible to backup, restore, import, and
27export these panel layouts.
28
29%prep
30%setup -q
31
32# fix #!/usr/bin/env python -> #!/usr/bin/python:
33%{__sed} -i -e '1s,^#!.*python3,#!%{__python3},' xfce4-panel-profiles/*.py
34
35%build
36./configure \
37 --prefix=%{_prefix}
38
39%{__make}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
46
300134a2 47%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hye,ie}
fad4ab4e
JR
48%{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy}
49
300134a2
KM
50%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/xfce4-panel-profiles
51
91c7c714
JR
52%find_lang %{name}
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files -f %{name}.lang
58%defattr(644,root,root,755)
300134a2 59%doc AUTHORS ChangeLog NEWS
91c7c714 60%attr(755,root,root) %{_bindir}/xfce4-panel-profiles
300134a2 61%{_desktopdir}/org.xfce.PanelProfiles.desktop
91c7c714 62%{_datadir}/metainfo/org.xfce.PanelProfiles.appdata.xml
fad4ab4e 63%dir %{_datadir}/xfce4-panel-profiles
91c7c714
JR
64%{_datadir}/xfce4-panel-profiles/layouts
65%{_datadir}/xfce4-panel-profiles/locale
fad4ab4e 66%dir %{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles
300134a2 67%{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles/info.py
91c7c714
JR
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
300134a2 71%{_iconsdir}/hicolor/*/apps/org.xfce.PanelProfiles.*
707f4006 72%{_mandir}/man1/xfce4-panel-profiles.1*
This page took 0.138887 seconds and 4 git commands to generate.