rpms/qbittorrent/F-9 qbittorrent.spec,1.1,1.2
Leigh Scott
leigh123linux at fedoraproject.org
Tue Jun 23 20:53:02 UTC 2009
Author: leigh123linux
Update of /cvs/pkgs/rpms/qbittorrent/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19610
Modified Files:
qbittorrent.spec
Log Message:
* Tue Jun 23 2009 Leigh Scott <leigh123linux at googlemail.com> - 0.9.3-2
- replace update-mime-database with update-desktop-database
- update scriplets to the latest guidelines
- clean up white space
Index: qbittorrent.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qbittorrent/F-9/qbittorrent.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- qbittorrent.spec 24 Feb 2009 15:59:07 -0000 1.1
+++ qbittorrent.spec 23 Jun 2009 20:52:32 -0000 1.2
@@ -1,7 +1,7 @@
Name: qbittorrent
Summary: A Bittorrent Client
Version: 0.9.3
-Release: 1%{dist}
+Release: 2%{dist}
Source0: http://dl.sourceforge.net/sourceforge/qbittorrent/%{name}-%{version}.tar.gz
Patch0: qbittorrent_flag.patch
URL: http://sourceforge.net/projects/qbittorrent
@@ -16,7 +16,6 @@ BuildRequires: zziplib-devel
BuildRequires: rb_libtorrent-devel >= 0.12.1
BuildRequires: curl-devel
-
%description
A Bittorrent client using rb_libtorrent and a Qt4 Graphical User Interface.
It aims to be as fast as possible and to provide multi-OS, unicode support.
@@ -38,42 +37,42 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT
make INSTALL_ROOT=$RPM_BUILD_ROOT install
-
-desktop-file-install --vendor="" \
+desktop-file-install \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications/ \
--delete-original \
$RPM_BUILD_ROOT%{_datadir}/applications/qBittorrent.desktop
-
-
%clean
rm -rf $RPM_BUILD_ROOT
%post
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
-update-mime-database %{_datadir}/mime &> /dev/null || :
-
+update-desktop-database &> /dev/null || :
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+update-desktop-database &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
-update-mime-database %{_datadir}/mime &> /dev/null || :
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%defattr(-, root, root, -)
%doc README NEWS COPYING AUTHORS TODO Changelog
%{_mandir}/man1/qbittorrent.1*
-%{_bindir}/%{name}
+%{_bindir}/qbittorrent
%{_datadir}/applications/qBittorrent.desktop
%{_datadir}/icons/hicolor/*/apps/qbittorrent.png
%changelog
+* Tue Jun 23 2009 Leigh Scott <leigh123linux at googlemail.com> - 0.9.3-2
+- replace update-mime-database with update-desktop-database
+- update scriplets to the latest guidelines
+- clean up white space
+
* Thu Feb 12 2009 Leigh Scott <leigh123linux at googlemail.com> - 0.9.3-1
- clean up spec file.
More information about the fedora-extras-commits
mailing list