# # spec file for package [spectemplate] # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: wsusoffline Group: System/Management Version: 7.3.1 %define ver "731" Release: 1 Summary: WSUS Offline Update: download Microsoft updates License: GPLv2+ URL: http://www.wsusoffline.net/ Source: %{name}_%{version}.orig.tar.gz BuildRequires: unzip Requires: xmlstarlet BuildArch: noarch %description Using "WSUS Offline Update", you can update any computer running Microsoft Windows and Office safely, quickly and without an Internet connection. As licensed under "GNU GPL", you still may download and use the software from this site for free. Nevertheless, your donation would help to keep this state. %prep %setup -c %build %install %define DEST_DIR "/var/lib/wsusoffline/" mkdir -p $RPM_BUILD_ROOT/var/lib/ unzip %{name}%{ver}.zip -d $RPM_BUILD_ROOT/var/lib/ chmod a+x $RPM_BUILD_ROOT/%{DEST_DIR}/sh/* %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{DEST_DIR} %changelog