3 # Spec file for chimara and chimara-devel
6 Name: @PACKAGE_TARNAME@
7 Version: @PACKAGE_VERSION@
9 Summary: A GTK+ widget implementation of the Glk library
10 URL: http://lassie.student.utwente.nl/chimara/
13 Group: Development/Libraries
14 Source: %{name}-%{version}.tar.gz
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17 Requires: glib2 >= @GLIB_REQUIRED_VERSION@
18 Requires: gtk2 >= @GTK_REQUIRED_VERSION@
23 # byacc is allowed instead of bison, but stoopid RPM doesn't let you specify alternative pkgs
24 BuildRequires: perl gettext libtool pkgconfig intltool
25 BuildRequires: gtk-doc >= @GTK_DOC_REQUIRED_VERSION@
26 BuildRequires: glib2-devel >= @GLIB_REQUIRED_VERSION@
27 BuildRequires: gtk2-devel >= @GTK_REQUIRED_VERSION@
28 BuildRequires: pango-devel
31 A GTK+ widget that loads and runs Glk programs as plugins. Glk is an
32 input/output specification specifically designed for interactive fiction.
35 Summary: Development files for %{name}
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 The %{name}-devel package contains libraries and header files for
41 developing applications that use %{name}.
44 Summary: The default IF player using %{name}
45 Group: Amusements/Games
46 Requires: %{name} = %{version}-%{release}
49 The %{name}-player package contains the default interactive fiction player
56 %configure --disable-static
60 rm -rf $RPM_BUILD_ROOT
62 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
63 rm -f $RPM_BUILD_ROOT/usr/share/info/dir
66 rm -rf $RPM_BUILD_ROOT
70 /sbin/install-info %{_infodir}/nitfol.info %{_infodir}/dir || :
74 /sbin/install-info --delete %{_infodir}/nitfol.info %{_infodir}/dir || :
77 %postun -p /sbin/ldconfig
80 %defattr(-,root,root,-)
81 %doc %{_datadir}/doc/chimara/frotz/*
82 %doc %{_datadir}/doc/chimara/git/*
83 %doc %{_datadir}/doc/chimara/glulxe/*
84 %doc %{_datadir}/doc/chimara/nitfol/*
85 %doc %{_infodir}/*.info*
86 %{_libdir}/libchimara.so.*
87 %{_libdir}/chimara/*.so
90 %defattr(-,root,root,-)
91 %doc %{_datadir}/gtk-doc/html/*
92 %{_includedir}/chimara/libchimara/*.h
93 %{_libdir}/libchimara.so
94 %{_libdir}/pkgconfig/*.pc
97 %defattr(-,root,root,-)
98 %doc %{_datadir}/doc/chimara/README
99 %doc %{_datadir}/doc/chimara/COPYING
100 %doc %{_datadir}/doc/chimara/AUTHORS
101 %doc %{_datadir}/doc/chimara/ChangeLog
102 %doc %{_datadir}/doc/chimara/NEWS
104 %{_datadir}/chimara/chimara.ui
105 %{_datadir}/chimara/chimara.menus
106 %{_datadir}/chimara/style.css
109 * Fri Dec 4 2009 P. F. Chimento <philip.chimento@gmail.com>
111 - Mended rpmlint warnings and errors.
112 - Moved player data files to player package.
113 * Mon Nov 30 2009 W. M. van Vliet <w.m.vanvliet@student.utwente.nl>
114 - Added Chimara player to the package.
115 * Wed Nov 25 2009 P. F. Chimento <philip.chimento@gmail.com>