Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/bensch/orxonox.spec.in @ 1821

Last change on this file since 1821 was 1814, checked in by bensch, 21 years ago

orxonox/brnaches/bensch: added autoproject configuration

File size: 1.7 KB
Line 
1# orxonox.spec
2#
3# Copyright (c) 2004 orx orxonox-announce@mail.datacore.ch
4#
5%define name orxonox
6%define version @VERSION@
7%define release 1
8%define manifest %{_builddir}/%{name}-%{version}-%{release}.manifest
9
10# required items
11Name: %{name}
12Version: %{version}
13Release: %{release}
14Copyright: GPL
15Group: 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
25Source: %{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
37BuildRoot: /var/tmp/%{name}-%{version}
38
39Summary: the future of 3D-vertical-scrollers
40
41%description
42the future of 3D-vertical-scrollers
43@configure_input@
44Please edit orxonox.spec.in to add several more lines of description
45here if appropriate, and to delete these instructions.
46
47%prep
48%setup -q
49#%patch0 -p1
50
51%build
52%configure
53make
54
55%install
56rm -rf $RPM_BUILD_ROOT
57mkdir -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
69cd $RPM_BUILD_ROOT
70rm -f %{manifest}
71find . -type d \
72        | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' >> %{manifest}
73find . -type f \
74        | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{manifest}
75find . -type l \
76        | sed 's,^\.,\%attr(-\,root\,root) ,' >> %{manifest}
77
78#%pre
79#%post
80#%preun
81#%postun
82
83%clean
84rm -f %{manifest}
85rm -rf $RPM_BUILD_ROOT
86
87%files -f %{manifest}
88%defattr(-,root,root)
89#%doc README
90#%docdir
91#%config
92
93%changelog
Note: See TracBrowser for help on using the repository browser.