%define gitref 7657cf74bf86499919689de05ec9db7349f3f219 %define gitref_short 7657cf %define name notify-sharp %define version 0.4.0 %define release %mkrel 6.git.%{gitref_short}.2 Summary: C# desktop notification client Name: %{name} Version: %{version} Release: %{release} License: MIT Group: System/Libraries Url: https://github.com/manish/notify-sharp # downloaded from https://github.com/manish/notify-sharp/tree/%{gitref} # Old URLs for download don't work anymore Source0: notify-sharp-%{gitref}.zip Patch0: notify-sharp-0.4.0-6.git.7657cf.1-fix-pkgconfig-path.patch BuildRequires: mono-devel BuildRequires: monodoc BuildRequires: gtk-sharp2 BuildRequires: dbus-sharp-glib-devel BuildArch: noarch %define _requires_exceptions lib.*glib %description notify-sharp 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 user of something without interrupting their work with a dialog box that they must close. Passive popups can automatically disappear after a short period of time. %package devel Summary: Development files for %name Group: Development/Other Requires: %name = %version-%release %description devel dbus-sharp is a C# implementation of D-Bus. It's often referred to as "managed D-Bus" to avoid confusion with existing bindings (which wrap libdbus). D-Bus is an inter-process communication framework that lets applications interface with the system event bus as well as allowing them to talk to one another in a peer-to-peer configuration. %package doc Summary: Development documentation for %name Group: Development/Other Requires(post): mono-tools >= 1.1.9 Requires(postun): mono-tools >= 1.1.9 %description doc This package contains the API documentation for the %name in Monodoc format. %prep %setup -q -n notify-sharp-%{gitref} %patch0 %build ./configure --prefix=%_prefix make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std pkgconfigdir=%_datadir/pkgconfig %post doc %_bindir/monodoc --make-index > /dev/null %postun doc if [ "$1" = "0" -a -x %_bindir/monodoc ]; then %_bindir/monodoc --make-index > /dev/null fi %files %defattr(-,root,root) %doc AUTHORS NEWS README %_prefix/lib/mono/gac/notify-sharp %_prefix/lib/mono/notify-sharp %files devel %defattr(-,root,root) %doc ChangeLog %_datadir/pkgconfig/notify-sharp.pc %files doc %defattr(-,root,root) %_prefix/lib/monodoc/sources/notify-sharp-docs.* %changelog * Sat Jan 12 2013 umeabot <umeabot> 0.4.0-6.git.7657cf.2.mga3 + Revision: 361052 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jan 09 2013 stormi <stormi> 0.4.0-6.git.7657cf.1.mga3 + Revision: 344353 - fix pkgconfig path in devel package * Wed Jan 09 2013 stormi <stormi> 0.4.0-6.git.7657cf.mga3 + Revision: 343917 - use more recent sources from https://github.com/manish/notify-sharp * Thu Mar 24 2011 boklm <boklm> 0.4.0-5.mga1 + Revision: 76195 - rebuild for bug #497 * Tue Mar 15 2011 ennael <ennael> 0.4.0-4.mga1 + Revision: 72007 - clean spec file - imported package notify-sharp