gdm2setup-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Name: gdm2setup
  2. Summary: GDM2 Setup utility
  3. Summary(ja): GDM2 設定ユーティリティ
  4. Version: 0.5.3
  5. Release: 6%{?_dist_release}
  6. License: GPLv3
  7. Group: User Interface/X
  8. URL: https://launchpad.net/gdm2setup
  9. Source0: http://launchpad.net/gdm2setup/0.2/0.5.0/+download/gdm2setup.tar.gz
  10. Source1: gdm2setup-0.5.3-ja.tar.bz2
  11. Source2: gdm2setup.desktop
  12. Patch0: gdm2setup-0.5.3-install-fix.patch
  13. Patch1: gdm2setup-0.5.3-vine.patch
  14. Patch2: gdm2setup-0.5.3-gettext.patch
  15. Patch3: gdm2setup-0.5.3-remove-blur-option.patch
  16. Patch4: gdm2setup-0.5.3-fix-case-sensitive.patch
  17. Patch5: gdm2setup-0.5.3-fix-typo.patch
  18. Patch6: gdm2setup-0.5.3-enable-show-userlist.patch
  19. Patch7: gdm2setup-0.5.3-disable-debug.patch
  20. Patch8: gdm2setup-0.5.3-fix-timedlogin.patch
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  22. BuildArch: noarch
  23. BuildRequires: python-devel, python-setuptools
  24. Requires: pygtk2, gksu, python-imaging
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. Packager: daisuke
  28. %description
  29. A simple setup utility for the new GDM2 included in Karmic Ubuntu.
  30. GDM2Setup allows the user to set login wallpaper, select automatic
  31. login or prompted, user list or input box login, and much more.
  32. This application's goal is to put the older GDM setup utility
  33. functionality back into Ubuntu and other Gnome based Linux distributions.
  34. %prep
  35. %setup -q -n %{name}-%{version}-lucid -a 1
  36. %patch0 -p1
  37. %patch1 -p1 -b .vine
  38. %patch2 -p1 -b .gettext
  39. %patch3 -p1 -b .no-blur
  40. %patch4 -p1 -b .case-sensitive
  41. %patch5 -p1 -b .fix-typo
  42. %patch6 -p1 -b .enable-show-userlist
  43. %patch7 -p1 -b .disable-debug
  44. %patch8 -p1 -b .fix-timedlogin
  45. cp -f %{SOURCE2} gdm2setup.desktop
  46. %build
  47. %{__python} setup.py build
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. %{__python} setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
  51. mv $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_sbindir}
  52. mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/ja/LC_MESSAGES
  53. %{__install} -m644 po/ja.mo $RPM_BUILD_ROOT%{_datadir}/locale/ja/LC_MESSAGES/gdm2setup.mo
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %files
  57. %defattr(-,root,root,-)
  58. %doc ChangeLog LICENSE README
  59. %{_sbindir}/*
  60. %{python_sitelib}/*
  61. %{_datadir}/applications/*
  62. %{_datadir}/locale/ja/LC_MESSAGES/*
  63. %changelog
  64. * Mon Jul 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.3-6
  65. - update Patch1 (gdm2setup-0.5.3-vine.patch)
  66. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.3-5
  67. - rebuild with python-2.7.2
  68. * Tue Jul 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.3-4
  69. - add patch8 to disable Autologin if TimedLogin is enabled.
  70. * Tue Jun 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.3-3
  71. - add patch4: ConfigParser should be case-sensitive.
  72. - add patch5 to fix typo
  73. - add patch6 to enable show userlist even if autologin is enabled.
  74. - add patch7 to disable debug message
  75. * Sat Jun 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.3-2
  76. - add R: python-imaging
  77. * Thu Jun 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.3-1
  78. - initial build for Vine Linux
  79. - add Vine patch(1,3)
  80. - add gettext patch(2) and Japanese translation