# HG changeset patch # User Michael Schloh von Bennewitz # Date 1227792471 -3600 # Node ID 52e8b53d33be8c4cbfca804f0aae9cac7ab33fa0 # Parent 8d4f047ad6f8744f10d41a6d85d03808c92bb887 Import first revisions of package specifications. diff -r 8d4f047ad6f8 -r 52e8b53d33be as-gui/as-gui.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/as-gui/as-gui.spec Thu Nov 27 14:27:51 2008 +0100 @@ -0,0 +1,108 @@ +## +## as-gui.spec -- OpenPKG RPM Package Specification +## Copyright (c) 2000-2008 OpenPKG Foundation e.V. +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package information +Name: as-gui +Summary: Accounting System (AS) Graphical User Interface (GUI) +URL: http://www.ossp.org/pkg/tool/as/ +Vendor: Michael Schloh von Bennewitz +Packager: OpenPKG Foundation e.V. +Distribution: OpenPKG Community +Class: EVAL +Group: Finance +License: GPL +Version: 0.7.7 +Release: 20081124 + +# package options +%option with_corba yes +%option with_soap yes + +# list of sources +Source0: ftp://ftp.ossp.org/pkg/tool/as/as-gui-%{version}.tar.gz + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20050615, qt, pkgconfig, make +PreReq: OpenPKG, openpkg >= 20050615, qt +%if "%{with_corba}" == "yes" +BuildPreReq: mico +PreReq: mico +%endif +%if "%{with_soap}" == "yes" +BuildPreReq: easysoap +PreReq: easysoap +%endif +AutoReq: no +AutoReqProv: no + +%description + Accounting System (AS) is a time tracking and accounting system. AS + GUI is the graphical user interface client. + +%track + prog as-gui = { + version = %{version} + url = ftp://ftp.ossp.org/pkg/tool/as/ + regex = as-gui-(__VER__)\.tar\.gz + } + +%prep + %setup -q -n as-gui-%{version} + cp %{l_shtool} . + %{l_shtool} subst \ + -e 's;\($(IDL) --c++-suffix=cpp\) \($<\);\1 --use-quotes \2;' \ + Makefile.in + +%build + CC="%{l_cc}" \ + CXX="%{l_cxx}" \ + CPPFLAGS="%{l_cppflags}" \ + CFLAGS="%{l_cflags -O}" \ + CXXFLAGS="%{l_cxxflags -O}" \ + LDFLAGS="%{l_ldflags}" \ + ./configure \ + --prefix=%{l_prefix} \ + --datadir=%{l_prefix}/share/as-gui \ + --x-includes=`%{l_rc} --query x11_incdir` \ + --x-libraries=`%{l_rc} --query x11_libdir` \ +%if "%{with_corba}" == "yes" + --with-mico=%{l_prefix} \ +%endif +%if "%{with_soap}" == "yes" + --with-esoap=%{l_prefix} \ +%endif + --with-qt=%{l_prefix} + %{l_make} %{l_mflags -O} + +%install + rm -rf $RPM_BUILD_ROOT + %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT + diff -r 8d4f047ad6f8 -r 52e8b53d33be m2tstoavi/m2tstoavi.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m2tstoavi/m2tstoavi.spec Thu Nov 27 14:27:51 2008 +0100 @@ -0,0 +1,105 @@ +## +## m2tstoavi.spec -- OpenPKG RPM Package Specification +## Copyright (c) 2007 Michael Schloh von Bennewitz +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package information +Name: m2tstoavi +Summary: AVCHD Video File Conversion Kit +URL: http://www.olmosconsulting.com/hdr-sr1/ +Vendor: Axel Olmos +Packager: Michael Schloh von Bennewitz +Distribution: Europalab Production +Class: EVAL +Group: Video +License: Unknown +Version: 1 +Release: 20080610 + +# list of sources +Source0: http://www.olmosconsulting.com/m2ts.tar.gz +Source1: http://www.w6rz.net/xport.zip +Source2: http://iphome.hhi.de/suehring/tml/download/jm14.2.zip + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20040130, infozip +PreReq: OpenPKG, openpkg >= 20040130, ffmpeg, tcsh +AutoReq: no +AutoReqProv: no + +%description + M2ts is for people who have recorded .m2ts videos using a high + definition camcorder and want to play them on their computer, + or want to convert them to another format. + +%track + prog m2tstoavi = { + version = %{version} + url = http://www.olmosconsulting.com/ + regex = m2ts\.tar\.gz + } + +%prep + %setup -q -c %{name} + %{l_prefix}/bin/unzip -x -d xport %{SOURCE xport.zip} + %{l_prefix}/bin/unzip -x %{SOURCE jm14.0.zip} + %{l_shtool} subst -e 's;/bin/csh;%{l_prefix}/bin/tcsh;' m2ts/* + %{l_shtool} mkdir -f -p -m 755 JM/ldecod/obj + +%build + # build package + ( cd xport + %{l_cc} -o xporthdmv xport.c + ) || exit $? + ( cd JM/ldecod + touch dependencies + %{l_make} %{l_mflags -O} bin + ) || exit $? + +%install + rm -rf $RPM_BUILD_ROOT + + # create installation tree + %{l_shtool} mkdir -f -p -m 755 \ + $RPM_BUILD_ROOT%{l_prefix}/bin + + # install package + %{l_shtool} install -c -s -m 755 \ + JM/bin/ldecod.exe $RPM_BUILD_ROOT%{l_prefix}/bin/ldecod + %{l_shtool} install -c -s -m 755 \ + xport/xporthdmv $RPM_BUILD_ROOT%{l_prefix}/bin/xporthdmv + %{l_shtool} install -c -m 755 \ + m2ts/m2tstoavi.fifo $RPM_BUILD_ROOT%{l_prefix}/bin/m2tstoavi-fifo + %{l_shtool} install -c -m 755 \ + m2ts/m2tstoavi.nofifo $RPM_BUILD_ROOT%{l_prefix}/bin/m2tstoavi-nofifo + %{l_shtool} install -c -m 755 \ + m2ts/m2tstoavi.mencoder $RPM_BUILD_ROOT%{l_prefix}/bin/m2tstoavi-mencoder + + # determine installation files + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT + diff -r 8d4f047ad6f8 -r 52e8b53d33be qt/qt.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qt/qt.spec Thu Nov 27 14:27:51 2008 +0100 @@ -0,0 +1,359 @@ +## +## qt.spec -- OpenPKG RPM Specification +## Copyright (c) 2008 Michael Schloh von Bennewitz +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + + +# package information +Name: qt +Summary: Cross-platform Application Framework +URL: http://www.trolltech.com/products/qt/ +Vendor: Nokia Corporation +Packager: Michael Schloh von Bennewitz +Distribution: MSvB Recherche Production +Class: EVAL +Group: Development +License: GPL +Version: 4.4.3 +Release: 20081124 + +# build options +%option with_tools yes +%option with_shared no +%option with_examples no + +# list of sources +Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20050726, gcc, pkgconfig +PreReq: OpenPKG, openpkg >= 20050726 +BuildPreReq: X11, png, mng, jpeg, tiff, mesa, xrender +PreReq: X11, png, mng, jpeg, tiff, mesa, xrender +BuildPreReq: zlib, libiconv, sqlite, dbus, glib2 +PreReq: zlib, libiconv, sqlite, dbus, glib2 +BuildPreReq: fontconfig, freetype +PreReq: fontconfig, freetype +AutoReq: no +AutoReqProv: no +Provides: QTSDK + +%description + Qt is a cross-platform application framework. Using Qt, you can + develop applications and user interfaces once, and deploy them + across many desktop and embedded operating systems without + rewriting the source code. + +%track + prog qt = { + version = %{version} + url = ftp://ftp.trolltech.com/qt/source/ + regex = qt-x11-opensource-src-(__VER__)\.tar\.gz + } + +%prep + # announce exceptional build requirements + ( echo "This package has exceptional storage requirements:" + echo " qt-%{version}-root (2,5 Go)" + echo " qt-x11-opensource-src-%{version} (4,5 Go)" + echo " qt-%{version}-.--.rpm (1 Go)" + echo "Building with no options takes 0,5 hours on a dual core" + echo "2 GHz CPU, or 1,5 hours with all build options enabled." + ) | %{l_rpmtool} msg -b -t notice + + %setup -q -n qt-x11-opensource-src-%{version} + x11_incdir=`%{l_rc} --query x11_incdir` + x11_libdir=`%{l_rc} --query x11_libdir` + fontconf=`%{l_prefix}/bin/pkg-config --libs-only-l --static fontconfig` + loclibs='' + x11_supdir='' + case "%{l_platform -t}" in + *-sunos* ) + loclibs='-lsocket -lnsl' + [ -d /usr/X/sfw/lib ] && x11_supdir=/usr/X/sfw/lib + ;; + esac + ( cd mkspecs/qws + for plat in freebsd-generic-g++ macx-generic-g++ solaris-generic-g++; + do + ln -s $plat `echo $plat | %{l_shtool} subst -e 's;\(.*\)-generic-\(.*\);\1-x86-\2;'` + done + ) || exit $? + %{l_shtool} subst \ + -e 's;\(-z[ \t][ \t]*\)\([^ \t\"][^ \t\"]*\);\1"\2";g' \ + configure + %{l_shtool} subst \ + -e "s;\(QMAKE_LIBS_X11.*\)-lfreetype -lfontconfig;\1$fontconf;" \ + configure + %{l_shtool} subst \ + -e 's;-silent|;-rpath|-silent|;' \ + -e 's;\(RPATH_FLAGS="\)\\"\$QT_INSTALL_LIBS\\" \($RPATH_FLAGS"\);\1\2;' \ + -e "s;\(echo.*QMAKE_RPATHDIR +=\).*\$QT_INSTALL_LIBS\\\\\"\\\";\1 $x11_libdir\";" \ + configure + if [ ".$x11_supdir" != . -a -d "$x11_supdir" ]; then + %{l_shtool} subst \ + -e "s;\(echo.*QMAKE_RPATHDIR += \)\($x11_libdir\\\"\)\( >> \\\"\$QTCONFIG\.tmp\\\"\);\1\2\3 \&\& \1$x11_supdir\"\3;" \ + configure + fi + %{l_shtool} subst \ + -e 's;\(TRY_INCLUDEPATHS = \).*\(\$\$INCLUDEPATH\);\1\2;' \ + -e 's;/freetype2;/freetype;' \ + config.tests/unix/freetype/freetype.pri + %{l_shtool} subst \ + -e "s;^\(LIBS += \)-lfreetype -lfontconfig;\1$fontconf;" \ + config.tests/x11/fontconfig/fontconfig.pro + %{l_shtool} subst \ + -e "s;\(LIBS += -lpq\);\1 -lssl -lcrypto $loclibs;" \ + config.tests/unix/psql/psql.pro + %{l_shtool} subst \ + -e 's;^mac:\(LIBS\);\1;' \ + config.tests/unix/iconv/iconv.pro + %{l_shtool} subst \ + -e 's;^\(QMAKE_INCDIR[^a-zA-Z0-9=]*=\).*;\1 %{l_prefix}/include;' \ + -e 's;^\(QMAKE_LIBDIR[^a-zA-Z0-9=]*=\).*;\1 %{l_prefix}/lib;' \ + -e "s;^\(QMAKE_INCDIR_OPENGL[^=]*=\) *\(.*\);\1 %{l_prefix}/include \2;" \ + -e "s;^\(QMAKE_LIBDIR_OPENGL[^=]*=\) *\(.*\);\1 %{l_prefix}/lib \2 $x11_supdir;" \ + -e 's;^\(QMAKE_LFLAGS_RELEASE.*\);\1 -s;' \ + mkspecs/qws/*/qmake.conf \ + mkspecs/*/*.conf + %{l_shtool} subst \ + -e "s;^\(QMAKE_INCDIR_X11[^=]*=\) *\(.*\);\1 %{l_prefix}/include \2;" \ + -e "s;^\(QMAKE_LIBDIR_X11[^=]*=\) *\(.*\);\1 %{l_prefix}/lib \2 $x11_supdir;" \ + mkspecs/qws/solaris*/qmake.conf \ + mkspecs/solaris*/qmake.conf + %{l_shtool} subst \ + -e 's; *\.\./3rdparty/freetype/.*;;g' \ + -e 's;^\( *contains(QT_CONFIG, freetype) {\);\1 LIBS += -lfreetype;' \ + src/gui/text/text.pri + %{l_shtool} subst \ + -e 's;\(#include *"\)\(tiffio.h"\);\1tiff/\2;' \ + src/plugins/imageformats/tiff/qtiffhandler.cpp +# for projfile in `find examples/ -name '*.pro' -print`; do +# echo 'CONFIG += release' >>$projfile +# done + +%build + # protect against sloppy code inclusion of all unused subprojects + rm -rf src/3rdparty/[^cdhmsw]* src/3rdparty/sql* src/3rdparty/win* + + case "%{l_platform -t}" in + *-aix* ) platcomp="aix-g++" ;; + *-freebsd* ) platcomp="freebsd-g++" ;; + *-hpux* ) platcomp="hpux-g++" ;; + *-irix* ) platcomp="irix-g++" ;; + *-linux* ) platcomp="linux-g++" ;; + *-darwin* ) platcomp="macx-g++" ;; + *-sunos* ) platcomp="solaris-g++" ;; + * ) echo "Platform '%{l_platform -t}' is not supported." 2>&1; exit 1 ;; + esac + +%if "%{with_shared}" == "yes" + # optional shared build (precedes mandatory static build) + echo 'yes' | ./configure \ + -prefix %{l_prefix} \ + -bindir %{l_prefix}/bin \ + -libdir %{l_prefix}/lib/qt \ + -docdir %{l_prefix}/share/qt/doc \ + -headerdir %{l_prefix}/include \ + -plugindir %{l_prefix}/share/qt/plugins \ + -datadir %{l_prefix}/share/qt \ + -translationdir %{l_prefix}/share/qt/translations \ + -sysconfdir %{l_prefix}/etc/qt \ + -examplesdir %{l_prefix}/share/qt/examples \ + -demosdir %{l_prefix}/share/qt/demos \ + -release \ + -shared \ + -platform $platcomp \ + -no-sql-ibase \ + -no-sql-mysql \ + -no-sql-odbc \ + -no-sql-psql \ + -no-sql-sqlite2 \ + -qt-sql-sqlite \ + -system-sqlite \ + -xmlpatterns \ + -svg \ + -no-webkit \ + -system-zlib \ + -qt-gif \ + -system-libpng \ + -system-libmng \ + -system-libjpeg \ + -system-libtiff \ + -rpath \ + -no-cups \ + -iconv \ + -pch \ + -dbus-linked \ + -opengl \ + -xrender \ + -fontconfig \ + -freetype \ + -glib + + # default options are implicitly used, und zwar... + #-no-fast -exceptions -accessibility -stl -qt3support -nis + #-sm -xshape -xinerama -xcursor -xfixes -xrandr -tablet -xkb + + # carry out shared build procedure + ( cd src + %{l_make} %{l_mflags -O} \ + sub-moc sub-rcc sub-uic + %{l_make} %{l_mflags -O} \ + sub-corelib sub-xml sub-network sub-gui sub-sql \ + sub-script sub-testlib sub-qt3support sub-dbus \ + sub-opengl sub-xmlpatterns sub-svg sub-plugins + ) || exit $? + + # cache shared libs and initialize the build configuration, which + # would otherwise still contain references to our shared libs build + %{l_shtool} mkdir -f -p -m 755 dynamic + mv lib/* dynamic/ + ( cd qmake + %{l_make} %{l_mflags} distclean + ) || exit $? + rm -f .qmake.cache +%endif + + # mandatory static build (follows optional shared build) + echo 'yes' | ./configure \ + -prefix %{l_prefix} \ + -bindir %{l_prefix}/bin \ + -libdir %{l_prefix}/lib \ + -docdir %{l_prefix}/share/qt/doc \ + -headerdir %{l_prefix}/include \ + -plugindir %{l_prefix}/share/qt/plugins \ + -datadir %{l_prefix}/share/qt \ + -translationdir %{l_prefix}/share/qt/translations \ + -sysconfdir %{l_prefix}/etc/qt \ + -examplesdir %{l_prefix}/share/qt/examples \ + -demosdir %{l_prefix}/share/qt/demos \ + -release \ + -static \ + -platform $platcomp \ + -no-sql-ibase \ + -no-sql-mysql \ + -no-sql-odbc \ + -no-sql-psql \ + -no-sql-sqlite2 \ + -qt-sql-sqlite \ + -system-sqlite \ + -xmlpatterns \ + -svg \ + -no-webkit \ + -system-zlib \ + -qt-gif \ + -system-libpng \ + -system-libmng \ + -system-libjpeg \ + -system-libtiff \ + -rpath \ + -no-cups \ + -iconv \ + -pch \ + -dbus-linked \ + -opengl \ + -xrender \ + -fontconfig \ + -freetype \ + -glib + + # default options are implicitly used, und zwar... + #-no-fast -exceptions -accessibility -stl -qt3support -nis + #-sm -xshape -xinerama -xcursor -xfixes -xrandr -tablet -xkb + + # carry out static build procedure + %{l_make} %{l_mflags -O} sub-src +%if "%{with_tools}" == "yes" + %{l_make} %{l_mflags -O} sub-tools +%endif +%if "%{with_examples}" == "yes" + %{l_make} %{l_mflags -O} \ + sub-demos-make_default-ordered \ + sub-examples-make_default-ordered +%endif + +%install + rm -rf $RPM_BUILD_ROOT + + # carry out installation procedure + targets="sub-moc-install_subtargets-ordered \ + sub-rcc-install_subtargets-ordered \ + sub-uic-install_subtargets-ordered \ + sub-corelib-install_subtargets-ordered \ + sub-xml-install_subtargets-ordered \ + sub-network-install_subtargets-ordered \ + sub-gui-install_subtargets-ordered \ + sub-sql-install_subtargets-ordered \ + sub-script-install_subtargets-ordered \ + sub-testlib-install_subtargets-ordered \ + sub-qt3support-install_subtargets-ordered \ + sub-dbus-install_subtargets-ordered \ + sub-uic3-install_subtargets-ordered \ + sub-opengl-install_subtargets-ordered \ + sub-xmlpatterns-install_subtargets-ordered \ + sub-svg-install_subtargets-ordered \ + sub-plugins-install_subtargets-ordered" +%if "%{with_tools}" == "yes" + targets="$targets sub-tools-install_subtargets-ordered" +%endif +%if "%{with_examples}" == "yes" + targets="$targets sub-demos-install_subtargets-ordered sub-examples-install_subtargets-ordered" +%endif + targets="$targets install_htmldocs install_translations install_qmake install_mkspecs" + %{l_make} %{l_mflags} $targets INSTALL_ROOT="$RPM_BUILD_ROOT" + +%if "%{with_shared}" == "yes" + # install shared libs and symlinks + %{l_shtool} mkdir -f -p -m 755 \ + $RPM_BUILD_ROOT%{l_prefix}/lib/qt + %{l_tar} cf - dynamic | %{l_tar} xf - -C $RPM_BUILD_ROOT%{l_prefix}/lib/qt + + # explain nonstandard shared library placement + ( echo "This directory contains optional shared libraries as" + echo "defined by the OpenPKG build specification. Although" + echo "shared libraries are only optionally built (see the" + echo "build time 'with_shared yes' option), static libraries" + echo "are built and installed in the parent 'lib' directory." + ) >$RPM_BUILD_ROOT%{l_prefix}/lib/qt/README + + # do not support pkg-config(1) with shared libs + rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/qt/pkgconfig + + # remove temporary dynamic link paths + %{l_shtool} subst \ + -e 's;\(QMAKE_PRL_BUILD_DIR[^=][^=]*=\).*\(qt-x11-opensource-src.*\);\1 /tmp/\2;' \ + $RPM_BUILD_ROOT%{l_prefix}/lib/*.prl +%endif + + # determine internal file listing + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ + %{l_files_std} \ + '%doc %{l_prefix}/share/qt/doc/*' \ + '%not %dir %{l_prefix}/lib/pkgconfig' + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT +