rpms/monsoon/F-9 import.log, NONE, 1.1 monsoon-0.20-handle-root-only-perm.patch, NONE, 1.1 monsoon-desktopfile.patch, NONE, 1.1 monsoon.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
David Nielsen
dnielsen at fedoraproject.org
Mon Mar 2 10:52:49 UTC 2009
Author: dnielsen
Update of /cvs/pkgs/rpms/monsoon/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23628/F-9
Modified Files:
.cvsignore sources
Added Files:
import.log monsoon-0.20-handle-root-only-perm.patch
monsoon-desktopfile.patch monsoon.spec
Log Message:
initial import
--- NEW FILE import.log ---
monsoon-0_20-2_fc9:F-9:monsoon-0.20-2.fc9.src.rpm:1235991063
monsoon-0.20-handle-root-only-perm.patch:
--- NEW FILE monsoon-0.20-handle-root-only-perm.patch ---
# http://anonsvn.mono-project.com/viewvc?view=rev&revision=127458
diff -uraN monsoon-0.20.orig/Monsoon/TorrentController.cs monsoon-0.20/Monsoon/TorrentController.cs
--- monsoon-0.20.orig/Monsoon/TorrentController.cs 2009-02-26 23:31:23.794260634 +0100
+++ monsoon-0.20/Monsoon/TorrentController.cs 2009-02-26 23:34:42.605013073 +0100
@@ -278,7 +278,7 @@
if (File.Exists (newPath))
File.Delete (newPath);
- File.Copy (torrentPath, newPath, true);
+ File.WriteAllBytes (newPath, File.ReadAllBytes (torrentPath));
Torrent t = Torrent.Load (newPath);
for (int i=0; i < torrent.Files.Length; i++)
@@ -451,7 +451,7 @@
if (Path.GetDirectoryName (args.TorrentPath) != MainWindow.Preferences.TorrentStorageLocation)
{
logger.Info ("Copying: {0} to {1}", args.TorrentPath, newPath);
- File.Copy(args.TorrentPath, newPath ,true);
+ File.WriteAllBytes (newPath, File.ReadAllBytes (args.TorrentPath));
if(prefSettings.RemoveOnImport)
File.Delete(args.TorrentPath);
}
monsoon-desktopfile.patch:
--- NEW FILE monsoon-desktopfile.patch ---
# Make desktop file compliant with specification
diff -uraN monsoon-0.15.orig/Monsoon/monsoon.desktop monsoon-0.15/Monsoon/monsoon.desktop
--- monsoon-0.15.orig/Monsoon/monsoon.desktop 2008-07-12 03:39:53.000000000 +0200
+++ monsoon-0.15/Monsoon/monsoon.desktop 2008-07-12 03:40:28.000000000 +0200
@@ -6,13 +6,13 @@
Exec=monsoon
Terminal=false
Type=Application
-Categories=GNOME;Internet;FileTransfer;Network;
+Categories=GNOME;X-Internet;FileTransfer;Network;
X-GNOME-Bugzilla-Bugzilla=Novell
X-GNOME-Bugzilla-Product=Mono:Tools
X-GNOME-Bugzilla-Component=Monsoon
X-Desktop-File-Install-Version=0.9
OnlyShowIn=GNOME;
Name[en_GB]=Monsoon
-Icon=stock_weather-showers.png
+Icon=stock_weather-showers
GenericName=BitTorrent Client
MimeType=application/x-bittorrent;
--- NEW FILE monsoon.spec ---
%define debug_package %{nil}
Name: monsoon
Version: 0.20
Release: 2%{?dist}
Summary: Bittorrent client based on MonoTorrent
Group: Development/Languages
License: MIT
URL: http://www.monsoon-project.org
Source0: http://www.monsoon-project.org/jaws/data/files/%{name}-%{version}.tar.gz
Patch0: monsoon-desktopfile.patch
Patch1: monsoon-0.20-handle-root-only-perm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ndesk-dbus-glib-devel, monotorrent-devel >= 0.70, mono-nat-devel >= 1.0, mono-devel, gtk-sharp2-devel, gnome-sharp-devel, desktop-file-utils, gettext-devel, perl-XML-Parser, intltool
# Bug 241850 - no Mono on pp64
ExclusiveArch: %ix86 x86_64 ia64 armv4l sparc alpha
%description
Monsoon is a Bittorrent client written in Mono and GTK#
%prep
%setup -q
%patch0 -p1 -b .patch
%patch1 -p1 -b .patch
%build
%configure
make %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
make DESTDIR=%{buildroot} install
desktop-file-install --vendor gnome --delete-original \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/monsoon.desktop
%find_lang %{name}
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/monsoon
%{_libdir}/monsoon/
%{_datadir}/applications/
%changelog
* Fri Feb 27 2009 David Nielsen <gnomeuser at gmail.com> - 0.20-2
- Disable ppc due to build error
* Fri Feb 20 2009 David Nielsen <gnomeuser at gmail.com> - 0.20-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/monsoon/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 27 Feb 2009 00:18:12 -0000 1.1
+++ .cvsignore 2 Mar 2009 10:52:19 -0000 1.2
@@ -0,0 +1 @@
+monsoon-0.20.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/monsoon/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 27 Feb 2009 00:18:12 -0000 1.1
+++ sources 2 Mar 2009 10:52:19 -0000 1.2
@@ -0,0 +1 @@
+1530450ee43d6103c063ea7d940854a9 monsoon-0.20.tar.gz
More information about the scm-commits
mailing list