]> git.pld-linux.org Git - packages/xfce4-panel-profiles.git/blob - xfce4-panel-profiles.spec
- new
[packages/xfce4-panel-profiles.git] / xfce4-panel-profiles.spec
1 Summary:        Application to manage Xfce panel layouts
2 Name:           xfce4-panel-profiles
3 Version:        1.0.9
4 Release:        1
5 License:        GPL v2
6 Group:          X11/Applications
7 Source0:        http://archive.xfce.org/src/apps/xfce4-panel-profiles/1.0/%{name}-%{version}.tar.bz2
8 # Source0-md5:  bee3e251e45ade0ea349366461d6e200
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
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Xfce4 Panel Profiles (xfce4-panel-profiles, formerly known as
23 xfpanel-switch) is a simple application to manage Xfce panel layouts.
24
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.
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
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %find_lang %{name}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files -f %{name}.lang
53 %defattr(644,root,root,755)
54 %doc AUTHORS ChangeLog NEWS README
55 %attr(755,root,root) %{_bindir}/xfce4-panel-profiles
56 %{_desktopdir}/xfce4-panel-profiles.desktop
57 %{_datadir}/metainfo/org.xfce.PanelProfiles.appdata.xml
58 %{_datadir}/xfce4-panel-profiles/layouts
59 %{_datadir}/xfce4-panel-profiles/locale
60 %{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py
61 %{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.glade
62 %{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.py
This page took 0.054571 seconds and 3 git commands to generate.