2007-01-16 Manuel Arostegui <marostegui@artica.es>
* pandora_server/specs/fedoracore5/pandora_server.spec: Fixed bug #1636585. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
48f678e144
commit
c3491bbba6
|
@ -1,3 +1,8 @@
|
||||||
|
2007-01-16 Manuel Arostegui <marostegui@artica.es>
|
||||||
|
|
||||||
|
* pandora_server/specs/fedoracore5/pandora_server.spec: Fixed
|
||||||
|
bug #1636585.
|
||||||
|
|
||||||
2007-01-08 Manuel Arostegui <marostegui@artica.es>
|
2007-01-08 Manuel Arostegui <marostegui@artica.es>
|
||||||
|
|
||||||
* pandora_server/specs/fedoracore5/pandora_server.spec: Changed group.
|
* pandora_server/specs/fedoracore5/pandora_server.spec: Changed group.
|
||||||
|
|
|
@ -47,6 +47,11 @@ mkdir -p $RPM_BUILD_ROOT/var/spool/pandora/
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/spool/pandora/data_in
|
mkdir -p $RPM_BUILD_ROOT/var/spool/pandora/data_in
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/log/pandora/
|
mkdir -p $RPM_BUILD_ROOT/var/log/pandora/
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/share/pandora/
|
mkdir -p $RPM_BUILD_ROOT/usr/share/pandora/
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/perl5
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/5.8.5
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/5.8.5/Pandora
|
||||||
|
|
||||||
cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}
|
cp -aRf * $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}
|
||||||
mv $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/bin/pandora_server.pl $RPM_BUILD_ROOT/usr/bin/pandora_server
|
mv $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/bin/pandora_server.pl $RPM_BUILD_ROOT/usr/bin/pandora_server
|
||||||
|
@ -57,6 +62,10 @@ mv $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/util/ $RPM_BUILD_ROOT/
|
||||||
mv $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/bin/pandora_config.pm $RPM_BUILD_ROOT/usr/share/pandora/util/
|
mv $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/bin/pandora_config.pm $RPM_BUILD_ROOT/usr/share/pandora/util/
|
||||||
mv $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/bin/pandora_db.pm $RPM_BUILD_ROOT/usr/share/pandora/util/
|
mv $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/bin/pandora_db.pm $RPM_BUILD_ROOT/usr/share/pandora/util/
|
||||||
mv $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/bin/pandora_tools.pm $RPM_BUILD_ROOT/usr/share/pandora/util/
|
mv $RPM_BUILD_ROOT%{prefix}/%{name}-%{version}-%{release}/bin/pandora_tools.pm $RPM_BUILD_ROOT/usr/share/pandora/util/
|
||||||
|
cp $RPM_BUILD_ROOT/usr/share/pandora/util/pandora_config.pm $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/5.8.5/Pandora/
|
||||||
|
cp $RPM_BUILD_ROOT/usr/share/pandora/util/pandora_db.pm $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/5.8.5/Pandora/
|
||||||
|
cp $RPM_BUILD_ROOT/usr/share/pandora/util/pandora_tools.pm $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/5.8.5/Pandora/
|
||||||
|
|
||||||
|
|
||||||
cp pandora.1 $RPM_BUILD_ROOT/usr/share/man/man1/
|
cp pandora.1 $RPM_BUILD_ROOT/usr/share/man/man1/
|
||||||
cp pandora_server.1 $RPM_BUILD_ROOT/usr/share/man/man1/
|
cp pandora_server.1 $RPM_BUILD_ROOT/usr/share/man/man1/
|
||||||
|
@ -67,6 +76,11 @@ fi
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%post
|
%post
|
||||||
|
if [ "$1" = "0" ]; then
|
||||||
|
/usr/sbin/userdel pandora
|
||||||
|
/usr/sbin/groupdel pandora
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Pandora Server binarys has been placed under /usr/bin/"
|
echo "Pandora Server binarys has been placed under /usr/bin/"
|
||||||
echo "Pandora Server configuration is /etc/pandora/conf"
|
echo "Pandora Server configuration is /etc/pandora/conf"
|
||||||
echo "Pandora Server data has been placed under /var/spool/data_in/"
|
echo "Pandora Server data has been placed under /var/spool/data_in/"
|
||||||
|
@ -86,6 +100,10 @@ echo "For further information please: man pandora or man pandora_server"
|
||||||
/usr/share/pandora/util/pandora_db.pl
|
/usr/share/pandora/util/pandora_db.pl
|
||||||
/usr/share/pandora/util/pandora_dbstress.pl
|
/usr/share/pandora/util/pandora_dbstress.pl
|
||||||
/usr/share/pandora/util/snmptrapd
|
/usr/share/pandora/util/snmptrapd
|
||||||
|
/usr/lib/perl5/site_perl/5.8.5/Pandora/pandora_config.pm
|
||||||
|
/usr/lib/perl5/site_perl/5.8.5/Pandora/pandora_db.pm
|
||||||
|
/usr/lib/perl5/site_perl/5.8.5/Pandora/pandora_tools.pm
|
||||||
|
|
||||||
%docdir %{prefix}/%{name}-%{version}-%{release}/docs
|
%docdir %{prefix}/%{name}-%{version}-%{release}/docs
|
||||||
%{prefix}/%{name}-%{version}-%{release}
|
%{prefix}/%{name}-%{version}-%{release}
|
||||||
%{_mandir}/man1/pandora.1.gz
|
%{_mandir}/man1/pandora.1.gz
|
||||||
|
|
Loading…
Reference in New Issue