Summary:   GNOME applet to change parameters of Plextor or MMC cd drives.
Name:      plextor-tool-applet
Version:   0.5.0
Release:   1
URL:       http://www.technik.sth.ac.at/plextor-tool
Copyright: GPL
Group:     Applications/System
Packager:  Georg Huettenegger (georg@ist.org)
Source:    %{name}-%{version}.tar.bz2
BuildRoot: /tmp/buildroot
%description
The plextor-tool-applet lets you change parameters of their Plextor(r)/MMC CD-ROM/CD-R(W) drives.
This includes changing the read speed, the spin-down time, and the volume of the internal analog output. Further options may be used to control the noise made by the drive (available only for some Plextor(r) drives).
This functionality is provided by a GNOME applet (a console tool is available seperately).

%prep
%setup  
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
install -m755 %{name} $RPM_BUILD_ROOT/%{_sbindir}
mkdir -p $RPM_BUILD_ROOT/usr/share/applets/Utility/
install -m644 %{name}.desktop $RPM_BUILD_ROOT/usr/share/applets/Utility/
mkdir -p $RPM_BUILD_ROOT/usr/share/gnome/help/%{name}/C/
install -m644 properties-0.html $RPM_BUILD_ROOT/usr/share/gnome/help/%{name}/C/
mkdir -p $RPM_BUILD_ROOT/etc/CORBA/servers
install -m644 %{name}.gnorba $RPM_BUILD_ROOT/etc/CORBA/servers
%files
%defattr(-,root,root)
%{_sbindir}
/etc
/usr/share

%doc COPYING README NEWS

%post
%postun
%pre
%preun
%clean
rm -rf $RPM_BUILD_ROOT

