]>
Commit | Line | Data |
---|---|---|
980116a4 PZ |
1 | %include /usr/lib/rpm/macros.mono |
2 | ||
5a0f742d | 3 | Summary: notify-sharp is a C# client implementation for Desktop Notifications |
980116a4 | 4 | Name: dotnet-notify-sharp |
5a0f742d | 5 | Version: 0.4.0 |
01afff64 | 6 | Release: 2 |
5a0f742d | 7 | License: X11/MIT |
980116a4 PZ |
8 | Source0: notify-sharp-%{version}.tar.gz |
9 | # Source0-md5: dc8ea18947afb0801320182c81fc55bd | |
10 | Patch0: %{name}-monodir.patch | |
11 | Group: Development/Libraries | |
5a0f742d | 12 | URL: http://trac.galago-project.org/wiki/DesktopNotifications |
13 | BuildRequires: dotnet-gtk-sharp-devel | |
980116a4 PZ |
14 | BuildRequires: dotnet-ndesk-dbus-glib-sharp |
15 | BuildRequires: dotnet-ndesk-dbus-sharp | |
5a0f742d | 16 | BuildRequires: gtk+2-devel |
17 | BuildRequires: mono-devel | |
18 | BuildRequires: monodoc | |
5a0f742d | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
5a0f742d | 20 | |
21 | %description | |
22 | notify-sharp is a C# client implementation for Desktop Notifications, | |
23 | i.e. notification-daemon. It is inspired by the libnotify API. | |
24 | ||
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. | |
30 | ||
980116a4 PZ |
31 | %package devel |
32 | Summary: Files required for compilation using notify-sharp | |
33 | Group: Development/Libraries | |
01afff64 | 34 | Requires: %{name} = %{version}-%{release} |
980116a4 | 35 | |
5a0f742d | 36 | %description devel |
37 | Files required for compilation using notify-sharp. | |
38 | ||
39 | %prep | |
40 | %setup -q -n notify-sharp-%{version} | |
980116a4 | 41 | %patch0 -p1 |
5a0f742d | 42 | |
43 | %build | |
44 | %configure \ | |
980116a4 | 45 | --disable-docs |
5a0f742d | 46 | |
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
5a0f742d | 53 | |
54 | %clean | |
55 | rm -rf "$RPM_BUILD_ROOT" | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %dir %{_prefix}/lib/mono/gac/notify-sharp | |
60 | %{_prefix}/lib/mono/gac/notify-sharp/* | |
61 | ||
62 | %files devel | |
980116a4 | 63 | %defattr(644,root,root,755) |
5a0f742d | 64 | %dir %{_prefix}/lib/mono/notify-sharp |
980116a4 | 65 | %{_prefix}/lib/mono/notify-sharp/*.dll |
5a0f742d | 66 | %{_pkgconfigdir}/notify-sharp.pc |