diff options
author | Andrew Jorgensen <ajorgensen@novell.com> | 2011-01-25 22:37:43 +0300 |
---|---|---|
committer | Andrew Jorgensen <ajorgensen@novell.com> | 2011-01-25 22:37:43 +0300 |
commit | b2e0ff7fad355256eb8fa4f4c1df2bdc4cbda1e9 (patch) | |
tree | 85de4cce1ae44d0017a81927bcb1304f00f9af28 /main/monodevelop.spec.in | |
parent | 0333063b91f282d430359e35dc847e2e38bb7b1a (diff) |
Add spec file
Diffstat (limited to 'main/monodevelop.spec.in')
-rw-r--r-- | main/monodevelop.spec.in | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/main/monodevelop.spec.in b/main/monodevelop.spec.in new file mode 100644 index 0000000000..a9aaca216c --- /dev/null +++ b/main/monodevelop.spec.in @@ -0,0 +1,77 @@ +Name: monodevelop +Url: http://www.go-mono.com/ +License: GPL v2 or later +Group: Development/Languages/Mono +Version: @VERSION@ +Release: 0 +Summary: A Full-Featured IDE for Mono and Gtk# +Source: %{name}-%{version}.tar.bz2 +BuildRequires: gconf-sharp2 +BuildRequires: glade-sharp2 +BuildRequires: gnome-print-sharp +BuildRequires: gnome-sharp2 +BuildRequires: mono-addins +BuildRequires: mono-devel +BuildRequires: mono-wcf +BuildRequires: monodoc-core +BuildRequires: desktop-file-utils update-desktop-files +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +Requires: mono-basic +Requires: mono-devel +Requires: mono-tools +Requires: pkgconfig +Requires: xsp +PreReq: shared-mime-info + +%description +MonoDevelop is intended to be a full-featured integrated development +environment (IDE) for mono and Gtk#. It was originally a port of +SharpDevelop 0.98. See http://monodevelop.com/ for more information. + +%prep +%setup -q + +%build +autoreconf -f -i +%configure \ + --enable-subversion \ + --enable-monoextensions \ + --enable-aspnet \ + --disable-update-mimedb \ + --disable-update-desktopdb +make + +%install +make install DESTDIR=%{buildroot} GACUTIL_FLAGS="/package monodevelop /root %{buildroot}%{_prefix}/lib" +# noarch .pc files go in /usr/share +mkdir -p %{buildroot}%{_datadir}/pkgconfig +mv %{buildroot}%{_prefix}/lib/pkgconfig/* %{buildroot}%{_datadir}/pkgconfig +%suse_update_desktop_file -N "Mono Development Environment" -G "Integrated Development Environment" -C "Develop software using Mono tools" %name "Application Development IDE" +%find_lang %{name} + +%clean +rm -rf %{buildroot} + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/* +%{_datadir}/applications/monodevelop.desktop +%{_datadir}/icons/hicolor/*/apps/monodevelop.png +%{_datadir}/icons/hicolor/scalable/apps/monodevelop.svg +%{_datadir}/mime/packages/monodevelop.xml +%{_datadir}/pkgconfig/monodevelop-core-addins.pc +%{_datadir}/pkgconfig/monodevelop.pc +%{_mandir}/man1/mdtool.1%ext_man +%{_mandir}/man1/monodevelop.1%ext_man +%{_prefix}/lib/monodevelop + +%post +update-mime-database %{_datadir}/mime >/dev/null || : +%run_suseconfig -m gtk2 + +%postun +update-mime-database %{_datadir}/mime >/dev/null || : +%run_suseconfig -m gtk2 + +%changelog |