2 Summary: Python XML/Schema processing tool
8 Group: Development/Languages/Python
9 Source0: http://pypi.python.org/packages/source/p/pyxsd/%{module}-0-1.tgz
10 # Source0-md5: 8f02162395a67956894efc4d1a2febda
11 URL: http://pyxsd.org/
12 BuildRequires: python-devel
13 BuildRequires: rpm-pythonprov
14 # if py_postclean is used
15 BuildRequires: rpmbuild(macros) >= 1.710
16 #Requires: python-libs
17 Requires: python-modules
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 pyXSD is a free, open source python program that maps xml and xsd(XML
23 Schema) files into python, allowing for easy schema-based validation
24 and transformation of xml files.
26 %description -l pl.UTF-8
29 %setup -q -c -n %{module}-%{version}
32 # CFLAGS is only for arch packages - remove on noarch packages
36 rm -rf $RPM_BUILD_ROOT
39 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
40 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
49 %attr(755,root,root) %{_bindir}/pyXSD.py
50 %{py_sitescriptdir}/%{module}
51 %if "%{py_ver}" > "2.4"
52 %{py_sitescriptdir}/%{module}-*.egg-info