lightdm-gtk-vl.spec 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Summary: Reference GTK+ greeter for LightDM
  2. Name: lightdm-gtk
  3. Version: 1.8.5
  4. Release: 1%{?_dist_release}
  5. License: GPL3
  6. Group: User Interface/X
  7. URL: https://launchpad.net/lightdm-gtk-greeter/
  8. Source: https://launchpad.net/%{name}-greeter/1.8/%{version}/+download/%{name}-greeter-%{version}.tar.gz
  9. # for Vine Linux
  10. Patch1000: lightdm-gtk-greeter-1.8.5-vine.patch
  11. Patch1001: lightdm-gtk/lightdm-gtk-greeter-1.8.5-ja.po.patch
  12. Requires: lightdm
  13. BuildRequires: gtk2-devel
  14. BuildRequires: lightdm-gobject-devel
  15. BuildRequires: libX11-devel
  16. Provides: lightdm-greeter
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: Takemikaduchi
  20. %description
  21. %{summary}
  22. %prep
  23. %setup -q -n %{name}-greeter-%{version}
  24. %patch1000 -p1 -b .vine
  25. %patch1001 -p1 -b .vine
  26. %build
  27. %configure \
  28. --with-gtk2=yes
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. pushd $RPM_BUILD_ROOT%{_datadir}/xgreeters/
  34. ln -s lightdm-gtk-greeter.desktop lightdm-greeter.desktop
  35. popd
  36. find $RPM_BUILD_ROOT -name '*.a' -delete
  37. find $RPM_BUILD_ROOT -name '*.la' -delete
  38. %find_lang %{name}-greeter
  39. %post -p /sbin/ldconfig
  40. %postun -p /sbin/ldconfig
  41. %files -f %{name}-greeter.lang
  42. %defattr(-, root, root, -)
  43. %doc AUTHORS COPYING ChangeLog NEWS README
  44. %{_sysconfdir}/lightdm/lightdm-gtk-greeter.conf
  45. %{_sbindir}/lightdm-gtk-greeter
  46. %{_docdir}/lightdm-gtk-greeter/sample-lightdm-gtk-greeter.css
  47. %{_datadir}/icons/hicolor/scalable/places/*
  48. %{_datadir}/xgreeters/lightdm-greeter.desktop
  49. %{_datadir}/xgreeters/lightdm-gtk-greeter.desktop
  50. %changelog
  51. * Sun Jun 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.5-1
  52. - initial build