source: projects/specs/trunk/p/python-xmldiff/python-xmldiff-vl.spec @ 5701

Revision 5701, 1.7 KB checked in by Takemikaduchi, 12 years ago (diff)

python-2.7.2

Line 
1%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2
3Name:           python-xmldiff
4Version:        0.6.9
5Release:        2%{?_dist_release}
6Summary:        Python classes to diff XML files
7
8Group:          System Environment/Libraries
9License:        GPL
10URL:            http://moblin.org/projects/clutter-gesture
11
12Source0:        ftp://ftp.logilab.org/pub/xmldiff/xmldiff-%{version}.tar.gz
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15
16BuildRequires:  python-devel
17
18Vendor: Project Vine
19Distribution: Vine Linux
20Packager: Takemikaduchi
21
22%description
23XMLdiff is a python tool that figures out the differences between two similar
24XML files, in the same way the diff utility does it for text files. It was
25developed for the Narval project and could also be used as a library or as a
26command line tool. It can work either with XML files or DOM trees
27
28%prep
29%setup -q -n xmldiff-%{version}
30
31%build
32export CFLAGS="%{optflags}"
33python setup.py build
34
35%install
36rm -rf %{buildroot}
37
38python setup.py install --root=%{buildroot} --record=INSTALLED_FILES
39rm -rf %{buildroot}%{_libdir}/python%{pyver}/site-packages/%{module}/test
40chmod 755 %{buildroot}%{_bindir}/*
41
42
43%clean
44rm -rf %{buildroot}
45
46%files
47%defattr(-,root,root,-)
48%doc README
49%{_bindir}/xmldiff
50%{_bindir}/xmlrev
51%{python_sitearch}/xmldiff/*
52%{python_sitearch}/xmldiff-%{version}-py%{pyver}.egg-info
53%{_datadir}/sgml/stylesheet/xmldiff/*
54
55
56%changelog
57* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.9-2
58- rebuild with python-2.7.2
59
60* Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.9-1
61- initial build for Vine Linux
62
Note: See TracBrowser for help on using the repository browser.