X-Git-Url: https://git.stderr.nl/gitweb?p=projects%2Fchimara%2Fchimara.git;a=blobdiff_plain;f=chimara.spec.in;h=28de91665585dc960d796826128c49093be4802e;hp=9f0712aaedc68d64b51436fbdd271286f968f26c;hb=HEAD;hpb=aadf847cc2cbf941c83cf7359b411517d0d40e43 diff --git a/chimara.spec.in b/chimara.spec.in index 9f0712a..28de916 100644 --- a/chimara.spec.in +++ b/chimara.spec.in @@ -53,12 +53,13 @@ using %{name}. %setup -q %build -%configure --disable-static +%configure --disable-static --disable-schemas-compile make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -%makeinstall +# not macro makeinstall, this breaks stoopid GSETTINGS_RULES +make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' rm -f $RPM_BUILD_ROOT/usr/share/info/dir @@ -69,6 +70,11 @@ rm -rf $RPM_BUILD_ROOT /sbin/ldconfig /sbin/install-info %{_infodir}/nitfol.info %{_infodir}/dir || : +%post player +if [ $1 -eq 1 ] ; then + glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +fi + %preun if [ $1 = 0 ] ; then /sbin/install-info --delete %{_infodir}/nitfol.info %{_infodir}/dir || : @@ -76,6 +82,9 @@ fi %postun -p /sbin/ldconfig +%postun player +glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : + %files %defattr(-,root,root,-) %doc %{_datadir}/doc/chimara/frotz/* @@ -85,8 +94,7 @@ fi %doc %{_infodir}/*.info* %{_libdir}/libchimara.so.* %{_libdir}/chimara/*.so -%{_datadir}/*.ui -%{_datadir}/*.menus +%{_libexecdir}/chimara/profile-analyze.py %files devel %defattr(-,root,root,-) @@ -103,11 +111,18 @@ fi %doc %{_datadir}/doc/chimara/ChangeLog %doc %{_datadir}/doc/chimara/NEWS %{_bindir}/chimara +%{_datadir}/chimara/chimara.ui +%{_datadir}/chimara/chimara.menus +%{_datadir}/chimara/style.css +%{_datadir}/glib-2.0/schemas/org.chimara-if.gschema.xml %changelog +* Mon Mar 7 2011 P. F. Chimento +- Added glib-compile-schemas invocations. * Fri Dec 4 2009 P. F. Chimento - 0.1-1 - Mended rpmlint warnings and errors. +- Moved player data files to player package. * Mon Nov 30 2009 W. M. van Vliet - Added Chimara player to the package. * Wed Nov 25 2009 P. F. Chimento