summaryrefslogtreecommitdiffstats
path: root/sigen.spec
blob: 6ba7c33146dc436917d4429a9edb0f5489bc5961 (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
Name:           sigen
Version:        0.0.2
Release:        0.25.20081206git529cd0e%{?dist}
Summary:        An RPG/Strategy engine inspired by the Pokémon™ games

Group:          Amusements/Games
License:        GPLv3+
URL:            http://www.sourceforge.net/projects/sigen
# The source for this package was pulled from upstream's vcs.  Use the
# following commands to generate the tarball:
# git clone git://fedorapeople.org/~mathstuf/sigen.git
# cd sigen
# git archive --format=tar --prefix=sigen-0.0.2/ 529cd0e | bzip2 --best > ../sigen-0.0.2.tar.bz2
Source0:        %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  cmake
BuildRequires:  kdelibs4-devel >= 4.1.0
# May use this in the future
# BuildRequires:  kdegames4-devel
BuildRequires:  qt-devel >= 4.4.0
BuildRequires:  qca2-devel
BuildRequires:  doxygen
BuildRequires:  graphviz
BuildRequires:  desktop-file-utils
# May use this to link to documentation in the future
# BuildRequires:  kdelibs4-apidocs
# BuildRequires:  qt-doc

%description
The Sigma Game Engine is an RPG/Strategy game engine.
The following libraries and tools are provided:
Sigcore - library with common utility classes
Sigmod - library for loading, editing, and saving Sigmod files
Sigmodr - modding application for Sigmod files
Sigscript - library for scripts to use the data in a Sigmod
Sigbattle - library for the battle system
Signet - library for network communications
Sigworld - library for handling overworld interactions

%package devel
Summary:        Files needed to develop programs which use the Sigma Game Engine
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       kdelibs4-devel
# May use this in the future
# Requires:       kdegames4-devel
Requires:       qt-devel
Requires:       qca2-devel

%description devel
Development files used for creating apps based on the Sigma Game
Engine libraries and tools.


%prep
%setup -q


%build
%{cmake_kde4}
make VERBOSE=1 %{?_smp_mflags}


%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install


%clean
rm -rf %{buildroot}


%post
/sbin/ldconfig
update-desktop-database &> /dev/null || :
update-mime-database %{_datadir}/mime &> /dev/null || :


%postun
/sbin/ldconfig
update-desktop-database &> /dev/null || :
update-mime-database %{_datadir}/mime &> /dev/null || :


%files
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}
%{_bindir}/sigmodr
%{_libdir}/libsigcore.so.0
%{_libdir}/libsigcore.so.0.0.2
%{_libdir}/libsigmod.so.0
%{_libdir}/libsigmod.so.0.0.2
%{_libdir}/libsigscript.so.0
%{_libdir}/libsigscript.so.0.0.2
%{_libdir}/libsigbattle.so.0
%{_libdir}/libsigbattle.so.0.0.2
%{_libdir}/libsignet.so.0
%{_libdir}/libsignet.so.0.0.2
%{_libdir}/libsigworld.so.0
%{_libdir}/libsigworld.so.0.0.2
%{_datadir}/mime/packages
%{_datadir}/mimelnk/application
%{_datadir}/applications
%{_kde4_appsdir}/sigmodr
%{_kde4_configdir}/sigmod.knsrc


%files devel
%defattr(-,root,root,-)
%{_libdir}/libsigcore.so
%{_libdir}/libsigmod.so
%{_libdir}/libsigscript.so
%{_libdir}/libsigbattle.so
%{_libdir}/libsignet.so
%{_libdir}/libsigworld.so
%{_includedir}/%{name}
%{_kde4_appsdir}/cmake/modules/SigenExportedLibraryTargets.cmake
%{_kde4_appsdir}/cmake/modules/SigenExportedLibraryTargets-release.cmake


%changelog
* Sat Dec 06 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.25.20081206git529cd0e
- CMake export files added

* Mon Dec 01 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.24.20081201git2fe921ca
- Sigworld added

* Mon Dec 01 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.23.20081201git2fe921ca
- Missed a / when making the tarball

* Mon Dec 01 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.22.20081201git2fe921ca
- Using git now instead of subversion

* Wed Nov 05 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.21.20081105svn305
- Moved the mimetype files outside of the spec file
- Now owns the mime, mimelnk, and applications directories
- Newer SVN (now with signet)

* Tue Sep 23 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.20.20080923svn266
- Newer SVN

* Sat Sep 13 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.19.20080907svn262
- Newer SVN

* Sun Sep 08 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.18.20080907svn257
- Spec file fixes

* Sun Sep 08 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.17.20080907svn256
- Spec file fixes

* Sun Sep 07 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.16.20080907svn255
- Newer SVN

* Sun Sep 07 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.15.20080907svn254
- Renamed project

* Mon Aug 18 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.14.20080818svn240
- Newer SVN
- Fixed some unused linkings

* Tue Aug 05 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.13.20080805svn239
- Newer SVN

* Mon Aug 04 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.12.20080804svn236
- Newer SVN
- Fixes for Fedora packaging

* Mon Aug 04 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.11.20080804svn234
- New RPM doesn't automatically create the buildroot

* Sun Aug 03 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.10.20080804svn233
- Newer SVN

* Sat Aug 02 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.9.20080802svn232
- Newer SVN build
- Added the XMLGUI file
- Bumped KDE to 4.1

* Fri Jul 11 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.8.20080711svn227
- Updated the version

* Mon Jun 30 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.7.20080630svn221
- Build/install use of buildroot fixed
- Fixed up changelog
- Fixed version requirements on Qt

* Mon Jun 30 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.6.20080630svn220
- Rebuild for new SVN version
- Qt 4.4 needed

* Sun Jun 22 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.5.20080628svn216
- Fixed the versions in the changelog
- Minor spelling mistakes in descriptions/summaries

* Fri Jun 20 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.4.20080618svn214
- Using cmake now
- Fixed up the -devel package
- .0.0 libs not made with cmake

* Tue Jun 17 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-0.3.20080617svn210
- New SVN revision
- Fixes for release versioning
- clean section fixed

* Sun Jun 08 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-2
- New SVN revision
- Fixes for name change

* Sun Jun 08 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.2-1
- Rebuild for version 0.0.2

* Sat Jun 07 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.1-4
- Added libpokebattle
- Moved headers to be under pokegen directory

* Fri Jun 06 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.1-3
- Created devel subpackage

* Sun Jun 01 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.1-2
- No longer need the images stored anywhere

* Mon Mar 04 2008 Ben Boeckel <MathStuf@gmail.com> 0.0.1-1
- Created