Package ruby-gnome2: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | %def_disable docs Name: ruby-gnome2 Version: 3.1.1 Release: alt1.M70C.2 Summary: Ruby bindings for GNOME License: MIT/Ruby Group: Development/Ruby Url: https://github.com/ruby-gnome2/ruby-gnome2 Packager: Ruby Maintainers Team <ruby@packages.altlinux.org> Source: %name-%version.tar Patch1: glib2-disable-rake_extensiontask.patch BuildRequires(pre): rpm-build-ruby BuildRequires: ruby-tool-setup BuildRequires: libruby-devel BuildRequires: libgtk+2-devel BuildRequires: libgtk+3-devel BuildRequires: libpixman-devel BuildRequires: gstreamer-devel BuildRequires: libexpat-devel BuildRequires: libharfbuzz-devel BuildRequires: libdrm-devel BuildRequires: libXdmcp-devel BuildRequires: libXdamage-devel BuildRequires: libXxf86vm-devel BuildRequires: libvte-devel BuildRequires: ruby-pkg-config BuildRequires: gobject-introspection-devel # TODO BuildRequires: ruby-cairo for GTK+ support %filter_from_requires /^ruby(\(cairo\|rake\/extensiontask\))$/d %description This is a set of bindings for the GNOME 2.x and 3.x libraries to use from Ruby 2.1, 2.2, 2.3 and 2.4. %package -n ruby-glib2 Summary: GLib 2 bindings for the Ruby language Group: Development/Ruby %description -n ruby-glib2 GLib is a useful general-purpose C library, notably used by GTK+ and GNOME. This package contains libraries for using GLib 2 with the Ruby programming language. It is most likely useful in conjunction with Ruby bindings for other libraries such as GTK+. %package devel Summary: Development files for GLib 2 bindings for the Ruby language Group: Development/Ruby %description devel GLib is a useful general-purpose C library, notably used by GTK+ and GNOME. This package contains libraries for using GLib 2 with the Ruby programming language. It is most likely useful in conjunction with Ruby bindings for other libraries such as GTK+. This packages contains header files for ruby-glib2 %if_enabled docs %package doc Summary: Documentation files for %name Group: Documentation BuildArch: noarch %description doc Documentation files for %{name}. %endif %prep %setup %patch1 -p1 %update_setup_rb %build %ruby_config #ruby_build %rake build %install #ruby_install %makeinstall_std -C glib2 #makeinstall_std -C atk %if_enabled docs rdoc lib/ # Remove unnecessary files rm -f %buildroot%ruby_ri_sitedir/{Object/cdesc-Object.ri,cache.ri,created.rid} %endif %check #ruby_test_unit -Ilib:test test %files -n ruby-glib2 %doc README* %ruby_sitelibdir/glib2 %ruby_sitelibdir/glib2.rb %ruby_sitearchdir/glib2.so %files devel %ruby_sitelibdir/gnome2 %ruby_sitelibdir/glib-mkenums.rb %ruby_sitelibdir/gnome2-raketask.rb %ruby_sitelibdir/mkmf-gnome2.rb %ruby_sitearchdir/*.h %if_enabled docs %files doc %ruby_ri_sitedir/* %endif %changelog * Tue May 15 2018 Andrey Cherepanov <cas@altlinux.org> 3.1.1-alt1.M70C.2 - Rebuild with Ruby 2.4.4. * Wed Aug 23 2017 Andrey Cherepanov <cas@altlinux.org> 3.1.1-alt1.M70C.1 - Backport new version to c7 branch * Wed May 24 2017 Andrey Cherepanov <cas@altlinux.org> 3.1.1-alt0.M80P.1 - Backport new version to p8 branch * Fri Apr 21 2017 Andrey Cherepanov <cas@altlinux.org> 3.1.1-alt1 - Initial build in Sisyphus |