qt/qt.spec

changeset 259
a6252f20c559
parent 258
85dc84aeb23f
child 262
495dc52debb0
equal deleted inserted replaced
16:459f9ff2011f 17:ee4197b7ae01
41 Distribution: MSvB Recherche Production 41 Distribution: MSvB Recherche Production
42 Class: EVAL 42 Class: EVAL
43 Group: Development 43 Group: Development
44 License: GPL 44 License: GPL
45 Version: 4.7.0 45 Version: 4.7.0
46 Release: 20101008 46 Release: 20101010
47 47
48 # build options 48 # build options
49 %option with_tools yes 49 %option with_tools yes
50 %option with_mysql no 50 %option with_mysql no
51 %option with_pgsql no 51 %option with_pgsql no
503 -e "s;\([\t ][\t ]*\)[^\t ][^\t ]*\(qt-everywhere-opensource-src-%{version}.*\);\1/tmp/\2;" \ 503 -e "s;\([\t ][\t ]*\)[^\t ][^\t ]*\(qt-everywhere-opensource-src-%{version}.*\);\1/tmp/\2;" \
504 $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/*.prl \ 504 $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/*.prl \
505 $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/*.la 505 $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/*.la
506 %endif 506 %endif
507 507
508 ## Doesn't work as expected, because RPM reads the --[in|ex]cludedocs
509 ## argument only when installing binary packages, rather than building.
510 #%define _excludedocs 0
511 #%define _includedocs 1
512 # echo %{_excludedocs}
513 # echo %{_includedocs}
514 #
515 ## Doesn't work as expected, because it seems that OpenPKG too mercilessly
516 ## removes RPM readi1ng of the %docdir keyword in rpm.patch.feature.
517 # %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
518 # %{l_files_std} \
519 # '%docdir %{l_prefix}/share/pkg/doc'
520 #
521 ## Doesn't work as expected, because the rpmtool(1) marks
522 ## only einzeln files as documents, skipping directories
523 # %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
524 # %{l_files_std} \
525 # '%doc %{l_prefix}/share/pkg/doc/doc.txt'
526 #
508 # determine internal file listing 527 # determine internal file listing
509 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ 528 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
510 %{l_files_std} \ 529 %{l_files_std} \
511 '%doc %{l_prefix}/share/qt/doc/*/*' \
512 '%not %dir %{l_prefix}/lib/pkgconfig' 530 '%not %dir %{l_prefix}/lib/pkgconfig'
513 531
514 %files -f files 532 %files -f files
515 533
516 %clean 534 %clean

mercurial