]>
Commit | Line | Data |
---|---|---|
1 | Summary: C# client implementation for Desktop Notifications | |
2 | Summary(pl.UTF-8): Implementacja C# klienta usługi Desktop Notifications | |
3 | Name: dotnet-notify-sharp3 | |
4 | Version: 3.0.3 | |
5 | Release: 3 | |
6 | License: MIT | |
7 | Group: Development/Libraries | |
8 | Source0: https://www.meebey.net/projects/notify-sharp/downloads/notify-sharp-%{version}.tar.gz | |
9 | # Source0-md5: 827ad0436e6540a8b9f621c3fa77e137 | |
10 | Patch0: monodir.patch | |
11 | Patch1: notify-sharp-dbus.patch | |
12 | URL: https://www.meebey.net/projects/notify-sharp/ | |
13 | BuildRequires: autoconf >= 2.50 | |
14 | BuildRequires: automake | |
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 | |
18 | BuildRequires: gtk+3-devel >= 3.0 | |
19 | BuildRequires: mono-csharp >= 1.1.13 | |
20 | BuildRequires: mono-devel >= 1.1.13 | |
21 | BuildRequires: mono-monodoc >= 1.1.18 | |
22 | BuildRequires: pkgconfig | |
23 | BuildRequires: rpmbuild(macros) >= 2.015 | |
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 | |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | # no native code | |
31 | %define _enable_debug_packages 0 | |
32 | ||
33 | %description | |
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. | |
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 | ||
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 | ||
56 | %package devel | |
57 | Summary: Development files for notify-sharp library | |
58 | Summary(pl.UTF-8): Pliki programistyczne biblioteki notify-sharp | |
59 | Group: Development/Libraries | |
60 | Requires: %{name} = %{version}-%{release} | |
61 | Requires: dotnet-gtk-sharp3-devel >= 2.99.1 | |
62 | Requires: mono-devel >= 1.1.13 | |
63 | ||
64 | %description devel | |
65 | Development files for notify-sharp library. | |
66 | ||
67 | %description devel -l pl.UTF-8 | |
68 | Pliki programistyczne biblioteki notify-sharp. | |
69 | ||
70 | %prep | |
71 | %setup -q -n notify-sharp-%{version} | |
72 | %patch0 -p1 | |
73 | %patch1 -p1 | |
74 | ||
75 | %build | |
76 | %{__aclocal} | |
77 | %{__autoconf} | |
78 | %{__automake} | |
79 | %configure \ | |
80 | GMCS=/usr/bin/mcs | |
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) | |
94 | %doc AUTHORS COPYING ChangeLog NEWS README | |
95 | %dir %{_prefix}/lib/mono/gac/notify-sharp | |
96 | %{_prefix}/lib/mono/gac/notify-sharp/3.0.0.0__* | |
97 | ||
98 | %files devel | |
99 | %defattr(644,root,root,755) | |
100 | %dir %{_prefix}/lib/mono/notify-sharp-3.0 | |
101 | %{_prefix}/lib/mono/notify-sharp-3.0/notify-sharp.dll | |
102 | %{_prefix}/lib/monodoc/sources/notify-sharp-3-docs.* | |
103 | %{_pkgconfigdir}/notify-sharp-3.0.pc |