]> git.pld-linux.org Git - packages/monodevelop.git/blob - monodevelop.spec
- mono-csharp already require mono-devel
[packages/monodevelop.git] / monodevelop.spec
1 Summary:        Mono IDE
2 Summary(pl):    IDE dla Mono
3 Name:           monodevelop
4 Version:        0.5
5 Release:        1
6 License:        GPL
7 Group:          Development/Tools
8 Source0:        http://mono2.ximian.com/archive/1.0/%{name}-%{version}.tar.gz
9 # Source0-md5:  91d1eb4fe7a52ac1b55fd78dec34bfc1
10 Patch0:         %{name}-MOZILLA_FIVE_HOME.patch
11 Patch1:         %{name}-mint.patch
12 Patch2:         %{name}-libdir.patch
13 URL:            http://www.monodevelop.com/
14 BuildRequires:  ORBit2-devel >= 2.8.3
15 BuildRequires:  autoconf
16 BuildRequires:  automake >= 1.7
17 BuildRequires:  dotnet-gtk-sharp-devel >= 1.0
18 BuildRequires:  dotnet-gtksourceview-sharp-devel >= 0.5
19 BuildRequires:  libtool
20 BuildRequires:  mono-csharp >= 1.0
21 BuildRequires:  monodoc >= 1.0
22 BuildRequires:  dotnet-gecko-sharp-devel >= 0.5
23 BuildRequires:  sed >= 4.0
24 BuildRequires:  shared-mime-info
25 Requires:       mono
26 Requires:       monodoc
27 Requires:       mozilla-embedded
28 Requires:       dotnet-gtksourceview-sharp
29 Requires:       dotnet-gecko-sharp
30 Requires:       dotnet-gtk-sharp
31 Requires(post,postun):  shared-mime-info
32 Obsoletes:      MonoDevelop
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 Mono IDE, in the very early stages of development right now, and
37 progressing quickly. MonoDevelop has many features. Some of these
38 include:
39 - Class Management
40   MonoDevelop has a class viewer which allows you to list the classes
41   in your project, their methods, and properties. Your namespaces are
42   also kept track of to keep the classes separated. When you add
43   something to your project, it will automatically be added to the
44   class viewer, even if they're namespaces, classes, methods, or even
45   variables.
46 - Code Completion
47   With the .NET and Gtk# frameworks put together, it can be
48   challenging to remember all the classes, methods, or properties that
49   are at your disposal. MonoDevelop's intelligent code completion
50   attempts to complete what you're typing. If it finds a match, just
51   hit tab and MonoDevelop will do the typing for you.
52 - Project Support
53   MonoDevelop comes with built in projects that help get you started
54   with your console, Gnome# or Gtk# application.
55
56 %description -l pl
57 MonoDevelop to IDE (zintegrowane ¶rodowisko programisty) dla Mono we
58 wczesnym, ale szybko postêpuj±cym stadium rozwoju. Ma wiele
59 mo¿liwo¶ci, a w¶ród nich:
60 - zarz±dzanie klasami
61   MonoDevelop ma przegl±darkê klas pozwalaj±c± wy¶wietlaæ klasy w
62   projekcie, ich metody oraz w³asno¶ci. Przestrzenie nazw s±
63   uwzglêdniane, aby zachowaæ separacjê klas. Przy dodawaniu czego¶ do
64   projektu jest to automatycznie dodawane do przegl±darki klas, nawet
65   je¶li s± to przestrzenie nazw, klasy, metody, a nawet zmienne.
66 - dope³nianie kodu
67   Przy po³±czeniu szkieletów .NET i Gtk# pamiêtanie samemu wszystkich
68   klas, metod i w³asno¶ci mog³oby byæ nie lada wyzwaniem. MonoDevelop
69   w sposób inteligentny próbuje dope³niaæ to, co siê pisze. Je¶li
70   znajdzie dopasowanie, wystarczy nacisn±æ tabulacjê, aby dokoñczy³
71   pisaæ za nas.
72 - obs³uga projektów
73   MonoDevelop przychodzi z wbudowanymi projektami, pomagaj±cymi zacz±æ
74   tworzyæ aplikacje konsolowe, Gnome# albo Gtk#.
75
76 %prep
77 %setup -q
78 %patch0 -p1
79 %patch1 -p1
80 %patch2 -p1
81 # ignore errors from it
82 sed -e 's/update-mime-database/-&/' -i Makefile.am
83
84 %build
85 rm -rf autom4te.cache
86 %{__libtoolize}
87 %{__aclocal}
88 %{__autoheader}
89 %{__automake}
90 %{__autoconf}
91 %configure
92 %{__make}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT
99
100 %find_lang %{name}
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %post
106 update-mime-database %{_datadir}/mime
107
108 %postun
109 update-mime-database %{_datadir}/mime
110
111 %files -f %{name}.lang
112 %defattr(644,root,root,755)
113 %doc README
114 %attr(755,root,root) %{_bindir}/*
115 %{_libdir}/%{name}
116 %{_datadir}/mime/packages/*
117 %{_desktopdir}/*
118 %{_pixmapsdir}/*
This page took 0.075902 seconds and 3 git commands to generate.