source: projects/specs/trunk/g/gdm2setup/gdm2setup-vl.spec @ 4235

Revision 4235, 2.7 KB checked in by daisuke, 13 years ago (diff)

gdm2setup:

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