%global Patchlevel @PACKAGE_RELEASE@
Name: @PACKAGE_NAME@
-Version: %{VERSION}.%{Patchlevel}
-Release: 3%{?dist}
+Version: %{VERSION}
+Release: %{Patchlevel}
Summary: Use ImageMagick to convert, edit, or compose bitmap images in a variety of formats. In addition resize, rotate, shear, distort and transform images.
Group: Applications/Multimedia
License: http://www.imagemagick.org/script/license.php
%{_bindir}/[a-z]*
%{_libdir}/%{name}-%{VERSION}
%{_datadir}/%{name}-%{VERSION}
-%{_mandir}/man[145]/[a-zA-Z]*
+%{_mandir}/man[145]/[a-z]*
%{_mandir}/man1/%{name}.*
%exclude %{_libdir}/%{name}-%{VERSION}/modules-Q16/coders/djvu.*
%{_sysconfdir}/%{name}