Changeset 539 for spec/trunk/SPECS/help2man.spec
- Timestamp:
- Feb 13, 2015, 7:04:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/help2man.spec
r497 r539 8 8 Summary: Create simple man pages from --help output 9 9 Version: 1.46.4 10 Release: 1%{?dist}10 Release: 2%{?dist} 11 11 Group: Development/Tools 12 12 License: GPLv3+ … … 25 25 %{!?with_nls:BuildArch: noarch} 26 26 27 #BuildRequires: texinfo27 BuildRequires: texinfo 28 28 #BuildRequires: perl(Getopt::Long) 29 29 #BuildRequires: perl(POSIX) … … 35 35 %{?with_nls:BuildRequires: perl(I18N::Langinfo)} 36 36 37 #Requires(post): /sbin/install-info 38 #Requires(preun): /sbin/install-info 37 # @todo Replace with `%info_requires` when it's available. 38 Requires(post): %{_sbindir}/install-info.exe 39 Requires(preun): %{_sbindir}/install-info.exe 39 40 40 41 %description … … 70 71 #%find_lang %name --with-man 71 72 72 #%post 73 #/sbin/install-info %{_infodir}/help2man.info %{_infodir}/dir 2>/dev/null || : 73 %post 74 # @todo Replace with `%info_post foobar.info` when it's available. 75 if [ -f %{_infodir}/help2man.info ]; then 76 %{_sbindir}/install-info.exe %{_infodir}/help2man.info %{_infodir}/dir || : 77 fi 74 78 75 #%preun 76 #if [ $1 -eq 0 ]; then 77 # /sbin/install-info --delete %{_infodir}/help2man.info \ 78 # %{_infodir}/dir 2>/dev/null || : 79 #fi 79 %preun 80 # @todo Replace with `%info_preun foobar.info` when it's available. 81 if [ $1 -eq 0 ]; then 82 # @todo: don't remove these comment lines! See http://trac.netlabs.org/rpm/ticket/118 for more info. 83 ################################# 84 ################################# 85 if [ -f %{_infodir}/help2man.info ]; then 86 %{_sbindir}/install-info.exe --delete %{_infodir}/help2man.info %{_infodir}/dir || : 87 fi 88 fi 80 89 81 90 # See above … … 92 101 93 102 %changelog 103 * Fri Feb 13 2015 Dmitriy Kuminov <coding@dmik.org> 1.46.4-2 104 - Enable proper info file and locale data installation. 105 94 106 * Tue Jan 20 2015 Dmitriy Kuminov <coding@dmik.org> 1.46.4-1 95 107 - Initial package for version 1.46.4.
Note:
See TracChangeset
for help on using the changeset viewer.