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