%define name        xsetup-mol
%define version     0.8
%define release     6mol1

Summary:     Automatic X setup program
Summary(ja): X自動設定プログラム
Name:        %{name}
Version:     %{version}
Release:     %{release}
Source0:     %{name}-%{version}-%{release}.tar.gz
License:     GNU GPL version 2
Group:       System Environment/Base
Packager:    Keicho Kondo <dgel@users.sourceforge.jp>
Vendor:      Make One Linux Project
BuildRoot:   %{_tmppath}/%{name}-%{version}-root
BuildArch:   noarch

%description
xsetup-mol is a program for X setup automatically.

%description -l ja
xsetup-molはXを自動的に設定するためのプログラムです。

%prep
rm -rf ${RPM_BUILD_ROOT}
%setup -n %{name}-%{version}

%install
make DESTDIR=${RPM_BUILD_ROOT} prefix=/usr sysconfdir=/etc install

%clean
rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-,root,root)
%config /etc/mol/molmake.conf.d/xsetup.conf
/usr/libexec/xsetup-mol
/usr/share/mol/replace/XF86Config.in
/usr/share/mol/replace/XF86Config-4.in
/usr/share/mol/replace/xorg.conf.in

%changelog
* Tue Sep 05 2006 Keicho Kondo <dgel@users.sourceforge.jp> 0.8-6mol1
- fixed mouse probe bug.
* Sun Sep 03 2006 Keicho Kondo <dgel@users.sourceforge.jp>
- added /exec into PATH variable.
* Tue Aug 29 2006 Keicho Kondo <dgel@users.sourceforge.jp>
- added ChangeLog.mol, README.mol, INSTALL.mol, this spec file,
  Makefile, and xorg.conf.
- mkxf86config.sh is modified. the following was replaced.
   /etc/sysconfig -> /etc/sysconfig/mol
   /etc/sysconfig/knoppix -> /etc/sysconfig/mol/mol
  and added xorg.conf.in configuration
  and renamed tmp file name.
* Mon Aug 28 2006 Keicho Kondo <dgel@users.sourceforge.jp>
- initial build for Make One Disk

