- raw version.
[packages/boson.git] / boson.spec
CommitLineData
36d24f82 1#
2# Spec file for package Boson
3#
4# Please send bugfixes or comments to the packager
5#
6
7
8#
9# Thomas : Every packager should change only those four lines
10#
11
12# THe number of your attempt to build the rpm
13%define release 1
14# The name of your distribution : ex "SuSe Linux 6.0 (i386)", or "RedHat 5.1 (alpha)"
15%define distro LinuxPPC R5/Q3
16# THe place where kde is installed in your distro (probably /opt/kde/)
17%define prefix /usr
18# Your name
19%define packager Thomas Capricelli <capricel@enst.fr>
20
21#
22# Thomas : shouldn't be altered after this line
23#
24
25%define version 0.2
26
27# Directory-related Tags
28%define builddir $RPM_BUILD_DIR/boson-%{version}
29BuildRoot: /var/tmp/boson-%{version}-root
30Prefix: %{prefix}
31
32# Package Naming Tags
33Name: boson
34Version: %{version}
35Release: %{release}
36Distribution: %{distro}
37Packager: %{packager}
38Group: X11/KDE/Games
39
40#
41Icon: boson.xpm
42Source0: boson-%{version}.tgz
43Source1: boson-pics-%{version}.tgz
44
45# Dependancy Tags
46Provides: boson
47Serial: %{release}
48AutoReqProv: Yes
49
50# Descriptive Tags
51Summary: Boson : a Real-Time Strategy Game (RTS) for the KDE project
52Vendor: Thomas Capricelli <capricel@enst.fr>, Benjamin Adler <BenAdler@gmx.net>
53Copyright: GPL
54URL: http://aquila.rezel.enst.fr/boson/
55
56%description
57Boson is a real-time strategy game, like Command&Conquer(tm) or StarCraft(tm).
58It is designed to run on Unix (Linux) computers and uses the Qt
59Toolkit and QwSpriteField. A minimum of two players is required, since there is
60no artifical intelligence (yet?). Boson is still in very early development
61and not playable yet.
62
63Boson's Code and Graphics are published under the GNU General Public License.
64
65If you want to know more about Boson, have a look at the Web site.
66
67%prep
68%setup -n boson-%{version}
69%build
70CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
71 --prefix=$KDEDIR \
72 --libdir=%{buildroot}/$KDEDIR/lib \
73 --with-install-root=%{buildroot}
74make
75
76
77%install
78if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT ; fi
79make prefix=$RPM_BUILD_ROOT%{prefix} install
80
81## install textures and resources files :
82mkdir $RPM_BUILD_ROOT%{prefix}/share/apps/
83cd $RPM_BUILD_ROOT%{prefix}/share/apps/
84cp $RPM_SOURCE_DIR/boson-pics-%{version}.tgz .
85gunzip boson-pics-%{version}.tgz
86tar xvf boson-pics-%{version}.tar
87rm boson-pics-%{version}.tar
88
89%clean
90rm -rf %{builddir}
91[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
92#rm -f $RPM_SOURCE_DIR/boson*
93
94%files
95%{prefix}/bin/
96%{prefix}/share/applnk/
97%{prefix}/share/apps/
98%{prefix}/share/icons/
99%doc %{prefix}/share/doc/HTML/en/Boson/
100%doc AUTHORS COPYING ChangeLog INSTALL README TODO
101
102%changelog
103* Tue Sep 21 1999 Thomas Capricelli <capricel@enst.fr>
104- making it the way I want it..
105- adapted to boson-0.2 (Games/Boson)
106* Thu Sep 17 1999 Guillaume Assire <alphagolf@rocketmail.com>
107- Initial packaging version 0.1
This page took 0.087741 seconds and 4 git commands to generate.