-%define rel 1
-%define subver 20100411
%include /usr/lib/rpm/macros.mono
-Summary: notify-sharp is a C# client implementation for Desktop Notifications
+Summary: C# client implementation for Desktop Notifications
+Summary(pl.UTF-8): Implementacja C# klienta usługi Desktop Notifications
Name: dotnet-notify-sharp
-Version: 0.4.0
-Release: 4.%{subver}.%{rel}
-License: X11/MIT
-Source0: notify-sharp-%{subver}.tar.bz2
-# Source0-md5: add5e8884a3add412843037453a05ea6
+Version: 0.4.1
+Release: 1
+License: MIT
+Group: Libraries
+Source0: https://www.meebey.net/projects/notify-sharp/downloads/notify-sharp-%{version}.tar.gz
+# Source0-md5: 46fcb7a6b9b1cd0241366b8234e31e37
Patch0: %{name}-monodir.patch
-Group: Development/Libraries
-URL: http://www.ndesk.org/NotifySharp
-BuildRequires: autoconf
+URL: https://www.meebey.net/projects/notify-sharp/
+BuildRequires: autoconf >= 2.50
BuildRequires: automake
+BuildRequires: dotnet-dbus-sharp-devel >= 1:0.7
+BuildRequires: dotnet-dbus-sharp-glib-devel >= 0.5
BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.1
-BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel
-BuildRequires: dotnet-ndesk-dbus-sharp
-BuildRequires: gtk+2-devel
-BuildRequires: libtool
-BuildRequires: mono-csharp
-BuildRequires: mono-devel
+BuildRequires: mono-csharp >= 1.1.13
+BuildRequires: mono-devel >= 1.1.13
+BuildRequires: mono-monodoc >= 1.1.18
BuildRequires: pkgconfig
+Requires: dotnet-dbus-sharp >= 1:0.7
+Requires: dotnet-dbus-sharp-glib >= 0.5
+Requires: dotnet-gtk-sharp2 >= 2.10.1
+Requires: mono >= 1.1.13
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-notify-sharp is a C# client implementation for Desktop Notifications,
-i.e. notification-daemon. It is inspired by the libnotify API.
+notify-sharp (Notify#) is a C# client implementation for Desktop
+Notifications, i.e. notification-daemon. It is inspired by the
+libnotify API.
Desktop Notifications provide a standard way of doing passive pop-up
notifications on the Linux desktop. These are designed to notify the
that they must close. Passive popups can automatically disappear after
a short period of time.
+%description -l pl.UTF-8
+notify-sharp (Notify#) to implementacja w C# klienta usługi Desktop
+Notifications (powiadomień w środowisku graficznym), tj. usługi
+notification-daemon. Jest zainspirowana API biblioteki libnotify.
+
+Desktop Notifications to usługa zapewniająca standardową metodę
+wykonywania pasywnych powiadomień poprzez wyskakujące okienka na
+pulpicie Linuksa. Jest zaprojektowana w celu powiadamiania użytkownika
+o jakimś zdarzeniu bez przerywania pracy oknem dialogowym, które
+trzeba zamknąć. Pasywne wyskakujące okienka mogą znikać automatycznie
+po krótkim okresie czasu.
+
%package devel
-Summary: Files required for compilation using notify-sharp
+Summary: Development files for notify-sharp library
+Summary(pl.UTF-8): Pliki programistyczne biblioteki notify-sharp
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: dotnet-gtk-sharp2-devel >= 2.10.1
+Requires: mono-devel >= 1.1.13
%description devel
-Files required for compilation using notify-sharp.
+Development files for notify-sharp library.
+
+%description devel -l pl.UTF-8
+Pliki programistyczne biblioteki notify-sharp.
%prep
-%setup -q -n notify-sharp-%{subver}
+%setup -q -n notify-sharp-%{version}
%patch0 -p1
%build
-%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__automake}
-%configure \
- --disable-docs
+%configure
%{__make}
%files
%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog NEWS README
%dir %{_prefix}/lib/mono/gac/notify-sharp
-%{_prefix}/lib/mono/gac/notify-sharp/*
+%{_prefix}/lib/mono/gac/notify-sharp/0.4.0.0__*
%files devel
%defattr(644,root,root,755)
%dir %{_prefix}/lib/mono/notify-sharp
-%{_prefix}/lib/mono/notify-sharp/*.dll
+%{_prefix}/lib/mono/notify-sharp/notify-sharp.dll
+%{_prefix}/lib/monodoc/sources/notify-sharp-docs.*
%{_pkgconfigdir}/notify-sharp.pc