HI...

I can buid a RPM of amanda for me; the amnada-*.tar.gz --> /usr/src/redhat/SOURCES  

to my I like to install amanda of this form because I can be updated of form more easy.

here push my amanda.spec :

--
%define name  amanda
%define major 2
%define minor 4
%define micro 4p2
%define ver   %major.%minor.%micro
%define rel   4p2
%define prefix   /usr

Summary: The Advanced Maryland Automatic Network Disk Archiver
Name: %name
Version: %ver
Release: %rel
Copyright: BSD
Group: Servers
Source: http://prdownloads.sourceforge.net/amanda/amanda-2.4.4p2.tar.gz
BuildRoot: /var/tmp/glib-%{PACKAGE_VERSION}-root
URL: http://amanda.sourceforge.net/
Docdir: %{prefix}/doc

%description

Servidor de copias de Seguridad.

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

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --with-user=amanda --with-group=disk 
--prefix=%prefix
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)

%doc INSTALL README docs/*.ChangeLog
--

I not installed in my machine my package because I have install amanda for redhat 7.3. 
but I believe that this work fine, each person in individual to have to make the 
changes that need to compile such their want (necessities).

I hope that this serves somebody (help)...

thanks for attention lent...

http://www.latinmail.com - La forma más cómoda de enviar y recibir tus e-mails

Reply via email to