Update to 2.0.8, using BuildRequires xfce4-dev-tools replace exo-devel(new version of exo not contains exo-csource).

This commit is contained in:
wenlong ding 2021-08-05 11:04:05 +08:00
parent b28a0f8758
commit 48ee7404fe
3 changed files with 10 additions and 6 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,7 +1,7 @@
Name: lightdm-gtk Name: lightdm-gtk
Version: 2.0.7 Version: 2.0.8
Summary: LightDM GTK Greeter Summary: LightDM GTK Greeter
Release: 2 Release: 1
License: GPLv3+ License: GPLv3+
URL: https://launchpad.net/lightdm-gtk-greeter URL: https://launchpad.net/lightdm-gtk-greeter
Source0: %url/2.0/%{version}/+download/lightdm-gtk-greeter-%{version}.tar.gz Source0: %url/2.0/%{version}/+download/lightdm-gtk-greeter-%{version}.tar.gz
@ -20,7 +20,8 @@ Patch2: lightdm-gtk-greeter-1.8.5-add-cinnamon-badges.patch
BuildRequires: gettext BuildRequires: gettext
BuildRequires: intltool BuildRequires: intltool
# exo-csource # exo-csource
BuildRequires: exo-devel #BuildRequires: exo-devel
BuildRequires: xfce4-dev-tools
BuildRequires: pkgconfig(liblightdm-gobject-1) BuildRequires: pkgconfig(liblightdm-gobject-1)
BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
@ -46,7 +47,7 @@ A LightDM greeter that uses the GTK3 toolkit.
%prep %prep
%autosetup -n lightdm-gtk-greeter-%{version} -p1 %autosetup -n lightdm-gtk-greeter-lightdm-gtk-greeter-%{version} -p1
%if 0%{?background:1} %if 0%{?background:1}
sed -i.background -e "s|#background=.*|background=%{background}|" \ sed -i.background -e "s|#background=.*|background=%{background}|" \
@ -55,6 +56,7 @@ sed -i.background -e "s|#background=.*|background=%{background}|" \
%build %build
sh autogen.sh
%configure \ %configure \
--disable-silent-rules \ --disable-silent-rules \
--disable-static \ --disable-static \
@ -89,18 +91,20 @@ rm -fv %{buildroot}%{_docdir}/lightdm-gtk-greeter/sample-lightdm-gtk-greeter.css
%files -f lightdm-gtk-greeter.lang %files -f lightdm-gtk-greeter.lang
%license COPYING %license COPYING
%doc ChangeLog NEWS README %doc AUTHORS NEWS README.md
%doc data/sample-lightdm-gtk-greeter.css %doc data/sample-lightdm-gtk-greeter.css
%config(noreplace) %{_sysconfdir}/lightdm/lightdm-gtk-greeter.conf %config(noreplace) %{_sysconfdir}/lightdm/lightdm-gtk-greeter.conf
%{_sbindir}/lightdm-gtk-greeter %{_sbindir}/lightdm-gtk-greeter
%{_datadir}/xgreeters/lightdm-gtk-greeter.desktop %{_datadir}/xgreeters/lightdm-gtk-greeter.desktop
%dir %{_datadir}/lightdm-gtk-greeter/ %dir %{_datadir}/lightdm-gtk-greeter/
%{_datadir}/icons/hicolor/scalable/places/*badge-symbolic.svg %{_datadir}/icons/hicolor/scalable/places/*badge-symbolic.svg
#%{_datadir}/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
%{_sysconfdir}/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf %{_sysconfdir}/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
%changelog %changelog
* Thu Aug 05 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 2.0.8-1
- Update to 2.0.8, using BuildRequires xfce4-dev-tools replace exo-devel(new version of exo not contains exo-csource).
* Thu Mar 04 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 2.0.7-2 * Thu Mar 04 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 2.0.7-2
- Install 60-lightdm-gtk-greeter.conf to /etc/lightdm/lightdm.conf.d/ - Install 60-lightdm-gtk-greeter.conf to /etc/lightdm/lightdm.conf.d/