Package libftgl2: 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 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | %define oname libftgl Name: %{oname}2 Version: 2.2.0 Release: alt11.svn20110521.E2K.1 Summary: OpenGL frontend to Freetype 2 Group: System/Libraries License: LGPLv2 Url: http://ftgl.wiki.sourceforge.net/ # https://ftgl.svn.sourceforge.net/svnroot/ftgl/trunk/ Source0: %name-%version.tar Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # Automatically added by buildreq on Sun Aug 23 2009 BuildRequires: ImageMagick-tools cppunit-devel doxygen gcc-c++ BuildPreReq: libGL-devel libICE-devel libX11-devel libGLUT-devel #BuildPreReq: libfreetype-devel texlive-extra-utils texlive-fonts-recommended BuildPreReq: libfreetype-devel zlib-devel Provides: %{oname}220 = %version-%release Conflicts: libftgl213 %description FTGL is a free open source library to enable developers to use arbitrary fonts in their OpenGL (www.opengl.org) applications. Unlike other OpenGL font libraries FTGL uses standard font file formats so doesn't need a preprocessing step to convert the high quality font data into a lesser quality, proprietary format. FTGL uses the Freetype (www.freetype.org) font library to open and 'decode' the fonts. It then takes that output and stores it in a format most efficient for OpenGL rendering. %package -n %oname-devel Summary: Development files for %name Group: Development/C++ Requires: %name = %version-%release Requires: pkgconfig Requires: libfreetype-devel Provides: ftgl-devel = %version Provides: libftgl220-devel = %version-%release Conflicts: libftgl213-devel %description -n %oname-devel The %oname-devel package contains libraries and header files for developing applications that use %oname. %package docs Summary: Documentation for %name Group: Documentation BuildArch: noarch %description docs This package contains documentation files for %oname. %prep %setup ln -s %_datadir/libtool/libltdl/aclocal.m4 ./ %build %ifarch %e2k %add_optflags -std=c++11 %endif touch msvc/Makefile.in %autoreconf #./autogen.sh %configure \ --enable-shared \ --disable-static \ --with-gl-inc=%_includedir \ --with-gl-lib=%_libdir \ --with-glut-inc=%_includedir \ --with-glut-lib=%_libdir \ --with-x sed -i 's/~rc[0-9]*//' ftgl.pc %make_build all %install %makeinstall_std find %buildroot -name '*.la' -exec rm -f {} ';' install -p -m644 src/*.h %buildroot%_includedir/FTGL # Doc fixes mkdir -p __doc/html install -pm 0644 %buildroot%_datadir/doc/ftgl/html/* __doc/html rm -rf %buildroot%_datadir/doc %files %doc AUTHORS BUGS ChangeLog COPYING NEWS README TODO %_libdir/*.so.* %files -n %oname-devel %_includedir/FTGL/ %_libdir/*.so %_libdir/pkgconfig/* %files docs %doc __doc/* %changelog * Tue May 15 2018 Mikhail Efremov <sem@altlinux.org> 2.2.0-alt11.svn20110521.E2K.1 - Add -std=c++11 on e2k again. * Wed Oct 04 2017 Michael Shigorin <mike@altlinux.org> 2.2.0-alt11.svn20110521 - reverted last change, not needed anymore * Tue Oct 03 2017 Michael Shigorin <mike@altlinux.org> 2.2.0-alt10.svn20110521 - E2K: add -std=c++11 explicitly * Fri Dec 06 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.0-alt9.svn20110521 - Fixed `pkg-config ftgl --cflags' (ALT #29634) * Mon May 21 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.0-alt8.svn20110521 - Fixed build * Wed Apr 18 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.0-alt7.svn20110521 - Rebuilt with libtool_2.4 * Fri Dec 16 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.0-alt6.svn20110521 - New snapshot * Wed Aug 24 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.0-alt6 - Fixed build * Sun May 01 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.0-alt5 - Added necessary headers * Sat Apr 16 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.0-alt4 - Disabled PDF generation * Mon Mar 14 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.0-alt3 - Renamed libftgl220 -> libftgl2 * Thu Mar 03 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.0-alt2 - Tuned unnecessary conflicts * Tue Mar 01 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.2.0-alt1 - Version 2.2.0 * Tue Dec 14 2010 Fr. Br. George <george@altlinux.ru> 2.1.3-alt2 - Rebuild with set-versioned * Sun Aug 23 2009 Fr. Br. George <george@altlinux.ru> 2.1.3-alt1 - Initial build from FC * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-0.2.rc5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu May 21 2009 kwizart < kwizart at gmail.com > - 2.1.3-0.1.rc5 - Update to 2.1.3-rc5 - Obsoletes -utils sub-package * Fri Feb 27 2009 kwizart < kwizart at gmail.com > - 2.1.2-10 - Switch from freefont to dejavu-sans-fonts - #480455 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Feb 9 2008 kwizart < kwizart at gmail.com > - 2.1.2-8 - Rebuild for gcc43 * Sat Dec 15 2007 kwizart < kwizart at gmail.com > - 2.1.2-7 - Add -docs to fix multiarch conflicts #341191 - Fix libGL requirement. - Project Moved to sourceforge * Sun Aug 26 2007 kwizart < kwizart at gmail.com > - 2.1.2-6 - rebuild for ppc32 - Update the license field * Sat Jul 14 2007 kwizart < kwizart at gmail.com > - 2.1.2-5 - Fix version field the whole package * Fri Jul 13 2007 kwizart < kwizart at gmail.com > - 2.1.2-4 - Modified ftgl-2.1.2-pc_req.patch - Add Requires freefont to -utils * Fri Jul 13 2007 kwizart < kwizart at gmail.com > - 2.1.2-3 - Add Requirements for -devel - Preserve timestramp for install step - Add ftgl-utils to prevent conflict with multilibs Add patch to prevent rpath * Mon May 28 2007 kwizart < kwizart at gmail.com > - 2.1.2-2 - Add ftgl.pc patch - Add BR freeglut-devel - Remove unneeded LDFLAGS - Cleaned spec file * Mon May 14 2007 kwizart < kwizart at gmail.com > - 2.1.2-1 - Initial package for Fedora |