gnome-applet-timer.spec

Michał Straszak michal w nasza.ath.cx
Sob, 5 Mar 2005, 14:22:21 CET


W CVS nie widziałem, a może się komuś przyda - ja potrzebowałem dla
ogame.pl ;) Może ktos mądrzejszy poprawi i doda do CVS.

Autokorekta:
- przydałoby się dodać polskie tłumaczenie, ale ja się nie podejmuję
- nie wiem co trzeba napisać w okolicach %changelog, oraz nie wiem o co
chodzi w $Revision
-------------- następna część ---------
%define		_realname	timer-applet
Summary:	Timer Applet is a countdown timer applet for the GNOME panel
Summary(pl):	Aplet panelu GNOME służący do odliczania czasu
Name:		gnome-applet-timer
Version:	0.7
Release:	0.1
License:	GPL
Group:		X11/Applications
Source0:	http://dl.sourceforge.net/timerapplet/%{_realname}-%{version}.tar.gz
# Source0-md5:	40a2800b049620fe699a3e307e8877bd
URL:		http://timerapplet.sourceforge.net/
#BuildRequires:	GConf2-devel
BuildRequires:	autoconf
BuildRequires:	automake
#BuildRequires:	gnome-desktop-devel >= 2.4.0
BuildRequires:	gnome-panel-devel >= 2.4.0
#BuildRequires:	gnome-vfs2-devel >= 2.4.0
#BuildRequires:	libglade2-devel >= 2.0.1
#BuildRequires:	libgnomeui-devel >= 2.4.0
#BuildRequires:	libtool
#BuildRequires:	scrollkeeper
Requires:	gnome-panel
#Requires(post):	GConf2
#Requires(post):	scrollkeeper
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define		_sysconfdir	/etc/gconf

%description
Timer Applet is a countdown timer applet for the GNOME panel.
Highlights:
 * Add multiple Timer Applets to the panel to have different timers
   running simultaneously
 * Quickly set a time and the applet will notify you when time's up
 * Create presets for quick access to frequently-used times
 * Small and unobtrusive. Choose to either view the remaining time
   right in the panel or hide it so you don't get distracted by the countdown.
   You can still view the remaining time by hovering your mouse over the timer icon
 * User interface follows the GNOME Human Interface Guidelines

#%description -l pl

%prep
%setup -q -n %{_realname}-%{version}

%build
rm -f missing
%{__aclocal}
%{__autoconf}
%{__automake}
%configure \
	--with-gconf-schema-file-dir=%{_sysconfdir}/schemas \
	--disable-schemas-install
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%find_lang %{_realname} --with-gnome

%clean
rm -rf $RPM_BUILD_ROOT

%post
%gconf_schema_install

%files -f %{_realname}.lang
%defattr(644,root,root,755)
%doc AUTHORS NEWS README ChangeLog
%attr(755,root,root) %{_bindir}/timer-applet
%{_libdir}/bonobo/servers/*.server
%{_datadir}/gnome-2.0/ui/*.xml
%{_sysconfdir}/schemas/timer-applet.schemas
%{_pixmapsdir}/%{_realname}/*.png

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

$Log: gnome-applet-timer.spec,v $
Revision 1.1  2005/03/04 13:06:54  michal
- initial release


Więcej informacji o liście dyskusyjnej pld-users-pl