Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37709634
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.10.0
Release: alt1.1
License: LGPL
Group: Development/Other
Packager: Mono Maintainers Team <mono at packages.altlinux.org>
Source: http://ftp.gnome.org/pub/GNOME/sources/%realname/2.10/%realname-%version.tar.bz2
Url: http://www.mono-project.com/
Requires: libglade libgtk+2 >= 2.10.0

BuildPreReq: libgtk+2-devel >= 2.10.0
BuildPreReq: glib2-devel >= 2.10.0
BuildPreReq: libglade-devel >= 2.3.6
BuildPreReq: rpm-build-mono perl-XML-LibXML
BuildRequires: /proc
# Automatically added by buildreq on Tue Oct 10 2006
BuildRequires: gcc-c++ mono-mcs monodoc

%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 monodoc
Summary: %name documentation in monodoc format
Group: Development/Other
Requires: monodoc

%description monodoc
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

%build
%configure
%make

%install
%makeinstall

%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

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

%files devel
%_pkgconfigdir/*
%exclude %_pkgconfigdir/gapi-2.0.pc
%_datadir/gapi-2.0/*.xml

%files monodoc
%_monodocdir/sources/*

%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