import repository from arizona
[raven.git] / rpm_builds / SPECS / stork-client-config.spec.template
1 Summary: stork.conf file for client package
2 Name: stork-client-config
3 Version: @VER@
4 Release: @REL@
5 License: Public Domain
6 Group: stork at U of Arizona
7 URL: http://www.cs.arizona.edu/
8 Source RPM: ftp://quadrus.cs.arizona.edu/PlanetLab/V3/stork-client-config-@VER@.tar.gz
9 Vendor: University of Arizona
10 BuildRoot: %{_tmppath}/%{name}-root
11 Provides: stork-config stork-defaultkey
12 %description
13 The default stork.conf file for the client install
14
15 %prep
16 %setup -q
17
18 %build
19
20 %install
21 rm -rf %\{buildroot]
22 install -d -o 0 -g 0 %{buildroot}/usr
23 install -d -o 0 -g 0 %{buildroot}/usr/local
24 install -d -o 0 -g 0 %{buildroot}/usr/local/stork
25 install -d -o 0 -g 0 %{buildroot}/usr/local/stork/etc
26 install -d -o 0 -g 0 %{buildroot}/usr/local/stork/var
27 install -d -o 0 -g 0 %{buildroot}/usr/local/stork/var/keys
28 install stork.conf %{buildroot}/usr/local/stork/etc
29 install default.publickey %{buildroot}/usr/local/stork/var/keys
30
31 %clean
32 rm -rf %{buildroot}
33
34
35 %post
36
37 %preun
38
39 %files
40 %defattr(-,root,root)
41 /usr/local/stork/etc/stork.conf
42 /usr/local/stork/var/keys/default.publickey