lightdm-gtk-vl.spec 1.8 KB

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