[4019] | 1 | Name: gdm2setup |
---|
| 2 | Summary: GDM2 Setup utility |
---|
| 3 | Summary(ja): GDM2 設定ユーティリティ |
---|
| 4 | Version: 0.5.3 |
---|
[4029] | 5 | Release: 2%{?_dist_release} |
---|
[4019] | 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 | |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 19 | BuildArch: noarch |
---|
| 20 | BuildRequires: python-devel, python-setuptools |
---|
[4029] | 21 | Requires: pygtk2, gksu, python-imaging |
---|
[4019] | 22 | |
---|
| 23 | Vendor: Project Vine |
---|
| 24 | Distribution: Vine Linux |
---|
| 25 | Packager: daisuke |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | A simple setup utility for the new GDM2 included in Karmic Ubuntu. |
---|
| 29 | GDM2Setup allows the user to set login wallpaper, select automatic |
---|
| 30 | login or prompted, user list or input box login, and much more. |
---|
| 31 | This application's goal is to put the older GDM setup utility |
---|
| 32 | functionality back into Ubuntu and other Gnome based Linux distributions. |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | |
---|
| 36 | %setup -q -n %{name}-%{version}-lucid -a 1 |
---|
| 37 | %patch0 -p1 |
---|
| 38 | %patch1 -p1 -b .vine |
---|
| 39 | %patch2 -p1 -b .gettext |
---|
| 40 | %patch3 -p1 -b .no-blur |
---|
| 41 | |
---|
| 42 | cp -f %{SOURCE2} gdm2setup.desktop |
---|
| 43 | |
---|
| 44 | %build |
---|
| 45 | %{__python} setup.py build |
---|
| 46 | |
---|
| 47 | %install |
---|
| 48 | rm -rf $RPM_BUILD_ROOT |
---|
| 49 | %{__python} setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix} |
---|
| 50 | |
---|
| 51 | mv $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_sbindir} |
---|
| 52 | |
---|
| 53 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/ja/LC_MESSAGES |
---|
| 54 | %{__install} -m644 po/ja.mo $RPM_BUILD_ROOT%{_datadir}/locale/ja/LC_MESSAGES/gdm2setup.mo |
---|
| 55 | |
---|
| 56 | %clean |
---|
| 57 | rm -rf $RPM_BUILD_ROOT |
---|
| 58 | |
---|
| 59 | %files |
---|
| 60 | %defattr(-,root,root,-) |
---|
| 61 | %doc ChangeLog LICENSE README |
---|
| 62 | %{_sbindir}/* |
---|
| 63 | %{python_sitelib}/* |
---|
| 64 | %{_datadir}/applications/* |
---|
| 65 | %{_datadir}/locale/ja/LC_MESSAGES/* |
---|
| 66 | |
---|
| 67 | %changelog |
---|
[4029] | 68 | * Sat Jun 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.3-2 |
---|
| 69 | - add R: python-imaging |
---|
| 70 | |
---|
[4019] | 71 | * Thu Jun 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.3-1 |
---|
| 72 | - initial build for Vine Linux |
---|
| 73 | - add Vine patch(1,3) |
---|
| 74 | - add gettext patch(2) and Japanese translation |
---|