util, rpm: move several functions to Image::RenRot::Util

Move and rename several functions:
	trim_value()		-> trim()
	boolConv()		-> bool2str()
	boolConverter()		-> str2bool()
	isTherePackage()	-> loadpkg()

This patch also introduces the basic support of the perl modules in the
specfile.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>

git-svn-id: svn+ssh://svn.gnu.org.ua/renrot/trunk@608 fe2816f4-e837-0410-b10a-f608c9d244a1
logging: move logging to separate module

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>

git-svn-id: svn+ssh://svn.gnu.org.ua/renrot/trunk@609 fe2816f4-e837-0410-b10a-f608c9d244a1
config: move configuration framework to Image::RenRot::Config

Split configuration framework to its own module. Additionally rename
following functions:
	strToHash()			-> str2hash()
	parseConfigFile()		-> parsefile()
	update_config_option_value()	-> update_cfg_value()
	parse_many_pairs()		-> parse2hash()
	assign_hash_values()		-> assign2hash()
	apply_config_values()		-> apply()

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>

git-svn-id: svn+ssh://svn.gnu.org.ua/renrot/trunk@610 fe2816f4-e837-0410-b10a-f608c9d244a1
timeutil: split few functions to TimeUtil module

Move and rename following functions to separate module:
	timeNow()	-> now()
	timeValidator()	-> time_validator()
	getUnixTime()	-> get_unix_time()

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>

git-svn-id: svn+ssh://svn.gnu.org.ua/renrot/trunk@611 fe2816f4-e837-0410-b10a-f608c9d244a1
fileutil: split several functions to Image::RenRot::FileUtil

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>

git-svn-id: svn+ssh://svn.gnu.org.ua/renrot/trunk@612 fe2816f4-e837-0410-b10a-f608c9d244a1
doc: use perldoc for quick help

The recipe is borrowed from the exiftool script.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>

git-svn-id: svn+ssh://svn.gnu.org.ua/renrot/trunk@613 fe2816f4-e837-0410-b10a-f608c9d244a1
doc: update usage() to cover few more cases

Now usage() will print either version or short list of options, or full
documentation via pod2usage.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>

git-svn-id: svn+ssh://svn.gnu.org.ua/renrot/trunk@614 fe2816f4-e837-0410-b10a-f608c9d244a1
doc: update CONFIG section and Copyright year

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>

git-svn-id: svn+ssh://svn.gnu.org.ua/renrot/trunk@615 fe2816f4-e837-0410-b10a-f608c9d244a1
doc: split long option list by frameworks

The options for the Aggregation, Keywordizer, Renaming, Rotating, and
Tag Writer are moved to the separate sections.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>

git-svn-id: svn+ssh://svn.gnu.org.ua/renrot/trunk@616 fe2816f4-e837-0410-b10a-f608c9d244a1
aggr: use File::Basename to get base name of the file

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>

git-svn-id: svn+ssh://svn.gnu.org.ua/renrot/trunk@617 fe2816f4-e837-0410-b10a-f608c9d244a1
fileutil: introduce splitext() to get base and extension of filename

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>

git-svn-id: svn+ssh://svn.gnu.org.ua/renrot/trunk@618 fe2816f4-e837-0410-b10a-f608c9d244a1