File ruby-dbus.spec of Package ruby-dbus
#
# spec file for package ruby-dbus (Version 0.2.1+r160)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: ruby-dbus
Version: 0.2.1+r160
Release: 0
%define pkg_version 0.2.1
#
License: LGPL v2.1
Group: Development/Languages/Ruby
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-devel
%requires_eq ruby
#
# http://raa.ruby-lang.org/project/ruby-xml-smart/
Url: https://trac.luon.net/
Source: https://trac.luon.net/data/ruby-dbus/releases/%{name}-%{pkg_version}.tar.gz
Patch: ruby-dbus-0.2.1_to_trunk.patch
#
Summary: ruby dbus bindings
%description
ruby dbus bindings
%prep
%setup -n %{name}-%{pkg_version}
%patch
%build
ruby -rvendor-specific setup.rb config
ruby -rvendor-specific setup.rb setup
%install
ruby -rvendor-specific setup.rb install --prefix=%{buildroot}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING doc/ NEWS README examples/
%{_libdir}/ruby/vendor_ruby/%{rb_ver}/dbus.rb
%{_libdir}/ruby/vendor_ruby/%{rb_ver}/dbus/
%changelog