SPECS: BitTorrent.spec - rel. 2 for desktop
patrys
patrys at pld-linux.org
Mon Jul 31 20:44:01 CEST 2006
Author: patrys Date: Mon Jul 31 18:44:01 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel. 2 for desktop
---- Files affected:
SPECS:
BitTorrent.spec (1.61 -> 1.62)
---- Diffs:
================================================================
Index: SPECS/BitTorrent.spec
diff -u SPECS/BitTorrent.spec:1.61 SPECS/BitTorrent.spec:1.62
--- SPECS/BitTorrent.spec:1.61 Mon Jul 31 08:41:22 2006
+++ SPECS/BitTorrent.spec Mon Jul 31 20:43:55 2006
@@ -3,11 +3,12 @@
Summary(pl): BitTorrent - narzędzie do rozpowszechniania plików
Name: BitTorrent
Version: 4.20.4
-Release: 1
+Release: 2
License: BitTorrent Open Source License
Group: Applications/Communications
Source0: http://www.bittorrent.com/dl/%{name}-%{version}.tar.gz
# Source0-md5: 6616f6ae8a8460804ce43b3cf4b6f73b
+Source1: %{name}.desktop
Patch0: %{name}-man_pages.patch
Patch1: %{name}-morei18n.patch
URL: http://www.bittorrent.com/
@@ -69,7 +70,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_mandir}/man1}
python ./setup.py install \
--optimize=2 \
@@ -82,11 +83,20 @@
find locale -type f ! -name '*.mo' -exec rm "{}" ";"
cp -a locale/* $RPM_BUILD_ROOT%{_datadir}/locale
+cp $RPM_BUILD_ROOT%{_pixmapsdir}/BitTorrent-%{version}/logo/bittorrent_icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/bittorrent.png
+cp %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+
%find_lang bittorrent
%clean
rm -rf $RPM_BUILD_ROOT
+%post gui
+%update_desktop_database_post
+
+%postun gui
+%update_desktop_database_postun
+
%files -f bittorrent.lang
%defattr(644,root,root,755)
%doc LICENSE.txt README.txt credits.txt
@@ -108,6 +118,8 @@
%attr(755,root,root) %{_bindir}/bittorrent
%attr(755,root,root) %{_bindir}/maketorrent
%{_pixmapsdir}/BitTorrent-%{version}
+%{_pixmapsdir}/bittorrent.png
+%{_desktopdir}/%{name}.desktop
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -115,6 +127,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.62 2006/07/31 18:43:55 patrys
+- rel. 2 for desktop
+
Revision 1.61 2006/07/31 06:41:22 arekm
- 4.20.4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/BitTorrent.spec?r1=1.61&r2=1.62&f=u
More information about the pld-cvs-commit
mailing list