1 | # orxonox.spec |
---|
2 | # |
---|
3 | # Copyright (c) 2004 orx orxonox-announce@mail.datacore.ch |
---|
4 | # |
---|
5 | %define name orxonox |
---|
6 | %define version 0.0.0 |
---|
7 | %define release 1 |
---|
8 | %define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest |
---|
9 | |
---|
10 | # required items |
---|
11 | Name: %{name} |
---|
12 | Version: %{version} |
---|
13 | Release: %{release} |
---|
14 | Copyright: GPL |
---|
15 | Group: Application/Misc |
---|
16 | |
---|
17 | # optional items |
---|
18 | #Vendor: orx |
---|
19 | #Distribution: |
---|
20 | #Icon: |
---|
21 | #URL: |
---|
22 | #Packager: orx orxonox-announce@mail.datacore.ch |
---|
23 | |
---|
24 | # source + patches |
---|
25 | Source: %{name}-%{version}.tar.gz |
---|
26 | #Source1: |
---|
27 | #Patch: |
---|
28 | #Patch1: |
---|
29 | |
---|
30 | # RPM info |
---|
31 | #Provides: |
---|
32 | #Requires: |
---|
33 | #Conflicts: |
---|
34 | #Prereq: |
---|
35 | |
---|
36 | #Prefix: /usr |
---|
37 | BuildRoot: /var/tmp/%{name}-%{version} |
---|
38 | |
---|
39 | Summary: the future of 3D-vertical-scrollers |
---|
40 | |
---|
41 | %description |
---|
42 | the future of 3D-vertical-scrollers |
---|
43 | orxonox.spec. Generated from orxonox.spec.in by configure. |
---|
44 | Please edit orxonox.spec.in to add several more lines of description |
---|
45 | here if appropriate, and to delete these instructions. |
---|
46 | |
---|
47 | %prep |
---|
48 | %setup -q |
---|
49 | #%patch0 -p1 |
---|
50 | |
---|
51 | %build |
---|
52 | %configure |
---|
53 | make |
---|
54 | |
---|
55 | %install |
---|
56 | rm -rf $RPM_BUILD_ROOT |
---|
57 | mkdir -p $RPM_BUILD_ROOT |
---|
58 | %makeinstall |
---|
59 | |
---|
60 | # __os_install_post is implicitly expanded after the |
---|
61 | # %install section... do it now, and then disable it, |
---|
62 | # so all work is done before building manifest. |
---|
63 | |
---|
64 | %{?__os_install_post} |
---|
65 | %define __os_install_post %{nil} |
---|
66 | |
---|
67 | # build the file list automagically into %{manifest} |
---|
68 | |
---|
69 | cd $RPM_BUILD_ROOT |
---|
70 | rm -f %{manifest} |
---|
71 | find . -type d \ |
---|
72 | | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' >> %{manifest} |
---|
73 | find . -type f \ |
---|
74 | | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{manifest} |
---|
75 | find . -type l \ |
---|
76 | | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{manifest} |
---|
77 | |
---|
78 | #%pre |
---|
79 | #%post |
---|
80 | #%preun |
---|
81 | #%postun |
---|
82 | |
---|
83 | %clean |
---|
84 | rm -f %{manifest} |
---|
85 | rm -rf $RPM_BUILD_ROOT |
---|
86 | |
---|
87 | %files -f %{manifest} |
---|
88 | %defattr(-,root,root) |
---|
89 | #%doc README |
---|
90 | #%docdir |
---|
91 | #%config |
---|
92 | |
---|
93 | %changelog |
---|