]> git.pld-linux.org Git - packages/mono-tools.git/blobdiff - mono-tools.spec
- updated Source0 URL
[packages/mono-tools.git] / mono-tools.spec
index 8207c0c9bd8041e382719acbcb108993b40322ec..4b3d96a67166d100ad33f0f6fe56cc3dff4a2889 100644 (file)
@@ -6,22 +6,25 @@
 Summary:       Mono Tools
 Summary(pl.UTF-8):     Narzędzia do mono
 Name:          mono-tools
-Version:       1.2.4
-Release:       1
-License:       GPL
+Version:       1.9
+Release:       3
+License:       GPL v2
 Group:         Development/Tools
-#Source0Download: http://go-mono.com/sources-stable/
-Source0:       http://go-mono.com/sources/mono-tools/%{name}-%{version}.tar.bz2
-# Source0-md5: 7d193fea94123a3f30f67bca2873c791
-URL:           http://www.go-mono.com/
+# latest downloads summary at http://ftp.novell.com/pub/mono/sources-stable/
+Source0:       http://ftp.novell.com/pub/mono/sources/mono-tools/%{name}-%{version}.tar.bz2
+# Source0-md5: f00eb74bd0f467f81fad3ab62e215e1a
+URL:           http://www.mono-project.com/
 BuildRequires: autoconf
 BuildRequires: automake
-%{?with_gecko:BuildRequires:   dotnet-gecko-sharp2-devel >= 0.11}
-BuildRequires: dotnet-gnome-sharp-devel >= 2.15.0
+%{?with_gecko:BuildRequires:   dotnet-gecko-sharp2-devel >= 0.12}
+BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
+BuildRequires: dotnet-gnome-desktop-sharp-devel
 BuildRequires: mono-compat-links
-BuildRequires: monodoc >= 1.1.16
+BuildRequires: monodoc >= 1.2.6
+BuildRequires: mono-jscript
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(monoautodeps)
+BuildRequires: sed >= 4.0
 Requires:      mono-tools-html-renderer
 ExcludeArch:   i386
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -62,9 +65,42 @@ GtkHTML based monodoc HTML renderer.
 %description gtkhtml -l pl.UTF-8
 Oparty na GtkHTML wyświetlacz HTML-a dla monodoc.
 
+%package gendarme
+Summary:       A tool to find problems in .NET applications and libraries
+Summary(pl.UTF-8):     Narzędzie znajdujące problemy w aplikacjach i bibliotekach .NET
+Group:         Development/Tools
+
+%description gendarme
+Gendarme is a extensible rule-based tool to find problems in .NET
+applications and libraries. Gendarme inspects programs and libraries
+that contain code in ECMA CIL format (Mono and .NET) and looks for
+common problems with the code, problems that compiler do not typically
+check or have not historically checked.
+
+%description gendarme -l pl.UTF-8
+Gendarme to rozszerzalne narzędzie oparte o regułki, znajdujące
+problemy w aplikacjach i bibliotekach .NET. Gendarme przeprowadza
+inspekcję programów i bibliotek w formacie ECMA CIL (Mono i .NET)
+szukając typowych problemów, których często kompilator nie sprawdza,
+lub tych które nie były kiedyś sprawdzane.
+
+%package gui-compare
+Summary:       Compares API changes between different assemblies
+Summary(pl.UTF-8):     Porównuje zmiany API między różnymi assembly
+Group:         Development/Tools
+
+%description gui-compare
+Compares API changes between different assemblies.
+
+%description gui-compare -l pl.UTF-8
+Porównuje zmiany API między różnymi assembly.
+
 %prep
 %setup -q
 
+# as expected by ilcontrast script
+sed -i -e 's,\$(libdir)/ilcontrast,$(prefix)/lib/ilcontrast,' ilcontrast/Makefile.am
+
 %build
 %{__aclocal}
 %{__autoconf}
@@ -77,7 +113,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       assemblydir=%{_libdir}/create-native-map \
        monodocdir=%{_libdir}/monodoc \
        pkgconfigdir=%{_pkgconfigdir}
 
@@ -93,23 +128,38 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/gasnview
 %attr(755,root,root) %{_bindir}/gnunit
 %attr(755,root,root) %{_bindir}/gnunit2
-%attr(755,root,root) %{_bindir}/ilcontrast
-%{_prefix}/lib/mono/1.0/*
-%{_prefix}/lib/mono/2.0/*
-%{_libdir}/create-native-map
-%{_libdir}/ilcontrast
+%{_prefix}/lib/mono/1.0/gasnview.exe
+%{_prefix}/lib/mono/1.0/gnunit.exe
+%{_prefix}/lib/mono/2.0/gnunit2.exe
+%{_prefix}/lib/create-native-map
 %{_libdir}/monodoc/browser.exe
-%{_desktopdir}/*.desktop
-%{_pixmapsdir}/*
-%{_pkgconfigdir}/*.pc
+%{_desktopdir}/monodoc.desktop
+%{_pixmapsdir}/monodoc.png
+%{_pkgconfigdir}/create-native-map.pc
 %{_mandir}/man1/create-native-map.1*
 
 %if %{with gecko}
 %files gecko
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ilcontrast
+%{_prefix}/lib/ilcontrast
 %{_libdir}/monodoc/GeckoHtmlRender.dll
+%{_desktopdir}/ilcontrast.desktop
+%{_pixmapsdir}/ilcontrast.png
 %endif
 
 %files gtkhtml
 %defattr(644,root,root,755)
 %{_libdir}/monodoc/GtkHtmlHtmlRender.dll
+
+%files gendarme
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/gendarme
+%{_prefix}/lib/gendarme
+%{_pkgconfigdir}/gendarme-framework.pc
+%{_mandir}/man1/gendarme.1*
+
+%files gui-compare
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/gui-compare
+%{_prefix}/lib/gui-compare
This page took 0.030907 seconds and 4 git commands to generate.