Mageia Bugzilla – Attachment 12832 Details for
Bug 23624
discord - a chat for gamers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec file
gtk-sharp.spec (text/plain), 2.92 KB, created by
Kristoffer Grundström
on 2021-07-01 21:27:26 CEST
(
hide
)
Description:
Proposal spec file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2021-07-01 21:27:26 CEST
Size:
2.92 KB
patch
obsolete
>Name: gtk-sharp >Version: 2.12.45 >Release: %mkrel 1 >Summary: GTK+ and GNOME bindings for Mono > >License: LGPLv2+ >URL: http://www.mono-project.com/GtkSharp >Source0: http://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-%{version}.tar.gz >Patch0: gtk-sharp2-2.12.12-glib-include.patch >Patch1: gtk-sharp2-2.12.12-gtkrange.patch > >BuildRequires: mono-devel >BuildRequires: gtk2-devel >BuildRequires: libglade2-devel >BuildRequires: monodoc >BuildRequires: autoconf >BuildRequires: automake >BuildRequires: libtool >BuildRequires: rpm-build >BuildRequires: make > ># Mono only available on these: >ExclusiveArch: %mono_arches > >%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. > >%package gapi >Summary: Glib and GObject C source parser and C generator for the creation and maintenance of managed bindings for Mono and .NET >Requires: perl-XML-LibXML-Common >Requires: perl-XML-LibXML >Requires: perl-XML-SAX > >%description gapi >This package provides developer tools for the creation and >maintenance 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. > >%package devel >Summary: Files needed for developing with gtk-sharp2 >Requires: %{name} = %{version}-%{release} >Requires: pkgconfig > >%description devel >This package provides the necessary development libraries and headers >for writing gtk-sharp2 applications. > >%package doc >Summary: GTK documentation >Requires: %{name} = %{version}-%{release} >Requires: monodoc > >%description doc >This package provides the GTK documentation for monodoc. > >%prep >%setup -q -n %{name}-%{version} >%autopatch -p1 > ># Fix permissions of source files >find -name '*.c' -exec chmod a-x {} \; > >%build >autoreconf -vif >export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} >%configure >make > >%install >export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} >make install DESTDIR=$RPM_BUILD_ROOT > >#Remove libtool archive and static libs >find %{buildroot} -type f -name "*.la" -delete >find %{buildroot} -type f -name "*.a" -delete > >%ldconfig_scriptlets > >%files >%doc COPYING ChangeLog README >%{_libdir}/*.so >%dir %{_prefix}/lib/gtk-sharp-2.0 >%{_prefix}/lib/mono/gac >%{_prefix}/lib/mono/gtk-sharp-2.0 > >%files gapi >%{_bindir}/gapi2-codegen >%{_bindir}/gapi2-fixup >%{_bindir}/gapi2-parser >%{_prefix}/lib/gtk-sharp-2.0/gapi_codegen.exe >%{_prefix}/lib/gtk-sharp-2.0/gapi-fixup.exe >%{_prefix}/lib/gtk-sharp-2.0/gapi-parser.exe >%{_prefix}/lib/gtk-sharp-2.0/gapi_pp.pl >%{_prefix}/lib/gtk-sharp-2.0/gapi2xml.pl >%{_datadir}/gapi-2.0 >%{_libdir}/pkgconfig/gapi-2.0.pc > >%files devel >%{_libdir}/pkgconfig/*-sharp-2.0.pc >%{_libdir}/pkgconfig/gtk-dotnet-2.0.pc > >%files doc >%{_prefix}/lib/monodoc/sources/*
Name: gtk-sharp Version: 2.12.45 Release: %mkrel 1 Summary: GTK+ and GNOME bindings for Mono License: LGPLv2+ URL: http://www.mono-project.com/GtkSharp Source0: http://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-%{version}.tar.gz Patch0: gtk-sharp2-2.12.12-glib-include.patch Patch1: gtk-sharp2-2.12.12-gtkrange.patch BuildRequires: mono-devel BuildRequires: gtk2-devel BuildRequires: libglade2-devel BuildRequires: monodoc BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: rpm-build BuildRequires: make # Mono only available on these: ExclusiveArch: %mono_arches %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. %package gapi Summary: Glib and GObject C source parser and C generator for the creation and maintenance of managed bindings for Mono and .NET Requires: perl-XML-LibXML-Common Requires: perl-XML-LibXML Requires: perl-XML-SAX %description gapi This package provides developer tools for the creation and maintenance 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. %package devel Summary: Files needed for developing with gtk-sharp2 Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel This package provides the necessary development libraries and headers for writing gtk-sharp2 applications. %package doc Summary: GTK documentation Requires: %{name} = %{version}-%{release} Requires: monodoc %description doc This package provides the GTK documentation for monodoc. %prep %setup -q -n %{name}-%{version} %autopatch -p1 # Fix permissions of source files find -name '*.c' -exec chmod a-x {} \; %build autoreconf -vif export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} %configure make %install export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} make install DESTDIR=$RPM_BUILD_ROOT #Remove libtool archive and static libs find %{buildroot} -type f -name "*.la" -delete find %{buildroot} -type f -name "*.a" -delete %ldconfig_scriptlets %files %doc COPYING ChangeLog README %{_libdir}/*.so %dir %{_prefix}/lib/gtk-sharp-2.0 %{_prefix}/lib/mono/gac %{_prefix}/lib/mono/gtk-sharp-2.0 %files gapi %{_bindir}/gapi2-codegen %{_bindir}/gapi2-fixup %{_bindir}/gapi2-parser %{_prefix}/lib/gtk-sharp-2.0/gapi_codegen.exe %{_prefix}/lib/gtk-sharp-2.0/gapi-fixup.exe %{_prefix}/lib/gtk-sharp-2.0/gapi-parser.exe %{_prefix}/lib/gtk-sharp-2.0/gapi_pp.pl %{_prefix}/lib/gtk-sharp-2.0/gapi2xml.pl %{_datadir}/gapi-2.0 %{_libdir}/pkgconfig/gapi-2.0.pc %files devel %{_libdir}/pkgconfig/*-sharp-2.0.pc %{_libdir}/pkgconfig/gtk-dotnet-2.0.pc %files doc %{_prefix}/lib/monodoc/sources/*
View Attachment As Raw
Actions:
View
Attachments on
bug 23624
: 12832 |
12833
|
12834