Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37422714
en ru br
ALT Linux repos

Group :: Text tools
RPM: acheck

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(Config/ perl( perl(File/Spec/ perl(IO/ perl(Term/ perl(Term/ perl(Term/ perl-podlators
# END SourceDeps(oneline)
Name:           acheck
Version:        0.5.4
Release:        alt1_0
Summary:        Check common localisation mistakes

Group:          Text tools
License:        GPLv2+
URL:  {name}
BuildRequires:  gettext
BuildRequires:  /usr/bin/pod2man
BuildArch:      noarch
Requires:       perl(Text/ perl(Config/ perl(Term/ perl(Locale/
Requires:       perl(Locale/ perl(Term/ReadLine/ perl(Term/ %{name}-rules

Any text file checker, is a tool designed to help both
translators and reviewers checking and fixing common localisation
mistakes according to file format. Rules can be defined to add new

%setup -q -n acheck-%{version}

#Empty build

mkdir -p $RPM_BUILD_ROOT/%{_bindir}/
install -p -m 755 %{name} $RPM_BUILD_ROOT/%{_bindir}/
mkdir -p $RPM_BUILD_ROOT%{perl_vendor_privlib}/ACheck/
install -p -m 644 \
cd po;make;cd ..

/usr/bin/pod2man man/acheck.1.pod acheck.1
/usr/bin/pod2man man/acheck.5.pod acheck.5
/usr/bin/pod2man man/
/usr/bin/pod2man man/

mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man5/
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/fr
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man5/fr

install -p -m 644 acheck.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
install -p -m 644 acheck.5 $RPM_BUILD_ROOT/%{_mandir}/man5/
install -p -m 644 $RPM_BUILD_ROOT/%{_mandir}/man1/fr/acheck.1
install -p -m 644 $RPM_BUILD_ROOT/%{_mandir}/man5/fr/acheck.5

mkdir -p $RPM_BUILD_ROOT/%{_datadir}/locale/fr/LC_MESSAGES/ \
$RPM_BUILD_ROOT/%{_datadir}/locale/pl/LC_MESSAGES/ \
install -p -m 644 po/ $RPM_BUILD_ROOT/%{_datadir}/locale/fr/LC_MESSAGES/%{name}.mo
install -p -m 644 po/ $RPM_BUILD_ROOT/%{_datadir}/locale/pl/LC_MESSAGES/%{name}.mo
install -p -m 644 po/ $RPM_BUILD_ROOT/%{_datadir}/locale/sv/LC_MESSAGES/%{name}.mo

%doc debian/changelog debian/copyright
%doc bash_completion.d


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin