-Source3: PowerChutePlus-xpowerchute.sh
-Source4: PowerChutePlus-Config.sh
-Source5: PowerChutePlus-powerchute.ini
-Source6: PowerChutePlus-powerchute.ini_templ
-Patch: PowerChutePlus-fix-sh.patch
-ExclusiveOS: linux
+Source3: %{name}-xpowerchute.sh
+Source4: %{name}-Config.sh
+Source5: %{name}-powerchute.ini
+Source6: %{name}-powerchute.ini_templ
+Source7: ftp://ftp.apcc.com/apc/public/software/unix/linux/pcplus/settings.pdf
+# Source7-md5: c69abad141a836fd12ced0cc39049dc6
+Patch0: %{name}-fix-sh.patch
+BuildRequires: rpmbuild(macros) >= 1.268
+Requires(post,preun): /sbin/chkconfig
+Requires(postun): /usr/sbin/groupdel
+Requires(postun): /usr/sbin/userdel
+Requires(pre): /bin/id
+Requires(pre): /usr/bin/getgid
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/groupmod
+Requires(pre): /usr/sbin/useradd
+Requires(pre): /usr/sbin/usermod
+Requires: rc-scripts
+Provides: group(pwrchute)
+Provides: user(pwrchute)