Spec file cleanup
This commit is contained in:
parent
3d2b5ea009
commit
685e15bd65
11
gettext.spec
11
gettext.spec
@ -19,7 +19,7 @@ Release: 4%{?dist}
|
||||
# - libtextstyle info files
|
||||
# Everything else is GPLv3+
|
||||
License: GPLv3+ and LGPLv2+ and GFDL
|
||||
URL: http://www.gnu.org/software/gettext/
|
||||
URL: https://www.gnu.org/software/gettext/
|
||||
Source: https://ftp.gnu.org/pub/gnu/gettext/%{name}-%{version}.tar.xz
|
||||
Source2: msghack.py
|
||||
Source3: msghack.1
|
||||
@ -226,8 +226,8 @@ sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
||||
aclocaldir=%{_datadir}/aclocal EXAMPLESFILES=""
|
||||
|
||||
|
||||
install -pm 755 %SOURCE2 ${RPM_BUILD_ROOT}/%{_bindir}/msghack
|
||||
install -pm 644 %SOURCE3 ${RPM_BUILD_ROOT}/%{_mandir}/man1/msghack.1
|
||||
install -pm 755 %SOURCE2 ${RPM_BUILD_ROOT}%{_bindir}/msghack
|
||||
install -pm 644 %SOURCE3 ${RPM_BUILD_ROOT}%{_mandir}/man1/msghack.1
|
||||
|
||||
|
||||
# make preloadable_libintl.so executable
|
||||
@ -245,7 +245,7 @@ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/gettext/examples
|
||||
|
||||
rm -rf htmldoc
|
||||
mkdir htmldoc
|
||||
mv ${RPM_BUILD_ROOT}%{_datadir}/doc/gettext/* ${RPM_BUILD_ROOT}/%{_datadir}/doc/libasprintf/* htmldoc
|
||||
mv ${RPM_BUILD_ROOT}%{_datadir}/doc/gettext/* ${RPM_BUILD_ROOT}%{_datadir}/doc/libasprintf/* htmldoc
|
||||
rm -r ${RPM_BUILD_ROOT}%{_datadir}/doc/libasprintf
|
||||
rm -r ${RPM_BUILD_ROOT}%{_datadir}/doc/gettext
|
||||
|
||||
@ -296,8 +296,9 @@ make check LIBUNISTRING=-lunistring
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS gettext-runtime/BUGS
|
||||
%doc COPYING gettext-tools/misc/DISCLAIM README
|
||||
%doc gettext-tools/misc/DISCLAIM README
|
||||
%doc NEWS THANKS
|
||||
%doc gettext-runtime/man/*.1.html
|
||||
%doc gettext-runtime/intl/COPYING*
|
||||
|
Loading…
Reference in New Issue
Block a user