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