Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37558669
en ru br
ALT Linux repos
S:2.12.45-alt1
5.0: 2.12.8-alt1
4.1: 2.12.0-alt1
4.0: 2.10.0-alt1.1

Group :: Development/Other
RPM: libgtk-sharp2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define realname gtk-sharp

Summary: GTK+ and GNOME bindings for Mono
Name: lib%{realname}2
Version: 2.12.8
Release: alt1
License: LGPLv2+
Group: Development/Other
Packager: Mono Maintainers Team <mono at packages.altlinux.org>
Url: http://www.mono-project.com/
Source: http://ftp.gnome.org/pub/GNOME/sources/%realname/2.12/%realname-%version.tar.bz2

Patch1: gtk-sharp-2.10.1-fix-configs.patch
Patch2: gtk-sharp-2.12.6-alt-monodoc.patch
Patch3: gtk-sharp-2.12.7-alt-monodoc-sources.patch

Requires: libglade libgtk+2 >= 2.10.0

BuildPreReq: glib2-devel >= 2.12.0
BuildPreReq: libpango-devel
BuildPreReq: libatk-devel
BuildPreReq: libgtk+2-devel >= 2.12.0
BuildPreReq: libglade-devel >= 2.3.6
BuildPreReq: rpm-build-mono perl-XML-LibXML

BuildRequires: gcc-c++ mono-devel monodoc mono-mcs
BuildRequires: /proc

%description
This package provides a library that allows you to build
fully native graphical GNOME applications using Mono. Gtk#
is a binding to GTK+, the cross platform user interface
toolkit used in GNOME. It includes bindings for Gtk, Atk,
Pango, Gdk, libgnome, libgnomeui and libgnomecanvas. Gtk#
2.10.x binds GTK+ 2.10.

%package gapi
Summary: Glib and GObject C source parser and C generator for the creation and maintenance of managed bindings for Mono and .NET
Group: Development/Other
Requires: %name = %version-%release

%description gapi
This package provides developer tools for the creation and
maintainance of managed bindings to native libraries which utilize
glib and GObject. Some examples of libraries currently bound using
the GAPI tools and found in Gtk# include Gtk, Atk, Pango, Gdk,
libgnome, libgnomeui and libgnomecanvas.

%package devel
Summary: .Net language bindings for Gtk+ and GNOME development files
Group: Development/Other
Requires: %name-gapi = %version-%release

%description devel
This package includes development files for the Gtk\# project
to parse and bind GObject libraries.

%package doc
Summary: %name documentation in monodoc format
Group: Documentation
Provides: %name-monodoc = %version-%release
Obsoletes: %name-monodoc
BuildPreReq: monodoc
Requires: monodoc >= 2.2
BuildArch: noarch

%description doc
This package includes documentation in monodoc format for the Gtk\# project
for use with monodoc / monodoc Gtk# (from mono-tools) / monodevelop.

%prep
%setup -n %realname-%version -q

%patch1 -p1
%patch2 -p1
%patch3 -p1

%build
%autoreconf
%configure --disable-static
%make

%install
%make_install DESTDIR=%buildroot install

%files
%doc README COPYING ChangeLog
%prefix/lib/gtk-sharp-2.0
%exclude %prefix/lib/gtk-sharp-2.0/gapi*
%_monodir/gac/*
%_monodir/gtk-sharp-2.0
%_libdir/*.so
%_pkgconfigdir/*
%exclude %_pkgconfigdir/gapi-2.0.pc

%files gapi
%_bindir/gapi2*
%prefix/lib/gtk-sharp-2.0/gapi*
%_pkgconfigdir/gapi-2.0.pc
%dir %_datadir/gapi-2.0

%files devel
%_datadir/gapi-2.0/*.xml

%files doc
%_monodocdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin