]> git.pld-linux.org Git - packages/monodevelop.git/blame - monodevelop.spec
- rel.4
[packages/monodevelop.git] / monodevelop.spec
CommitLineData
62b68ce6 1#
279a7651
PS
2# TODO:
3# - on x86-64: /usr/bin/monodevelop[60]: cd: /usr/lib/monodevelop/bin - No such file or directory
279a7651 4#
62b68ce6 5# Conditional build:
1fe81bf9 6%bcond_without subversion # disable subversion backend
44303a61 7%bcond_without asp # disable ASP.net
62b68ce6 8#
8e4dce97 9%include /usr/lib/rpm/macros.mono
6b471955 10Summary: Mono IDE
50630820 11Summary(pl.UTF-8): IDE dla Mono
6b471955 12Name: monodevelop
832aa0b3 13Version: 1.0
a5529e9c 14Release: 4
62b68ce6 15License: GPL/MIT
6b471955 16Group: Development/Tools
02bb32ca
JB
17# latest downloads summary at http://ftp.novell.com/pub/mono/sources-stable/
18Source0: http://ftp.novell.com/pub/mono/sources/monodevelop/%{name}-%{version}.tar.bz2
832aa0b3 19# Source0-md5: 537e8a1d11d59714f955b95f86ac479b
6b471955 20Patch0: %{name}-MOZILLA_FIVE_HOME.patch
d54d7115 21Patch2: %{name}-desktop.patch
22Patch3: %{name}-install.patch
25bd85cc 23Patch4: %{name}-libdir.patch
6b471955 24URL: http://www.monodevelop.com/
25BuildRequires: ORBit2-devel >= 2.8.3
26BuildRequires: autoconf
bf2e1bfb 27BuildRequires: automake >= 1:1.7
86a4eb83 28BuildRequires: desktop-file-utils
5b5c21f8 29BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
b37b011b 30BuildRequires: dotnet-gecko-sharp2-devel >= 0.10
b51a6d0d 31BuildRequires: dotnet-gtk-sharp2-devel >= 2.9.0
d54d7115 32BuildRequires: dotnet-gtksourceview-sharp2-devel >= 0.10
ddc1d267 33BuildRequires: gettext-devel
7cbee276 34BuildRequires: intltool
6b471955 35BuildRequires: libtool
26e77728 36BuildRequires: mono-csharp >= 1.1.13
79849806 37BuildRequires: mono-addins-devel
4a9e8acc 38BuildRequires: monodoc >= 1.0
ddc1d267 39BuildRequires: pkgconfig
b51a6d0d 40BuildRequires: rpmbuild(macros) >= 1.311
ed84cb0c 41BuildRequires: sed >= 4.0
515a83a9 42BuildRequires: shared-mime-info
44303a61 43%{?with_asp:BuildRequires: xsp}
86a4eb83 44Requires(post,postun): desktop-file-utils
1b366289 45Requires(post,postun): hicolor-icon-theme
8d0b884a 46Requires: gtkhtml
a6fcd625 47#%ifarch %{x8664} ia64 ppc64 s390x sparc64
48#Requires: libgtkembedmoz.so()(64bit)
49#%else
50#Requires: libgtkembedmoz.so
51#%endif
79849806 52Requires: mono-addins
1077cb95 53Requires: pkgconfig
a6fcd625 54Requires: xulrunner-libs
515a83a9 55Requires(post,postun): shared-mime-info
62b68ce6 56%{?with_subversion:Requires: subversion-libs}
5d44a4f2
MWP
57Suggests: mono-compat-links
58Suggests: mono-csharp
6b471955 59Obsoletes: MonoDevelop
d54d7115 60ExcludeArch: alpha i386 sparc sparc64
6b471955 61BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62
63%description
64Mono IDE, in the very early stages of development right now, and
65progressing quickly. MonoDevelop has many features. Some of these
66include:
d54d7115 67- Class Management MonoDevelop has a class viewer which allows you to
68 list the classes in your project, their methods, and properties. Your
69 namespaces are also kept track of to keep the classes separated. When
70 you add something to your project, it will automatically be added to
71 the class viewer, even if they're namespaces, classes, methods, or
72 even variables.
73- Code Completion With the .NET and Gtk# frameworks put together, it
74 can be challenging to remember all the classes, methods, or properties
75 that are at your disposal. MonoDevelop's intelligent code completion
76 attempts to complete what you're typing. If it finds a match, just hit
77 tab and MonoDevelop will do the typing for you.
78- Project Support MonoDevelop comes with built in projects that help
79 get you started with your console, Gnome# or Gtk# application.
6b471955 80
4c24f807
JR
81%description -l pl.UTF-8
82MonoDevelop to IDE (zintegrowane środowisko programisty) dla Mono we
83wczesnym, ale szybko postępującym stadium rozwoju. Ma wiele
84możliwości, a wśród nich:
85- zarządzanie klasami MonoDevelop ma przeglądarkę klas pozwalającą
86 wyświetlać klasy w projekcie, ich metody oraz własności. Przestrzenie
87 nazw są uwzględniane, aby zachować separację klas. Przy dodawaniu
88 czegoś do projektu jest to automatycznie dodawane do przeglądarki
89 klas, nawet jeśli są to przestrzenie nazw, klasy, metody, a nawet
d54d7115 90 zmienne.
4c24f807
JR
91- dopełnianie kodu Przy połączeniu szkieletów .NET i Gtk# pamiętanie
92 samemu wszystkich klas, metod i własności mogłoby być nie lada
93 wyzwaniem. MonoDevelop w sposób inteligentny próbuje dopełniać to, co
94 się pisze. Jeśli znajdzie dopasowanie, wystarczy nacisnąć tabulację,
95 aby dokończył pisać za nas.
96- obsługa projektów MonoDevelop przychodzi z wbudowanymi projektami,
97 pomagającymi zacząć tworzyć aplikacje konsolowe, Gnome# albo Gtk#.
6b471955 98
99%prep
09dd549a 100%setup -q
6b471955 101%patch0 -p1
d54d7115 102%patch2 -p1
103%patch3 -p1
25bd85cc 104%patch4 -p1
6b471955 105
106%build
107rm -rf autom4te.cache
108%{__libtoolize}
109%{__aclocal}
6b471955 110%{__automake}
111%{__autoconf}
d54d7115 112%configure \
113 --disable-update-mimedb \
62b68ce6 114 --disable-update-desktopdb \
a6fcd625 115 --enable-c \
efdea2e5 116 --%{?with_asp:en}%{!?with_asp:dis}able-aspnet \
62b68ce6 117 %{?with_subversion:--enable-subversion}
118
083c8a3a 119%{__make} -j1
6b471955 120
121%install
122rm -rf $RPM_BUILD_ROOT
123
124%{__make} install \
125 DESTDIR=$RPM_BUILD_ROOT
126
515a83a9
MM
127%find_lang %{name}
128
6b471955 129%clean
130rm -rf $RPM_BUILD_ROOT
131
515a83a9 132%post
86a4eb83 133%update_desktop_database_post
134%update_mime_database
1b366289 135%update_icon_cache hicolor
515a83a9
MM
136
137%postun
86a4eb83 138%update_desktop_database_postun
139%update_mime_database
1b366289 140%update_icon_cache hicolor
515a83a9
MM
141
142%files -f %{name}.lang
6b471955 143%defattr(644,root,root,755)
515a83a9 144%doc README
6b471955 145%attr(755,root,root) %{_bindir}/*
146%{_libdir}/%{name}
515a83a9 147%{_datadir}/mime/packages/*
908e1a65 148%{_desktopdir}/*.desktop
cd176a1f 149%{_pkgconfigdir}/*
1b366289
PZ
150%{_iconsdir}/hicolor/*/apps/monodevelop.png
151%{_iconsdir}/hicolor/*/apps/monodevelop.svg
e33fffc0 152%{_mandir}/man1/mdtool.1*
1b366289 153%{_mandir}/man1/monodevelop.1*
This page took 0.105809 seconds and 4 git commands to generate.