Thu, 27 Nov 2008 14:27:51 +0100
Import first revisions of package specifications.
as-gui/as-gui.spec | file | annotate | diff | comparison | revisions | |
m2tstoavi/m2tstoavi.spec | file | annotate | diff | comparison | revisions | |
qt/qt.spec | file | annotate | diff | comparison | revisions |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/as-gui/as-gui.spec Thu Nov 27 14:27:51 2008 +0100 1.3 @@ -0,0 +1,108 @@ 1.4 +## 1.5 +## as-gui.spec -- OpenPKG RPM Package Specification 1.6 +## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/> 1.7 +## 1.8 +## Permission to use, copy, modify, and distribute this software for 1.9 +## any purpose with or without fee is hereby granted, provided that 1.10 +## the above copyright notice and this permission notice appear in all 1.11 +## copies. 1.12 +## 1.13 +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 1.14 +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1.15 +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1.16 +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR 1.17 +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 1.18 +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 1.19 +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 1.20 +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 1.21 +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 1.22 +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 1.23 +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1.24 +## SUCH DAMAGE. 1.25 +## 1.26 + 1.27 +# package information 1.28 +Name: as-gui 1.29 +Summary: Accounting System (AS) Graphical User Interface (GUI) 1.30 +URL: http://www.ossp.org/pkg/tool/as/ 1.31 +Vendor: Michael Schloh von Bennewitz 1.32 +Packager: OpenPKG Foundation e.V. 1.33 +Distribution: OpenPKG Community 1.34 +Class: EVAL 1.35 +Group: Finance 1.36 +License: GPL 1.37 +Version: 0.7.7 1.38 +Release: 20081124 1.39 + 1.40 +# package options 1.41 +%option with_corba yes 1.42 +%option with_soap yes 1.43 + 1.44 +# list of sources 1.45 +Source0: ftp://ftp.ossp.org/pkg/tool/as/as-gui-%{version}.tar.gz 1.46 + 1.47 +# build information 1.48 +Prefix: %{l_prefix} 1.49 +BuildRoot: %{l_buildroot} 1.50 +BuildPreReq: OpenPKG, openpkg >= 20050615, qt, pkgconfig, make 1.51 +PreReq: OpenPKG, openpkg >= 20050615, qt 1.52 +%if "%{with_corba}" == "yes" 1.53 +BuildPreReq: mico 1.54 +PreReq: mico 1.55 +%endif 1.56 +%if "%{with_soap}" == "yes" 1.57 +BuildPreReq: easysoap 1.58 +PreReq: easysoap 1.59 +%endif 1.60 +AutoReq: no 1.61 +AutoReqProv: no 1.62 + 1.63 +%description 1.64 + Accounting System (AS) is a time tracking and accounting system. AS 1.65 + GUI is the graphical user interface client. 1.66 + 1.67 +%track 1.68 + prog as-gui = { 1.69 + version = %{version} 1.70 + url = ftp://ftp.ossp.org/pkg/tool/as/ 1.71 + regex = as-gui-(__VER__)\.tar\.gz 1.72 + } 1.73 + 1.74 +%prep 1.75 + %setup -q -n as-gui-%{version} 1.76 + cp %{l_shtool} . 1.77 + %{l_shtool} subst \ 1.78 + -e 's;\($(IDL) --c++-suffix=cpp\) \($<\);\1 --use-quotes \2;' \ 1.79 + Makefile.in 1.80 + 1.81 +%build 1.82 + CC="%{l_cc}" \ 1.83 + CXX="%{l_cxx}" \ 1.84 + CPPFLAGS="%{l_cppflags}" \ 1.85 + CFLAGS="%{l_cflags -O}" \ 1.86 + CXXFLAGS="%{l_cxxflags -O}" \ 1.87 + LDFLAGS="%{l_ldflags}" \ 1.88 + ./configure \ 1.89 + --prefix=%{l_prefix} \ 1.90 + --datadir=%{l_prefix}/share/as-gui \ 1.91 + --x-includes=`%{l_rc} --query x11_incdir` \ 1.92 + --x-libraries=`%{l_rc} --query x11_libdir` \ 1.93 +%if "%{with_corba}" == "yes" 1.94 + --with-mico=%{l_prefix} \ 1.95 +%endif 1.96 +%if "%{with_soap}" == "yes" 1.97 + --with-esoap=%{l_prefix} \ 1.98 +%endif 1.99 + --with-qt=%{l_prefix} 1.100 + %{l_make} %{l_mflags -O} 1.101 + 1.102 +%install 1.103 + rm -rf $RPM_BUILD_ROOT 1.104 + %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT 1.105 + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 1.106 + 1.107 +%files -f files 1.108 + 1.109 +%clean 1.110 + rm -rf $RPM_BUILD_ROOT 1.111 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/m2tstoavi/m2tstoavi.spec Thu Nov 27 14:27:51 2008 +0100 2.3 @@ -0,0 +1,105 @@ 2.4 +## 2.5 +## m2tstoavi.spec -- OpenPKG RPM Package Specification 2.6 +## Copyright (c) 2007 Michael Schloh von Bennewitz <michael@schloh.com> 2.7 +## 2.8 +## Permission to use, copy, modify, and distribute this software for 2.9 +## any purpose with or without fee is hereby granted, provided that 2.10 +## the above copyright notice and this permission notice appear in all 2.11 +## copies. 2.12 +## 2.13 +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 2.14 +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2.15 +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2.16 +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR 2.17 +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2.18 +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2.19 +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 2.20 +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 2.21 +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2.22 +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 2.23 +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2.24 +## SUCH DAMAGE. 2.25 +## 2.26 + 2.27 +# package information 2.28 +Name: m2tstoavi 2.29 +Summary: AVCHD Video File Conversion Kit 2.30 +URL: http://www.olmosconsulting.com/hdr-sr1/ 2.31 +Vendor: Axel Olmos 2.32 +Packager: Michael Schloh von Bennewitz 2.33 +Distribution: Europalab Production 2.34 +Class: EVAL 2.35 +Group: Video 2.36 +License: Unknown 2.37 +Version: 1 2.38 +Release: 20080610 2.39 + 2.40 +# list of sources 2.41 +Source0: http://www.olmosconsulting.com/m2ts.tar.gz 2.42 +Source1: http://www.w6rz.net/xport.zip 2.43 +Source2: http://iphome.hhi.de/suehring/tml/download/jm14.2.zip 2.44 + 2.45 +# build information 2.46 +Prefix: %{l_prefix} 2.47 +BuildRoot: %{l_buildroot} 2.48 +BuildPreReq: OpenPKG, openpkg >= 20040130, infozip 2.49 +PreReq: OpenPKG, openpkg >= 20040130, ffmpeg, tcsh 2.50 +AutoReq: no 2.51 +AutoReqProv: no 2.52 + 2.53 +%description 2.54 + M2ts is for people who have recorded .m2ts videos using a high 2.55 + definition camcorder and want to play them on their computer, 2.56 + or want to convert them to another format. 2.57 + 2.58 +%track 2.59 + prog m2tstoavi = { 2.60 + version = %{version} 2.61 + url = http://www.olmosconsulting.com/ 2.62 + regex = m2ts\.tar\.gz 2.63 + } 2.64 + 2.65 +%prep 2.66 + %setup -q -c %{name} 2.67 + %{l_prefix}/bin/unzip -x -d xport %{SOURCE xport.zip} 2.68 + %{l_prefix}/bin/unzip -x %{SOURCE jm14.0.zip} 2.69 + %{l_shtool} subst -e 's;/bin/csh;%{l_prefix}/bin/tcsh;' m2ts/* 2.70 + %{l_shtool} mkdir -f -p -m 755 JM/ldecod/obj 2.71 + 2.72 +%build 2.73 + # build package 2.74 + ( cd xport 2.75 + %{l_cc} -o xporthdmv xport.c 2.76 + ) || exit $? 2.77 + ( cd JM/ldecod 2.78 + touch dependencies 2.79 + %{l_make} %{l_mflags -O} bin 2.80 + ) || exit $? 2.81 + 2.82 +%install 2.83 + rm -rf $RPM_BUILD_ROOT 2.84 + 2.85 + # create installation tree 2.86 + %{l_shtool} mkdir -f -p -m 755 \ 2.87 + $RPM_BUILD_ROOT%{l_prefix}/bin 2.88 + 2.89 + # install package 2.90 + %{l_shtool} install -c -s -m 755 \ 2.91 + JM/bin/ldecod.exe $RPM_BUILD_ROOT%{l_prefix}/bin/ldecod 2.92 + %{l_shtool} install -c -s -m 755 \ 2.93 + xport/xporthdmv $RPM_BUILD_ROOT%{l_prefix}/bin/xporthdmv 2.94 + %{l_shtool} install -c -m 755 \ 2.95 + m2ts/m2tstoavi.fifo $RPM_BUILD_ROOT%{l_prefix}/bin/m2tstoavi-fifo 2.96 + %{l_shtool} install -c -m 755 \ 2.97 + m2ts/m2tstoavi.nofifo $RPM_BUILD_ROOT%{l_prefix}/bin/m2tstoavi-nofifo 2.98 + %{l_shtool} install -c -m 755 \ 2.99 + m2ts/m2tstoavi.mencoder $RPM_BUILD_ROOT%{l_prefix}/bin/m2tstoavi-mencoder 2.100 + 2.101 + # determine installation files 2.102 + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 2.103 + 2.104 +%files -f files 2.105 + 2.106 +%clean 2.107 + rm -rf $RPM_BUILD_ROOT 2.108 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/qt/qt.spec Thu Nov 27 14:27:51 2008 +0100 3.3 @@ -0,0 +1,359 @@ 3.4 +## 3.5 +## qt.spec -- OpenPKG RPM Specification 3.6 +## Copyright (c) 2008 Michael Schloh von Bennewitz <michael@schloh.com> 3.7 +## 3.8 +## Permission to use, copy, modify, and distribute this software for 3.9 +## any purpose with or without fee is hereby granted, provided that 3.10 +## the above copyright notice and this permission notice appear in all 3.11 +## copies. 3.12 +## 3.13 +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 3.14 +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 3.15 +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 3.16 +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR 3.17 +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3.18 +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3.19 +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 3.20 +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 3.21 +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 3.22 +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 3.23 +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3.24 +## SUCH DAMAGE. 3.25 +## 3.26 + 3.27 + 3.28 +# package information 3.29 +Name: qt 3.30 +Summary: Cross-platform Application Framework 3.31 +URL: http://www.trolltech.com/products/qt/ 3.32 +Vendor: Nokia Corporation 3.33 +Packager: Michael Schloh von Bennewitz 3.34 +Distribution: MSvB Recherche Production 3.35 +Class: EVAL 3.36 +Group: Development 3.37 +License: GPL 3.38 +Version: 4.4.3 3.39 +Release: 20081124 3.40 + 3.41 +# build options 3.42 +%option with_tools yes 3.43 +%option with_shared no 3.44 +%option with_examples no 3.45 + 3.46 +# list of sources 3.47 +Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.gz 3.48 + 3.49 +# build information 3.50 +Prefix: %{l_prefix} 3.51 +BuildRoot: %{l_buildroot} 3.52 +BuildPreReq: OpenPKG, openpkg >= 20050726, gcc, pkgconfig 3.53 +PreReq: OpenPKG, openpkg >= 20050726 3.54 +BuildPreReq: X11, png, mng, jpeg, tiff, mesa, xrender 3.55 +PreReq: X11, png, mng, jpeg, tiff, mesa, xrender 3.56 +BuildPreReq: zlib, libiconv, sqlite, dbus, glib2 3.57 +PreReq: zlib, libiconv, sqlite, dbus, glib2 3.58 +BuildPreReq: fontconfig, freetype 3.59 +PreReq: fontconfig, freetype 3.60 +AutoReq: no 3.61 +AutoReqProv: no 3.62 +Provides: QTSDK 3.63 + 3.64 +%description 3.65 + Qt is a cross-platform application framework. Using Qt, you can 3.66 + develop applications and user interfaces once, and deploy them 3.67 + across many desktop and embedded operating systems without 3.68 + rewriting the source code. 3.69 + 3.70 +%track 3.71 + prog qt = { 3.72 + version = %{version} 3.73 + url = ftp://ftp.trolltech.com/qt/source/ 3.74 + regex = qt-x11-opensource-src-(__VER__)\.tar\.gz 3.75 + } 3.76 + 3.77 +%prep 3.78 + # announce exceptional build requirements 3.79 + ( echo "This package has exceptional storage requirements:" 3.80 + echo " qt-%{version}-root (2,5 Go)" 3.81 + echo " qt-x11-opensource-src-%{version} (4,5 Go)" 3.82 + echo " qt-%{version}-<date>.<arch>-<os>-<tag>.rpm (1 Go)" 3.83 + echo "Building with no options takes 0,5 hours on a dual core" 3.84 + echo "2 GHz CPU, or 1,5 hours with all build options enabled." 3.85 + ) | %{l_rpmtool} msg -b -t notice 3.86 + 3.87 + %setup -q -n qt-x11-opensource-src-%{version} 3.88 + x11_incdir=`%{l_rc} --query x11_incdir` 3.89 + x11_libdir=`%{l_rc} --query x11_libdir` 3.90 + fontconf=`%{l_prefix}/bin/pkg-config --libs-only-l --static fontconfig` 3.91 + loclibs='' 3.92 + x11_supdir='' 3.93 + case "%{l_platform -t}" in 3.94 + *-sunos* ) 3.95 + loclibs='-lsocket -lnsl' 3.96 + [ -d /usr/X/sfw/lib ] && x11_supdir=/usr/X/sfw/lib 3.97 + ;; 3.98 + esac 3.99 + ( cd mkspecs/qws 3.100 + for plat in freebsd-generic-g++ macx-generic-g++ solaris-generic-g++; 3.101 + do 3.102 + ln -s $plat `echo $plat | %{l_shtool} subst -e 's;\(.*\)-generic-\(.*\);\1-x86-\2;'` 3.103 + done 3.104 + ) || exit $? 3.105 + %{l_shtool} subst \ 3.106 + -e 's;\(-z[ \t][ \t]*\)\([^ \t\"][^ \t\"]*\);\1"\2";g' \ 3.107 + configure 3.108 + %{l_shtool} subst \ 3.109 + -e "s;\(QMAKE_LIBS_X11.*\)-lfreetype -lfontconfig;\1$fontconf;" \ 3.110 + configure 3.111 + %{l_shtool} subst \ 3.112 + -e 's;-silent|;-rpath|-silent|;' \ 3.113 + -e 's;\(RPATH_FLAGS="\)\\"\$QT_INSTALL_LIBS\\" \($RPATH_FLAGS"\);\1\2;' \ 3.114 + -e "s;\(echo.*QMAKE_RPATHDIR +=\).*\$QT_INSTALL_LIBS\\\\\"\\\";\1 $x11_libdir\";" \ 3.115 + configure 3.116 + if [ ".$x11_supdir" != . -a -d "$x11_supdir" ]; then 3.117 + %{l_shtool} subst \ 3.118 + -e "s;\(echo.*QMAKE_RPATHDIR += \)\($x11_libdir\\\"\)\( >> \\\"\$QTCONFIG\.tmp\\\"\);\1\2\3 \&\& \1$x11_supdir\"\3;" \ 3.119 + configure 3.120 + fi 3.121 + %{l_shtool} subst \ 3.122 + -e 's;\(TRY_INCLUDEPATHS = \).*\(\$\$INCLUDEPATH\);\1\2;' \ 3.123 + -e 's;/freetype2;/freetype;' \ 3.124 + config.tests/unix/freetype/freetype.pri 3.125 + %{l_shtool} subst \ 3.126 + -e "s;^\(LIBS += \)-lfreetype -lfontconfig;\1$fontconf;" \ 3.127 + config.tests/x11/fontconfig/fontconfig.pro 3.128 + %{l_shtool} subst \ 3.129 + -e "s;\(LIBS += -lpq\);\1 -lssl -lcrypto $loclibs;" \ 3.130 + config.tests/unix/psql/psql.pro 3.131 + %{l_shtool} subst \ 3.132 + -e 's;^mac:\(LIBS\);\1;' \ 3.133 + config.tests/unix/iconv/iconv.pro 3.134 + %{l_shtool} subst \ 3.135 + -e 's;^\(QMAKE_INCDIR[^a-zA-Z0-9=]*=\).*;\1 %{l_prefix}/include;' \ 3.136 + -e 's;^\(QMAKE_LIBDIR[^a-zA-Z0-9=]*=\).*;\1 %{l_prefix}/lib;' \ 3.137 + -e "s;^\(QMAKE_INCDIR_OPENGL[^=]*=\) *\(.*\);\1 %{l_prefix}/include \2;" \ 3.138 + -e "s;^\(QMAKE_LIBDIR_OPENGL[^=]*=\) *\(.*\);\1 %{l_prefix}/lib \2 $x11_supdir;" \ 3.139 + -e 's;^\(QMAKE_LFLAGS_RELEASE.*\);\1 -s;' \ 3.140 + mkspecs/qws/*/qmake.conf \ 3.141 + mkspecs/*/*.conf 3.142 + %{l_shtool} subst \ 3.143 + -e "s;^\(QMAKE_INCDIR_X11[^=]*=\) *\(.*\);\1 %{l_prefix}/include \2;" \ 3.144 + -e "s;^\(QMAKE_LIBDIR_X11[^=]*=\) *\(.*\);\1 %{l_prefix}/lib \2 $x11_supdir;" \ 3.145 + mkspecs/qws/solaris*/qmake.conf \ 3.146 + mkspecs/solaris*/qmake.conf 3.147 + %{l_shtool} subst \ 3.148 + -e 's; *\.\./3rdparty/freetype/.*;;g' \ 3.149 + -e 's;^\( *contains(QT_CONFIG, freetype) {\);\1 LIBS += -lfreetype;' \ 3.150 + src/gui/text/text.pri 3.151 + %{l_shtool} subst \ 3.152 + -e 's;\(#include *"\)\(tiffio.h"\);\1tiff/\2;' \ 3.153 + src/plugins/imageformats/tiff/qtiffhandler.cpp 3.154 +# for projfile in `find examples/ -name '*.pro' -print`; do 3.155 +# echo 'CONFIG += release' >>$projfile 3.156 +# done 3.157 + 3.158 +%build 3.159 + # protect against sloppy code inclusion of all unused subprojects 3.160 + rm -rf src/3rdparty/[^cdhmsw]* src/3rdparty/sql* src/3rdparty/win* 3.161 + 3.162 + case "%{l_platform -t}" in 3.163 + *-aix* ) platcomp="aix-g++" ;; 3.164 + *-freebsd* ) platcomp="freebsd-g++" ;; 3.165 + *-hpux* ) platcomp="hpux-g++" ;; 3.166 + *-irix* ) platcomp="irix-g++" ;; 3.167 + *-linux* ) platcomp="linux-g++" ;; 3.168 + *-darwin* ) platcomp="macx-g++" ;; 3.169 + *-sunos* ) platcomp="solaris-g++" ;; 3.170 + * ) echo "Platform '%{l_platform -t}' is not supported." 2>&1; exit 1 ;; 3.171 + esac 3.172 + 3.173 +%if "%{with_shared}" == "yes" 3.174 + # optional shared build (precedes mandatory static build) 3.175 + echo 'yes' | ./configure \ 3.176 + -prefix %{l_prefix} \ 3.177 + -bindir %{l_prefix}/bin \ 3.178 + -libdir %{l_prefix}/lib/qt \ 3.179 + -docdir %{l_prefix}/share/qt/doc \ 3.180 + -headerdir %{l_prefix}/include \ 3.181 + -plugindir %{l_prefix}/share/qt/plugins \ 3.182 + -datadir %{l_prefix}/share/qt \ 3.183 + -translationdir %{l_prefix}/share/qt/translations \ 3.184 + -sysconfdir %{l_prefix}/etc/qt \ 3.185 + -examplesdir %{l_prefix}/share/qt/examples \ 3.186 + -demosdir %{l_prefix}/share/qt/demos \ 3.187 + -release \ 3.188 + -shared \ 3.189 + -platform $platcomp \ 3.190 + -no-sql-ibase \ 3.191 + -no-sql-mysql \ 3.192 + -no-sql-odbc \ 3.193 + -no-sql-psql \ 3.194 + -no-sql-sqlite2 \ 3.195 + -qt-sql-sqlite \ 3.196 + -system-sqlite \ 3.197 + -xmlpatterns \ 3.198 + -svg \ 3.199 + -no-webkit \ 3.200 + -system-zlib \ 3.201 + -qt-gif \ 3.202 + -system-libpng \ 3.203 + -system-libmng \ 3.204 + -system-libjpeg \ 3.205 + -system-libtiff \ 3.206 + -rpath \ 3.207 + -no-cups \ 3.208 + -iconv \ 3.209 + -pch \ 3.210 + -dbus-linked \ 3.211 + -opengl \ 3.212 + -xrender \ 3.213 + -fontconfig \ 3.214 + -freetype \ 3.215 + -glib 3.216 + 3.217 + # default options are implicitly used, und zwar... 3.218 + #-no-fast -exceptions -accessibility -stl -qt3support -nis 3.219 + #-sm -xshape -xinerama -xcursor -xfixes -xrandr -tablet -xkb 3.220 + 3.221 + # carry out shared build procedure 3.222 + ( cd src 3.223 + %{l_make} %{l_mflags -O} \ 3.224 + sub-moc sub-rcc sub-uic 3.225 + %{l_make} %{l_mflags -O} \ 3.226 + sub-corelib sub-xml sub-network sub-gui sub-sql \ 3.227 + sub-script sub-testlib sub-qt3support sub-dbus \ 3.228 + sub-opengl sub-xmlpatterns sub-svg sub-plugins 3.229 + ) || exit $? 3.230 + 3.231 + # cache shared libs and initialize the build configuration, which 3.232 + # would otherwise still contain references to our shared libs build 3.233 + %{l_shtool} mkdir -f -p -m 755 dynamic 3.234 + mv lib/* dynamic/ 3.235 + ( cd qmake 3.236 + %{l_make} %{l_mflags} distclean 3.237 + ) || exit $? 3.238 + rm -f .qmake.cache 3.239 +%endif 3.240 + 3.241 + # mandatory static build (follows optional shared build) 3.242 + echo 'yes' | ./configure \ 3.243 + -prefix %{l_prefix} \ 3.244 + -bindir %{l_prefix}/bin \ 3.245 + -libdir %{l_prefix}/lib \ 3.246 + -docdir %{l_prefix}/share/qt/doc \ 3.247 + -headerdir %{l_prefix}/include \ 3.248 + -plugindir %{l_prefix}/share/qt/plugins \ 3.249 + -datadir %{l_prefix}/share/qt \ 3.250 + -translationdir %{l_prefix}/share/qt/translations \ 3.251 + -sysconfdir %{l_prefix}/etc/qt \ 3.252 + -examplesdir %{l_prefix}/share/qt/examples \ 3.253 + -demosdir %{l_prefix}/share/qt/demos \ 3.254 + -release \ 3.255 + -static \ 3.256 + -platform $platcomp \ 3.257 + -no-sql-ibase \ 3.258 + -no-sql-mysql \ 3.259 + -no-sql-odbc \ 3.260 + -no-sql-psql \ 3.261 + -no-sql-sqlite2 \ 3.262 + -qt-sql-sqlite \ 3.263 + -system-sqlite \ 3.264 + -xmlpatterns \ 3.265 + -svg \ 3.266 + -no-webkit \ 3.267 + -system-zlib \ 3.268 + -qt-gif \ 3.269 + -system-libpng \ 3.270 + -system-libmng \ 3.271 + -system-libjpeg \ 3.272 + -system-libtiff \ 3.273 + -rpath \ 3.274 + -no-cups \ 3.275 + -iconv \ 3.276 + -pch \ 3.277 + -dbus-linked \ 3.278 + -opengl \ 3.279 + -xrender \ 3.280 + -fontconfig \ 3.281 + -freetype \ 3.282 + -glib 3.283 + 3.284 + # default options are implicitly used, und zwar... 3.285 + #-no-fast -exceptions -accessibility -stl -qt3support -nis 3.286 + #-sm -xshape -xinerama -xcursor -xfixes -xrandr -tablet -xkb 3.287 + 3.288 + # carry out static build procedure 3.289 + %{l_make} %{l_mflags -O} sub-src 3.290 +%if "%{with_tools}" == "yes" 3.291 + %{l_make} %{l_mflags -O} sub-tools 3.292 +%endif 3.293 +%if "%{with_examples}" == "yes" 3.294 + %{l_make} %{l_mflags -O} \ 3.295 + sub-demos-make_default-ordered \ 3.296 + sub-examples-make_default-ordered 3.297 +%endif 3.298 + 3.299 +%install 3.300 + rm -rf $RPM_BUILD_ROOT 3.301 + 3.302 + # carry out installation procedure 3.303 + targets="sub-moc-install_subtargets-ordered \ 3.304 + sub-rcc-install_subtargets-ordered \ 3.305 + sub-uic-install_subtargets-ordered \ 3.306 + sub-corelib-install_subtargets-ordered \ 3.307 + sub-xml-install_subtargets-ordered \ 3.308 + sub-network-install_subtargets-ordered \ 3.309 + sub-gui-install_subtargets-ordered \ 3.310 + sub-sql-install_subtargets-ordered \ 3.311 + sub-script-install_subtargets-ordered \ 3.312 + sub-testlib-install_subtargets-ordered \ 3.313 + sub-qt3support-install_subtargets-ordered \ 3.314 + sub-dbus-install_subtargets-ordered \ 3.315 + sub-uic3-install_subtargets-ordered \ 3.316 + sub-opengl-install_subtargets-ordered \ 3.317 + sub-xmlpatterns-install_subtargets-ordered \ 3.318 + sub-svg-install_subtargets-ordered \ 3.319 + sub-plugins-install_subtargets-ordered" 3.320 +%if "%{with_tools}" == "yes" 3.321 + targets="$targets sub-tools-install_subtargets-ordered" 3.322 +%endif 3.323 +%if "%{with_examples}" == "yes" 3.324 + targets="$targets sub-demos-install_subtargets-ordered sub-examples-install_subtargets-ordered" 3.325 +%endif 3.326 + targets="$targets install_htmldocs install_translations install_qmake install_mkspecs" 3.327 + %{l_make} %{l_mflags} $targets INSTALL_ROOT="$RPM_BUILD_ROOT" 3.328 + 3.329 +%if "%{with_shared}" == "yes" 3.330 + # install shared libs and symlinks 3.331 + %{l_shtool} mkdir -f -p -m 755 \ 3.332 + $RPM_BUILD_ROOT%{l_prefix}/lib/qt 3.333 + %{l_tar} cf - dynamic | %{l_tar} xf - -C $RPM_BUILD_ROOT%{l_prefix}/lib/qt 3.334 + 3.335 + # explain nonstandard shared library placement 3.336 + ( echo "This directory contains optional shared libraries as" 3.337 + echo "defined by the OpenPKG build specification. Although" 3.338 + echo "shared libraries are only optionally built (see the" 3.339 + echo "build time 'with_shared yes' option), static libraries" 3.340 + echo "are built and installed in the parent 'lib' directory." 3.341 + ) >$RPM_BUILD_ROOT%{l_prefix}/lib/qt/README 3.342 + 3.343 + # do not support pkg-config(1) with shared libs 3.344 + rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/qt/pkgconfig 3.345 + 3.346 + # remove temporary dynamic link paths 3.347 + %{l_shtool} subst \ 3.348 + -e 's;\(QMAKE_PRL_BUILD_DIR[^=][^=]*=\).*\(qt-x11-opensource-src.*\);\1 /tmp/\2;' \ 3.349 + $RPM_BUILD_ROOT%{l_prefix}/lib/*.prl 3.350 +%endif 3.351 + 3.352 + # determine internal file listing 3.353 + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ 3.354 + %{l_files_std} \ 3.355 + '%doc %{l_prefix}/share/qt/doc/*' \ 3.356 + '%not %dir %{l_prefix}/lib/pkgconfig' 3.357 + 3.358 +%files -f files 3.359 + 3.360 +%clean 3.361 + rm -rf $RPM_BUILD_ROOT 3.362 +