1 | #
|
---|
2 | # spec file for package [spectemplate]
|
---|
3 | #
|
---|
4 | # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
---|
5 | #
|
---|
6 | # All modifications and additions to the file contributed by third parties
|
---|
7 | # remain the property of their copyright owners, unless otherwise agreed
|
---|
8 | # upon. The license for this file, and modifications and additions to the
|
---|
9 | # file, is the same license as for the pristine package itself (unless the
|
---|
10 | # license for the pristine package is not an Open Source License, in which
|
---|
11 | # case the license is the MIT License). An "Open Source License" is a
|
---|
12 | # license that conforms to the Open Source Definition (Version 1.9)
|
---|
13 | # published by the Open Source Initiative.
|
---|
14 |
|
---|
15 | # Please submit bugfixes or comments via http://bugs.opensuse.org/
|
---|
16 | #
|
---|
17 | # norootforbuild
|
---|
18 |
|
---|
19 | Name: wsusoffline
|
---|
20 | Group: System/Management
|
---|
21 | Version: 7.3.1
|
---|
22 | %define ver "731"
|
---|
23 | Release: 1
|
---|
24 | Summary: WSUS Offline Update: download Microsoft updates
|
---|
25 | License: GPLv2+
|
---|
26 | URL: http://www.wsusoffline.net/
|
---|
27 | Source: %{name}_%{version}.orig.tar.gz
|
---|
28 |
|
---|
29 | BuildRequires: unzip
|
---|
30 | Requires: xmlstarlet
|
---|
31 | BuildArch: noarch
|
---|
32 |
|
---|
33 | %description
|
---|
34 | Using "WSUS Offline Update", you can update any computer running Microsoft Windows and Office safely, quickly and without an Internet connection.
|
---|
35 |
|
---|
36 | 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.
|
---|
37 |
|
---|
38 |
|
---|
39 | %prep
|
---|
40 | %setup -c
|
---|
41 |
|
---|
42 |
|
---|
43 | %build
|
---|
44 |
|
---|
45 |
|
---|
46 |
|
---|
47 | %install
|
---|
48 | %define DEST_DIR "/var/lib/wsusoffline/"
|
---|
49 | mkdir -p $RPM_BUILD_ROOT/var/lib/
|
---|
50 | unzip %{name}%{ver}.zip -d $RPM_BUILD_ROOT/var/lib/
|
---|
51 | chmod a+x $RPM_BUILD_ROOT/%{DEST_DIR}/sh/*
|
---|
52 |
|
---|
53 |
|
---|
54 | %clean
|
---|
55 | rm -rf %{buildroot}
|
---|
56 |
|
---|
57 | %files
|
---|
58 | %defattr(-,root,root)
|
---|
59 | %{DEST_DIR}
|
---|
60 |
|
---|
61 |
|
---|
62 |
|
---|
63 | %changelog
|
---|