#TARBALL: http://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz #MD5SUM: 12e517cac2b57a0121cda351570f1e63;SOURCES/intltool-0.51.0.tar.gz #----------------------------------------------------------------------------- Summary: The Intltool is an internationalization tool used for extracting translatable strings from source files. Name: intltool Version: 0.51.0 Release: 2 License: GPLv2 URL: Any Group: LFS/Base Source0: http://launchpad.net/intltool/trunk/0.51.0/+download/%{name}-%{version}.tar.gz Requires: filesystem %description The Intltool is an internationalization tool used for extracting translatable strings from source files. #----------------------------------------------------------------------------- %prep %setup -q -n %{NAME}-%{VERSION} sed -i 's:\\\${:\\\$\\{:' intltool-update.in %build ./configure \ --prefix=%{_prefix} make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install install -vDm 644 doc/I18N-HOWTO %{buildroot}%{_docdir}/%{name}-%{version}/I18N-HOWTO #----------------------------------------------------------------------------- # Copy license/copying file install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE #----------------------------------------------------------------------------- # Create file list find %{buildroot} -name '*.la' -delete find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list sed -i '/man\/man/d' filelist.list sed -i '/\/usr\/share\/info/d' filelist.list #----------------------------------------------------------------------------- %files -f filelist.list %defattr(-,root,root) %{_mandir}/man8/* #----------------------------------------------------------------------------- %changelog * Sun May 31 2020 Chris Cromer 0.51.0-2 * Tue Jan 09 2018 baho-utot 0.51.0-1 - Initial build. First version