update gacks RPM to include plugin and entry_points
smbaker [Thu, 25 Apr 2013 05:15:58 +0000 (22:15 -0700)]
rpm_builds/SPECS/gackscentral.spec.template
rpm_builds/build-gackscentral

index 7744cb0..5c4081e 100644 (file)
@@ -36,6 +36,12 @@ install -d -o 0 -g 0 %{buildroot}/usr/share/plc_api
 install -d -o 0 -g 0 %{buildroot}/usr/share/plc_api/PLC
 install -d -o 0 -g 0 %{buildroot}/usr/share/plc_api/PLC/Methods
 
+install -d -o 0 -g 0 %{buildroot}/usr
+install -d -o 0 -g 0 %{buildroot}/usr/lib
+install -d -o 0 -g 0 %{buildroot}/usr/lib/python2.6
+install -d -o 0 -g 0 %{buildroot}/usr/lib/python2.6/site-packages
+install -d -o 0 -g 0 %{buildroot}/usr/lib/python2.6/site-packages/gacksplugin.egg-info
+
 install -d -o 0 -g 0 %{buildroot}/var
 install -d -o 0 -g 0 %{buildroot}/var/log
 install -d -o 0 -g 0 %{buildroot}/var/log/gacks
@@ -111,9 +117,12 @@ install gackscollector.init %{buildroot}/etc/init.d
 install gackslog.conf %{buildroot}/etc/gacks
 
 install bridgeconfig.py %{buildroot}/usr/share/plc_api/PLC
+install gacksplugin.py %{buildroot}/usr/share/plc_api/PLC
 install SliceAutoConfig.py %{buildroot}/usr/share/plc_api/PLC/Methods
 install SliceGetConfig.py %{buildroot}/usr/share/plc_api/PLC/Methods
 
+install entry_points.txt %{buildroot}/usr/lib/python2.6/site-packages/gacksplugin.egg-info/
+
 
 # Geniwrapper stuff
 #install __init__.py %{buildroot}/usr/local/gackscentral/bin/sfa
@@ -213,9 +222,12 @@ fi
 /usr/local/gackscentral/bin/gackslogserver.py
 
 /usr/share/plc_api/PLC/bridgeconfig.py
+/usr/share/plc_api/PLC/gacksplugin.py
 /usr/share/plc_api/PLC/Methods/SliceAutoConfig.py
 /usr/share/plc_api/PLC/Methods/SliceGetConfig.py
 
+/usr/lib/python2.6/site-packages/gacksplugin.egg-info/entry_points.txt
+
 /usr/local/gackscentral/bin/localhost-gacks-defragment.sh
 /usr/local/gackscentral/bin/localhost-gacks-garbagecollect.sh
 /usr/local/gackscentral/bin/localhost-gacks-runasap.sh
index a2e697a..ffbb86a 100755 (executable)
@@ -39,6 +39,8 @@ cp $SOURCE/apps/gacks/gackscollector.init $FOLDER
 chmod +x $FOLDER/*.sh
 chmod +x $FOLDER/gackscli.py
 
+cp $SOURCE/apps/gacks/entry_points.txt $FOLDER
+
 # stuff for the modpython API
 cp $SOURCE/lib/ravenlib/modpythonapi/ModPython.py $FOLDER
 cp $SOURCE/lib/ravenlib/modpythonapi/BaseApi.py $FOLDER