--- libnotify-sharp.spec.old 2008-10-26 20:56:06 +0300 +++ libnotify-sharp.spec 2008-11-21 13:56:38 +0300 @@ -6,13 +6,17 @@ License: X11/MIT Url: http://trac.galago-project.org/wiki/DesktopNotifications Packager: Vitaly Lipatov - -Source: %oname-%version.tar.gz Group: Development/Other Summary: notify-sharp is a C# client implementation for Desktop Notifications -# Automatically added by buildreq on Sun Oct 26 2008 -BuildRequires: libgcc libgtk-sharp2 mono-mcs ndesk-dbus-glib +Source: %oname-%version.tar.gz +Patch1: %oname-0.4.0-alt-fix-path.patch + +# Automatically added by buildreq on Fri Nov 21 2008 +BuildRequires: libgtk-sharp2 mono-mcs monodoc ndesk-dbus-glib + +BuildPreReq: rpm-build-mono +BuildRequires: /proc %description notify-sharp is a C# client implementation for Desktop Notifications, @@ -32,24 +36,36 @@ %description devel Header files for %name library. +%package monodoc +Summary: Development documentation for %name +Group: Development/Other +BuildArch: noarch + +%description monodoc +This package contains the API documentation for %name in Monodoc format. + %prep %setup -n %oname-%version +%patch1 -p1 %build -%configure --disable-docs +%autoreconf +%configure --disable-static %make_build %install -%makeinstall_std +%make_install install DESTDIR=%buildroot %files -%dir %_monogacdir/notify-sharp -%_monogacdir/notify-sharp/* -%dir %_monodir/notify-sharp -%_monodir/notify-sharp/* +%doc AUTHORS COPYING ChangeLog NEWS README +%_monogacdir/* +%_monodir/%oname %files devel -%_pkgconfigdir/notify-sharp.pc +%_pkgconfigdir/%oname.pc + +%files monodoc +%_monodocdir/sources/%oname-docs.* %changelog * Sun Oct 26 2008 Vitaly Lipatov 0.4.0-alt1