Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ximi1970:Toolchains:Qt:openSUSE
libqt5-opensource-5.9.1
libqt5-opensource-5.9.1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libqt5-opensource-5.9.1.spec of Package libqt5-opensource-5.9.1
# # spec file for package libqt5-opensource # %define license_type opensource %define package_name opensource %define package_version %{nil} #define package_version -1 Version: 5.9.1 Name: libqt5-%{license_type}-%{version} BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: fdupes BuildRequires: gperf BuildRequires: bison BuildRequires: flex BuildRequires: python BuildRequires: wdiff BuildRequires: xz BuildRequires: yasm BuildRequires: ninja BuildRequires: fontconfig-devel BuildRequires: freetype2-devel BuildRequires: glib2-devel BuildRequires: Mesa-devel BuildRequires: alsa-devel BuildRequires: libpulse-devel BuildRequires: cups-devel BuildRequires: dbus-1-devel BuildRequires: gtk2-devel BuildRequires: libjpeg8-devel BuildRequires: libmng-devel BuildRequires: libmysqlclient-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel %if 0%{?suse_version} < 1500 BuildRequires: libopenssl-devel %else BuildRequires: libopenssl-1_0_0-devel %endif BuildRequires: postgresql-devel BuildRequires: sqlite3-devel BuildRequires: unixODBC-devel BuildRequires: libicu-devel BuildRequires: libxml2-devel BuildRequires: libexpat-devel BuildRequires: gstreamer-devel BuildRequires: gstreamer-plugins-base-devel BuildRequires: libICE-devel BuildRequires: atk-devel BuildRequires: cairo-devel BuildRequires: pango-devel BuildRequires: gdk-pixbuf-devel BuildRequires: mtdev-devel BuildRequires: libinput-devel BuildRequires: libproxy-devel BuildRequires: tslib-devel BuildRequires: harfbuzz-devel BuildRequires: double-conversion-devel BuildRequires: gstreamer-devel BuildRequires: libxkbcommon-x11-devel BuildRequires: libxcb-devel BuildRequires: xcb-util-image-devel BuildRequires: xcb-util-keysyms-devel BuildRequires: xcb-util-renderutil-devel BuildRequires: xcb-util-wm-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXv-devel BuildRequires: libXcursor-devel BuildRequires: libXfixes-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libXinerama-devel BuildRequires: libXi-devel BuildRequires: libSM-devel %ifarch x86_64 BuildRequires: gcc-c++-32bit BuildRequires: fontconfig-devel-32bit BuildRequires: freetype2-devel-32bit BuildRequires: glib2-devel-32bit BuildRequires: alsa-devel-32bit BuildRequires: libpulse-devel-32bit BuildRequires: cups-devel-32bit BuildRequires: dbus-1-devel-32bit BuildRequires: gtk2-devel-32bit BuildRequires: libjpeg8-devel-32bit BuildRequires: libmng-devel-32bit BuildRequires: libpng12-devel-32bit BuildRequires: libtiff-devel-32bit %if 0%{?suse_version} < 1500 BuildRequires: libmysqlclient-devel-32bit BuildRequires: libopenssl-devel-32bit BuildRequires: Mesa-libEGL-devel-32bit BuildRequires: Mesa-libGL-devel-32bit BuildRequires: gstreamer-devel-32bit BuildRequires: gstreamer-plugins-base-devel-32bit %else BuildRequires: libopenssl-1_0_0-devel-32bit %endif #BuildRequires: postgresql-devel BuildRequires: sqlite3-devel-32bit BuildRequires: unixODBC-devel-32bit BuildRequires: libicu-devel-32bit BuildRequires: libxml2-devel-32bit BuildRequires: libexpat-devel-32bit BuildRequires: libICE-devel-32bit BuildRequires: atk-devel-32bit BuildRequires: cairo-devel-32bit BuildRequires: pango-devel-32bit BuildRequires: gdk-pixbuf-devel-32bit BuildRequires: tslib-devel-32bit BuildRequires: libxkbcommon-x11-devel-32bit BuildRequires: libxcb-devel-32bit BuildRequires: xcb-util-image-devel-32bit BuildRequires: xcb-util-keysyms-devel-32bit BuildRequires: xcb-util-renderutil-devel-32bit BuildRequires: xcb-util-wm-devel-32bit BuildRequires: xorg-x11-devel BuildRequires: libX11-devel-32bit BuildRequires: libXext-devel-32bit BuildRequires: libXv-devel-32bit BuildRequires: libXcursor-devel-32bit BuildRequires: libXfixes-devel-32bit BuildRequires: libXrandr-devel-32bit BuildRequires: libXrender-devel-32bit BuildRequires: libXinerama-devel-32bit BuildRequires: libXi-devel-32bit BuildRequires: libSM-devel-32bit %endif Url: http://qt-project.org/ Summary: Qt is a cross-platform application and UI framework License: GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1 Group: System/Libraries Release: 0 Source: qt-everywhere-%{package_name}-src-%{version}%{package_version}.tar.xz # to get mtime of file: Source1: %{name}.changes #Patch0: qt-everywhere-%{package_name}-src-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: /usr %package 32bit Summary: Qt is a cross-platform application and UI framework. License: GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1 Group: System/Libraries %ifarch x86_64 %define libdir lib64 %else %define libdir lib %endif %define common_options -%{license_type} -confirm-license -prefix %{prefix}/Qt-%{license_type}-%{version} -libdir %{prefix}/Qt-%{license_type}-%{version}/%{libdir} -no-rpath %define common_options32 -%{license_type} -confirm-license -xplatform linux-g++-32 -force-pkg-config -prefix %{prefix}/Qt-%{license_type}-%{version}-32bit -libdir %{prefix}/Qt-%{license_type}-%{version}-32bit/lib -no-rpath -sysroot / %define lib_options -dbus-linked -openssl-linked -qt-zlib -qt-libpng -qt-libjpeg %define special_options -verbose %define x11_options -qt-pcre -qt-xcb -qt-xkbcommon -xinput2 -xcb -xcb-xlib %define disable_options -nomake examples %define disable_options32 -nomake examples -skip qtwebengine %define compiler32 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gstreamer-1.0 %description Qt is a cross-platform application and UI framework. This packages contains the full toolkit. %description 32bit Qt is a cross-platform application and UI framework. This packages contains the full toolkit. %prep %setup -q -n qt-everywhere-%{package_name}-src-%{version} #%patch0 -p1 # %ifarch x86_64 pushd .. cp -a qt-everywhere-%{package_name}-src-%{version} qt-everywhere-%{package_name}-src-%{version}-32bit popd %endif %build echo %{qt_license_key} | ./configure %common_options %lib_options %special_options %x11_options %disable_options make %{?jobs:-j %jobs} %ifarch x86_64 pushd ../qt-everywhere-%{package_name}-src-%{version}-32bit export PKG_CONFIG_PATH=/usr/lib/pkgconfig echo %{qt_license_key} | ./configure %common_options32 %lib_options %special_options %x11_options %disable_options32 %compiler32 make %{?jobs:-j %jobs} popd %endif %install make INSTALL_ROOT=$RPM_BUILD_ROOT install find $RPM_BUILD_ROOT/%{prefix}/Qt-%{license_type}-%{version} -type f -name '*la' -print -exec perl -pi -e 's,-L%{_builddir}/\S+,,g' {} \; find $RPM_BUILD_ROOT/%{prefix}/Qt-%{license_type}-%{version} -type f -name '*pc' -print -exec perl -pi -e "s, -L$RPM_BUILD_DIR/?\S+,,g" {} \; -exec sed -i -e "s,^moc_location=.*,moc_location=%_bindir/moc," -e "s,uic_location=.*,uic_location=%_bindir/uic," {} \; %fdupes $RPM_BUILD_ROOT/%{prefix}/Qt-%{license_type}-%{version} %ifarch x86_64 pushd ../qt-everywhere-%{package_name}-src-%{version}-32bit make INSTALL_ROOT=$RPM_BUILD_ROOT install popd find $RPM_BUILD_ROOT/%{prefix}/Qt-%{license_type}-%{version}-32bit -type f -name '*la' -print -exec perl -pi -e 's,-L%{_builddir}/\S+,,g' {} \; find $RPM_BUILD_ROOT/%{prefix}/Qt-%{license_type}-%{version}-32bit -type f -name '*pc' -print -exec perl -pi -e "s, -L$RPM_BUILD_DIR/?\S+,,g" {} \; -exec sed -i -e "s,^moc_location=.*,moc_location=%_bindir/moc," -e "s,uic_location=.*,uic_location=%_bindir/uic," {} \; %fdupes $RPM_BUILD_ROOT/%{prefix}/Qt-%{license_type}-%{version}-32bit %endif %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,755) %doc README *.txt LICENSE.* %{prefix}/Qt-%{license_type}-%{version} %ifarch x86_64 %files 32bit %defattr(-,root,root,755) %doc README *.txt LICENSE.* %{prefix}/Qt-%{license_type}-%{version}-32bit %endif %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