Hello community,

here is the log from the commit of package hivex for openSUSE:Factory checked 
in at 2013-08-05 21:20:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hivex (Old)
 and      /work/SRC/openSUSE:Factory/.hivex.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hivex"

Changes:
--------
New Changes file:

--- /dev/null   2013-07-23 23:44:04.804033756 +0200
+++ /work/SRC/openSUSE:Factory/.hivex.new/hivex.changes 2013-08-05 
21:20:40.000000000 +0200
@@ -0,0 +1,48 @@
+-------------------------------------------------------------------
+Mon Aug  5 07:48:06 UTC 2013 - [email protected]
+
+- license update: LGPL-2.1 and GPL-2.0
+  README states license is LGPL-2.1 (only) and LICENSE confirms. There is a
+  significant number of GPL-2.0 files in test and examples
+
+-------------------------------------------------------------------
+Wed Jul 31 14:51:56 CEST 2013 - [email protected]
+
+- update to version 1.3.8
+
+-------------------------------------------------------------------
+Sun Feb 24 18:11:07 CET 2013 - [email protected]
+
+- BuildRequire: perl-macros only in sles11 builds to fix build in 11.4
+
+-------------------------------------------------------------------
+Wed Nov  7 19:02:54 CET 2012 - [email protected]
+
+- update to version 1.3.7
+
+-------------------------------------------------------------------
+Sat Sep  1 21:20:44 CEST 2012 - [email protected]
+
+- move python bindings to python-hivex
+
+-------------------------------------------------------------------
+Sat Sep  1 21:11:32 CEST 2012 - [email protected]
+
+- enable perl bindings, package them in perl-Win-Hivex
+
+-------------------------------------------------------------------
+Tue Jul  3 10:30:08 CEST 2012 - [email protected]
+
+- update to version 1.3.6
+
+-------------------------------------------------------------------
+Mon Jul  2 19:41:08 CEST 2012 - [email protected]
+
+- workaround buggy python detection by adding python to BuildRequires
+- fix filelist to build on sles11
+
+-------------------------------------------------------------------
+Tue Sep 27 13:04:30 CEST 2011 - [email protected]
+
+- initial hivex package (version 1.3.1)
+

New:
----
  hivex-1.3.8.tar.xz
  hivex.changes
  hivex.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hivex.spec ++++++
#
# spec file for package hivex
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Michal Hrusecky <[email protected]>
#
# 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/
#


%define with_perl 1
%define with_python 1

Name:           hivex
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc
BuildRequires:  libtool
BuildRequires:  libxml2-devel
BuildRequires:  pkg-config
Requires:       perl(Getopt::Long)
Requires:       perl(Pod::Usage)
Requires:       perl(Win::Hivex)
Requires:       perl(Win::Hivex::Regedit)
Url:            http://libguestfs.org/hivex.3.html
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Windows Registry "hive" extraction library
License:        LGPL-2.1 and GPL-2.0
Group:          System/Filesystems
Version:        1.3.8
Release:        0
Source:         %{name}-%{version}.tar.xz

%description
Hivex is a library for extracting the contents of Windows Registry
"hive" files. It is designed to be secure against buggy or malicious
registry files.

%package devel
Summary:        Development files for hivex
Group:          Development/Languages/C and C++
Requires:       libhivex0

%description devel
Development files for hivex. Hivex is Windows Registry "hive" extraction
library .

%package -n libhivex0
Summary:        Library for hivex
Group:          System/Filesystems

%description -n libhivex0
Library for hivex. Hivex is Windows Registry "hive" extraction
library .

%if %{with_perl}
%package -n perl-Win-Hivex
Summary:        Perl bindings for hivex
Group:          System/Filesystems
Requires:       perl = %{perl_version}
%if %suse_version < 1140
BuildRequires:  perl-macros
%endif
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(IO::Stringy)
BuildRequires:  perl(Test::More)
%{perl_requires}

%description -n perl-Win-Hivex
Perl bindinfs for hivex. Hivex is Windows Registry "hive" extraction library.

%endif

%if %{with_python}
%package -n python-hivex
%define pyver %(python -c "import sys; print sys.version[:3]")
BuildRequires:  python
BuildRequires:  python-devel
Summary:        Allows Python scripts to directly use libhivex
Group:          System/Filesystems

%description -n python-hivex
Provides Python support for libhivex.
%endif

%prep
%setup -q

%build
if python --version && ! pkg-config python
then
        export PYTHON_LIBS="-lpython`python -c 'import distutils.sysconfig; 
print (distutils.sysconfig.get_python_version ());'`"
        export PYTHON_CFLAGS="-I`python -c 'import distutils.sysconfig; print 
(distutils.sysconfig.get_python_inc ());'`"
        export PYTHON_EXT_SUFFIX=.so
fi
%configure --help
%configure --disable-static
# 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir instead 
of the site dir
make \
        INSTALLDIRS=vendor \
        LD_RUN_PATH= \
        %{?jobs:-j%jobs}

%install
%makeinstall
%perl_process_packlist
%perl_gen_filelist
# the macro above packages everything, here only the perl files are desrired
grep "%perl_vendorarch/" %{name}.files | tee t
mv t %{name}.files
#
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{l,}a
touch %{name}.lang
%find_lang %{name}

%post -n libhivex0 -p /sbin/ldconfig
%postun -n libhivex0 -p /sbin/ldconfig

%files -f %{name}.lang
%defattr(-,root,root)
%doc README
%{_bindir}/*
%{_mandir}/*/*

%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/*
%{_includedir}/*
%{_libdir}/*.so

%files -n libhivex0
%defattr(-,root,root)
%{_libdir}/*.so.*

%if %{with_python}
%files -n python-hivex
%defattr(-,root,root)
%{_libdir}/python%{pyver}/site-packages/*
%endif

%if %{with_perl}
%post -n perl-Win-Hivex -p /sbin/ldconfig

%postun -n perl-Win-Hivex -p /sbin/ldconfig

%files -n perl-Win-Hivex -f %{name}.files
%defattr(-,root,root)
%endif
#

%changelog
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to