Группа :: Разработка/Прочее
Пакет: monodevelop
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# vim: set ft=spec: -*- rpm-spec -*-
%define lib_dep_suffix %(test %_lib != lib64 && echo '' || echo '()(64bit)')
%def_disable tests
Name: monodevelop
Version: 2.0
Release: alt2
Summary: MonoDevelop is a project to port SharpDevelop to Gtk#
License: GPLv2+
Group: Development/Other
Packager: Mono Maintainers Team <mono at packages.altlinux.org>
Url: http://www.monodevelop.org/
Source: %name-%version.tar
Patch3: %name-2.0-alt-use-system-cecil.patch
# FIXME: check everytime
%add_findreq_skiplist %_prefix/lib/%name/AddIns/VersionControl/MonoDevelop.VersionControl.Subversion.dll
Requires: libapr-1.so.0%{lib_dep_suffix} libsvn_client-1.so.0%{lib_dep_suffix}
Requires: desktop-file-utils
Requires: firefox
Requires: libgnomeui
Requires: shared-mime-info
BuildPreReq: rpm-build-mono mono-mcs
BuildPreReq: mono-devel >= 2.0
BuildPreReq: mono-addins-devel >= 0.3
BuildPreReq: libgtk-sharp2-devel >= 2.8.0
BuildPreReq: libgnome-desktop-sharp-devel
BuildPreReq: monodoc-devel >= 1.0
# BuildPreReq: libgecko-sharp2-devel >= 0.10
BuildRequires: intltool mono-mcs mono-web-devel mono-winforms
BuildRequires: desktop-file-utils mono-nunit-devel perl-XML-Parser shared-mime-info intltool
BuildRequires: zip
BuildRequires: /proc
BuildRequires: xsp
%description
This is MonoDevelop which is intended to be a full-featured
integrated development environment (IDE) for mono and Gtk#.
It was originally a port of SharpDevelop 0.98.
%prep
%setup -q -n %name-%version
%patch3 -p1
%__subst '/^Encoding=/d;
s/^Exec=monodevelop$/Exec=monodevelop %%F/;
s/^Categories=.*$/Categories=Development;IDE;/
' monodevelop.desktop
%__subst "s|^pkgconfigdir *= \$(prefix)/lib/pkgconfig|pkgconfigdir = %_pkgconfigdir|" \
Makefile.am
%build
#export PKG_CONFIG_PATH=%_pkgconfigdir MOZILLA_HOME=%_libdir/firefox
%autoreconf
%configure %{subst_enable versioncontrol} \
--disable-update-mimedb --disable-update-desktopdb \
--enable-gtksourceview2 \
%{subst_enable tests} \
%make
%install
%make_install DESTDIR=%buildroot install
%find_lang %name
%files -f %name.lang
%doc AUTHORS COPYING ChangeLog INSTALL README
%_bindir/*
%_prefix/lib/%name
%_pkgconfigdir/*.pc
%_desktopdir/%name.desktop
%_iconsdir/hicolor/??x??/apps/%{name}*.png
%_iconsdir/hicolor/scalable/apps/%{name}*.svg
%_datadir/mime/packages/*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь
%define lib_dep_suffix %(test %_lib != lib64 && echo '' || echo '()(64bit)')
%def_disable tests
Name: monodevelop
Version: 2.0
Release: alt2
Summary: MonoDevelop is a project to port SharpDevelop to Gtk#
License: GPLv2+
Group: Development/Other
Packager: Mono Maintainers Team <mono at packages.altlinux.org>
Url: http://www.monodevelop.org/
Source: %name-%version.tar
Patch3: %name-2.0-alt-use-system-cecil.patch
# FIXME: check everytime
%add_findreq_skiplist %_prefix/lib/%name/AddIns/VersionControl/MonoDevelop.VersionControl.Subversion.dll
Requires: libapr-1.so.0%{lib_dep_suffix} libsvn_client-1.so.0%{lib_dep_suffix}
Requires: desktop-file-utils
Requires: firefox
Requires: libgnomeui
Requires: shared-mime-info
BuildPreReq: rpm-build-mono mono-mcs
BuildPreReq: mono-devel >= 2.0
BuildPreReq: mono-addins-devel >= 0.3
BuildPreReq: libgtk-sharp2-devel >= 2.8.0
BuildPreReq: libgnome-desktop-sharp-devel
BuildPreReq: monodoc-devel >= 1.0
# BuildPreReq: libgecko-sharp2-devel >= 0.10
BuildRequires: intltool mono-mcs mono-web-devel mono-winforms
BuildRequires: desktop-file-utils mono-nunit-devel perl-XML-Parser shared-mime-info intltool
BuildRequires: zip
BuildRequires: /proc
BuildRequires: xsp
%description
This is MonoDevelop which is intended to be a full-featured
integrated development environment (IDE) for mono and Gtk#.
It was originally a port of SharpDevelop 0.98.
%prep
%setup -q -n %name-%version
%patch3 -p1
%__subst '/^Encoding=/d;
s/^Exec=monodevelop$/Exec=monodevelop %%F/;
s/^Categories=.*$/Categories=Development;IDE;/
' monodevelop.desktop
%__subst "s|^pkgconfigdir *= \$(prefix)/lib/pkgconfig|pkgconfigdir = %_pkgconfigdir|" \
Makefile.am
%build
#export PKG_CONFIG_PATH=%_pkgconfigdir MOZILLA_HOME=%_libdir/firefox
%autoreconf
%configure %{subst_enable versioncontrol} \
--disable-update-mimedb --disable-update-desktopdb \
--enable-gtksourceview2 \
%{subst_enable tests} \
%make
%install
%make_install DESTDIR=%buildroot install
%find_lang %name
%files -f %name.lang
%doc AUTHORS COPYING ChangeLog INSTALL README
%_bindir/*
%_prefix/lib/%name
%_pkgconfigdir/*.pc
%_desktopdir/%name.desktop
%_iconsdir/hicolor/??x??/apps/%{name}*.png
%_iconsdir/hicolor/scalable/apps/%{name}*.svg
%_datadir/mime/packages/*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь