]>
Commit | Line | Data |
---|---|---|
06d87528 JB |
1 | Summary: C# client implementation for Desktop Notifications |
2 | Summary(pl.UTF-8): Implementacja C# klienta usługi Desktop Notifications | |
281cb044 | 3 | Name: dotnet-notify-sharp3 |
1ef4034a | 4 | Version: 3.0.3 |
db75392d | 5 | Release: 3 |
06d87528 | 6 | License: MIT |
281cb044 ER |
7 | Group: Development/Libraries |
8 | Source0: https://www.meebey.net/projects/notify-sharp/downloads/notify-sharp-%{version}.tar.gz | |
1ef4034a | 9 | # Source0-md5: 827ad0436e6540a8b9f621c3fa77e137 |
281cb044 | 10 | Patch0: monodir.patch |
db75392d | 11 | Patch1: notify-sharp-dbus.patch |
281cb044 | 12 | URL: https://www.meebey.net/projects/notify-sharp/ |
06d87528 | 13 | BuildRequires: autoconf >= 2.50 |
281cb044 | 14 | BuildRequires: automake |
06d87528 JB |
15 | BuildRequires: dotnet-dbus-sharp-devel >= 1:0.7 |
16 | BuildRequires: dotnet-dbus-sharp-glib-devel >= 0.5 | |
17 | BuildRequires: dotnet-gtk-sharp3-devel >= 2.99.1 | |
db75392d | 18 | BuildRequires: gtk+3-devel >= 3.0 |
06d87528 JB |
19 | BuildRequires: mono-csharp >= 1.1.13 |
20 | BuildRequires: mono-devel >= 1.1.13 | |
21 | BuildRequires: mono-monodoc >= 1.1.18 | |
281cb044 | 22 | BuildRequires: pkgconfig |
db75392d | 23 | BuildRequires: rpmbuild(macros) >= 2.015 |
06d87528 JB |
24 | Requires: dotnet-dbus-sharp >= 1:0.7 |
25 | Requires: dotnet-dbus-sharp-glib >= 0.5 | |
26 | Requires: dotnet-gtk-sharp3 >= 2.99.1 | |
27 | Requires: mono >= 1.1.13 | |
281cb044 ER |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
db75392d JB |
30 | # no native code |
31 | %define _enable_debug_packages 0 | |
32 | ||
281cb044 | 33 | %description |
06d87528 JB |
34 | notify-sharp (Notify#) is a C# client implementation for Desktop |
35 | Notifications, i.e. notification-daemon. It is inspired by the | |
36 | libnotify API. | |
281cb044 ER |
37 | |
38 | Desktop Notifications provide a standard way of doing passive pop-up | |
39 | notifications on the Linux desktop. These are designed to notify the | |
40 | user of something without interrupting their work with a dialog box | |
41 | that they must close. Passive popups can automatically disappear after | |
42 | a short period of time. | |
43 | ||
06d87528 JB |
44 | %description -l pl.UTF-8 |
45 | notify-sharp (Notify#) to implementacja w C# klienta usługi Desktop | |
46 | Notifications (powiadomień w środowisku graficznym), tj. usługi | |
47 | notification-daemon. Jest zainspirowana API biblioteki libnotify. | |
48 | ||
49 | Desktop Notifications to usługa zapewniająca standardową metodę | |
50 | wykonywania pasywnych powiadomień poprzez wyskakujące okienka na | |
51 | pulpicie Linuksa. Jest zaprojektowana w celu powiadamiania użytkownika | |
52 | o jakimś zdarzeniu bez przerywania pracy oknem dialogowym, które | |
53 | trzeba zamknąć. Pasywne wyskakujące okienka mogą znikać automatycznie | |
54 | po krótkim okresie czasu. | |
55 | ||
281cb044 | 56 | %package devel |
06d87528 JB |
57 | Summary: Development files for notify-sharp library |
58 | Summary(pl.UTF-8): Pliki programistyczne biblioteki notify-sharp | |
281cb044 ER |
59 | Group: Development/Libraries |
60 | Requires: %{name} = %{version}-%{release} | |
06d87528 JB |
61 | Requires: dotnet-gtk-sharp3-devel >= 2.99.1 |
62 | Requires: mono-devel >= 1.1.13 | |
281cb044 ER |
63 | |
64 | %description devel | |
06d87528 JB |
65 | Development files for notify-sharp library. |
66 | ||
67 | %description devel -l pl.UTF-8 | |
68 | Pliki programistyczne biblioteki notify-sharp. | |
281cb044 ER |
69 | |
70 | %prep | |
71 | %setup -q -n notify-sharp-%{version} | |
72 | %patch0 -p1 | |
db75392d | 73 | %patch1 -p1 |
281cb044 ER |
74 | |
75 | %build | |
281cb044 ER |
76 | %{__aclocal} |
77 | %{__autoconf} | |
78 | %{__automake} | |
db75392d JB |
79 | %configure \ |
80 | GMCS=/usr/bin/mcs | |
281cb044 ER |
81 | |
82 | %{__make} | |
83 | ||
84 | %install | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | %{__make} install \ | |
87 | DESTDIR=$RPM_BUILD_ROOT | |
88 | ||
89 | %clean | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %files | |
93 | %defattr(644,root,root,755) | |
06d87528 | 94 | %doc AUTHORS COPYING ChangeLog NEWS README |
281cb044 | 95 | %dir %{_prefix}/lib/mono/gac/notify-sharp |
06d87528 | 96 | %{_prefix}/lib/mono/gac/notify-sharp/3.0.0.0__* |
281cb044 ER |
97 | |
98 | %files devel | |
99 | %defattr(644,root,root,755) | |
1ef4034a JB |
100 | %dir %{_prefix}/lib/mono/notify-sharp-3.0 |
101 | %{_prefix}/lib/mono/notify-sharp-3.0/notify-sharp.dll | |
06d87528 | 102 | %{_prefix}/lib/monodoc/sources/notify-sharp-3-docs.* |
281cb044 | 103 | %{_pkgconfigdir}/notify-sharp-3.0.pc |