Package GLC_lib: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | %define maj_ver 3.0 Name: GLC_lib Version: %maj_ver.1.20211001 Release: alt2 Summary: C++ class library for OpenGL application based on Qt 5 Group: System/Libraries License: LGPL-2.1 Url: https://github.com/laumaya/GLC_lib Source: %name-%version.tar Patch: unbundled_library.patch BuildRequires: qt5-base-devel BuildRequires: qt5-quickcontrols2-devel BuildRequires: lib3ds-devel BuildRequires: quazip-qt5-devel BuildRequires: zlib-devel # Project ERROR: GLC_lib does not support OpenGL ES 2! ExcludeArch: %arm %description GLC_lib is a C++ class library that enables the quick creation of OpenGL application based on Qt 5. Some GLC_lib features : Camera orbiting, Obj textured file support, 3D Primitive... And more. %package devel Summary: Development files for %name Group: Development/Other Requires: %name = %version-%release Requires: libqt5-declarative Requires: qt5-designer Requires: qt5-base-devel Requires: qt5-quickcontrols2-devel %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %prep %setup %patch -p2 #Fix library Path on lib64 %__subst 's|LIB_DIR = /usr/lib|LIB_DIR = %_libdir|' glc_lib.pro install.pri %build %qmake_qt5 \ CONFIG+="force_debug_info qml_debug" \ LIBS+="-l3ds -lquazip1-qt5 -lz" \ QMAKE_CXXFLAGS+="`pkg-config --cflags quazip1-qt5`" \ glc_lib.pro %make_build %install %make_install install INSTALL_ROOT=%buildroot # remove built examples rm -r %buildroot%prefix/src/GLC_lib-%maj_ver/examples ||: %files %doc README %_libdir/*.so.* %_libdir/qt5/qml/glclib %files devel %_includedir/GLC_lib-%maj_ver/ %_libdir/*.so %changelog * Thu Nov 11 2021 Sergey V Turchin <zerg@altlinux.org> 3.0.1.20211001-alt2 - build with quazip-qt5-1.1 * Sun Nov 07 2021 Anton Midyukov <antohami@altlinux.org> 3.0.1-alt1.20211001 - new version from commit 5e86cbb1049ea7b32f7329dd391bc2df88882d71 with https://github.com/laumaya/GLC_lib - update URL tag - update License tag - build with qt5 - drop import.info - ExcludeArch: %arm * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt2_17 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt2_15 - update to new release by fcimport * Tue Jul 26 2016 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt2_14 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt2_12 - update to new release by fcimport * Wed Aug 27 2014 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt2_10 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt2_9 - update to new release by fcimport * Thu May 22 2014 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt2_8 - moved to Sisyphus by request of dd@ * Thu Aug 22 2013 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt1_8 - update to new release by fcimport * Mon Mar 11 2013 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt1_7 - update to new release by fcimport * Fri Dec 28 2012 Igor Vlasenko <viy@altlinux.ru> 2.2.0-alt1_6 - initial fc import |