%define name rpmmon %define version 0.6.3 %define release 1mdk Name: %{name} Version: %{version} Release: %{release} Summary: Helps you build better RPMs License: GPL Group: Development/Other URL: http://people.mandrakesoft.com/~gc/html/rpmmon-tut.html Source0: %{name}.pl.bz2 Source1: %{name}-tut.html.bz2 Source2: rpmmon.bash_completion.bz2 Requires: curl BuildArch: noarch Buildroot: %{_tmppath}/%{name}-buildroot %description In order to produce a quality Gnu/Linux distribution based on RPM, you need some tools which will facilitate the maintenance of the RPM packages you are maintainer of. This is the aim of `rpmmon'. For that purpose, the first task performed by rpmmon is to monitor what has been announced on Freshmeat, and try to guess if the package in the distro you're developing is older. Later on, this tool has grown to support additional features: - get the list of packages you're responsible for, either in a static oriented way (a local file) or more dynamically (an URL, for example the results of a CGI script from the QA of your distro's company) - hence, provide an easy (e.g. command-line) interface to quickly know who's maintainer of a given package - reversely, provide an easy interface to know what packages a given person is responsible for - try to find automatically on Freshmeat the good project page going along a given RPM package - runs rpmlint on your packages (rpmlint is a rpm correctness checker) %prep %setup -c -T -D bzcat %{SOURCE0} > %{name} bzcat %{SOURCE1} > tutorial.html bzcat %{SOURCE2} > bash_completion %build %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT%{_bindir} install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir} install -m 644 bash_completion $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/%{name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc tutorial.html %{_bindir}/%{name} %config %{_sysconfdir}/bash_completion.d/%{name} %changelog * Thu Dec 11 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 0.6.3-1mdk - new version * Mon Aug 25 2003 Guillaume Rousse <guillomovitch@linux-mandrake.com> 0.6.0-2mdk - requires curl (fix bug #4228) * Fri May 16 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 0.6.0-1mdk - new version for lord grousse * Sat Jan 04 2003 Guillaume Rousse <g.rousse@linux-mandrake.com> 0.5-0.beta.2mdk - rebuild * Wed Sep 04 2002 Guillaume Rousse <g.rousse@linux-mandrake.com> 0.5-0.beta.1mdk - first mdk release :-) - bash completion