2007-01-15 14:34:46 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-xmldiff (Version 0.6.8)
|
|
|
|
|
#
|
2009-06-17 22:20:11 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 14:34:46 +00:00
|
|
|
#
|
2009-06-17 22:20:11 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2007-01-15 14:34:46 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
2009-06-17 22:20:11 +00:00
|
|
|
|
2007-01-15 14:34:46 +00:00
|
|
|
Name: python-xmldiff
|
|
|
|
|
BuildRequires: python-devel
|
2009-06-17 22:20:11 +00:00
|
|
|
Summary: Python Tool for Detecting Differences Between XML Files
|
|
|
|
|
License: GPL v2 or later
|
2007-01-15 14:34:46 +00:00
|
|
|
Version: 0.6.8
|
2009-06-17 22:20:11 +00:00
|
|
|
Release: 181
|
2007-01-15 14:34:46 +00:00
|
|
|
Group: Productivity/Publishing/XML
|
|
|
|
|
Source: ftp://ftp.logilab.org/pub/xmldiff/xmldiff-%{version}.tar.gz
|
|
|
|
|
Patch: xmldiff-0.6.7-clean-tmp.patch
|
|
|
|
|
Patch1: xmldiff-0.6.7-xsldata.patch
|
|
|
|
|
Patch2: xmldiff-0.6.8-python2.5.patch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-06-17 22:20:11 +00:00
|
|
|
Url: http://www.logilab.org/projects/xmldiff/
|
2007-01-15 14:34:46 +00:00
|
|
|
Requires: file opensp libxslt python-xml
|
|
|
|
|
%py_requires
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
XMLdiff shows the differences between two similar XML files in the same
|
2009-06-17 22:20:11 +00:00
|
|
|
way 'diff' does with text files. It can also be used as a library or as
|
|
|
|
|
a command line tool and can work either with XML files or DOM trees.
|
2007-01-15 14:34:46 +00:00
|
|
|
The implementation is based on "Change detection in hierarchically
|
|
|
|
|
structured information", by S. Chawathe, A. Rajaraman, H.
|
|
|
|
|
Garcia-Molina, and J. Widom, Stanford University, 1996.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Sylvain Thenault <sylvain.thenault@logilab.fr>
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n xmldiff-%{version}
|
|
|
|
|
%patch
|
|
|
|
|
%patch1
|
|
|
|
|
%patch2
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
python setup.py build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
%doc ChangeLog TODO README* doc/
|
|
|
|
|
%{py_sitedir}/xmldiff
|
|
|
|
|
%{_datadir}/xml/xmldiff
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{py_sitedir}/*egg-info
|
|
|
|
|
|
2009-06-17 22:20:11 +00:00
|
|
|
%changelog
|
|
|
|
|
* Mon Jan 15 2007 ke@suse.de
|
2007-01-15 14:34:46 +00:00
|
|
|
- Remove /usr/share/xml from the files list.
|
2009-06-17 22:20:11 +00:00
|
|
|
* Tue Sep 26 2006 cthiel@suse.de
|
2007-01-15 14:34:46 +00:00
|
|
|
- fix build with python 2.5
|
|
|
|
|
- update to version 0.6.8
|
|
|
|
|
* various fixes
|
|
|
|
|
- removed xmldiff-0.6.7-x64safe.patch
|
2009-06-17 22:20:11 +00:00
|
|
|
* Fri Jun 02 2006 cthiel@suse.de
|
2007-01-15 14:34:46 +00:00
|
|
|
- specfile cleanup, added Requires
|
|
|
|
|
- imported 3 patches from Fedora
|
2009-06-17 22:20:11 +00:00
|
|
|
* Tue Feb 28 2006 jmatejek@suse.cz
|
2007-01-15 14:34:46 +00:00
|
|
|
- updated to reflect python changes due to #149809
|
2009-06-17 22:20:11 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 14:34:46 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-17 22:20:11 +00:00
|
|
|
* Wed Dec 07 2005 ke@suse.de
|
2007-01-15 14:34:46 +00:00
|
|
|
- Update to version 0.6.7.
|
|
|
|
|
- Drop obsolete tmp file patch.
|
2009-06-17 22:20:11 +00:00
|
|
|
* Thu Oct 23 2003 ke@suse.de
|
2007-01-15 14:34:46 +00:00
|
|
|
- New package: version 0.6.4.
|