Updated spec file to follow packaging guide lines (BZ#772608)

* Bumped the ovirt-guest-agent version in configure.ac to 1.0.6
  as preparation for the next release
* Updated INSTALL to the current version
* autogen.sh is now using autoreconf -ivf
* Added m4 folder

Changes to spec file:
- Introduced ovirt-guest-agent-service noarch package which provides
  ovirt-guest-agent and avoids duplication of the same package content
- Fixed various rpmlint errors and warnings
- Added required build requires
- Removed unnecessary build requires
- Removed unnecessary call to autoreconf in setup section
- Marked config files as such
- Excluded unwanted files instead of deleting them
- Moved folder creation and symlink creation from spec to autotools
- License file change reflected
- Removed systemd unit file installation
- Removed creation of log and lock folders

Changes to build system:
- Added creation of /usr/share/ovirt-guest-agent
- Added creation of symlinks for:
  - ovirt-hibernate
  - ovirt-shutdown
  - ovirt-locksession
- Systemd unit files are now installed, if systemd is detected
- Log and lock folders for ovirt-guest-agent are now created on install
- Added missing -fPIC for the pam module
- Various improvements to configure.ac and several Makefile.am files in regards
  of installation directory detection and installation handling

Change-Id: Iec350b4027bffff8dff73db7986020fdc48261cd
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=772608
Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
Fix pep8 errors in the linux guest agent.

Cleanup of the code to bring it up to standards of the rest of ovirt.

Change-Id: I7e8e12bdf42ef86d88a0d4d38750f2e1bc739e22
Signed-off-by: Antoni S. Puimedon <asegurap@redhat.com>
Fixed support for reporting devices with only ipv6.

ethtool.get_active_devices does not consider as up the devices that
have only an IPv6 address set. Also, it throws an IOError exception
when doing get_ipaddr of a device that is up but does not have an
IPv4 address set. Thus, doing the filtering by using the device flags
and getting the IPv4 address in a similar way as how we get the IPv6
one, not only fixes the issue but increases the consistency of the
code.

Change-Id: I92010740da24bb30c7316c268c704d9067b28aae
Signed-off-by: Antoni S. Puimedon <asegurap@redhat.com>
guest-agent: Unification of line endings to unix

Change-Id: I7f85bdc2c295c695d1877641eb89515b6f94974f
Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
Let udev reset user rights on virtio-channel during package removal

When the package is removed udev should be triggered to reset
the access rights on the virtio-channel.

Change-Id: If1c80a7f9068aa4f23710b0ba3afa43196e66520
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=882245
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
updated change-log for version 1.0.7

Change-Id: I8439b85ca0b479455dc7b03ff25ceccd04594f60
Signed-off-by: Gal Hammer <ghammer@redhat.com>
agent: rewrote nic's addresses functions in python 2.4 syntax.

Change-Id: I17c6fb0dc2ac818677155444442f4a004f8463ec
Signed-off-by: Gal Hammer <ghammer@redhat.com>