- New upstream version 1.3.0.

- This version adds Ruby bindings, so there is a new subpackage 'ruby-hivex'.
This commit is contained in:
Richard W.M. Jones 2011-08-15 10:47:08 +01:00
parent 0201ac1020
commit 54ce3b6ecc
3 changed files with 33 additions and 2 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ hivex-1.2.2.tar.gz
/hivex-1.2.6.tar.gz
/hivex-1.2.7.tar.gz
/hivex-1.2.8.tar.gz
/hivex-1.3.0.tar.gz

View File

@ -6,7 +6,7 @@
%endif
Name: hivex
Version: 1.2.8
Version: 1.3.0
Release: 1%{?dist}
Summary: Read and write Windows Registry binary hive files
@ -28,6 +28,8 @@ BuildRequires: ocaml
BuildRequires: ocaml-findlib-devel
%endif
BuildRequires: python-devel
BuildRequires: ruby-devel
BuildRequires: rubygem-rake
BuildRequires: readline-devel
BuildRequires: libxml2-devel
@ -67,6 +69,8 @@ For Perl bindings, see 'perl-hivex'.
For Python bindings, see 'python-hivex'.
For Ruby bindings, see 'ruby-hivex'.
%package devel
Summary: Development tools and libraries for %{name}
@ -140,6 +144,21 @@ Requires: %{name} = %{version}-%{release}
python-%{name} contains Python bindings for %{name}.
%package -n ruby-%{name}
Summary: Ruby bindings for %{name}
Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: ruby(abi) = 1.8
Requires: ruby
Provides: ruby(hivex) = %{version}
%{!?ruby_sitelib: %global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")}
%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
%description -n ruby-%{name}
ruby-%{name} contains Ruby bindings for %{name}.
%prep
%setup -q
@ -255,7 +274,18 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitearch}/*.so
%files -n ruby-%{name}
%defattr(-,root,root,-)
%doc ruby/doc/site/*
%{ruby_sitelib}/hivex.rb
%{ruby_sitearch}/_hivex.so
%changelog
* Mon Aug 15 2011 Richard W.M. Jones <rjones@redhat.com> - 1.3.0-1
- New upstream version 1.3.0.
- This version adds Ruby bindings, so there is a new subpackage 'ruby-hivex'.
* Fri Aug 12 2011 Richard W.M. Jones <rjones@redhat.com> - 1.2.8-1
- New upstream version 1.2.8.
- Remove 4 upstream patches.

View File

@ -1 +1 @@
f8fd5472abf1f606e7541865eab5bab8 hivex-1.2.8.tar.gz
9102b7bd9f1a348cb955dfdcfa179eeb hivex-1.3.0.tar.gz