forked from pool/python-xmldiff
90 lines
2.5 KiB
RPMSpec
90 lines
2.5 KiB
RPMSpec
|
|
#
|
||
|
|
# spec file for package python-xmldiff (Version 0.6.8)
|
||
|
|
#
|
||
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
|
# This file and all modifications and additions to the pristine
|
||
|
|
# package are under the same license as the package itself.
|
||
|
|
#
|
||
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
|
#
|
||
|
|
|
||
|
|
# norootforbuild
|
||
|
|
|
||
|
|
Name: python-xmldiff
|
||
|
|
BuildRequires: python-devel
|
||
|
|
Summary: Python Tool for Detecting Differences between XML Files
|
||
|
|
License: GNU General Public License (GPL)
|
||
|
|
Version: 0.6.8
|
||
|
|
Release: 29
|
||
|
|
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
|
||
|
|
URL: http://www.logilab.org/projects/xmldiff/
|
||
|
|
Requires: file opensp libxslt python-xml
|
||
|
|
|
||
|
|
%py_requires
|
||
|
|
|
||
|
|
%description
|
||
|
|
XMLdiff shows the differences between two similar XML files in the same
|
||
|
|
way that 'diff' does with text files. It can also be used as a library
|
||
|
|
or as a command line tool. It can work either with XML files or DOM
|
||
|
|
trees.
|
||
|
|
|
||
|
|
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
|
||
|
|
|
||
|
|
%changelog -n python-xmldiff
|
||
|
|
* Mon Jan 15 2007 - ke@suse.de
|
||
|
|
- Remove /usr/share/xml from the files list.
|
||
|
|
* Tue Sep 26 2006 - cthiel@suse.de
|
||
|
|
- fix build with python 2.5
|
||
|
|
- update to version 0.6.8
|
||
|
|
* various fixes
|
||
|
|
- removed xmldiff-0.6.7-x64safe.patch
|
||
|
|
* Fri Jun 02 2006 - cthiel@suse.de
|
||
|
|
- specfile cleanup, added Requires
|
||
|
|
- imported 3 patches from Fedora
|
||
|
|
* Tue Feb 28 2006 - jmatejek@suse.cz
|
||
|
|
- updated to reflect python changes due to #149809
|
||
|
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
|
- converted neededforbuild to BuildRequires
|
||
|
|
* Wed Dec 07 2005 - ke@suse.de
|
||
|
|
- Update to version 0.6.7.
|
||
|
|
- Drop obsolete tmp file patch.
|
||
|
|
* Thu Oct 23 2003 - ke@suse.de
|
||
|
|
- New package: version 0.6.4.
|