Add requires on libxml2-python since itstool uses it

Drop redundant defattr
Add NEWS to doc
This commit is contained in:
Rahul Sundaram 2011-08-07 20:11:28 +05:30
parent 2c89dd6084
commit b06f5cd75b

View File

@ -1,6 +1,6 @@
Name: itstool
Version: 1.1.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: ITS-based XML translation tool
Group: Development/Tools
@ -9,36 +9,35 @@ URL: http://itstool.org/
Source0: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2
BuildArch: noarch
Requires: libxml2-python
%description
ITS Tool allows you to translate XML documents with PO files, using rules from
the W3C Internationalization Tag Set (ITS) to determine what to translate and
how to separate it into PO file messages.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING COPYING.GPL3
%doc COPYING COPYING.GPL3 NEWS
%{_bindir}/itstool
%{_datadir}/itstool
%doc %{_mandir}/man1/itstool.1.gz
%changelog
* Sun Aug 07 2011 Rahul Sundaram <sundaram@fedoraproject.org> 1.1.0-2
- Add requires on libxml2-python since itstool uses it
- Drop redundant defattr
- Add NEWS to doc
* Mon Jun 27 2011 Shaun McCance <shaunm@gnome.org> 1.1.0-1
- Update to itstool 1.1.0