|
@@ -1,15 +1,17 @@
|
|
%define mono_dir %(/usr/bin/monodir)
|
|
%define mono_dir %(/usr/bin/monodir)
|
|
%define _name gtk-sharp
|
|
%define _name gtk-sharp
|
|
Name: gtk-sharp2
|
|
Name: gtk-sharp2
|
|
-Version: 2.12.21
|
|
|
|
|
|
+Version: 2.12.27
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Summary: GTK+ bindings for Mono
|
|
Summary: GTK+ bindings for Mono
|
|
Summary(ja): Mono 用 GTK+ バインディング
|
|
Summary(ja): Mono 用 GTK+ バインディング
|
|
|
|
+
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
-License: LGPL
|
|
|
|
-URL: http://gtk-sharp.sf.net
|
|
|
|
-Source: http://ftp.gnome.org/pub/gnome/sources/%{_name}/2.12/%{_name}-%{version}.tar.gz
|
|
|
|
-Patch1: gtk-sharp2-vtelibs.patch
|
|
|
|
|
|
+License: LGPLv2
|
|
|
|
+URL: http://www.mono-project.com/docs/gui/gtksharp/
|
|
|
|
+
|
|
|
|
+Source: https://github.com/mono/gtk-sharp/archive/%{_name}-%{version}.tar.gz
|
|
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: mono-devel
|
|
BuildRequires: mono-devel
|
|
BuildRequires: monodoc
|
|
BuildRequires: monodoc
|
|
@@ -37,34 +39,47 @@ Pango, Gdk, libgnome, libgnomeui and libgnomecanvas. Gtk#
|
|
2.12.x binds GTK+ 2.12.
|
|
2.12.x binds GTK+ 2.12.
|
|
|
|
|
|
%package gapi
|
|
%package gapi
|
|
-Group: Development/Languages
|
|
|
|
Summary: Glib and GObject C source parser and C generator for the creation and maintenance of managed bindings for Mono and .NET
|
|
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 perl-XML-LibXML perl-XML-SAX
|
|
|
|
|
|
+Group: Development/Tools
|
|
|
|
+Requires: perl-XML-LibXML-Common
|
|
|
|
+Requires: perl-XML-LibXML
|
|
|
|
+Requires: perl-XML-SAX
|
|
|
|
|
|
%description gapi
|
|
%description gapi
|
|
This package provides developer tools for the creation and
|
|
This package provides developer tools for the creation and
|
|
-maintainance of managed bindings to native libraries which utilize
|
|
|
|
|
|
+maintenance of managed bindings to native libraries which utilize
|
|
glib and GObject. Some examples of libraries currently bound using
|
|
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.
|
|
|
|
|
|
+the GAPI tools and found in Gtk# include Gtk, Atk, Pango, Gdk.
|
|
|
|
|
|
|
|
+%package devel
|
|
|
|
+Summary: Files needed for developing with gtk-sharp2
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: pkgconfig
|
|
|
|
|
|
-%prep
|
|
|
|
-%setup -q -n %{_name}-%{version}
|
|
|
|
|
|
+%description devel
|
|
|
|
+This package provides the necessary development libraries and headers
|
|
|
|
+for writing gtk-sharp2 applications.
|
|
|
|
+
|
|
|
|
+%package doc
|
|
|
|
+Summary: Gtk# documentation
|
|
|
|
+Group: Documentation
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: monodoc
|
|
|
|
|
|
-%if 0
|
|
|
|
-%patch1 -p1 -b .vte
|
|
|
|
-## need to re-automake for gtk-sharp2-vtelibs.patch
|
|
|
|
-aclocal-1.7
|
|
|
|
-libtoolize --force
|
|
|
|
-automake-1.7 --add-missing
|
|
|
|
-autoconf
|
|
|
|
-%endif
|
|
|
|
|
|
+%description doc
|
|
|
|
+This package provides the Gtk# documentation for monodoc.
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%prep
|
|
|
|
+# name duplication may be bug...
|
|
|
|
+%setup -q -n %{_name}-%{_name}-%{version}
|
|
|
|
+./bootstrap-2.12
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
|
|
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
|
|
-%configure
|
|
|
|
|
|
+%configure --enable-silent-rules
|
|
make
|
|
make
|
|
|
|
|
|
%install
|
|
%install
|
|
@@ -78,7 +93,7 @@ make install DESTDIR=$RPM_BUILD_ROOT GACUTIL_FLAGS="/package gtk-sharp /gacdir %
|
|
|
|
|
|
mv $RPM_BUILD_ROOT%{mono_dir}/gtk-sharp $RPM_BUILD_ROOT%{mono_dir}/gtk-sharp-2.0
|
|
mv $RPM_BUILD_ROOT%{mono_dir}/gtk-sharp $RPM_BUILD_ROOT%{mono_dir}/gtk-sharp-2.0
|
|
|
|
|
|
-for file in $RPM_BUILD_ROOT%{_bindir}/gapi2-codegen $RPM_BUILD_ROOT%{_bindir}/gapi2-fixup $RPM_BUILD_ROOT%{_bindir}/gapi2-parser
|
|
|
|
|
|
+for file in $RPM_BUILD_ROOT%{_bindir}/gapi2-codegen $RPM_BUILD_ROOT%{_bindir}/gapi2-fixup $RPM_BUILD_ROOT%{_bindir}/gapi2-parser $RPM_BUILD_ROOT%{_prefix}/lib/gtk-sharp-2.0/gapi2xml.pl $RPM_BUILD_ROOT%{_prefix}/lib/gtk-sharp-2.0/gapi_pp.pl
|
|
do
|
|
do
|
|
mv $file $file.orig
|
|
mv $file $file.orig
|
|
nkf -w --unix $file.orig > $file
|
|
nkf -w --unix $file.orig > $file
|
|
@@ -100,8 +115,6 @@ done
|
|
%{_libdir}/libglibsharpglue-2.so
|
|
%{_libdir}/libglibsharpglue-2.so
|
|
%{_libdir}/libgtksharpglue-2.so
|
|
%{_libdir}/libgtksharpglue-2.so
|
|
%{_libdir}/libpangosharpglue-2.so
|
|
%{_libdir}/libpangosharpglue-2.so
|
|
-%{_libdir}/pkgconfig/*-sharp-2.0.pc
|
|
|
|
-%{_libdir}/pkgconfig/gtk-dotnet-2.0.pc
|
|
|
|
%dir %{_prefix}/lib/gtk-sharp-2.0
|
|
%dir %{_prefix}/lib/gtk-sharp-2.0
|
|
%{mono_dir}/gac/atk-sharp
|
|
%{mono_dir}/gac/atk-sharp
|
|
%{mono_dir}/gac/gdk-sharp
|
|
%{mono_dir}/gac/gdk-sharp
|
|
@@ -115,7 +128,6 @@ done
|
|
%{mono_dir}/gac/policy.2.6.*
|
|
%{mono_dir}/gac/policy.2.6.*
|
|
%{mono_dir}/gac/policy.2.8.*
|
|
%{mono_dir}/gac/policy.2.8.*
|
|
%{mono_dir}/gtk-sharp-2.0
|
|
%{mono_dir}/gtk-sharp-2.0
|
|
-%{_prefix}/lib/monodoc/sources/gtk-sharp-docs.*
|
|
|
|
|
|
|
|
%files gapi
|
|
%files gapi
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -130,7 +142,22 @@ done
|
|
%{_libdir}/pkgconfig/gapi-2.0.pc
|
|
%{_libdir}/pkgconfig/gapi-2.0.pc
|
|
%{_prefix}/share/gapi-2.0
|
|
%{_prefix}/share/gapi-2.0
|
|
|
|
|
|
|
|
+%files devel
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%{_libdir}/pkgconfig/*-sharp-2.0.pc
|
|
|
|
+%{_libdir}/pkgconfig/gtk-dotnet-2.0.pc
|
|
|
|
+
|
|
|
|
+%files doc
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%{_prefix}/lib/monodoc/sources/*
|
|
|
|
+
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Nov 3 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.12.27-1
|
|
|
|
+- updated to 2.12.27
|
|
|
|
+- split devel and doc subpackage
|
|
|
|
+- fixed gapi2xml.pl and gapi_pp.pl encoding
|
|
|
|
+
|
|
* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.12.21-1
|
|
* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.12.21-1
|
|
- update to 2.12.21
|
|
- update to 2.12.21
|
|
|
|
|