Changeset 552 for spec/trunk/SPECS/libtool.spec
- Timestamp:
- Feb 17, 2015, 9:54:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/libtool.spec
r502 r552 5 5 Summary: The GNU Portable Library Tool 6 6 Name: libtool 7 Version: 2.4. 28 Release: 9%{?dist}7 Version: 2.4.6 8 Release: 1%{?dist} 9 9 License: GPLv2+ and LGPLv2+ and GFDL 10 10 URL: http://www.gnu.org/software/libtool/ … … 14 14 15 15 %define svn_url http://svn.netlabs.org/repos/ports/libtool/trunk 16 %define svn_rev 95516 %define svn_rev 1070 17 17 18 18 Source: %{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip … … 20 20 BuildRequires: gcc make subversion zip 21 21 22 #Requires(post): /sbin/install-info 23 #Requires(preun): /sbin/install-info 22 # @todo Replace with `%info_requires` when it's available. 23 Requires(post): %{_sbindir}/install-info.exe 24 Requires(preun): %{_sbindir}/install-info.exe 24 25 25 26 BuildRequires: autoconf, automake … … 90 91 %endif 91 92 92 # make sure configure is updated to properly support OS/2 93 bootstrap 93 # Make sure configure is updated to properly support OS/2 94 export PATH=`echo $PATH | tr '\\\\' /` 95 ./bootstrap --copy --force --skip-git 96 97 # Restore .version and ChangeLog as they are not properly regenerated (they need .git) 98 rm -f .version ChangeLog 99 mv .version~ .version 100 mv ChangeLog~ ChangeLog 94 101 95 102 %build 96 97 # we don't have makeinfo/help2man yet; fake them (this will wipe docs out)98 export MAKEINFO=:99 export HELP2MAN=:100 103 101 104 %configure --prefix=%{_prefix} \ … … 134 137 rm -f %{buildroot}%{_libdir}/ltdl.a 135 138 136 #%post 137 #/sbin/install-info %{_infodir}/libtool.info.gz %{_infodir}/dir || : 138 139 #%preun 140 #if [ "$1" = 0 ]; then 141 # /sbin/install-info --delete %{_infodir}/libtool.info.gz %{_infodir}/dir || : 142 #fi 139 %post 140 # @todo Replace with `%info_post foobar.info` when it's available. 141 if [ -f %{_infodir}/libtool.info ]; then 142 %{_sbindir}/install-info.exe %{_infodir}/libtool.info %{_infodir}/dir || : 143 fi 144 145 %preun 146 # @todo Replace with `%info_preun foobar.info` when it's available. 147 if [ $1 -eq 0 ]; then 148 if [ -f %{_infodir}/libtool.info ]; then 149 %{_sbindir}/install-info.exe --delete %{_infodir}/libtool.info %{_infodir}/dir || : 150 fi 151 fi 143 152 144 153 %files 145 154 %defattr(-,root,root) 146 155 %doc AUTHORS COPYING NEWS README THANKS TODO ChangeLog* 147 #%{_infodir}/libtool.info*.gz 156 %{_infodir}/libtool.info* 148 157 %{_mandir}/man1/libtool.1* 149 158 %{_mandir}/man1/libtoolize.1* … … 173 182 174 183 %changelog 184 * Tue Feb 17 2015 Dmitriy Kuminov <coding@dmik.org> 2.4.6-1 185 - Update to version 2.4.6 from vendor. 186 175 187 * Tue Jan 23 2015 yd 176 188 - rebuild for gcc 4.9.2.
Note:
See TracChangeset
for help on using the changeset viewer.