rpms/arora/devel arora.spec,1.19,1.20

Rex Dieter rdieter at fedoraproject.org
Sun Sep 20 21:12:41 UTC 2009


Author: rdieter

Update of /cvs/pkgs/rpms/arora/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30661

Modified Files:
	arora.spec 
Log Message:
* Sun Sep 30 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.9.0-2
- add icon/mime scriptlets
- don't own %{_mandir}/man1
- BR: qt4-devel



Index: arora.spec
===================================================================
RCS file: /cvs/pkgs/rpms/arora/devel/arora.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- arora.spec	31 Aug 2009 11:46:58 -0000	1.19
+++ arora.spec	20 Sep 2009 21:12:40 -0000	1.20
@@ -1,6 +1,6 @@
 Name:           arora
 Version:        0.9.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A cross platform web browser
 
 Group:          Applications/Internet
@@ -13,7 +13,7 @@ Patch2:         arora-0.8.0-fedorahome.p
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
-BuildRequires:  qt-devel >= 4.4.0
+BuildRequires:  qt4-devel >= 4.4.0
 # for gnome default app path
 BuildRequires:  control-center-devel
 
@@ -28,7 +28,7 @@ browsing and other common features such 
 Summary:        Better Gnome support for Arora
 Group:          Applications/Internet
 Requires:       control-center
-Requires:       arora
+Requires:       arora 
 
 %description gnome
 Adds Arora to Preferred Applications list in Gnome Control Center.
@@ -48,6 +48,8 @@ make %{?_smp_mflags}
 rm -rf $RPM_BUILD_ROOT
 make INSTALL_ROOT=$RPM_BUILD_ROOT install 
 
+# imo, shouldn't add/change upstream vendor here, but changing
+# once released this way is bad too. :(  -- Rex
 desktop-file-install --vendor fedora \
       --dir $RPM_BUILD_ROOT%{_datadir}/applications\
       --delete-original\
@@ -57,6 +59,22 @@ desktop-file-install --vendor fedora \
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+  update-desktop-database -q &> /dev/null
+  touch --no-create %{_datadir}/icons/hicolor &> /dev/null
+  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+fi
+
+%posttrans
+update-desktop-database -q &> /dev/null
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+
+
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS README ChangeLog
@@ -70,16 +88,21 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/icons/hicolor/16x16/apps/arora.png
 %{_datadir}/icons/hicolor/32x32/apps/arora.png
 %{_datadir}/icons/hicolor/scalable/apps/arora.svg
-%{_datadir}/arora
+%{_datadir}/arora/
 %{_datadir}/pixmaps/arora.xpm
-%{_datadir}/man/man1
+%{_mandir}/man1/*
 
 %files gnome
 %defattr(-,root,root,-)
-%{_datadir}/gnome-control-center/default-apps
+%{_datadir}/gnome-control-center/default-apps/
 
 
 %changelog
+* Sun Sep 30 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.9.0-2
+- add icon/mime scriptlets
+- don't own %%{_mandir}/man1
+- BR: qt4-devel
+
 * Mon Jul 31 2009 Jaroslav Reznik <jreznik at redhat.com> - 0.9.0-1
 - Update to 0.9.0
 
@@ -139,4 +162,4 @@ rm -rf $RPM_BUILD_ROOT
 - Location bar's double click selects all
 
 * Wed Aug 13 2008 Jaroslav Reznik <jreznik at redhat.com> - 0.3-1  
-- Initial spec file 
\ No newline at end of file
+- Initial spec file 




More information about the fedora-extras-commits mailing list