1 %include /usr/lib/rpm/macros.mono
3 Summary: notify-sharp is a C# client implementation for Desktop Notifications
4 Name: dotnet-notify-sharp
8 Source0: notify-sharp-%{version}.tar.gz
9 # Source0-md5: dc8ea18947afb0801320182c81fc55bd
10 Patch0: %{name}-monodir.patch
11 Group: Development/Libraries
12 URL: http://trac.galago-project.org/wiki/DesktopNotifications
13 BuildRequires: dotnet-gtk-sharp-devel
14 BuildRequires: dotnet-ndesk-dbus-glib-sharp
15 BuildRequires: dotnet-ndesk-dbus-sharp
16 BuildRequires: gtk+2-devel
17 BuildRequires: mono-devel
18 BuildRequires: monodoc
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 notify-sharp is a C# client implementation for Desktop Notifications,
23 i.e. notification-daemon. It is inspired by the libnotify API.
25 Desktop Notifications provide a standard way of doing passive pop-up
26 notifications on the Linux desktop. These are designed to notify the
27 user of something without interrupting their work with a dialog box
28 that they must close. Passive popups can automatically disappear after
29 a short period of time.
32 Summary: Files required for compilation using notify-sharp
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
37 Files required for compilation using notify-sharp.
40 %setup -q -n notify-sharp-%{version}
50 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf "$RPM_BUILD_ROOT"
58 %defattr(644,root,root,755)
59 %dir %{_prefix}/lib/mono/gac/notify-sharp
60 %{_prefix}/lib/mono/gac/notify-sharp/*
63 %defattr(644,root,root,755)
64 %dir %{_prefix}/lib/mono/notify-sharp
65 %{_prefix}/lib/mono/notify-sharp/*.dll
66 %{_pkgconfigdir}/notify-sharp.pc