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