]> git.pld-linux.org Git - packages/mono-tools.git/blob - mono-tools.spec
- mono is supported on alpha,sparc* now
[packages/mono-tools.git] / mono-tools.spec
1 #
2 # Conditional build:
3 %bcond_without  gecko           # don't build gecko html renderer
4 #
5 %include        /usr/lib/rpm/macros.mono
6 Summary:        Mono Tools
7 Summary(pl.UTF-8):      Narzędzia do mono
8 Name:           mono-tools
9 Version:        1.2.3
10 Release:        1
11 License:        GPL
12 Group:          Development/Tools
13 Source0:        http://go-mono.com/sources/mono-tools/%{name}-%{version}.tar.gz
14 # Source0-md5:  c52378128076b57ee8718ddb16725336
15 URL:            http://www.go-mono.com/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 %{?with_gecko:BuildRequires:    dotnet-gecko-sharp2-devel >= 0.11}
19 BuildRequires:  dotnet-gnome-sharp-devel >= 2.15.0
20 BuildRequires:  mono-compat-links
21 BuildRequires:  monodoc >= 1.1.16
22 BuildRequires:  pkgconfig
23 BuildRequires:  rpmbuild(monoautodeps)
24 Requires:       mono-tools-html-renderer
25 ExcludeArch:    i386
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Mono Tools is a collection of development and testing programs and
30 utilities for use with Mono.
31
32 %description -l pl.UTF-8
33 Mono Tools jest kolekcją rozwojowych i testowych programów oraz
34 narzędzi do użycia z Mono.
35
36 %package gecko
37 Summary:        Gecko based monodoc HTML renderer
38 Summary(pl.UTF-8):      Oparty na gecko wyświetlacz HTML-a dla monodoc
39 Group:          Development/Tools
40 Requires:       %{name} = %{version}-%{release}
41 Provides:       mono-tools-html-renderer
42
43 %description gecko
44 Gecko based monodoc HTML renderer. Used instead of GtkHTML based
45 renderer.
46
47 %description gecko -l pl.UTF-8
48 Oparty na gecko wyświetlacz HTML-a dla monodoc. Jest używany zamiast
49 wyświetlacza opartego na GtkHTML.
50
51 %package gtkhtml
52 Summary:        GtkHTML based monodoc HTML renderer
53 Summary(pl.UTF-8):      Oparty na GtkHTML wyświetlacz HTML-a dla monodoc
54 Group:          Development/Tools
55 Requires:       %{name} = %{version}-%{release}
56 Provides:       mono-tools-html-renderer
57
58 %description gtkhtml
59 GtkHTML based monodoc HTML renderer.
60
61 %description gtkhtml -l pl.UTF-8
62 Oparty na GtkHTML wyświetlacz HTML-a dla monodoc.
63
64 %prep
65 %setup -q
66
67 %build
68 %{__aclocal}
69 %{__autoconf}
70 %{__automake}
71 %configure
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT \
79         monodocdir=%{_libdir}/monodoc
80
81 %find_lang %{name}
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog README
89 %attr(755,root,root) %{_bindir}/create-native-map
90 %attr(755,root,root) %{_bindir}/gasnview
91 %attr(755,root,root) %{_bindir}/gnunit
92 %attr(755,root,root) %{_bindir}/gnunit2
93 %{_prefix}/lib/mono/1.0/*
94 %{_prefix}/lib/mono/2.0/*
95 %{_libdir}/create-native-map
96 %{_libdir}/monodoc/browser.exe
97 %{_desktopdir}/*.desktop
98 %{_pixmapsdir}/*
99 %{_pkgconfigdir}/*.pc
100 %{_mandir}/man1/create-native-map.1*
101
102 %if %{with gecko}
103 %files gecko
104 %defattr(644,root,root,755)
105 %{_libdir}/monodoc/GeckoHtmlRender.dll
106 %endif
107
108 %files gtkhtml
109 %defattr(644,root,root,755)
110 %{_libdir}/monodoc/GtkHtmlHtmlRender.dll
This page took 0.074676 seconds and 3 git commands to generate.