Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 8ced22e4c6fd44978cb49eb947e338a0 > files > 4

rpmmon-0.5-0.beta.2mdk.src.rpm

%define name	rpmmon
%define version	0.5
%define pre	beta
%define release 0.%{pre}.2mdk

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:	%{name}.bash_completion.bz2
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
rm -rf $RPM_BUILD_ROOT
%setup -c -T -D
bzcat %{SOURCE0} > %{name}
bzcat %{SOURCE1} > tutorial.html
bzcat %{SOURCE2} > bash_completion

%build

%install
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}
%{_sysconfdir}/bash_completion.d/%{name}

%changelog
* 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