blob: 0e49af3bb93984a54556611a84bbcaacc50c07a2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
name: testpkg
version: 0.1
release: 1
maintainer: test person
upstream_url: http://localhost/testpkg-0.1.tar.gz
source_url: http://localhost/testpkg-0.1.tar.gz
description: "a test package"
summary: "test package"
group: developer
classification: "edu.stsci:Development/Solaris 11"
arch: i386
license: GPL
%setup
%end
%prep
%end
%build
pwd
python -m compileall -f *
#configure --prefix=/usr
#make
%end
%install
mkdir -p $BUILDROOT/usr/bin
cp testpkg.pyc $BUILDROOT/usr/bin
#make install
%end
|