commit
3b897dfc43
BIN
xfce4-panel-profiles-1.0.10.tar.bz2
Normal file
BIN
xfce4-panel-profiles-1.0.10.tar.bz2
Normal file
Binary file not shown.
58
xfce4-panel-profiles.spec
Normal file
58
xfce4-panel-profiles.spec
Normal file
@ -0,0 +1,58 @@
|
||||
Name: xfce4-panel-profiles
|
||||
Version: 1.0.10
|
||||
Release: 1
|
||||
Summary: A simple application to manage Xfce panel layouts
|
||||
License: GPLv3
|
||||
#Group: Development/Libraries
|
||||
URL: https://git.xfce.org/apps/xfce4-panel-profiles/about/
|
||||
Source0: https://archive.xfce.org/src/apps/%{name}/1.0/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: desktop-file-utils
|
||||
Requires: xfce4-panel
|
||||
Provides: xfpanel-switch = %{version}-%{release}
|
||||
|
||||
%description
|
||||
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
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
#cannot use configure macro here
|
||||
./configure --prefix=%{_prefix}
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f %{buildroot}%{_docdir}/%{name}/COPYING
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
chmod -x %{buildroot}%{_datadir}/%{name}/layouts/*
|
||||
rm -f %{buildroot}/%{_docdir}/%{name}/INSTALL
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.xfce.PanelProfiles.appdata.xml
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc NEWS AUTHORS README
|
||||
%{_mandir}/man1/%{name}*
|
||||
%{_datadir}/%{name}
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/metainfo/*.appdata.xml
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2020 <dillon.chen@turbolinux.com.cn> - 1.0.10-1
|
||||
- Init package
|
||||
Loading…
x
Reference in New Issue
Block a user