Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL12
>
gcdemu
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Changed
gcdemu.spec
@@ -6,7 +6,7 @@ Version: 1.5.0 Release: 1 License: GPLv2+ -Group: User Interface/Desktops +Group: System/X11/Utilities URL: http://cdemu.sourceforge.net Source: http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -55,6 +55,7 @@ %{__rm} -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %{__make} install DESTDIR=$RPM_BUILD_ROOT +%__install -d %{buildroot}/etc/gconf/schemas unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL PW=`pwd` cd %{buildroot}%{_datadir}/locale @@ -62,8 +63,9 @@ cd $PW %find_lang gcdemu --with-gnome %suse_update_desktop_file -r -G "Mount ISO images" %{name} Utilities -%find_gconf_schemas -cat %{name}.schemas_list %{name}.lang >%{name}.lst +#find_gconf_schemas +#cat %{name}.schemas_list %{name}.lang >%{name}.lst +cat %{name}.lang >%{name}.lst %clean %{__rm} -rf $RPM_BUILD_ROOT @@ -91,11 +93,18 @@ #%postun #scrollkeeper-update -q # -%pre -f %{name}.schemas_pre - -%preun -f %{name}.schemas_preun - -%posttrans -f %{name}.schemas_posttrans +#%pre -f %{name}.schemas_pre +# +#%preun -f %{name}.schemas_preun +# +#%posttrans -f %{name}.schemas_posttrans +%post +/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas + +%postun +if [ $1 -eq 0 ]; then + /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +fi %files -f %{name}.lst %defattr(-,root,root,-) @@ -103,6 +112,7 @@ %{_datadir}/pixmaps/* %{_bindir}/gcdemu %{_datadir}/applications/gcdemu.desktop +%{_datadir}/glib-2.0/schemas/apps.gcdemu.gschema.xml %changelog * Mon Jan 23 2012 Carsten Schoene <cs@linux-administrator.com> - 1.5.0-1