c781ea
Name:		lightdm-settings
445a3d
Version:	1.2.8
445a3d
Release:	1%{?dist}
c781ea
Summary:	Configuration tool for the LightDM display manager
c781ea
c781ea
License:	GPLv3+
c781ea
URL:		https://github.com/linuxmint/%{name}
9a1a9e
Source0:	%{url}/archive/%{version}/%{name}-%{version}.tar.gz
13915f
c781ea
BuildArch:	noarch
c781ea
c781ea
BuildRequires:	desktop-file-utils
c781ea
BuildRequires:	gettext
c781ea
c781ea
Requires:	filesystem
c781ea
Requires:	hicolor-icon-theme
c781ea
Requires:	polkit
e4d8e5
Requires:	python3-xapp
c781ea
Requires:	python3-gobject
cb0a6e
Requires:	python3-setproctitle
c781ea
Requires:	slick-greeter
c781ea
c781ea
%description
c781ea
This tool currently lets users configure slick-greeter.
c781ea
c781ea
c781ea
%prep
86443f
%autosetup -p 1
c781ea
c781ea
# Clean she-bangs.
c781ea
for f in .%{_prefix}/lib/%{name}/*.py ; do
c781ea
	%{__sed} -e '/^#!.*/d' < ${f} > ${f}.new
c781ea
	/bin/touch -r ${f} ${f}.new
c781ea
	%{__mv} -f ${f}.new ${f}
c781ea
done
c781ea
c3c7d6
# Use pkexec.
c3c7d6
f=".%{_bindir}/%{name}"
c3c7d6
%{__sed} -e 's!support_pkexec=False!support_pkexec=True!g'		\
c3c7d6
	< ${f} > ${f}.new
849e88
/bin/touch -r ${f} ${f}.new
849e88
%{__mv} -f ${f}.new ${f}
3eeeec
c3c7d6
c781ea
%build
c781ea
%make_build
c781ea
c781ea
c781ea
%install
c781ea
# No install-target in Makefile.
4c6e0d
%{__cp} -pr .%{_prefix} %{buildroot}
c781ea
c781ea
# Set exec-permissions where needed.
c781ea
%{__chmod} -c 0755 %{buildroot}%{_bindir}/%{name}			\
c781ea
	 %{buildroot}%{_prefix}/lib/%{name}/%{name}
c781ea
c781ea
# Find localizations and build manifest.
13915f
%find_lang %{name}
c781ea
c781ea
c781ea
%check
c781ea
%{_bindir}/desktop-file-validate					\
c781ea
	%{buildroot}%{_datadir}/applications/*.desktop
c781ea
c781ea
0664d8
%files -f %{name}.lang
c781ea
%license debian/copyright COPYING
c781ea
%doc debian/changelog README.md
c781ea
%{_bindir}/%{name}
9a1a9e
%{_prefix}/lib/%{name}/
c781ea
%{_datadir}/applications/%{name}.desktop
c781ea
%{_datadir}/icons/hicolor/*/apps/%{name}.*
e4d8e5
%{_datadir}/polkit-1/actions/org.x.%{name}.policy
c781ea
c781ea
c781ea
%changelog
445a3d
* Wed Jul 31 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.2.8-1
445a3d
- Update to 1.2.8 release
445a3d
1302a4
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7-2
1302a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1302a4
d09c3e
* Sun Jul 14 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.2.7-1
d09c3e
- Update to 1.2.7 release
d09c3e
0067c7
* Sun Jun 30 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.2.6-1
0067c7
- Update to 1.2.6 release
0067c7
6efe0e
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-2
6efe0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6efe0e
f6dace
* Sun Dec 16 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.2.5-1
f6dace
- Update to 1.2.5 release
f6dace
272fe0
* Tue Nov 27 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.2.4-1
272fe0
- Update to 1.2.4 release
272fe0
dc68e8
* Wed Aug 15 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.2.3-1
dc68e8
- Update to 1.2.3 release
dc68e8
071ef0
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
071ef0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
071ef0
8d6a96
* Sun May 27 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.2.1-1
8d6a96
- Update to 1.2.1 release
8d6a96
a9f3b8
* Thu May 10 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.2.0-1
a9f3b8
- Update to 1.2.0 release
a9f3b8
a70f6d
* Thu Feb 15 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.4-1
a70f6d
- Update to 1.1.4 release
a70f6d
e1fe85
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
e1fe85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e1fe85
4183ba
* Mon Nov 06 2017 Björn Esser <besser82@fedoraproject.org> - 1.1.3-1
4183ba
- Update to 1.1.3 release (rhbz#1509947)
4183ba
0664d8
* Fri Oct 27 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.1.2-1
0664d8
- Update to 1.1.2 release
0664d8
26ed13
* Thu Aug 31 2017 Björn Esser <besser82@fedoraproject.org> - 1.1.1-6
26ed13
- Preserve mode of files when changing hashbang
26ed13
856359
* Thu Aug 31 2017 Björn Esser <besser82@fedoraproject.org> - 1.1.1-5
856359
- Fix hashbangs for EPEL
856359
849e88
* Tue Aug 29 2017 Björn Esser <besser82@fedoraproject.org> - 1.1.1-4
849e88
- Another fix for EPEL
849e88
3eeeec
* Tue Aug 29 2017 Björn Esser <besser82@fedoraproject.org> - 1.1.1-3
3eeeec
- Adjustments for EPEL
3eeeec
f840d1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
f840d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f840d1
b6bd30
* Fri Jun 30 2017 Björn Esser <besser82@fedoraproject.org> - 1.1.1-1
b6bd30
- Update to 1.1.1 release (rhbz#1466545)
b6bd30
4c6e0d
* Tue Jun 13 2017 Björn Esser <besser82@fedoraproject.org> - 1.1.0-1
4c6e0d
- Update to 1.1.0 release (rhbz#1460470)
4c6e0d
26e139
* Wed May 31 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.9-1
26e139
- Update to 1.0.9 release (rhbz#1455370)
26e139
c3c7d6
* Thu May 18 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.7-2
c3c7d6
- Activate support for pkexec
c3c7d6
4cd63f
* Wed May 17 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.7-1
4cd63f
- Update to 1.0.7 release (rhbz#1451532)
4cd63f
3c214f
* Mon May 15 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.5-1
3c214f
- Update to 1.0.5 release (rhbz#1450706)
3c214f
13915f
* Sun May 07 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.4-1
13915f
- Update to 1.0.4 release (rhbz#1448705)
13915f
- Pick up installed locales
13915f
e4d8e5
* Fri May 05 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.3-1
e4d8e5
- Update to 1.0.3 release
e4d8e5
- Add requires python3-xapp
e4d8e5
cb0a6e
* Wed Apr 26 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.2-4
cb0a6e
- Add missing dependency on python3-setproctitle (rhbz#1444436)
cb0a6e
0900bc
* Sat Apr 08 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.2-3
0900bc
- Add more patches from upstream
0900bc
86443f
* Fri Apr 07 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.2-2
86443f
- Add patches from upstream
86443f
c781ea
* Fri Apr 07 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.2-1
c781ea
- Initial import (rhbz#1440240)
c781ea
c781ea
* Fri Apr 07 2017 Björn Esser <besser82@fedoraproject.org> - 1.0.2-0.1
c781ea
- Initial rpm-release (rhbz#1440240)