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