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