/[packages]/cauldron/ruby-gobject-introspection/current/SPECS/ruby-gobject-introspection.spec
ViewVC logotype

Contents of /cauldron/ruby-gobject-introspection/current/SPECS/ruby-gobject-introspection.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1784859 - (show annotations) (download)
Fri Feb 25 19:57:09 2022 UTC (2 years, 4 months ago) by pterjan
File size: 1287 byte(s)
Update to 3.5.1
1 %define oname gobject-introspection
2
3 Name: ruby-%{oname}
4 Version: 3.5.1
5 Release: %mkrel 1
6 Summary: Ruby/GObjectIntrospection is a Ruby binding of GObjectIntrospection
7 License: LGPLv2.1
8 Group: Development/Ruby
9 URL: http://ruby-gnome2.sourceforge.jp/
10 Source0: https://rubygems.org/gems/%{oname}-%{version}.gem
11 BuildRequires: rubygems
12 BuildRequires: pkgconfig(ruby)
13 BuildRequires: ruby-glib2
14 BuildRequires: ruby-glib2-devel
15 Buildrequires: pkgconfig(gobject-introspection-1.0)
16
17 %description
18 Ruby/GObjectIntrospection is a Ruby binding of GObjectIntrospection.
19
20 %files
21 %{gem_instdir}
22 %{gem_spec}
23 %{gem_extdir_mri}
24 %{ruby_vendorarchdir}/*.h
25
26
27
28 #-------------------------------------------------------------------------------
29 %package doc
30 Summary: Documentation for %{name}
31 Group: Development/Ruby
32 BuildArch: noarch
33 Requires: %{name} = %{version}-%{release}
34
35 %description doc
36 Documents, Rdoc & RI documentation for %{name}.
37
38 %files doc
39 %doc %{gem_docdir}
40
41 %prep
42 %gem_setup
43
44 %build
45
46 %global _disable_ld_no_undefined 1
47 export CONFIGURE_ARGS="--with-cflags='%{optflags}' --with-dldflags='%{build_ldflags}'"
48 export CONFIGURE_ARGS="$CONFIGURE_ARGS --with-pkg-config-dir=$(pwd)%{_libdir}/pkgconfig"
49 %gem_build
50
51 %install
52 %gem_install -d

  ViewVC Help
Powered by ViewVC 1.1.30