116 lines
4.1 KiB
RPMSpec
116 lines
4.1 KiB
RPMSpec
Name: libftgl
|
|
Version: 2.4.0
|
|
Release: 1mamba
|
|
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/
|
|
Source: https://github.com/frankheckenbach/ftgl.git/v%{version}/ftgl-%{version}.tar.bz2
|
|
#Source: http://downloads.sourceforge.net/ftgl/ftgl-%{realversion}.tar.gz
|
|
License: LGPL, BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libGL-devel
|
|
BuildRequires: libGLU-devel
|
|
BuildRequires: libbzip2-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgraphite2-devel
|
|
BuildRequires: libharfbuzz-devel
|
|
BuildRequires: libpcre-devel
|
|
BuildRequires: libpng-devel
|
|
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.
|
|
|
|
This package contains libraries and header files need for development.
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n ftgl-%{version}
|
|
#sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac
|
|
|
|
%build
|
|
./autogen.sh
|
|
|
|
%configure \
|
|
--disable-freetypetest \
|
|
--enable-shared
|
|
|
|
%make ECHO=echo
|
|
|
|
%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)
|
|
%{_libdir}/*.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/FTGL
|
|
%{_includedir}/FTGL/*.h
|
|
%{_libdir}/*.so
|
|
%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
|
|
%doc %{_docdir}/ftgl/ftgl.pdf
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%doc BUGS ChangeLog NEWS README TODO
|
|
|
|
%files static
|
|
%defattr(-,root,root)
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.la
|
|
|
|
%changelog
|
|
* Fri Mar 29 2019 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|