rpms/mono-ndoc/devel mono-ndoc-1.3.1-nowarn.patch, NONE, 1.1 mono-ndoc.spec, NONE, 1.1 ndoc.pc, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tom Callaway (spot) fedora-extras-commits at redhat.com
Fri Apr 11 19:56:13 UTC 2008


Author: spot

Update of /cvs/extras/rpms/mono-ndoc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6753/devel

Modified Files:
	.cvsignore sources 
Added Files:
	mono-ndoc-1.3.1-nowarn.patch mono-ndoc.spec ndoc.pc 
Log Message:

initial commit


mono-ndoc-1.3.1-nowarn.patch:

--- NEW FILE mono-ndoc-1.3.1-nowarn.patch ---
diff -up mono-ndoc-1.3.1/src/Documenter/LinearHtml/LinearHtml.build.nowarn mono-ndoc-1.3.1/src/Documenter/LinearHtml/LinearHtml.build
--- mono-ndoc-1.3.1/src/Documenter/LinearHtml/LinearHtml.build.nowarn	2008-04-10 15:17:36.000000000 -0400
+++ mono-ndoc-1.3.1/src/Documenter/LinearHtml/LinearHtml.build	2008-04-10 15:19:04.000000000 -0400
@@ -4,6 +4,8 @@
 		<csc target="library" warnaserror="true" output="${current.bin.dir}/${nant.project.name}.dll" debug="${current.build.debug}" optimize="${current.build.optimize}" unsafe="false" checked="false" define="${current.build.defines}" doc="${current.bin.dir}/${nant.project.name}.xml">
 			<nowarn>
 				<warning number="0618" unless="${framework::get-target-framework() == 'net-2.0'}" />
+                                <!-- ignore unused private methods -->
+                                <warning number="169" />
 			</nowarn>
 			<warnaserror>
 				<!-- do not treat obsolete warnings as error on .NET 2.0 -->
diff -up mono-ndoc-1.3.1/src/Documenter/Msdn2/Msdn2.build.nowarn mono-ndoc-1.3.1/src/Documenter/Msdn2/Msdn2.build
--- mono-ndoc-1.3.1/src/Documenter/Msdn2/Msdn2.build.nowarn	2008-04-10 15:16:27.000000000 -0400
+++ mono-ndoc-1.3.1/src/Documenter/Msdn2/Msdn2.build	2008-04-10 15:17:02.000000000 -0400
@@ -8,6 +8,10 @@
 				<!-- do not treat usage of AssemblyKeyFile attribute as error on .NET 2.0 -->
 				<exclude number="1699" if="${framework::get-target-framework() == 'net-2.0'}" />
 			</warnaserror>
+                        <nowarn>
+                                <!-- ignore unused private methods -->
+                                <warning number="169" />
+                        </nowarn>
 			<sources>
 				<include name="**/*.cs" />
 				<include name="../../CommonAssemblyInfo.cs" />
diff -up mono-ndoc-1.3.1/src/Documenter/Msdn/Msdn.build.nowarn mono-ndoc-1.3.1/src/Documenter/Msdn/Msdn.build
--- mono-ndoc-1.3.1/src/Documenter/Msdn/Msdn.build.nowarn	2008-04-10 15:14:09.000000000 -0400
+++ mono-ndoc-1.3.1/src/Documenter/Msdn/Msdn.build	2008-04-10 15:15:47.000000000 -0400
@@ -8,6 +8,10 @@
 				<!-- do not treat usage of AssemblyKeyFile attribute as error on .NET 2.0 -->
 				<exclude number="1699" if="${framework::get-target-framework() == 'net-2.0'}" />
 			</warnaserror>
+                        <nowarn>
+                                <!-- ignore unused private methods -->
+                                <warning number="169" />
+                        </nowarn>
 			<sources>
 				<include name="**/*.cs" />
 				<include name="../../CommonAssemblyInfo.cs" />


--- NEW FILE mono-ndoc.spec ---
%define debug_package %{nil}

Name:	 	mono-ndoc
Version:	1.3.1
Release:	2%{?dist}
Summary:	Code Documentation Generator for .NET
URL:		http://ndoc.sourceforge.net/
License:	GPLv2+
Group:		System Environment/Libraries
Source0:	http://download.sourceforge.net/sourceforge/ndoc/ndoc-devel-v%{version}.zip
Source1:	ndoc.pc
Patch0:		mono-ndoc-1.3.1-nowarn.patch
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires:	mono-devel, nant
BuildRequires:	unzip
# No nant on ppc/ppc64
ExcludeArch:	ppc64 ppc

%description
NDoc generates class library documentation from .NET assemblies and the XML 
documentation files generated by the C# compiler. NDoc uses pluggable 
documenters to generate documentation in several different formats, including 
the MSDN-style HTML Help format (.chm), the Visual Studio .NET Help format 
(HTML Help 2), and MSDN-online style web pages.

%package devel
Summary:	Code Documentation Generator for .NET
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	pkgconfig

%description devel
Development files for mono-ndoc.

%prep
%setup -q -c -n %{name}-%{version}
%patch0 -p1
%{__sed} -i 's/\r//' COPYING.txt
%{__sed} -i 's/\r//' README.txt

%build
# create a Strong Name key to allow build to run
sn -k NDoc.snk
nant -t:mono-1.0
# This one gets far enough, before throwing an odd windows error.
nant -t:mono-1.0 sdkdoc ||:

%install
rm -rf $RPM_BUILD_ROOT
%{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
cp -p %{S:1} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
%{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/mono/gac/
gacutil -i bin/mono/1.0/NDoc.Core.dll -f -package ndoc -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i bin/mono/1.0/NDoc.Documenter.JavaDoc.dll -f -package ndoc -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i bin/mono/1.0/NDoc.Documenter.Latex.dll -f -package ndoc -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i bin/mono/1.0/NDoc.Documenter.LinearHtml.dll -f -package ndoc -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i bin/mono/1.0/NDoc.Documenter.Msdn2.dll -f -package ndoc -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i bin/mono/1.0/NDoc.Documenter.Msdn.dll -f -package ndoc -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i bin/mono/1.0/NDoc.Documenter.Xml.dll -f -package ndoc -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i bin/mono/1.0/NDoc.ExtendedUI.dll -f -package ndoc -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i bin/mono/1.0/NDoc.Test.dll -f -package ndoc -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i bin/mono/1.0/NDoc.VisualStudio.dll -f -package ndoc -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i bin/mono/1.0/NDocConsole.exe -f -package ndoc -root ${RPM_BUILD_ROOT}/%{_libdir}

# Cleanup docs
%{__sed} -i 's/\r//' doc/sdk/ndoc.log
%{__sed} -i 's/\r//' doc/sdk/ndoc.js
%{__sed} -i 's/\r//' doc/sdk/ndoc.css
%{__sed} -i 's/\r//' doc/sdk/tree.css
%{__sed} -i 's/\r//' doc/sdk/MSDN.css
%{__sed} -i 's/\r//' doc/sdk/tree.js
iconv -f iso-8859-1 -t utf-8 -o doc/sdk/tree.js{.utf8,}
mv doc/sdk/tree.js{.utf8,}

# Sometimes this temp dir sticks around. We don't want it.
rm -rf doc/sdk/ndoc_msdn_temp

%clean
rm -rf -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc COPYING.txt README.txt
%{_libdir}/mono/gac/NDoc*/
%{_libdir}/mono/ndoc

%files devel
%defattr(-,root,root,-)
%doc doc/sdk/
%{_libdir}/pkgconfig/ndoc.pc

%changelog
* Fri Apr 11 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.3.1-2
- disable debuginfo package
- cleanup leftover temp docdir
- add ppc (no nant) to ExcludeArch

* Thu Apr 10 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.3.1-1
- initial package for Fedora


--- NEW FILE ndoc.pc ---
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib

Name: ndoc
Description: ndoc - Code Documentation Generator for .NET
Version: 1.3.1
Libs: -r:${libdir}/mono/ndoc/NDoc.Core.dll -r:${libdir}/mono/ndoc/NDoc.Documenter.JavaDoc.dll -r:${libdir}/mono/ndoc/NDoc.Documenter.Latex.dll -r:${libdir}/mono/ndoc/NDoc.Documenter.LinearHtml.dll -r:${libdir}/mono/ndoc/NDoc.Documenter.Msdn2.dll -r:${libdir}/mono/ndoc/NDoc.Documenter.Msdn.dll -r:${libdir}/mono/ndoc/NDoc.Documenter.Xml.dll -r:${libdir}/mono/ndoc/NDoc.ExtendedUI.dll -r:${libdir}/mono/ndoc/NDoc.Test.dll -r:${libdir}/mono/ndoc/NDoc.VisualStudio.dll


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mono-ndoc/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	11 Apr 2008 19:52:04 -0000	1.1
+++ .cvsignore	11 Apr 2008 19:55:31 -0000	1.2
@@ -0,0 +1 @@
+ndoc-devel-v1.3.1.zip


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mono-ndoc/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Apr 2008 19:52:04 -0000	1.1
+++ sources	11 Apr 2008 19:55:31 -0000	1.2
@@ -0,0 +1 @@
+8950a53dd3c379e41781ba7f1834e948  ndoc-devel-v1.3.1.zip




More information about the scm-commits mailing list