]> git.pld-linux.org Git - packages/dotnet-notify-sharp.git/blob - dotnet-notify-sharp.spec
- rel 2
[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:        2
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 Requires:       %{name} = %{version}-%{release}
35
36 %description devel
37 Files required for compilation using notify-sharp.
38
39 %prep
40 %setup -q -n notify-sharp-%{version}
41 %patch0 -p1
42
43 %build
44 %configure \
45         --disable-docs
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf "$RPM_BUILD_ROOT"
56
57 %files
58 %defattr(644,root,root,755)
59 %dir %{_prefix}/lib/mono/gac/notify-sharp
60 %{_prefix}/lib/mono/gac/notify-sharp/*
61
62 %files devel
63 %defattr(644,root,root,755)
64 %dir %{_prefix}/lib/mono/notify-sharp
65 %{_prefix}/lib/mono/notify-sharp/*.dll
66 %{_pkgconfigdir}/notify-sharp.pc
This page took 0.06139 seconds and 3 git commands to generate.