rpms/beagle/devel beagle.spec,1.111,1.112
Matthias Clasen (mclasen)
fedora-extras-commits at redhat.com
Sun Dec 9 07:12:02 UTC 2007
Author: mclasen
Update of /cvs/extras/rpms/beagle/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8945
Modified Files:
beagle.spec
Log Message:
monodoc fixes
Index: beagle.spec
===================================================================
RCS file: /cvs/extras/rpms/beagle/devel/beagle.spec,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- beagle.spec 9 Dec 2007 06:17:43 -0000 1.111
+++ beagle.spec 9 Dec 2007 07:11:28 -0000 1.112
@@ -11,7 +11,7 @@
BuildRequires: mono-devel
BuildRequires: mono-data mono-data-sqlite
-BuildRequires: monodoc
+BuildRequires: monodoc-devel
BuildRequires: gtk-sharp2-gapi gtk-sharp2-devel gnome-sharp-devel mono-web zip libexif-devel
BuildRequires: gsf-sharp-devel >= 0.6
BuildRequires: sqlite-devel > 3.3.1
@@ -45,6 +45,7 @@
Patch3: beagle-0.2.1-spew.patch
Patch4: beagle-0.3.0-runuser.patch
Patch5: beagle-0.2.15.1-libdir.patch
+Patch6: beagle-monodoc.patch
# Mono only available on these:
ExclusiveArch: %ix86 x86_64 ppc ia64 armv4l sparc alpha
@@ -86,7 +87,9 @@
# for /usr/lib/pkgconfig
Requires: pkgconfig
# for /usr/lib/monodoc/
-Requires: monodoc
+Requires: monodoc
+Requires(post): monodoc
+Requires(postun): monodoc
%description devel
The beagle-devel package contains documentation and other materials
@@ -98,6 +101,7 @@
%patch3 -p1 -b .spew
%patch4 -p1 -b .runuser
%patch5 -p1 -b .libdir
+%patch6 -p1 -b .monodoc
%build
autoconf
@@ -188,6 +192,16 @@
echo "$ffdir/extensions/$id" > %{_libdir}/beagle/beagle-plugin-path
fi
+%post devel
+if [ -x %{_bindir}/monodoc ]; then
+ %{_bindir}/monodoc --make-index > /dev/null
+fi
+
+%postun devel
+if [ "$1" = "0" -a -x %{_bindir}/monodoc ]; then
+ %{_bindir}/monodoc --make-index > /dev/null
+fi
+
%clean
rm -rf $RPM_BUILD_ROOT
More information about the scm-commits
mailing list