|
|
@ -14,7 +14,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: po-debconf
|
|
|
|
Name: po-debconf
|
|
|
|
Version: 1.0.20
|
|
|
|
Version: 1.0.20
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: Tool for managing templates file translations with gettext
|
|
|
|
Summary: Tool for managing templates file translations with gettext
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Tools
|
|
|
|
Group: Development/Tools
|
|
|
@ -31,6 +31,7 @@ BuildRequires: /usr/bin/pod2html
|
|
|
|
# Needed for check
|
|
|
|
# Needed for check
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: perl(Test)
|
|
|
|
BuildRequires: perl(Test::Harness)
|
|
|
|
BuildRequires: perl(Test::Harness)
|
|
|
|
BuildRequires: debconf
|
|
|
|
BuildRequires: debconf
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: intltool
|
|
|
@ -58,13 +59,10 @@ common gettext utilities.
|
|
|
|
# Fix upstream
|
|
|
|
# Fix upstream
|
|
|
|
chmod -x COPYING
|
|
|
|
chmod -x COPYING
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
( cd ./tests && PODEBCONF_LIB=/usr/bin ./run.pl )
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
mkdir -p \
|
|
|
|
mkdir -p \
|
|
|
@ -88,15 +86,23 @@ for lang_man in `find doc/ -name "*.1" -exec dirname {} \; | sort -u`; do
|
|
|
|
done
|
|
|
|
done
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
install -pm 644 encodings %{buildroot}/%{_datadir}/%{name}
|
|
|
|
install -pm 644 encodings %{buildroot}%{_datadir}/%{name}/
|
|
|
|
install -pm 644 pot-header %{buildroot}/%{_datadir}/%{name}/
|
|
|
|
install -pm 644 pot-header %{buildroot}%{_datadir}/%{name}/
|
|
|
|
cp -a podebconf-report-po_templates/ %{buildroot}/%{_datadir}/%{name}/templates
|
|
|
|
cp -a podebconf-report-po_templates/ %{buildroot}%{_datadir}/%{name}/templates
|
|
|
|
|
|
|
|
# fix for https://bugzilla.redhat.com/show_bug.cgi?id=1345764
|
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=591389#c18
|
|
|
|
|
|
|
|
ln -s ../bin %{buildroot}%{_datadir}/intltool-debian
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang po-debconf --without-mo --with-man --all-name
|
|
|
|
%find_lang po-debconf --without-mo --with-man --all-name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
( cd ./tests && PODEBCONF_LIB=/usr/bin ./run.pl )
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files -f po-debconf.lang
|
|
|
|
%files -f po-debconf.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README README-trans
|
|
|
|
%doc COPYING README README-trans
|
|
|
|
%license COPYING
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
%{_bindir}/debconf-gettextize
|
|
|
|
%{_bindir}/debconf-gettextize
|
|
|
|
%{_bindir}/debconf-updatepo
|
|
|
|
%{_bindir}/debconf-updatepo
|
|
|
@ -104,8 +110,13 @@ cp -a podebconf-report-po_templates/ %{buildroot}/%{_datadir}/%{name}/templates
|
|
|
|
%{_bindir}/podebconf-display-po
|
|
|
|
%{_bindir}/podebconf-display-po
|
|
|
|
%{_bindir}/podebconf-report-po
|
|
|
|
%{_bindir}/podebconf-report-po
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
|
|
|
%{_datadir}/intltool-debian
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun May 13 2018 Sérgio Basto <sergio@serjux.com> - 1.0.20-5
|
|
|
|
|
|
|
|
- Add symlink to /usr/share/intltool-debian (#1345764)
|
|
|
|
|
|
|
|
- Add License macro
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.20-4
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.20-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|