]> git.pld-linux.org Git - packages/dotnet-notify-sharp.git/blame - dotnet-notify-sharp.spec
- added dbus patch (adjust for dbus-sharp 2.0 API); release 2
[packages/dotnet-notify-sharp.git] / dotnet-notify-sharp.spec
CommitLineData
71e5b04a
JB
1Summary: C# client implementation for Desktop Notifications
2Summary(pl.UTF-8): Implementacja C# klienta usługi Desktop Notifications
980116a4 3Name: dotnet-notify-sharp
71e5b04a 4Version: 0.4.1
fd079bee 5Release: 2
71e5b04a
JB
6License: MIT
7Group: Libraries
8Source0: https://www.meebey.net/projects/notify-sharp/downloads/notify-sharp-%{version}.tar.gz
9# Source0-md5: 46fcb7a6b9b1cd0241366b8234e31e37
980116a4 10Patch0: %{name}-monodir.patch
fd079bee 11Patch1: notify-sharp-dbus.patch
71e5b04a
JB
12URL: https://www.meebey.net/projects/notify-sharp/
13BuildRequires: autoconf >= 2.50
56725256 14BuildRequires: automake
71e5b04a
JB
15BuildRequires: dotnet-dbus-sharp-devel >= 1:0.7
16BuildRequires: dotnet-dbus-sharp-glib-devel >= 0.5
24aee74a 17BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.1
71e5b04a
JB
18BuildRequires: mono-csharp >= 1.1.13
19BuildRequires: mono-devel >= 1.1.13
20BuildRequires: mono-monodoc >= 1.1.18
35bae81a 21BuildRequires: pkgconfig
fd079bee 22BuildRequires: rpmbuild(macros) >= 2.015
71e5b04a
JB
23Requires: dotnet-dbus-sharp >= 1:0.7
24Requires: dotnet-dbus-sharp-glib >= 0.5
25Requires: dotnet-gtk-sharp2 >= 2.10.1
26Requires: mono >= 1.1.13
5a0f742d 27BuildRoot: %{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
33notify-sharp (Notify#) is a C# client implementation for Desktop
34Notifications, i.e. notification-daemon. It is inspired by the
35libnotify API.
5a0f742d 36
37Desktop Notifications provide a standard way of doing passive pop-up
38notifications on the Linux desktop. These are designed to notify the
39user of something without interrupting their work with a dialog box
40that they must close. Passive popups can automatically disappear after
41a short period of time.
42
71e5b04a
JB
43%description -l pl.UTF-8
44notify-sharp (Notify#) to implementacja w C# klienta usługi Desktop
45Notifications (powiadomień w środowisku graficznym), tj. usługi
46notification-daemon. Jest zainspirowana API biblioteki libnotify.
47
48Desktop Notifications to usługa zapewniająca standardową metodę
49wykonywania pasywnych powiadomień poprzez wyskakujące okienka na
50pulpicie Linuksa. Jest zaprojektowana w celu powiadamiania użytkownika
51o jakimś zdarzeniu bez przerywania pracy oknem dialogowym, które
52trzeba zamknąć. Pasywne wyskakujące okienka mogą znikać automatycznie
53po krótkim okresie czasu.
54
980116a4 55%package devel
71e5b04a
JB
56Summary: Development files for notify-sharp library
57Summary(pl.UTF-8): Pliki programistyczne biblioteki notify-sharp
980116a4 58Group: Development/Libraries
01afff64 59Requires: %{name} = %{version}-%{release}
71e5b04a
JB
60Requires: dotnet-gtk-sharp2-devel >= 2.10.1
61Requires: mono-devel >= 1.1.13
980116a4 62
5a0f742d 63%description devel
71e5b04a
JB
64Development files for notify-sharp library.
65
66%description devel -l pl.UTF-8
67Pliki 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
84rm -rf $RPM_BUILD_ROOT
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
5a0f742d 87
88%clean
5aceae32 89rm -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
This page took 0.211521 seconds and 4 git commands to generate.