]> git.pld-linux.org Git - packages/dotnet-notify-sharp.git/blob - dotnet-notify-sharp.spec
9480a7296b65ab5d26fb4cc8d8fea6bc3184e107
[packages/dotnet-notify-sharp.git] / dotnet-notify-sharp.spec
1 %include        /usr/lib/rpm/macros.mono
2
3 Summary:        notify-sharp is a C# client implementation for Desktop Notifications
4 Name:           dotnet-notify-sharp
5 Version:        0.4.0
6 Release:        1
7 License:        X11/MIT
8 Source0:        notify-sharp-%{version}.tar.gz
9 # Source0-md5:  dc8ea18947afb0801320182c81fc55bd
10 Patch0:         %{name}-monodir.patch
11 Group:          Development/Libraries
12 URL:            http://trac.galago-project.org/wiki/DesktopNotifications
13 BuildRequires:  dotnet-gtk-sharp-devel
14 BuildRequires:  dotnet-ndesk-dbus-glib-sharp
15 BuildRequires:  dotnet-ndesk-dbus-sharp
16 BuildRequires:  gtk+2-devel
17 BuildRequires:  mono-devel
18 BuildRequires:  monodoc
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 notify-sharp is a C# client implementation for Desktop Notifications,
23 i.e. notification-daemon. It is inspired by the libnotify API.
24
25 Desktop Notifications provide a standard way of doing passive pop-up
26 notifications on the Linux desktop. These are designed to notify the
27 user of something without interrupting their work with a dialog box
28 that they must close. Passive popups can automatically disappear after
29 a short period of time.
30
31 %package devel
32 Summary:        Files required for compilation using notify-sharp
33 Group:          Development/Libraries
34
35 %description devel
36 Files required for compilation using notify-sharp.
37
38 %prep
39 %setup -q -n notify-sharp-%{version}
40 %patch0 -p1
41
42 %build
43 %configure \
44         --disable-docs
45
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf "$RPM_BUILD_ROOT"
55
56 %files
57 %defattr(644,root,root,755)
58 %dir %{_prefix}/lib/mono/gac/notify-sharp
59 %{_prefix}/lib/mono/gac/notify-sharp/*
60
61 %files devel
62 %defattr(644,root,root,755)
63 %dir %{_prefix}/lib/mono/notify-sharp
64 %{_prefix}/lib/mono/notify-sharp/*.dll
65 %{_pkgconfigdir}/notify-sharp.pc
This page took 0.106615 seconds and 2 git commands to generate.