~ubuntu-branches/ubuntu/vivid/euca2ools/vivid-proposed

« back to all changes in this revision

Viewing changes to euca2ools.spec

  • Committer: Bazaar Package Importer
  • Author(s): Charles Plessy
  • Date: 2010-03-06 15:07:05 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100306150705-j0ya0zt1cb3rlmt0
Tags: 1.2-1
* New upstream release.
* Package maintained in the pkg-eucalyptus Alioth project:
  - pkg-eucalyptus-maintainers@lists.alioth.debian.org is maintainer.
  - Moved Chris and added Dustin as uploaders.
  - Added pointers to the Subversion repository of pkg-eucalyptus.
* Added a debian/watch file.
* Manpages:
  - Produce fresh manpages with help2man, but in a temporary place. This
    avoids to increase the diff with the original sources (debian/rules).
  - Build-depend on help2man, python-boto and python-m2crypto.
  - Deleted README.source, which is not needed anymore.
* Incremented Standards-Version to reflect conformance with Poliyc 3.8.4
  (debian/control, no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
%if %is_suse
11
11
%define __python    python
12
 
%define __where     %{__libarch}/python2.6/site-packages
 
12
%define __where     lib/python2.6/site-packages
13
13
%define __whereM2C  %{__libarch}/python2.6/site-packages
14
14
%define __docdir    /usr/share/doc/packages
15
15
%endif
23
23
 
24
24
Summary:       Elastic Utility Computing Architecture Command Line Tools
25
25
Name:          euca2ools
26
 
Version:       1.1
 
26
Version:       1.2
27
27
Release:       1
28
28
License:       BSD 
29
29
Group:         Applications/System
55
55
tar xzf deps/boto-*tar.gz
56
56
 
57
57
%build
 
58
export DESTDIR=$RPM_BUILD_ROOT
58
59
cd M2Crypto*
59
60
%{__python} setup.py build
60
61
cd ../boto*
69
70
%endif
70
71
 
71
72
%install
 
73
export DESTDIR=$RPM_BUILD_ROOT
72
74
cd M2Crypto-*
73
 
%{__python} setup.py install --prefix=/usr
 
75
%{__python} setup.py install --prefix=$DESTDIR/usr
74
76
cd ../boto-*
75
 
%{__python} setup.py install --prefix=/usr
 
77
%{__python} setup.py install --prefix=$DESTDIR/usr
76
78
cd ../euca2ools
77
 
%{__python} setup.py install --prefix=/usr
 
79
%{__python} setup.py install --prefix=$DESTDIR/usr
78
80
cd ..
79
 
install -g root -o root -m 755 -d /usrbin
80
 
install -g root -o root -m 755 -d /usr/man/man1
81
 
install -g root -o root -m 755 -d %{__docdir}/euca2ools-%{version}
82
 
install -g root -o root -m 755  bin/* /usr/bin
83
 
install -g root -o root -m 644  man/* /usr/man/man1
84
 
install -g root -o root -m 755  INSTALL COPYING README %{__docdir}/euca2ools-%{version}
 
81
install -g root -o root -m 755 -d $DESTDIR/usr/bin
 
82
install -g root -o root -m 755 -d $DESTDIR/usr/man/man1
 
83
install -g root -o root -m 755 -d $DESTDIR/%{__docdir}/euca2ools-%{version}
 
84
install -g root -o root -m 755  bin/* $DESTDIR/usr/bin
 
85
install -g root -o root -m 644  man/* $DESTDIR/usr/man/man1
 
86
install -g root -o root -m 755  INSTALL COPYING README $DESTDIR/%{__docdir}/euca2ools-%{version}
85
87
 
86
88
%clean
87
 
rm -rf %{__docdir}/euca2ools-%{version}
88
 
rm -rf $RPM_BUILD_DIR/euca2ools-%{version}
89
 
rm -rf /usr/%__whereM2C/M2Crypto
90
 
rm -rf /usr/%__whereM2C/M2Crypto*egg-info
91
 
rm -rf /usr/%__where/boto
92
 
rm -rf /usr/%__where/boto*egg-info
93
 
rm -rf /usr/%__where/euca2ools
94
 
rm -rf /usr/%__where/euca2ools*egg-info
95
 
rm -rf /usr/bin/euca-* /usr/local/bin/s3put /usr/local/bin/sdbadmin
96
 
rm -rf /usr/man/man1/euca-*
 
89
[ ${RPM_BUILD_ROOT} != "/" ] && rm -rf ${RPM_BUILD_ROOT}
 
90
#export DESTDIR=$RPM_BUILD_ROOT
 
91
#rm -rf $RPM_BUILD_DIR/euca2ools-%{version}
 
92
#rm -rf $DESTDIR/%{__docdir}/euca2ools-%{version}
 
93
#rm -rf $DESTDIR/usr/%__whereM2C/M2Crypto
 
94
#rm -rf $DESTDIR/usr/%__whereM2C/M2Crypto*egg-info
 
95
#rm -rf $DESTDIR/usr/%__where/boto
 
96
#rm -rf $DESTDIR/usr/%__where/boto*egg-info
 
97
#rm -rf $DESTDIR/usr/%__where/euca2ools
 
98
#rm -rf $DESTDIR/usr/%__where/euca2ools*egg-info
 
99
#rm -rf $DESTDIR/usr/bin/euca-* $DESTDIR/usr/bin/s3put $DESTDIR/usr/bin/sdbadmin
 
100
#rm -rf $DESTDIR/usr/man/man1/euca-*
97
101
 
98
102
%files
99
103
/usr/bin/s3put
109
113
%{__docdir}/euca2ools-%{version}
110
114
 
111
115
%changelog
 
116
*Fri Feb 12 2010 Eucalyptus Systems (support@eucalyptus.com)
 
117
- Version 1.2
 
118
 
112
119
*Sun Nov 1 2009 Eucalyptus Systems (support@eucalyptus.com)
113
120
- Version 1.1
114
121