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