- set preloadable_libintl.so executable in %%install so it gets stripped
- force removal of infodir/dir since it is not there when /sbin is not in path
This commit is contained in:
parent
ffef973515
commit
2de57df9e1
13
gettext.spec
13
gettext.spec
@ -4,7 +4,7 @@
|
|||||||
Summary: GNU libraries and utilities for producing multi-lingual messages
|
Summary: GNU libraries and utilities for producing multi-lingual messages
|
||||||
Name: gettext
|
Name: gettext
|
||||||
Version: 0.16.1
|
Version: 0.16.1
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: GPL/LGPL
|
License: GPL/LGPL
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz
|
||||||
@ -85,7 +85,10 @@ ln -s ../../bin/gettext ${RPM_BUILD_ROOT}%{_bindir}/gettext
|
|||||||
|
|
||||||
install -pm 755 %SOURCE2 ${RPM_BUILD_ROOT}/%{_bindir}/msghack
|
install -pm 755 %SOURCE2 ${RPM_BUILD_ROOT}/%{_bindir}/msghack
|
||||||
|
|
||||||
rm ${RPM_BUILD_ROOT}%{_infodir}/dir
|
# make preloadable_libintl.so
|
||||||
|
chmod 755 ${RPM_BUILD_ROOT}%{_libdir}/preloadable_libintl.so
|
||||||
|
|
||||||
|
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
|
||||||
|
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/emacs/site-lisp/site-start.d
|
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/emacs/site-lisp/site-start.d
|
||||||
install -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/emacs/site-lisp/site-start.d
|
install -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/emacs/site-lisp/site-start.d
|
||||||
@ -177,7 +180,7 @@ fi
|
|||||||
%exclude %{_bindir}/gettextize
|
%exclude %{_bindir}/gettextize
|
||||||
%{_libdir}/libgettextlib-%{version}.so
|
%{_libdir}/libgettextlib-%{version}.so
|
||||||
%{_libdir}/libgettextsrc-%{version}.so
|
%{_libdir}/libgettextsrc-%{version}.so
|
||||||
%attr(755,root,root) %{_libdir}/preloadable_libintl.so
|
%{_libdir}/preloadable_libintl.so
|
||||||
%{_infodir}/gettext*
|
%{_infodir}/gettext*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%exclude %{_mandir}/man1/gettextize.1.gz
|
%exclude %{_mandir}/man1/gettextize.1.gz
|
||||||
@ -220,6 +223,10 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 15 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-7
|
||||||
|
- set preloadable_libintl.so executable in %%install so it gets stripped
|
||||||
|
- force removal of infodir/dir since it is not there when /sbin is not in path
|
||||||
|
|
||||||
* Tue Mar 13 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-6
|
* Tue Mar 13 2007 Jens Petersen <petersen@redhat.com> - 0.16.1-6
|
||||||
- add buildjar switch for building of libintl.jar
|
- add buildjar switch for building of libintl.jar
|
||||||
- lots of spec file cleanup (Mamoru Tasaka, #225791):
|
- lots of spec file cleanup (Mamoru Tasaka, #225791):
|
||||||
|
Loading…
Reference in New Issue
Block a user