git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@199
ddfedd41-794f-dd11-ae45-
00112f111e67
SUBDIRS = libchimara interpreters tests docs po player
SUBDIRS = libchimara interpreters tests docs po player
-chimaradocdir = ${prefix}/doc/chimara
+chimaradocdir = $(datadir)/doc/chimara
dist_chimaradoc_DATA = \
README\
COPYING\
AUTHORS\
ChangeLog\
dist_chimaradoc_DATA = \
README\
COPYING\
AUTHORS\
ChangeLog\
NEWS
pkgconfigdir = $(libdir)/pkgconfig
NEWS
pkgconfigdir = $(libdir)/pkgconfig
Name: @PACKAGE_TARNAME@
Version: @PACKAGE_VERSION@
Name: @PACKAGE_TARNAME@
Version: @PACKAGE_VERSION@
-Release: @RPM_RELEASE@%{?dist}
Summary: A GTK+ widget implementation of the Glk library
Summary: A GTK+ widget implementation of the Glk library
-
-Packager: P. F. Chimento <philip.chimento@gmail.com>
URL: http://lassie.student.utwente.nl/chimara/
License: MIT
URL: http://lassie.student.utwente.nl/chimara/
License: MIT
Requires: glib2 >= @GLIB_REQUIRED_VERSION@
Requires: gtk2 >= @GTK_REQUIRED_VERSION@
Requires: pango
Requires: glib2 >= @GLIB_REQUIRED_VERSION@
Requires: gtk2 >= @GTK_REQUIRED_VERSION@
Requires: pango
+Requires(post): info
+Requires(preun): info
BuildRequires: bison
# byacc is allowed instead of bison, but stoopid RPM doesn't let you specify alternative pkgs
BuildRequires: perl gettext libtool pkgconfig intltool
BuildRequires: bison
# byacc is allowed instead of bison, but stoopid RPM doesn't let you specify alternative pkgs
BuildRequires: perl gettext libtool pkgconfig intltool
%package player
Summary: The default IF player using %{name}
%package player
Summary: The default IF player using %{name}
Requires: %{name} = %{version}-%{release}
%description player
Requires: %{name} = %{version}-%{release}
%description player
-The %{name}-player package contains the default interactive fiction player using %{name}.
-developing applications that use %{name}.
+The %{name}-player package contains the default interactive fiction player
+using %{name}.
rm -rf $RPM_BUILD_ROOT
%makeinstall
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT
%makeinstall
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+rm -f $RPM_BUILD_ROOT/usr/share/info/dir
%clean
rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+/sbin/ldconfig
+/sbin/install-info %{_infodir}/nitfol.info %{_infodir}/dir || :
+
+%preun
+if [ $1 = 0 ] ; then
+ /sbin/install-info --delete %{_infodir}/nitfol.info %{_infodir}/dir || :
+fi
%postun -p /sbin/ldconfig
%files
%postun -p /sbin/ldconfig
%files
-%define docdir %{_prefix}/doc
-%define pkgdocdir %{_datadir}/doc/chimara
-%doc %{docdir}/chimara/*
-%doc %{_infodir}/*
-%doc %{pkgdocdir}/*
-%{_libdir}/libchimara.*
+%doc %{_datadir}/doc/chimara/frotz/*
+%doc %{_datadir}/doc/chimara/git/*
+%doc %{_datadir}/doc/chimara/glulxe/*
+%doc %{_datadir}/doc/chimara/nitfol/*
+%doc %{_infodir}/*.info*
+%{_libdir}/libchimara.so.*
%{_libdir}/chimara/*.so
%{_datadir}/*.ui
%{_datadir}/*.menus
%{_libdir}/chimara/*.so
%{_datadir}/*.ui
%{_datadir}/*.menus
%defattr(-,root,root,-)
%doc %{_datadir}/gtk-doc/html/*
%{_includedir}/chimara/libchimara/*.h
%defattr(-,root,root,-)
%doc %{_datadir}/gtk-doc/html/*
%{_includedir}/chimara/libchimara/*.h
+%{_libdir}/libchimara.so
%{_libdir}/pkgconfig/*.pc
%files player
%{_libdir}/pkgconfig/*.pc
%files player
+%defattr(-,root,root,-)
+%doc %{_datadir}/doc/chimara/README
+%doc %{_datadir}/doc/chimara/COPYING
+%doc %{_datadir}/doc/chimara/AUTHORS
+%doc %{_datadir}/doc/chimara/ChangeLog
+%doc %{_datadir}/doc/chimara/NEWS
%{_bindir}/chimara
%changelog
%{_bindir}/chimara
%changelog
+* Fri Dec 4 2009 P. F. Chimento <philip.chimento@gmail.com>
+- 0.1-1
+- Mended rpmlint warnings and errors.
* Mon Nov 30 2009 W. M. van Vliet <w.m.vanvliet@student.utwente.nl>
- Added Chimara player to the package.
* Wed Nov 25 2009 P. F. Chimento <philip.chimento@gmail.com>
* Mon Nov 30 2009 W. M. van Vliet <w.m.vanvliet@student.utwente.nl>
- Added Chimara player to the package.
* Wed Nov 25 2009 P. F. Chimento <philip.chimento@gmail.com>
[rpm=false]
)
AM_CONDITIONAL([BUILDING_RPM], [$TEST "x$rpm" = xtrue])
[rpm=false]
)
AM_CONDITIONAL([BUILDING_RPM], [$TEST "x$rpm" = xtrue])
-# The user can specify the RPM release number in the environment (e.g. '1')
-AC_ARG_VAR([RPM_RELEASE], [Release number to build RPMs with [1]])
-AS_IF([$TEST "x$RPM_RELEASE" = x], [RPM_RELEASE=1])
### CHECK FOR LIBRARIES #######################################################
### CHECK FOR LIBRARIES #######################################################