import repository from arizona
[raven.git] / rpm_builds / SPECS / stork-planetlab.spec.template
1 Summary: stork planetlab package
2 Name: stork-planetlab
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-planetlab-@VER@.tar.gz
9 Vendor: University of Arizona
10 Packager: Jeremy Plichta <jplichta@cs.arizona.edu> 
11 BuildRoot: %{_tmppath}/%{name}-root
12
13 %description
14 TODO: add description of this library
15
16 %prep
17 %setup -q
18
19 %build
20
21 %install
22 rm -rf %\{buildroot]
23 install -d -o 0 -g 0 %{buildroot}/usr
24 install -d -o 0 -g 0 %{buildroot}/usr/local
25 install -d -o 0 -g 0 %{buildroot}/usr/local/stork
26 install -d -o 0 -g 0 %{buildroot}/usr/local/stork/bin
27 install -d -o 0 -g 0 %{buildroot}/usr/local/stork/bin/share
28 install planetlab_share.py %{buildroot}/usr/local/stork/bin/share
29 install Proper.py %{buildroot}/usr/local/stork/bin
30 install stork_proper.py %{buildroot}/usr/local/stork/bin
31 install __init__.py %{buildroot}/usr/local/stork/bin/share
32
33 %clean
34 rm -rf %{buildroot}
35
36 %post
37
38 %preun
39
40 %files
41 %defattr(-,root,root)
42 /usr/local/stork/bin/share/planetlab_share.py
43 /usr/local/stork/bin/Proper.py
44 /usr/local/stork/bin/stork_proper.py
45 /usr/local/stork/bin/share/__init__.py