fix build and make some specfile fixes [release 2.1.3.rc5-2mamba;Fri Apr 06 2012]
This commit is contained in:
parent
3bcb51da26
commit
4afd9ca5a6
@ -1,2 +1,6 @@
|
|||||||
# libftgl
|
# libftgl
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
107
libftgl.spec
Normal file
107
libftgl.spec
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
%define realversion 2.1.3-rc5
|
||||||
|
%define dotversion %(echo %{realversion} | sed 's/-/./g')
|
||||||
|
Name: libftgl
|
||||||
|
Version: 2.1.3.rc5
|
||||||
|
Release: 2mamba
|
||||||
|
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: http://downloads.sourceforge.net/ftgl/ftgl-%{realversion}.tar.gz
|
||||||
|
License: LGPL, BSD
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libfreetype-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libGL-devel
|
||||||
|
BuildRequires: libGLU-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-2.1.3~rc5
|
||||||
|
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.ac
|
||||||
|
|
||||||
|
%build
|
||||||
|
chmod +x autogen.sh
|
||||||
|
./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 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
|
Loading…
Reference in New Issue
Block a user