%define version 0.10 %define name drakstats %define release 0.8mdk Summary: The Mandrakelinux installed rpm gathering tool Name: %{name} Version: %{version} Release: %{release} #cvs source # http://www.linuxmandrake.com/en/cvs.php3 Source0: %{name}-%{version}.tar.bz2 License: GPL URL: http://qa.mandrakesoft.com Group: System/Configuration/Packaging Packager: Daouda LO <daouda@mandrakesoft.com> Requires: drakxtools >= 10.2, rpmstats >= 0.4-1mdk, perl-SOAP-Lite, perl-URPM BuildArch: noarch BuildRequires: perl-MDK-Common-devel BuildRoot: %{_tmppath}/%{name}-buildroot %description Drakstats is a GUI frontend to rpmstats which retrieves statistics about installed rpm packages and give users the CHOICE to send it to a remote server for global package usage statistics. The final goal is to help us shape the future package choice of the upcoming releases of the distro. Drakstats is also a handy tool to optimize install based packages by helping the user remove unused software. %prep %setup -q %build %install rm -rf %{buildroot} make PREFIX=%{buildroot} install #menu mkdir -p %{buildroot}%{_menudir} cat > %{buildroot}%{_menudir}/%{name} <<EOF ?package(%{name}): needs="x11" command="/usr/sbin/%{name}" section="System/Configuration/Packaging" \ icon="drakstats.png" needs="x11" title="Packages Stats" \ longtitle="Mandrakelinux packages stats" EOF #install lang %{find_lang} %{name} %clean rm -rf %{buildroot} %post %{update_menus} %postun %{clean_menus} %files -f %{name}.lang %defattr(-,root,root) %doc README COPYING %{_prefix}/sbin/* %{_datadir}/%{name} %{_menudir}/%{name} %{_miconsdir}/*.png %{_iconsdir}/*.png %{_liconsdir}/*.png %changelog * Mon Mar 14 2005 Daouda LO <daouda@mandrakesoft.com> 0.10-0.8mdk - po updates * Tue Feb 22 2005 Daouda LO <daouda@mandrakesoft.com> 0.10-0.7mdk - display warning when noatime is set on / or /usr partition (better check) - po updates * Sat Feb 12 2005 Daouda LO <daouda@mandrakesoft.com> 0.9-0.6mdk - change description to less scary one (wildman) - po updates * Thu Feb 10 2005 Daouda LO <daouda@mandrakesoft.com> 0.9-0.5mdk - run as root * Wed Feb 9 2005 Daouda LO <daouda@mandrakesoft.com> 0.9-0.4mdk - remove unused package through rpmdrake (--search option) - preload cache file to decrease startup time load - Explicitly 'compute stats' - drakstats is partly useless when noatime set on / or /usr - po updates * Sun Jan 23 2005 Daouda LO <daouda@mandrakesoft.com> 0.9-0.3mdk - po update * Sat Jan 22 2005 Daouda LO <daouda@mandrakesoft.com> 0.9-0.2mdk - added --root option rpmdrake-remove call (Thanx to Moshe Caspi) * Fri Jan 21 2005 Daouda LO <daouda@mandrakesoft.com> 0.9-0.1mdk - first mdk package