+%define rel 1
+%define subver 20100411
%include /usr/lib/rpm/macros.mono
-
Summary: notify-sharp is a C# client implementation for Desktop Notifications
Name: dotnet-notify-sharp
Version: 0.4.0
-Release: 3
+Release: 4.%{subver}.%{rel}
License: X11/MIT
-Source0: notify-sharp-%{version}.tar.gz
-# Source0-md5: dc8ea18947afb0801320182c81fc55bd
+Source0: http://pkgs.fedoraproject.org/repo/pkgs/notify-sharp/notify-sharp-%{subver}.tar.bz2/add5e8884a3add412843037453a05ea6/notify-sharp-%{subver}.tar.bz2
+# Source0-md5: add5e8884a3add412843037453a05ea6
Patch0: %{name}-monodir.patch
Group: Development/Libraries
-URL: http://trac.galago-project.org/wiki/DesktopNotifications
+URL: http://www.ndesk.org/NotifySharp
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: dotnet-gtk-sharp-devel
+BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.1
BuildRequires: dotnet-ndesk-dbus-glib-sharp
BuildRequires: dotnet-ndesk-dbus-sharp
BuildRequires: gtk+2-devel
Files required for compilation using notify-sharp.
%prep
-%setup -q -n notify-sharp-%{version}
+%setup -q -n notify-sharp-%{subver}
%patch0 -p1
%build