Call ldconfig at post(un)install time.
- Own the %{_datadir}/totem dir.
- Fix tarball URL.
This commit is contained in:
parent
54c54d0372
commit
a6ee2161b0
12
totem.spec
12
totem.spec
@ -1,12 +1,12 @@
|
||||
Summary: Movie player for GNOME
|
||||
Name: totem
|
||||
Version: 3.4.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Epoch: 1
|
||||
License: GPLv2+ with exceptions
|
||||
Group: Applications/Multimedia
|
||||
URL: http://projects.gnome.org/totem/
|
||||
Source0: http://download.gnome.org/sources/totem/3.3/totem-%{version}.tar.xz
|
||||
Source0: http://download.gnome.org/sources/totem/3.4/totem-%{version}.tar.xz
|
||||
|
||||
Requires: gnome-icon-theme
|
||||
# For the opensubtitles plugin
|
||||
@ -177,10 +177,12 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/totem/plugins/*/*.{a,la} \
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
update-desktop-database &> /dev/null || :
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
update-desktop-database &> /dev/null || :
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
@ -201,6 +203,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
%{_libdir}/libtotem.so.*
|
||||
%{_libdir}/girepository-1.0/Totem-1.0.typelib
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%dir %{_datadir}/totem
|
||||
%{_datadir}/totem/*.png
|
||||
%{_datadir}/totem/fullscreen.ui
|
||||
%{_datadir}/totem/playlist.ui
|
||||
@ -270,6 +273,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
%{_libdir}/mozilla/plugins/libtotem-vegas-plugin.so
|
||||
|
||||
%changelog
|
||||
* Sun Jul 22 2012 Ville Skyttä <ville.skytta@iki.fi> - 1:3.4.3-2
|
||||
- Call ldconfig at post(un)install time.
|
||||
- Own the %%{_datadir}/totem dir.
|
||||
- Fix tarball URL.
|
||||
|
||||
* Tue Jul 17 2012 Richard Hughes <hughsient@gmail.com> - 1:3.4.3-1
|
||||
- Update to 3.4.3
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user