lightdm-gtk-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Summary: Reference GTK+ greeter for LightDM
  2. Name: lightdm-gtk
  3. Version: 2.0.7
  4. Release: 1%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPL3
  9. URL: https://launchpad.net/lightdm-gtk-greeter/
  10. Source: https://launchpad.net/%{name}-greeter/2.0/%{version}/+download/%{name}-greeter-%{version}.tar.gz
  11. Patch0: fix_arm_compile.patch
  12. Patch1: lightdm-gtk_add-language-button-to-layout.patch
  13. # for Vine Linux
  14. Patch1000: lightdm-gtk-greeter-2.0.1-vine.patch
  15. Patch1001: lightdm-gtk-greeter-2.0.7-ja.po.patch
  16. Requires: lightdm
  17. Requires: gnome-icon-theme
  18. BuildRequires: gtk3-devel
  19. BuildRequires: lightdm-gobject-devel
  20. BuildRequires: libX11-devel
  21. BuildRequires: gobject-introspection-devel
  22. BuildRequires: libexo-devel
  23. Provides: lightdm-greeter
  24. %description
  25. %{summary}
  26. %prep
  27. %setup -q -n %{name}-greeter-%{version}
  28. %autopatch -p1
  29. %build
  30. %configure \
  31. --disable-silent-rules \
  32. --disable-static \
  33. --disable-libindicator \
  34. --enable-kill-on-sigterm
  35. make %{?_smp_mflags}
  36. make -C po update-po
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT
  40. pushd $RPM_BUILD_ROOT%{_datadir}/xgreeters/
  41. ln -s lightdm-gtk-greeter.desktop lightdm-greeter.desktop
  42. popd
  43. find $RPM_BUILD_ROOT -name '*.a' -delete
  44. find $RPM_BUILD_ROOT -name '*.la' -delete
  45. ## unpackaged files
  46. rm -fv %{buildroot}%{_docdir}/lightdm-gtk-greeter/sample-lightdm-gtk-greeter.css
  47. %find_lang %{name}-greeter
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files -f %{name}-greeter.lang
  51. %defattr(-, root, root, -)
  52. %license COPYING
  53. %doc ChangeLog NEWS README
  54. %doc data/sample-lightdm-gtk-greeter.css
  55. %{_sysconfdir}/lightdm/lightdm-gtk-greeter.conf
  56. %{_sbindir}/lightdm-gtk-greeter
  57. %{_datadir}/icons/hicolor/scalable/places/*
  58. %{_datadir}/xgreeters/lightdm-greeter.desktop
  59. %{_datadir}/xgreeters/lightdm-gtk-greeter.desktop
  60. %changelog
  61. * Tue Aug 11 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.7-1
  62. - new upstream release.
  63. * Sat Nov 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-1
  64. - new upstream release
  65. - update Patch1000 (lightdm-gtk-greeter-2.0.1-vine.patch)
  66. - update Patch1001 (lightdm-gtk-greeter-2.0.1-ja.po.patch)
  67. - remove Patch1002 (lightdm-gtk-greeter-1.8.5-background.patch)
  68. - add BuildRequires: gtk3-devel
  69. - remove Requires: gtk2-engines
  70. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.5-3
  71. - add Requires: gnome-icon-theme, gtk2-engines
  72. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.5-2
  73. - add Patch1002 (lightdm-gtk-greeter-1.8.5-background.patch)
  74. * Sun Jun 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.5-1
  75. - initial build