Projects
home:Eustace:branches:Eulaceura:Factory
ftgl
_service:obs_scm:ftgl.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:ftgl.spec of Package ftgl
Name: ftgl Version: 2.1.3 Release: 0.22.rc1 Summary: OpenGL frontend to Freetype 2 License: LGPLv2 URL: http://ftgl.wiki.sourceforge.net/ Source0: http://downloads.sourceforge.net/ftgl/ftgl-%{version}-rc5.tar.bz2 Patch0: ftgl-2.1.3-rc5-ttf_font.patch Patch1: ftgl-2.1.3-rc5-ldflags.patch BuildRequires: gcc-c++ BuildRequires: doxygen BuildRequires: freeglut-devel BuildRequires: freetype-devel BuildRequires: libXi-devel BuildRequires: libXmu-devel BuildRequires: cppunit-devel Obsoletes: ftgl-utils < %{version} %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 devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Requires: pkgconfig Requires: freetype-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package docs Summary: Documentation for %{name} %description docs This package contains documentation files for %{name}. %prep %setup -q -n ftgl-%{version}~rc5 %patch0 -p1 -b .destdir %patch1 -p1 -b .ldflags %build %configure \ --enable-shared \ --disable-static \ --with-gl-inc=%{_includedir} \ --with-gl-lib=%{_libdir} \ --with-glut-inc=%{_includedir} \ --with-glut-lib=%{_libdir} \ --with-x # Remove the ~rc5 from the pc file, as this causes rpm to add a # Requires: rpmlib(TildeInVersions) <= 4.10.0-1 # Which breaks installing ftgl-devel into a koji buildroot (rhbz#843460) sed -i 's/2\.1\.3~rc5/2.1.3/' ftgl.pc make all %{?_smp_mflags} %install make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' # Doc fixes mkdir -p __doc/html install -pm 0644 $RPM_BUILD_ROOT%{_datadir}/doc/ftgl/html/* __doc/html rm -rf $RPM_BUILD_ROOT%{_datadir}/doc %ldconfig_scriptlets %files %doc AUTHORS BUGS ChangeLog COPYING NEWS README TODO %{_libdir}/*.so.* %files devel %{_includedir}/FTGL/ %{_libdir}/*.so %{_libdir}/pkgconfig/* %files docs %doc __doc/* %ChangeLog * Thu Mar 24 2022 caodongxia <caodongxia@huawei.com> - 2.1.3-0.22.rc1 - Delete %{?dist} * Sat May 16 2020 Hubble Zhu <zhuhengbo1@huawei.com> - 2.1.3-0.21.rc1 - Init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2