%global debug_package %{nil} Name: monodevelop-git-latest Version: 5.8 Release: 3%{?dist} Summary: A full-featured IDE for Mono and Gtk# Group: Development/Tools License: GPLv2+ URL: http://monodevelop.com/ Source0: https://jenkins.mono-project.com/view/Packaging-MonoDevelop/job/build-source-tarball-monodevelop/lastSuccessfulBuild/artifact/%{name}.tar.bz2 BuildRequires: mono-devel >= 3.0.4 BuildRequires: mono-addins-devel >= 0.6 BuildRequires: mono-nunit-devel BuildRequires: monodoc-devel BuildRequires: gnome-desktop-sharp-devel BuildRequires: desktop-file-utils intltool Requires: mono-core >= 3.0.4 Requires: mono-addins >= 0.6 # Using system nunit, but dependency not automatically picked up by RPM Requires: mono(nunit.core) Requires: mono(nunit.framework) Requires: gnome-desktop-sharp Requires: subversion monodoc Requires: hicolor-icon-theme shared-mime-info Requires: gtk-sharp2-devel Conflicts: monodevelop < %{version} # Mono only available on these: ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 %{arm} sparcv9 alpha s390x %description This package provides MonoDevelop, a full-featured IDE for Mono with syntax coloring, code completion, debugging, project management and support for C sharp, Visual Basic.NET, Java, Boo, Nemerle and MSIL. %package devel Summary: Development files for monodevelop Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel Development files for %{name}. %prep %setup -qn %{name} mozroots --import --sync #%patch0 -p0 # Delete shipped *.dll files #find -name '*.dll' -exec rm -f {} \; %build %configure --enable-git --disable-update-mimedb --disable-update-desktopdb make %check make check %install make install DESTDIR=$RPM_BUILD_ROOT desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --delete-original \ $RPM_BUILD_ROOT%{_datadir}/applications/monodevelop.desktop mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig test "%{_libdir}" = "%{_prefix}/lib" || mv $RPM_BUILD_ROOT/%{_prefix}/lib/pkgconfig/* $RPM_BUILD_ROOT/%{_libdir}/pkgconfig %find_lang %{name} %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : update-mime-database %{_datadir}/mime &> /dev/null || : update-desktop-database &> /dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi update-mime-database %{_datadir}/mime &> /dev/null || : update-desktop-database &> /dev/null || : %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING README %{_bindir}/m* %{_prefix}/lib/monodevelop %{_mandir}/man1/m* %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/*/* %{_datadir}/mime/packages/monodevelop.xml %files devel %defattr(-,root,root,-) %{_libdir}/pkgconfig/monodevelop*.pc %changelog * Fri Jan 09 2015 Claudio Rodrigo Pereyra Diaz - 5.8-2 - Packaging from jenkins build.