Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Beineri:opt:KDE:Qt5
libqt5-qtquick1
libqt5-qtsvg.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libqt5-qtsvg.spec of Package libqt5-qtquick1
# # spec file for package libqt5-qtsvg # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _prefix /opt/qt-5.0 %define packageprefix opt- Name: %{packageprefix}libQtSvg5 # COMMON-VERSION-BEGIN # COMMON-VERSION-BEGIN Version: 5.0.2 Release: 0 %define base_name %{packageprefix}libqt5 %define real_version 5.0.2 %define tar_version everywhere-opensource-src-%{real_version} # COMMON-VERSION-END # COMMON-VERSION-END BuildRequires: %{packageprefix}libqt5-qtbase-devel >= %version BuildRequires: %{packageprefix}libqt5-qtbase-private-headers-devel BuildRequires: xz Url: http://qt.digia.com Summary: Qt 5 SVG Library License: SUSE-LGPL-2.1-with-nokia-exception-1.1 or GPL-3.0 Group: Development/Libraries/X11 # COMMON-BEGIN # COMMON-BEGIN Source: qt-%{tar_version}.tar.xz # to get mtime of file: Source1: libqt5-qtbase.changes Source10: %{packageprefix}qt5config.desktop Source11: %{packageprefix}designer5.desktop Source12: %{packageprefix}linguist5.desktop Source13: %{packageprefix}assistant5.desktop Source14: %{packageprefix}assistant.png Source15: %{packageprefix}designer.png Source16: %{packageprefix}linguist.png Source17: qt-5.0-env.sh Patch2: qt-never-strip.diff Patch3: plastik-default.diff Patch6: use-freetype-default.diff Patch1006: use-freetype-default-legacy.diff Patch8: link-tools-shared.diff Patch61: qt5-fake-bold.patch Patch75: qt-debug-timer.diff Patch87: qfatal-noreturn.diff Patch109: libqt5-libtool-nodate.diff Patch118: rcc-stable-dirlisting.diff Patch123: use-cups-default-print-settings-bnc552218.diff Patch128: build-qvfb-tool.diff Patch129: system-pcre.diff Patch130: no-Werror-rpath.diff Patch131: qmake-add-usr-include.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %suse_version > 1140 %define common_options -accessibility --opensource -no-separate-debug-info -shared -xkb -xrender -xcursor -dbus-linked -xfixes -xrandr -xinerama -sm -no-rpath -system-libjpeg -openssl-linked -system-libpng -cups -nis -system-zlib -prefix %_prefix -L %_libdir -libdir %_libdir -docdir %_docdir/%{base_name} -examplesdir %_libdir/qt5/examples -plugindir %plugindir -translationdir %_datadir/qt5/translations -iconv -sysconfdir /etc/settings -datadir %_datadir/qt5/ -no-pch -reduce-relocations -glib -optimized-qmake -system-sqlite -no-sql-mysql -importdir %plugindir/imports -xsync -xinput -gtkstyle --no-largefile -javascript-jit -xcb -no-eglfs -opengl -hostdatadir %_libdir/qt5 -qmldir %_libdir/qt5/qml %else %define common_options --opensource -no-separate-debug-info -shared -xkb -xrender -xcursor -dbus-linked -xfixes -xrandr -xinerama -sm -no-rpath -system-libjpeg -openssl-linked -system-libpng -cups -nis -system-zlib -prefix %_prefix -L %_libdir -libdir %_libdir -docdir %_docdir/%{base_name} -examplesdir %_libdir/qt5/examples -plugindir %plugindir -translationdir %_datadir/qt5/translations -iconv -sysconfdir /etc/settings -datadir %_datadir/qt5/ -no-pch -reduce-relocations -glib -optimized-qmake -system-sqlite -no-sql-mysql -importdir %plugindir/imports -xsync -xinput -gtkstyle --no-largefile -javascript-jit -xcb -no-eglfs -opengl -hostdatadir %_libdir/qt5 -qmldir %_libdir/qt5/qml %endif # disabled -largefile %define check_config \ grep '# define' src/corelib/global/qconfig.h | egrep -v 'QT_(ARCH|USE)'; \ if test -f %_libdir/qt5/mkspecs/qconfig.pri ; then \ diff -u %_libdir/qt5/mkspecs/qconfig.pri mkspecs/qconfig.pri || exit 1; \ fi \ %description Qt is a set of libraries for developing applications. This package contains base tools, like string, xml, and network handling. %prep %define plugindir %_libdir/qt5/plugins %setup -q -n qt-everywhere-opensource-src-%{real_version} %patch2 ### 50 rediff #%patch3 %if %suse_version > 1010 ### 50 rediff #%patch6 %else ### 50 rediff #%patch1006 %endif #%patch129 %patch130 # needs rediffing #%patch8 # bnc#374073 comment #8 # %patch61 ### 50 rediff #%patch75 ### 50 rediff #%patch87 # ### 48 rediff # %patch107 %patch109 # ### 48 rediff # %patch113 ### 50 rediff #%patch118 -p1 ### 50 rediff #%patch123 ### 50 rediff #%patch128 # ### 47 rediff #%patch121 -p1 %patch131 # be sure not to use them rm -r qtbase/src/3rdparty/{libjpeg,freetype,libpng,zlib} #rm -r qtimageformats/src/3rdparty/{libtiff,libmng} # COMMON-END # COMMON-END %package -n %{packageprefix}libQtSvg-devel Summary: Qt Development Kit Group: Development/Libraries/X11 Requires: %name = %version Requires: %{packageprefix}libqt5-qtbase-devel >= %version %description -n %{packageprefix}libQtSvg-devel You need this package, if you want to compile programs with QtSvg. %package -n %{packageprefix}libQtSvg-private-headers-devel Summary: Non-ABI stable experimental API Group: Development/Libraries/C and C++ Requires: %{packageprefix}libQtSvg-devel = %version Requires: %{packageprefix}libqt5-qtbase-private-headers-devel %description -n %{packageprefix}libQtSvg-private-headers-devel This package provides private headers of libqt5-qtsvg that are normally not used by application development and that do not have any ABI or API guarantees. The packages that build against these have to require the exact Qt version. %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %build export QTDIR=`pwd`/qtbase export PATH=$PATH:%{_prefix}/bin cd qtsvg %ifarch ppc64 RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc" %endif export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DOPENSSL_LOAD_CONF" export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -DOPENSSL_LOAD_CONF" export MAKEFLAGS="%{?jobs:-j %jobs}" qmake make %install cd qtsvg make INSTALL_ROOT=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,755) %_libdir/libQt5Svg.so.* %_libdir/qt5/plugins/imageformats/libqsvg.so %_libdir/qt5/plugins/iconengines %files -n %{packageprefix}libQtSvg-private-headers-devel %defattr(-,root,root,755) %_includedir/QtSvg/%{version} %files -n %{packageprefix}libQtSvg-devel %defattr(-,root,root,755) %exclude %_includedir/QtSvg/%{version} %_includedir/QtSvg %_libdir/cmake/Qt5Svg %_libdir/libQt5Svg.la %_libdir/libQt5Svg.prl %_libdir/libQt5Svg.so %_libdir/pkgconfig/Qt5Svg.pc %_libdir/qt5/mkspecs/modules/qt_lib_svg.pri %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor