Group :: Desenvolvimento/GNOME E GTK+
RPM: itstool
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_disable snapshot
%def_enable check
Name: itstool
Version: 2.0.7
Release: alt1
Summary: ITS-based XML translation tool
Group: Development/GNOME and GTK+
License: GPLv3+
Url: http://itstool.org/
%if_enabled snapshot
Source: %name-%version.tar
%else
Source: http://files.itstool.org/itstool/%name-%version.tar.bz2
%endif
BuildArch: noarch
BuildRequires: rpm-build-python3 python3-devel python3-module-libxml2
%description
ITS Tool allows 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
%build
%autoreconf
%configure %{?_with_python3:PYTHON=%__python3}
%make_build
%install
%makeinstall_std
%check
%make check
%files
%_bindir/%name
%_datadir/%name/
%_man1dir/%name.1.*
%doc NEWS
%changelog
…
Todas as alterações você pod ver aqui
%def_enable check
Name: itstool
Version: 2.0.7
Release: alt1
Summary: ITS-based XML translation tool
Group: Development/GNOME and GTK+
License: GPLv3+
Url: http://itstool.org/
%if_enabled snapshot
Source: %name-%version.tar
%else
Source: http://files.itstool.org/itstool/%name-%version.tar.bz2
%endif
BuildArch: noarch
BuildRequires: rpm-build-python3 python3-devel python3-module-libxml2
%description
ITS Tool allows 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
%build
%autoreconf
%configure %{?_with_python3:PYTHON=%__python3}
%make_build
%install
%makeinstall_std
%check
%make check
%files
%_bindir/%name
%_datadir/%name/
%_man1dir/%name.1.*
%doc NEWS
%changelog
…
Todas as alterações você pod ver aqui