Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > main-src > by-pkgid > 00dc210cc71361700d052422fd7760d0 > files > 4

ksetiwatch-2.2.5-1mdk.src.rpm

Summary:   A monitoring tool for the SETI@home project
Name:      ksetiwatch
Version:   2.2.5
Release:   1mdk
License:   GPL
Url:       http://ksetiwatch.sourceforge.net
Group:     Monitoring

Source:    %name-%version.tar.bz2
Source1:   %{name}-32.xpm.bz2
Source2:   %{name}-16.xpm.bz2

BuildRoot: %_tmppath/%name-%version-%release-root
BuildRequires: kdelibs-devel libjpeg-devel libpng-devel XFree86-devel


%description
Ksetiwatch monitors multiple SETI@home instances running
on your computer or in your network, and it automatically
logs and manages completed work units. Ksetiwatch provides
the look-and-feel of the popular SETIWatch program for 
Windows 95/98/2000.

%prep

%setup -q
#laurent 2.2.4 %%configure doesn't work
./configure --disable-rpath \
           --disable-debug \
	   --enable-final

%build

%make

%install
rm -fr %buildroot

%makeinstall

# icon
mkdir -p $RPM_BUILD_ROOT%{_iconsdir}
mkdir -p $RPM_BUILD_ROOT%{_miconsdir}
bzcat %{SOURCE1} > $RPM_BUILD_ROOT%{_iconsdir}/%{name}.xpm
bzcat %{SOURCE2} > $RPM_BUILD_ROOT%{_miconsdir}/%{name}.xpm

install -d %buildroot/%_menudir/
cat > %buildroot/%_menudir/%{name} <<EOF
?package(%{name}):\
command="ksetiwatch"\
title="Ksetiwatch"\
longtitle="Monitors seti@home crunching"\
needs="x11"\
icon="ksetiwatch.xpm"\
section="Applications/Monitoring"
EOF

%{find_lang} %{name}
 
%post
%{update_menus}
  
%postun
%{clean_menus}

%clean
rm -fr %buildroot

%files -f %{name}.lang
%defattr (-,root,root)
%doc AUTHORS INSTALL COPYING ChangeLog README TODO
%dir %_docdir/HTML/
%dir %_docdir/HTML/en/
%dir %_docdir/HTML/en/ksetiwatch/
%doc %_docdir/HTML/en/ksetiwatch/*.docbook
%doc %_docdir/HTML/en/ksetiwatch/*.html
%doc %_docdir/HTML/en/ksetiwatch/*.png
%doc %_docdir/HTML/en/ksetiwatch/common
%doc %_docdir/HTML/en/ksetiwatch/*.bz2
#
#
%_bindir/*
#
#
%_menudir/*
#
#
%dir %_datadir/applnk/
%dir %_datadir/applnk/Applications/
%_datadir/applnk/Applications/*.desktop
#
#
%dir %_datadir/apps/
%dir %_datadir/apps/ksetiwatch/
%dir %_datadir/apps/ksetiwatch/pics/
%_datadir/apps/ksetiwatch/pics/*.png
#
%dir %_datadir/apps/ksetiwatch/sounds/
%_datadir/apps/ksetiwatch/sounds/*.wav
#
#
%_iconsdir/*.xpm
#
%dir %_iconsdir/locolor/
%dir %_iconsdir/locolor/16x16/
%dir %_iconsdir/locolor/16x16/apps/
%_iconsdir/locolor/16x16/apps/*.png
#
%dir %_iconsdir/locolor/32x32/
%dir %_iconsdir/locolor/32x32/apps/
%_iconsdir/locolor/32x32/apps/*.png
#
%_miconsdir/*.xpm

%dir %_iconsdir/hicolor/
%dir %_iconsdir/hicolor/16x16/
%dir %_iconsdir/hicolor/16x16/apps/
%_iconsdir/hicolor/16x16/apps/*.png
#
%dir %_iconsdir/hicolor/32x32/
%dir %_iconsdir/hicolor/32x32/apps/
%_iconsdir/hicolor/32x32/apps/*.png

%changelog
* Mon Feb 04 2002 Laurent MONTEL <lmontel@mandrakesoft.com> 2.2.5-1mdk
- Update code (2.2.5)

* Sat Jan 12 2002 Laurent MONTEL <lmontel@mandrakesoft.com> 2.2.4-1mdk
- Update code (2.2.4)

* Tue Nov  6 2001 Stefan van der Eijk <stefan@eijk.nu> 2.2.2-5mdk
- BuildRequires revisited

* Fri Oct 19 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 2.2.2-4mdk
- Rebuild against libpng3

* Thu Sep 20 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 2.2.2-3mdk
- Rebuild with new kdelibs

* Sat Sep 09 2001 David BAUDENS <baudens@mandrakesoft.com> 2.2.2-2mdk
- Fix build and %%files

* Thu May 31 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 2.2.2-1mdk
- Update code

* Mon Apr 23 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 2.2.1-1mdk
- Update code

* Tue Apr 10 2001 David BAUDENS <baudens@mandrakesoft.com> 2.2.0-3mdk
- Move KDE menu entry in %%_datadir/applnk
- Fix BuildRequires for non %%ix86 architectures
- Rebuild against latest GCC

* Wed Mar 28 2001 Laurent MONTEL <lmontel@mandrakesoft.com> 2.2.0-2mdk
- Clean spec and add build requires

* Sun Mar 11 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.2.0-1mdk
- updated by Blaise Tramier <meles@linux-mandrake.com> :
	- updated to 2.2.0
	- added menu icons
- now we can use %configure macro
- %find_lang macro

* Fri Jan 12 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.1.0-1mdk
- updated to 2.1.0

* Wed Nov 15 2000 Lenny Cartier <lenny@mandrakesoft.com> 2.0.2-1mdk
- new in contribs