forked from ptomato/inform7-ide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgnome-inform7.spec
209 lines (194 loc) · 7.41 KB
/
gnome-inform7.spec
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
#
# Spec file for GNOME Inform 7
#
Name: gnome-inform7
Version: 6L38
Release: 1.fc20
URL: http://inform7.com/
License: GPLv3
Group: Development/Languages
Source: http://inform7.com/download/content/6L38/gnome-inform7-6L38.tar.gz
# Build requirements:
# Extra build tools
BuildRequires: intltool
BuildRequires: gettext
BuildRequires: pkgconfig
BuildRequires: xz-lzma-compat
# Library devel packages:
BuildRequires: libuuid-devel
BuildRequires: glib2-devel
BuildRequires: gtk2-devel
BuildRequires: gtksourceview2-devel
BuildRequires: gtkspell-devel
BuildRequires: webkitgtk-devel
BuildRequires: goocanvas-devel
BuildRequires: gstreamer1-devel
BuildRequires: gstreamer1-plugins-base
BuildRequires: gstreamer1-plugins-good
BuildRequires: gstreamer1-plugins-bad-free
BuildRequires: gstreamer1-plugins-bad-free-extras
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Summary: An IDE for the Inform 7 interactive fiction programming language
%description
GNOME Inform 7 is a port of the Mac OS X and Windows versions of the integrated
development environment for Inform 7. Inform 7 is a "natural" programming
language for writing interactive fiction (also known as text adventures.)
%prep
%setup -q
%build
%configure --enable-manuals --with-sound=gstreamer
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
# Clean out files that should not be part of the rpm.
%{__rm} -f %{buildroot}%{_libdir}/%{name}/*.la
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
%postun
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%define pkgdatadir %{_datadir}/%{name}
%define pkgdocdir %{_datadir}/doc/%{name}
%define pkglibdir %{_libdir}/%{name}
%define pkglibexecdir %{_libexecdir}/%{name}
%docdir %{pkgdocdir}
%docdir %{pkgdatadir}/Documentation
%{_datadir}/applications/%{name}.desktop
%{pkgdocdir}/AUTHORS
%{pkgdocdir}/ChangeLog
%{pkgdocdir}/COPYING
%{pkgdocdir}/NEWS
%{pkgdocdir}/README
%{pkgdocdir}/THANKS
%{pkgdocdir}/TODO
%{pkgdatadir}/uninstall_manifest.txt
%{pkgdatadir}/Documentation/*.html
%{pkgdatadir}/Documentation/*.css
%{pkgdatadir}/Documentation/manifest.txt
%{pkgdatadir}/Resources/bg_images/*.png
%{pkgdatadir}/Resources/bg_images/*.gif
%{pkgdatadir}/Resources/doc_images/*.png
%{pkgdatadir}/Resources/doc_images/*.jpg
%{pkgdatadir}/Resources/doc_images/*.tif
%{pkgdatadir}/Resources/map_icons/*.png
%{pkgdatadir}/Resources/outcome_images/*.png
%{pkgdatadir}/Resources/scene_icons/*.png
%{pkgdatadir}/Resources/Welcome*Background.png
%{pkgdatadir}/Resources/en/*.html
%{pkgdatadir}/Extensions/Emily*Short/*.i7x
%{pkgdatadir}/Extensions/Eric*Eve/Epistemology.i7x
%{pkgdatadir}/Extensions/Graham*Nelson/*.i7x
%{pkgdatadir}/I6T/*.i6t
%{pkgdatadir}/Languages/*/Syntax.preform
%{pkgdatadir}/Languages/*/about.txt
%{pkgdatadir}/Languages/*/flag.png
%{pkgdatadir}/Miscellany/*.html
%{pkgdatadir}/Miscellany/*.jpg
%{pkgdatadir}/Miscellany/*.pdf
%{pkgdatadir}/Templates/*/*.html
%{pkgdatadir}/Templates/*/*.css
%{pkgdatadir}/Templates/*/*.js
%{pkgdatadir}/Templates/*/(manifest).txt
%{pkgdatadir}/Templates/Quixe/waiting.gif
%{pkgdatadir}/Templates/Vorple/soundmanager2.swf
%{pkgdatadir}/highlighting/*.lang
%{pkgdatadir}/Documentation/licenses/*.html
%{pkgdatadir}/styles/*.xml
%{pkgdatadir}/ui/*.ui
%{pkgdatadir}/ui/*.xml
%{_datadir}/icons/hicolor/*/actions/inform7-builtin.png
%{_datadir}/icons/hicolor/*/apps/inform7.png
%{_datadir}/icons/hicolor/*/emblems/inform7-materials.png
%{_datadir}/icons/hicolor/*/mimetypes/application-x-inform.png
%{_datadir}/icons/hicolor/*/mimetypes/application-x-inform-materials.png
%{_datadir}/icons/hicolor/*/mimetypes/application-x-inform-skein+xml.png
%{_datadir}/icons/hicolor/*/mimetypes/text-x-inform.png
%{_datadir}/icons/hicolor/*/mimetypes/text-x-natural-inform.png
%{_datadir}/icons/hicolor/*/mimetypes/text-x-natural-inform-extension.png
%{_datadir}/icons/hicolor/*/mimetypes/text-x-blurb.png
%{_datadir}/glib-2.0/schemas/com.inform7.GUI.gschema.xml
%{_datadir}/mime/packages/inform7.xml
%lang(es) %{_datadir}/locale/es/LC_MESSAGES/%{name}.mo
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/%{name}.mo
%{_bindir}/gnome-inform7
%{pkglibexecdir}/cBlorb
%{pkgdocdir}/cBlorb/Complete.html
%{pkgdocdir}/cBlorb/crumbs.gif
%{pkgdocdir}/cBlorb/inweb.css
%{pkglibdir}/frotz.so
%{pkgdocdir}/frotz/AUTHORS
%{pkgdocdir}/frotz/COPYING
%{pkgdocdir}/frotz/README
%{pkgdocdir}/frotz/TODO
%{pkglibdir}/git.so
%{pkgdocdir}/git/README.txt
%{pkglibdir}/glulxe.so
%{pkgdocdir}/glulxe/README
%{pkglibexecdir}/inform6
%{pkgdocdir}/inform6/*.txt
%{pkgdocdir}/inform6/ReleaseNotes.html
%{pkglibexecdir}/ni
%changelog
* Sun Sep 7 2014 Philip Chimento <philip.chimento@gmail.com> - 6L38-1
- Repackaged to Build 6L38.
* Wed May 7 2014 Philip Chimento <philip.chimento@gmail.com> - 6L02-1
- Repackaged to Build 6L02.
* Sun Feb 12 2012 P. F. Chimento <philip.chimento@gmail.com>
- Changed 'lzma' requirement to 'xz-lzma-compat'.
* Wed Jan 12 2011 P.F. Chimento <philip.chimento@gmail.com>
- Updated build requirements.
- Updated packing list.
* Fri Dec 17 2010 P.F. Chimento <philip.chimento@gmail.com>
- Changed files after merge of development branch.
- Added scriptlet for icon cache updating.
- Updated scriptlet for GConf schemas.
* Tue Oct 26 2010 P.F. Chimento <philip.chimento@gmail.com>
- Added Quixe and Eric Eve directories to packing list.
* Mon Oct 4 2010 P.F. Chimento <philip.chimento@gmail.com>
- Use gconf RPM macros instead of shell scripts.
- List build requirements.
* Sat Jul 3 2010 P.F. Chimento <philip.chimento@gmail.com>
- Fixed rpmlint warnings.
* Thu Jun 24 2010 P.F. Chimento <philip.chimento@gmail.com>
- Added Parchment directory to packing list.
* Fri Apr 10 2009 P.F. Chimento <philip.chimento@gmail.com>
- Overhauled build process.
* Mon Feb 23 2009 P.F. Chimento <philip.chimento@gmail.com>
- Added the gtkterp-git binary to the packing list.
* Sat Dec 6 2008 P.F. Chimento <philip.chimento@gmail.com>
- Repackaged to release .1 of Public Beta Build 5U92.
* Sun Sep 14 2008 P.F. Chimento <philip.chimento@gmail.com>
- Added scriptlets for GConf2 schemas processing.
* Fri Sep 12 2008 P.F. Chimento <philip.chimento@gmail.com>
- Updated to Public Beta Build 5U92.
* Sat May 3 2008 P.F. Chimento <philip.chimento@gmail.com>
- Fedora 8 release bumped to 2, replacing outdated Glulx Entry Points.
* Wed Apr 30 2008 P.F. Chimento <philip.chimento@gmail.com>
- Updated to Public Beta Build 5T18.
* Mon Dec 3 2007 P.F. Chimento <philip.chimento@gmail.com>
- Updated to Public Beta Build 5J39.
* Tue Nov 13 2007 P.F. Chimento <philip.chimento@gmail.com>
- Updated to Public Beta Build 5G67.
* Sat Aug 18 2007 P.F. Chimento <philip.chimento@gmail.com>
- Updated to version 0.4.
* Sat Jun 16 2007 P.F. Chimento <philip.chimento@gmail.com>
- Repackaged for Fedora 7.
* Sat Jun 2 2007 P.F. Chimento <philip.chimento@gmail.com>
- Repackaged to release 2.
* Sun May 27 2007 P.F. Chimento <philip.chimento@gmail.com>
- Updated to version 0.3.
* Mon Apr 9 2007 P.F. Chimento <philip.chimento@gmail.com>
- Updated to version 0.2.