]> git.pld-linux.org Git - packages/dotnet-notify-sharp.git/blob - dotnet-notify-sharp.spec
c8b6321cd92265fbbc9a49e16784623d7dfe1f51
[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:        3
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:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  dotnet-gtk-sharp-devel
16 BuildRequires:  dotnet-ndesk-dbus-glib-sharp
17 BuildRequires:  dotnet-ndesk-dbus-sharp
18 BuildRequires:  gtk+2-devel
19 BuildRequires:  libtool
20 BuildRequires:  mono-devel
21 BuildRequires:  monodoc
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 notify-sharp is a C# client implementation for Desktop Notifications,
26 i.e. notification-daemon. It is inspired by the libnotify API.
27
28 Desktop Notifications provide a standard way of doing passive pop-up
29 notifications on the Linux desktop. These are designed to notify the
30 user of something without interrupting their work with a dialog box
31 that they must close. Passive popups can automatically disappear after
32 a short period of time.
33
34 %package devel
35 Summary:        Files required for compilation using notify-sharp
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38
39 %description devel
40 Files required for compilation using notify-sharp.
41
42 %prep
43 %setup -q -n notify-sharp-%{version}
44 %patch0 -p1
45
46 %build
47 %{__libtoolize}
48 %{__aclocal}
49 %{__autoconf}
50 %{__automake}
51 %configure \
52         --disable-docs
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %dir %{_prefix}/lib/mono/gac/notify-sharp
67 %{_prefix}/lib/mono/gac/notify-sharp/*
68
69 %files devel
70 %defattr(644,root,root,755)
71 %dir %{_prefix}/lib/mono/notify-sharp
72 %{_prefix}/lib/mono/notify-sharp/*.dll
73 %{_pkgconfigdir}/notify-sharp.pc
This page took 0.059443 seconds and 2 git commands to generate.