Author: megabajt                     Date: Sat Sep 30 09:37:45 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use rpm macros
- rel. 1

---- Files affected:
SPECS:
   bmpx.spec (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: SPECS/bmpx.spec
diff -u SPECS/bmpx.spec:1.54 SPECS/bmpx.spec:1.55
--- SPECS/bmpx.spec:1.54        Thu Sep 28 15:24:40 2006
+++ SPECS/bmpx.spec     Sat Sep 30 11:37:40 2006
@@ -3,7 +3,7 @@
 Summary(pl):   Odtwarzacz dźwięku z interfejsem WinAmpa dla GTK+
 Name:          bmpx
 Version:       0.30.3
-Release:       0.1
+Release:       1
 License:       GPL v2
 Group:         X11/Applications/Sound
 Source0:       
http://files.beep-media-player.org/releases/0.30/%{name}-%{version}.tar.bz2
@@ -33,12 +33,13 @@
 BuildRequires: libvorbis-devel >= 1:1.0
 BuildRequires: libxml2-devel >= 1:2.6.26
 BuildRequires: neon-devel >= 0.25.5
-BuildRequires: rpmbuild(macros) >= 1.197
+BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: rpm-pythonprov
 BuildRequires: startup-notification-devel >= 0.8
 BuildRequires: taglib-devel >= 1.4
 Requires(post,postun): desktop-file-utils
-Requires(post,postun): gtk+2 >= 2.10.0
+Requires(post,postun): gtk+2 >= 2:2.10.0
+Requires(post,postun): hicolor-icon-theme
 Requires(post,postun): shared-mime-info
 Requires:      gstreamer-audio-effects-base >= 0.10.9
 Requires:      gstreamer-audio-formats >= 0.10.3
@@ -90,7 +91,6 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-LDFLAGS="%{rpmldflags} -Wl,--as-needed"
 %configure \
        --enable-hal \
        --enable-shared \
@@ -116,9 +116,8 @@
 
 %post
 %update_desktop_database_post
-umask 022
-/usr/bin/update-mime-database %{_datadir}/mime || :
-gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+%update_mime_database
+%update_icon_cache hicolor
 
 %banner %{name} -e << EOF
 Remember to install appropriate GStreamer plugins for files
@@ -131,11 +130,8 @@
 
 %postun
 %update_desktop_database_postun
-gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
-if [ $1 = 0 ]; then
-        umask 022
-        /usr/bin/update-mime-database %{_datadir}/mime
-fi
+%update_mime_database
+%update_icon_cache hicolor
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
@@ -175,6 +171,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2006/09/30 09:37:40  megabajt
+- use rpm macros
+- rel. 1
+
 Revision 1.54  2006/09/28 13:24:40  aflinta
 - up to version 0.30.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bmpx.spec?r1=1.54&r2=1.55&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to