[mate-media] Revert "initial import"
leigh123linux
leigh123linux at fedoraproject.org
Tue Oct 23 07:48:22 UTC 2012
commit 054ca86fc51858b7f08da43ad50c13735994004a
Author: leigh123linux <leigh123linux at googlemail.com>
Date: Tue Oct 23 08:47:56 2012 +0100
Revert "initial import"
This reverts commit dbb5ab0501d0b89b14652968ce316c334a1b9d45.
mate-media.spec | 25 ++++++++++++++++++++++---
1 files changed, 22 insertions(+), 3 deletions(-)
---
diff --git a/mate-media.spec b/mate-media.spec
index 4de9a9b..1eba2f8 100644
--- a/mate-media.spec
+++ b/mate-media.spec
@@ -1,9 +1,9 @@
Name: mate-media
Version: 1.4.0
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: MATE media programs
-License: GPLv2+
+License: GPLv2+ and LGPLv2+
URL: http://mate-desktop.org
Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
@@ -53,6 +53,9 @@ export LDFLAGS="-lm"
--enable-gstprops \
--disable-scrollkeeper \
--enable-profiles
+
+# remove unused-direct-shlib-dependency warnings
+sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
make V=1 %{?_smp_mflags}
@@ -78,6 +81,7 @@ cat mate-audio-profiles.lang >> main.lang
%post
/sbin/ldconfig
+/bin/touch --no-create %{_datadir}/icons/mate &>/dev/null || :
%mateconf_schema_upgrade mate-volume-control mate-audio-profiles
%pre
@@ -86,7 +90,16 @@ cat mate-audio-profiles.lang >> main.lang
%preun
%mateconf_schema_remove mate-volume-control mate-audio-profiles
-%postun -p /sbin/ldconfig
+%postun
+/sbin/ldconfig
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/mate &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/mate &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/mate &>/dev/null || :
+
%files -f main.lang
%doc AUTHORS COPYING NEWS README
@@ -120,6 +133,12 @@ cat mate-audio-profiles.lang >> main.lang
%changelog
+* Mon Oct 22 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.4.0-3
+- add Icon Cache scriptlets
+
+* Mon Oct 22 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.4.0-2
+- add LGPLv2+ to license
+
* Mon Oct 22 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.4.0-1
- Initial build
More information about the scm-commits
mailing list