003af0a
%global majorver 1.0
003af0a
%global appdata_name org.xfce.PanelProfiles
003af0a
003af0a
Name:		xfce4-panel-profiles
902815b
Version:	1.0.10
98031c6
Release:	2%{?dist}
003af0a
Summary:	A simple application to manage Xfce panel layouts
003af0a
003af0a
License:	GPLv3
003af0a
URL:		https://git.xfce.org/apps/xfce4-panel-profiles/about/
003af0a
Source0:	https://archive.xfce.org/src/apps/%{name}/%{majorver}/%{name}-%{version}.tar.bz2
003af0a
003af0a
BuildRequires:	python3-devel
003af0a
BuildRequires:	gettext
003af0a
BuildRequires:	intltool
003af0a
BuildRequires:	libappstream-glib
003af0a
BuildRequires:	desktop-file-utils
003af0a
003af0a
BuildArch:	noarch
003af0a
003af0a
Requires:	xfce4-panel
003af0a
003af0a
Provides:	xfpanel-switch = %{version}-%{release}
003af0a
Obsoletes:	xfpanel-switch <= 1.0.7
003af0a
003af0a
%description
003af0a
A simple application to manage Xfce panel layouts
003af0a
003af0a
With the modular Xfce Panel, a multitude of panel layouts can be created. 
003af0a
This tool makes it possible to backup, restore, import, and export these 
003af0a
panel layouts.
003af0a
003af0a
%prep
003af0a
%autosetup
003af0a
003af0a
%build
003af0a
#cannot use configure macro here
003af0a
./configure --prefix=%{_prefix}
003af0a
003af0a
%make_build
003af0a
003af0a
%install
003af0a
%make_install
003af0a
003af0a
rm -f %{buildroot}%{_docdir}/%{name}/COPYING
003af0a
003af0a
%find_lang %{name}
003af0a
003af0a
# fix executable permissions on tarballs
003af0a
chmod -x %{buildroot}%{_datadir}/%{name}/layouts/*
003af0a
003af0a
# get rid of install file
003af0a
rm -f %{buildroot}/%{_docdir}/%{name}/INSTALL
003af0a
003af0a
%check
003af0a
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
003af0a
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{appdata_name}.appdata.xml
003af0a
003af0a
%files -f %{name}.lang
003af0a
%license COPYING
003af0a
%doc NEWS AUTHORS README
98031c6
%{_mandir}/man1/%{name}*
003af0a
%{_datadir}/%{name}
003af0a
%{_bindir}/%{name}
003af0a
%{_datadir}/applications/%{name}.desktop
003af0a
%{_datadir}/metainfo/*.appdata.xml
003af0a
003af0a
%changelog
98031c6
* Tue Jan 14 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.10-2
98031c6
- Add man pages
98031c6
902815b
* Tue Jan 14 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.10-1
902815b
- Update to 1.0.10
902815b
620bd01
* Tue Jul 30 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.9-1
620bd01
- Update to 1.0.9
620bd01
527cb4c
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-5
527cb4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
527cb4c
55c1e4d
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-4
55c1e4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
55c1e4d
003af0a
* Fri Oct 19 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.8-3
003af0a
- Fix provides and remove INSTALL file from package
003af0a
003af0a
* Fri Oct 19 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.8-2
003af0a
- Fix packaging issues
003af0a
003af0a
* Fri Oct 19 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.8-1
003af0a
- Rename to xfce4-panel-profiles
003af0a
003af0a
* Tue Apr 17 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.7-1
003af0a
- Update to 1.0.7
003af0a
003af0a
* Wed Mar 28 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.6-3
003af0a
- Truly fix files and appdata issues
003af0a
003af0a
* Wed Mar 28 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.6-2
003af0a
- Fix build problems
003af0a
003af0a
* Wed Mar 28 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.6-1
003af0a
- Update to 1.0.6
003af0a
- Change appdata filename
003af0a
- Drop upstreamed patches
003af0a
- Stop removing xubuntu layout
003af0a
003af0a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-5
003af0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
003af0a
003af0a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-4
003af0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
003af0a
003af0a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
003af0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
003af0a
003af0a
* Fri Apr 15 2016 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.4-2
003af0a
- Added fedora and el conditionals
003af0a
003af0a
* Thu Apr 14 2016 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.4-1
003af0a
- Updated to v1.0.4
003af0a
003af0a
* Mon Mar 07 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.0.3-3
003af0a
- Added italian translation
003af0a
003af0a
* Sun Mar 06 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.0.3-2
003af0a
- Add desktop-file-validate for .desktop files
003af0a
- Fix buildrequires
003af0a
- Add appdata file and corresponding BR
003af0a
003af0a
* Sat Mar 05 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 1.0.3-1
003af0a
- Inital package