2024-01-06 04:18:32 +01:00
|
|
|
Name: libftgl
|
2024-01-06 04:18:32 +01:00
|
|
|
Version: 2.4.0
|
2024-01-06 04:18:33 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 04:18:32 +01:00
|
|
|
Summary: OpenGL frontend to Freetype 2
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://ftgl.wiki.sourceforge.net/
|
2024-01-06 04:18:32 +01:00
|
|
|
Source: https://github.com/frankheckenbach/ftgl.git/v%{version}/ftgl-%{version}.tar.bz2
|
|
|
|
#Source: http://downloads.sourceforge.net/ftgl/ftgl-%{realversion}.tar.gz
|
2024-01-06 04:18:32 +01:00
|
|
|
License: LGPL, BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libGL-devel
|
|
|
|
BuildRequires: libGLU-devel
|
2024-01-06 04:18:32 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgraphite2-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libpcre-devel
|
|
|
|
BuildRequires: libpng-devel
|
2024-01-06 04:18:32 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
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.
|
2024-01-06 04:18:33 +01:00
|
|
|
This package contains libraries and header files needed for development.
|
2024-01-06 04:18:32 +01:00
|
|
|
|
|
|
|
%package static
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries for %{name}
|
|
|
|
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description static
|
|
|
|
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.
|
|
|
|
Static %{name} library.
|
|
|
|
|
2024-01-06 04:18:33 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:18:32 +01:00
|
|
|
%prep
|
2024-01-06 04:18:32 +01:00
|
|
|
%setup -q -n ftgl-%{version}
|
|
|
|
#sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac
|
2024-01-06 04:18:32 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
2024-01-06 04:18:32 +01:00
|
|
|
|
2024-01-06 04:18:32 +01:00
|
|
|
%configure \
|
|
|
|
--disable-freetypetest \
|
|
|
|
--enable-shared
|
|
|
|
|
2024-01-06 04:18:32 +01:00
|
|
|
%make ECHO=echo
|
2024-01-06 04:18:32 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall ECHO=echo
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:18:33 +01:00
|
|
|
%{_libdir}/libftgl.so.*
|
2024-01-06 04:18:32 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/FTGL
|
|
|
|
%{_includedir}/FTGL/*.h
|
2024-01-06 04:18:33 +01:00
|
|
|
%{_libdir}/libftgl.so
|
2024-01-06 04:18:32 +01:00
|
|
|
%dir %{_docdir}/ftgl
|
|
|
|
%doc %{_docdir}/ftgl/projects_using_ftgl.txt
|
|
|
|
%dir %{_docdir}/ftgl/html
|
|
|
|
%doc %{_docdir}/ftgl/html/*.html
|
|
|
|
%doc %{_docdir}/ftgl/html/*.png
|
|
|
|
%doc %{_docdir}/ftgl/html/doxygen.css
|
2024-01-06 04:18:33 +01:00
|
|
|
%ifnarch aarch64
|
2024-01-06 04:18:32 +01:00
|
|
|
%doc %{_docdir}/ftgl/ftgl.pdf
|
2024-01-06 04:18:33 +01:00
|
|
|
%endif
|
2024-01-06 04:18:32 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%doc BUGS ChangeLog NEWS README TODO
|
|
|
|
|
|
|
|
%files static
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:18:33 +01:00
|
|
|
%{_libdir}/libftgl.a
|
|
|
|
%{_libdir}/libftgl.la
|
2024-01-06 04:18:32 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:18:33 +01:00
|
|
|
* Mon Dec 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-2mamba
|
|
|
|
- rebuilt with debug package
|
|
|
|
|
2024-01-06 04:18:32 +01:00
|
|
|
* Fri Mar 29 2019 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:18:32 +01:00
|
|
|
* Fri Apr 06 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3.rc5-2mamba
|
|
|
|
- fix build and make some specfile fixes
|
|
|
|
|
|
|
|
* Tue Sep 02 2008 gil <puntogil@libero.it> 2.1.3-rc5-1mamba
|
|
|
|
- package created by autospec
|