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