SPECS/gettext/gettext.spec
f4d17450
 Summary:	Utilities for internationalization and localization
 Name:		gettext
a930406e
 Version:	0.19.5.1
c3a3fd12
 Release:	2%{?dist}
f4d17450
 License:	GPLv3
 URL:		http://www.gnu.org/software/gettext
 Group:		Applications/System
 Vendor:		VMware, Inc.
 Distribution: Photon
a930406e
 Source0:		http://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.xz
 %define sha1 gettext=668562227972d2645ac6c5930448ba74df65a53f
f4d17450
 %description
 These allow programs to be compiled with NLS
 (Native Language Support), enabling them to output
 messages in the user's native language.
 %prep
 %setup -q
 %build
 ./configure \
 	--prefix=%{_prefix} \
 	--docdir=%{_defaultdocdir}/%{name}-%{version} \
 	--disable-silent-rules
 make %{?_smp_mflags}
 %install
 make DESTDIR=%{buildroot} install
 find %{buildroot}%{_libdir} -name '*.la' -delete
 rm -rf %{buildroot}/usr/share/doc/gettext-%{version}/examples
 rm -rf %{buildroot}%{_infodir}
5258b786
 %find_lang %{name} --all-name
 
f4d17450
 %check
 make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
5258b786
 %files -f %{name}.lang
f4d17450
 %defattr(-,root,root)
 %{_bindir}/*
 %{_includedir}/*
 %{_libdir}/gettext/*
 %{_libdir}/*.so.*
 %{_libdir}/*.so
 %{_libdir}/*.a
 %{_datarootdir}/aclocal/*
 %{_defaultdocdir}/%{name}-%{version}/*
 %{_datarootdir}/%{name}/*
 %{_mandir}/*/*
 %changelog
c3a3fd12
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.19.5.1-2
 -	GA - Bump release of all rpms
a930406e
 * 	Tue Jan 12 2016 Xiaolin Li <xiaolinl@vmware.com> 0.19.5.1-1
 - 	Updated to version 0.19.5.1
5258b786
 *	Tue Nov 10 2015 Xiaolin Li <xiaolinl@vmware.com> 0.18.3.2-2
 -	Handled locale files with macro find_lang
f4d17450
 *	Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 0.18.3.2-1
 -	Initial build. First version