Witam, Załączam dość przydatny aplet do gnome2. Proszę przejżeć speca, jak zawsze sflejmować i może dodać. ;) Nie jestem pewny BuildRequires, być może są przedobrzone.
Jako źródło wziąłem przykład z różnych gnome-applet-*.spec. Pozdrawiam, Łukasz Nowak -- Łukasz Nowak [EMAIL PROTECTED] http://Lukasz.Nowak.eu.org/
# $Revision$, $Date$ %define _realname lock-keys-applet Summary: Show status of your lock key leds. Summary(pl): Pokazuje status diód klawiatury. Name: gnome-applet-lock-keys Version: 1.0 Release: 1 License: GPL Group: X11/Applications Source0: http://www.wh-hms.uni-ulm.de/~mfcn/shared/lock-keys/%{_realname}-%{version}.tar.gz URL: http://mfcn.ilo.de/led_applet/ BuildRequires: gnome-desktop-devel >= 2.2.0 BuildRequires: gnome-panel-devel >= 2.2.0 BuildRequires: libglade2-devel >= 2.0.1 BuildRequires: libgnomeui-devel >= 2.2.0 Requires(post): GConf2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Lock keys applet is a gnome2 applet, that shows the status of the CAPS-, NUM- and SCROLL-Lock keys of your keyboard. This isn't especially usefull for normal keyboards, as they got leds for that. But some keyboards (especially wireless keyboards) don't have. One more feature of the applet is that it saves the status of the lock-keys and restores it, when starting gnome2. %description -l pl Lock keys applet jest appletem gnome2, który pokazuje stan diód CAPS-, NUM- i SCROLL-Lock klawiatury. Nie jest może użyteczny podczas korzystania z normalnej klawiatury, gdyż posiadają one te diody. Jednak niektóre klawiatury (głównie bezprzewodowe) nie posiadają tych diód. Dodatkowym ułatwienie apletu jest to, że zapamiętuje on stan tych klawiszy i odtwarza go przy uruchamianiu gnome2. %prep %setup -q -n %{_realname}-%{version} %build %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ localedir=%{_datadir}/locale %find_lang lock-keys-applet --with-gnome --all-name %clean rm -rf $RPM_BUILD_ROOT %post %gconf_schema_install %files -f lock-keys-applet.lang %defattr(644,root,root,755) %doc AUTHORS COPYING ChangeLog NEWS README TODO %attr(755,root,root) %{_libdir}/lock-keys-applet %{_libdir}/bonobo/servers/*.server %{_datadir}/omf/lock-keys-applet/*.omf %{_pixmapsdir}/*.png %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: template.spec,v $
__________________________________________________________ nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles
