]> git.pld-linux.org Git - packages/xfce4-panel-profiles.git/commitdiff
- new auto/th/xfce4-panel-profiles-1.0.9-1
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 26 Aug 2019 18:10:32 +0000 (20:10 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 26 Aug 2019 18:10:32 +0000 (20:10 +0200)
xfce4-panel-profiles.spec [new file with mode: 0644]

diff --git a/xfce4-panel-profiles.spec b/xfce4-panel-profiles.spec
new file mode 100644 (file)
index 0000000..d32047d
--- /dev/null
@@ -0,0 +1,62 @@
+Summary:       Application to manage Xfce panel layouts
+Name:          xfce4-panel-profiles
+Version:       1.0.9
+Release:       1
+License:       GPL v2
+Group:         X11/Applications
+Source0:       http://archive.xfce.org/src/apps/xfce4-panel-profiles/1.0/%{name}-%{version}.tar.bz2
+# Source0-md5: bee3e251e45ade0ea349366461d6e200
+URL:           https://git.xfce.org/apps/xfce4-panel-profiles/about/
+BuildRequires: python3
+BuildRequires: python3-modules
+BuildRequires: python3-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: xfce4-panel-devel >= 4.14.0
+Requires:      python3-pygobject3
+Requires:      xfce4-panel >= 4.14.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Xfce4 Panel Profiles (xfce4-panel-profiles, formerly known as
+xfpanel-switch) is a simple application to manage Xfce panel layouts.
+
+With the modular Xfce Panel, a multitude of panel layouts can be
+created. This tool makes it possible to backup, restore, import, and
+export these panel layouts.
+
+%prep
+%setup -q
+
+# fix #!/usr/bin/env python -> #!/usr/bin/python:
+%{__sed} -i -e '1s,^#!.*python3,#!%{__python3},' xfce4-panel-profiles/*.py
+
+%build
+./configure \
+       --prefix=%{_prefix}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/xfce4-panel-profiles
+%{_desktopdir}/xfce4-panel-profiles.desktop
+%{_datadir}/metainfo/org.xfce.PanelProfiles.appdata.xml
+%{_datadir}/xfce4-panel-profiles/layouts
+%{_datadir}/xfce4-panel-profiles/locale
+%{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles/panelconfig.py
+%{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.glade
+%{_datadir}/xfce4-panel-profiles/xfce4-panel-profiles/xfce4-panel-profiles.py
This page took 0.089813 seconds and 4 git commands to generate.