Use /sbin/nologin as a shell

It also prints descriptive message why one cannot use this account which could
be useful.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Typo fix: usradd -> useradd

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Use /var/lib/mediaproxy-ng as a home directory

Using /use/share/doc/something isn't a good choice since the entire directory
/usr/share/doc could be empty due to system settings.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Enable SysV symlinks only during install

See also:

https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Syntax

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Stop service and remove SysV symling only during uninstall

See also:

https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Syntax

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Update URL

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Update Source0 address

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Rename el/README.md

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Remove outdated check within spec-file

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Remove outdated defattr directive from spec-file

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Preserve timestamps while installing files

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Simplify file installation during rpm build

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Simplify docs processing during rpm build

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Rename RPM_BUILD_ROOT to buildroot

It's generally considered a good practice to follow the consistent macro naming
scheme. So we shouldn't mix RPM_BUILD_ROOT and buildroot although they have the
same value. At least this helps to avoid confusion for beginners.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Update rpm spec-version to the latest (at the moment of this writing) 2.3.5

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Merge branch 'cosmetic' of git://github.com/lemenkov/mediaproxy-ng into lemenkov-cosmetic