-Group: Utilities/System
-Source: http://www.jetico.com/linux/BCWipe-%{version}-3.tar.gz
-URL: http://www.jetico.com/
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Group: Applications/System
+Source0: http://www.jetico.com/linux/%{name}-%{version}-3.tar.gz
+URL: http://www.jetico.com/
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
- install -d -m 755 $RPM_BUILD_ROOT/usr/bin
- install -d -m 755 $RPM_BUILD_ROOT/usr/man/man1
- install -d -m 755 $RPM_BUILD_ROOT/usr/share/man/man1
+rm -rf $RPM_BUILD_ROOT
+ install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_prefix}/man/man1
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
make install root=$RPM_BUILD_ROOT
%__os_install_post
# build directory and file lists
#find $RPM_BUILD_ROOT -type d | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) %dir #g" > rpm-files
make install root=$RPM_BUILD_ROOT
%__os_install_post
# build directory and file lists
#find $RPM_BUILD_ROOT -type d | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) %dir #g" > rpm-files
find $RPM_BUILD_ROOT -type f | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) #g" > rpm-files
find $RPM_BUILD_ROOT -type l | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) #g" >> rpm-files
find $RPM_BUILD_ROOT -type b | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) #g" >> rpm-files
find $RPM_BUILD_ROOT -type f | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) #g" > rpm-files
find $RPM_BUILD_ROOT -type l | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) #g" >> rpm-files
find $RPM_BUILD_ROOT -type b | sed -e "s#^$RPM_BUILD_ROOT#%attr(-, root, root) #g" >> rpm-files