defattr is no longer necessary (circa RPM 4.4.x)

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Drop Vendor and Packager fields

Both of them are now filled by rpmbuild itself.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Drop Prefix field

This field is no longer required.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Kill BuildRoot and %clean section

No longer required since Fedora 10:

* https://fedoraproject.org/wiki/Packaging:Guidelines#BuildRoot_tag

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Kill strange versioning prefix/postfix

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Added SMP flag for make

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Remove static libraries

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Renamed libresiprocate sub-package to %{name}-libs (and adjusted necessary Requires)

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Replaced $RPM_BUILD_ROOT with %{buildroot}

Mostly cosmetic

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Proper License tag

* https://fedoraproject.org/wiki/Licensing:Main

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Proper release tag

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Proper %changelog structure and entries formatting

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Remove unnecessary %attr entries

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Don't specify man-pages extensions explicitly

This helps in very rare cases where no compression is used while installing
man-pages or something more exotic will be used (perhaps in the future).

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Remove unnecessary chmod invocation

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Simplify installing repro.config

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Remove optional Group tag

* https://fedoraproject.org/wiki/Packaging:Guidelines#Group_tag

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Added missing BuildRequires

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Workaround for libdb4/libdb5 includes and libs

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Rearrange libs

The library file(s) that end in .so and w/o versioning should be stored
in a -devel package. All other libs are moved into *-libs sub-package.

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