2007-06-18 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agents.spec: Renamed to pandora_agent.spec * linux/pandora_agent.spec: Ready to 1.3 version packagement. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
0ebc5db0ac
commit
e08767eb24
|
@ -1,3 +1,9 @@
|
|||
2007-06-18 Manuel Arostegui <marostegui@artica.es>
|
||||
|
||||
* linux/pandora_agents.spec: Renamed to pandora_agent.spec
|
||||
|
||||
* linux/pandora_agent.spec: Ready to 1.3 version packagement.
|
||||
|
||||
2007-06-14 Manuel Arostegui <marostegui@artica.es>
|
||||
|
||||
* linux/pandora_agent.conf: Changed to disable
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
# Pandora Agents
|
||||
#
|
||||
%define name pandora_agents
|
||||
%define version 1.2.0
|
||||
%define version 1.3.0
|
||||
Summary: Pandora Agents
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: 1
|
||||
Release: Beta1
|
||||
License: GPL
|
||||
Vendor: Sancho Lerena <sancho.lerena@artica.es>
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
@ -25,7 +25,7 @@ Pandora agents are based on native languages in every platform: scripts that can
|
|||
These scripts are formed by modules that each one gathers a "chunk" of information. Thus, every agent gathers several "chunks" of information; this one is organized in a data set and stored in a single file, called data file.
|
||||
|
||||
%prep
|
||||
#rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%setup -q -n linux
|
||||
|
||||
|
@ -36,19 +36,19 @@ rm -rf $RPM_BUILD_ROOT
|
|||
mkdir -p $RPM_BUILD_ROOT%{prefix}/pandora_agent/
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/pandora_agent
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/man
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/bin/
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/pandora/
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/local/etc/pandora/temp
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
||||
mkdir -p $RPM_BUILD_ROOT/var/spool/pandora/
|
||||
mkdir -p $RPM_BUILD_ROOT/var/spool/pandora/data_out
|
||||
mkdir -p $RPM_BUILD_ROOT/var/log/pandora/
|
||||
cp -aRf * $RPM_BUILD_ROOT%{prefix}/pandora_agent/
|
||||
mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent.sh $RPM_BUILD_ROOT/usr/bin/pandora_agent
|
||||
mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent_daemon $RPM_BUILD_ROOT/usr/bin/pandora_agent_daemon
|
||||
mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent $RPM_BUILD_ROOT/usr/bin/
|
||||
mv $RPM_BUILD_ROOT%{prefix}/pandora_agent/pandora_agent_daemon $RPM_BUILD_ROOT/etc/init.d/pandora_agent_daemon
|
||||
cp pandora.1 $RPM_BUILD_ROOT/usr/share/man/man1/
|
||||
cp pandora_agents.1 $RPM_BUILD_ROOT/usr/share/man/man1/
|
||||
|
@ -59,8 +59,9 @@ fi
|
|||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%post
|
||||
echo "Pandora Agent has been place under /usr/bin/"
|
||||
echo "Pandora Agent has been placed under /usr/share/"
|
||||
echo "Pandora Agent configuration file is /etc/pandora/pandora_agent.conf"
|
||||
echo "Pandora Agent Daemon has been placed in /etc/init.d/pandora_agent_daemon"
|
||||
mkdir -p /etc/pandora
|
||||
ln -s /usr/share/pandora_agent/pandora_agent.conf /etc/pandora/pandora_agent.conf
|
||||
ln -s /usr/share/pandora_agent/pandora_user.conf /etc/pandora/pandora_user.conf
|
||||
|
@ -70,12 +71,12 @@ ln -s /etc/init.d/pandora_agent_daemon /etc/rc3.d/S99pandora_agent_daemon
|
|||
ln -s /etc/init.d/pandora_agent_daemon /etc/rc5.d/S99pandora_agent_daemon
|
||||
%files
|
||||
%defattr(700,pandora,pandora)
|
||||
/usr/bin/pandora_agent_daemon
|
||||
/usr/bin/pandora_agent
|
||||
%defattr(600,pandora,pandora)
|
||||
/var/log/pandora/
|
||||
/var/spool/pandora/
|
||||
%defattr(755,pandora,pandora)
|
||||
/etc/init.d/pandora_agent_daemon
|
||||
%docdir %{prefix}/pandora_agents/docs
|
||||
%{prefix}/pandora_agent
|
||||
%{_mandir}/man1/pandora.1.gz
|
Loading…
Reference in New Issue