fix file lists

This commit is contained in:
Matthias Clasen 2010-01-13 04:58:31 +00:00
parent 42e6a61017
commit 4d59fabb2b

View File

@ -47,7 +47,7 @@ videos from a webcam. It can also apply fancy graphical effects.
%patch1 -p1 -b .trash-menu %patch1 -p1 -b .trash-menu
%build %build
%configure %configure --disable-static
make %{?_smp_mflags} make %{?_smp_mflags}
@ -57,6 +57,8 @@ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
rm -f $RPM_BUILD_ROOT%{_libdir}/libcheese-gtk.{a,la}
desktop-file-install --delete-original --vendor="" \ desktop-file-install --delete-original --vendor="" \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \ --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
--add-category X-AudioVideoImport \ --add-category X-AudioVideoImport \
@ -100,6 +102,7 @@ fi
%post %post
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor gtk-update-icon-cache -q %{_datadir}/icons/hicolor
@ -109,6 +112,7 @@ gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/cheese.schemas
%postun %postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor gtk-update-icon-cache -q %{_datadir}/icons/hicolor
@ -126,6 +130,7 @@ fi
%{_sysconfdir}/gconf/schemas/cheese.schemas %{_sysconfdir}/gconf/schemas/cheese.schemas
%{_libexecdir}/cheese %{_libexecdir}/cheese
%{_datadir}/dbus-1/services/org.gnome.Cheese.service %{_datadir}/dbus-1/services/org.gnome.Cheese.service
%{_libdir}/libcheese.so*
%changelog %changelog
* Tue Jan 12 2010 Matthias Clasen <mclasen@redhat.com> 2.29.5-1 * Tue Jan 12 2010 Matthias Clasen <mclasen@redhat.com> 2.29.5-1