45 lines
878 B
RPMSpec
45 lines
878 B
RPMSpec
Name: gettext
|
|
Version: 1.0
|
|
Release: 1%{?dist}
|
|
Summary: GNU tools and libraries for localized translated messages
|
|
|
|
License: GPL
|
|
URL: https://www.gnu.org/software/gettext/
|
|
Source0: https://ftp.gnu.org/pub/gnu/gettext/gettext-%{version}.tar.xz
|
|
|
|
BuildRequires: gcc
|
|
Requires: bash
|
|
|
|
%global _lto_cflags %{nil}
|
|
|
|
%description
|
|
GNU gettext is an important step for the GNU Translation Project,
|
|
as it is an asset on which we may build many other steps.
|
|
This package offers to programmers, translators, and even users,
|
|
a well integrated set of tools and documentation.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
|
|
%build
|
|
export CFLAGS="$CFLAGS -Wformat"
|
|
%configure
|
|
%make_build
|
|
|
|
|
|
%install
|
|
%make_install
|
|
|
|
|
|
%files
|
|
%{_bindir}
|
|
%{_libdir}
|
|
%{_libexecdir}
|
|
%{_datadir}
|
|
%{_includedir}
|
|
|
|
|
|
%changelog
|
|
* Fri Mar 13 2026 Dmitrii Tochanskii <tochansky@tochlab.ru>
|
|
-
|