Cześć,
przygotowałem SPEC-a apletu KDE, który umożliwia zmianę prędkości CDROM-u.
Może się komuś przyda. Program wymaga, by użytkownik miał prawo odczytu
urządzenia napędu.

Pozdrawiam,

-- 
Maciej Witaszek <[EMAIL PROTECTED]>
# $Revision: 1.14 $, $Date: 2005/02/24 08:05:39 $
Summary:        Little Kicker applet that allows selecting CD-ROM speed, eject 
& close CD-ROM tray, and mount & unmount disc
Summary(pl):    Aplet kickera umo¿liwij±cy ustawienie prêdko¶ci CD-ROM-u, 
wysuwanie i zamykanie szuflad CDROM, montowanie i odmontowanie dysku.
Name:           kcdspeed
Version:        0.8
Release:        0.1
License:        GPL v2
Group:          X11/Applications
Source0:        http://kcdspeed.riadoklan.sk/data/%{name}-%{version}.tar.gz
# Source0-md5:  ead045707dfa8f28fdbdeb8224fd3130
URL:            http://kcdspeed.riadoklan.sk/
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  kdelibs-devel >= 9:3.2.0
BuildRequires:  rpmbuild(macros) >= 1.129
BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Little Kicker applet that allows selecting CD-ROM speed, eject & close
CD-ROM tray, and mount & unmount disc.

%description -l pl
Aplet kickera umo¿liwij±cy ustawienie prêdko¶ci CD-ROM-u, wysuwanie i
zamykanie szuflad CDROM, montowanie i odmontowanie dysku.

%prep
#setup -q -n %{name}
%setup -q

%build
cp -f /usr/share/automake/config.sub admin
%{__make} -f admin/Makefile.common cvs

%configure \
%if "%{_lib}" == "lib64"
        --enable-libsuffix=64 \
%endif
        --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
        --with-qt-libraries=%{_libdir}
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}

%{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        kde_htmldir=%{_kdedocdir} \
        kde_libs_htmldir=%{_kdedocdir} \
        kdelnkdir=%{_desktopdir} \

%find_lang %{name} --with-kde

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(644,root,root,755)
#%attr(755,root,root) %{_bindir}/*
#%{_pixmapsdir}/*
#%{_desktopdir}/*
#%{_iconsdir}/*/*/apps/%{name}.png
#%{_datadir}/mimelnk/application/*
%{_datadir}/apps/kicker/applets/%{name}.desktop
%{_libdir}/*

%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <[EMAIL PROTECTED]>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log:$
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym