|
@@ -1,22 +1,25 @@
|
|
Summary: A font rendering library for OpenGL
|
|
Summary: A font rendering library for OpenGL
|
|
Summary(ja): OpenGL 用のフォントレンダリングライブラリ
|
|
Summary(ja): OpenGL 用のフォントレンダリングライブラリ
|
|
Name: ftgl
|
|
Name: ftgl
|
|
-Version: 2.1.2
|
|
+Version: 2.1.3
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 1.rc5%{?_dist_release}
|
|
License: LGPL
|
|
License: LGPL
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
-URL: http://homepages.paradise.net.nz/henryj/code/index.html#FTGL
|
|
+URL: http://ftgl.wiki.sourceforge.net/
|
|
-Source: http://opengl.geek.nz/ftgl/ftgl-%{version}.tar.bz2
|
|
+
|
|
-Patch0: ftgl-2.0.11-pkgconfig.patch
|
|
+Source0: http://downloads.sourceforge.net/ftgl/ftgl-%{version}-rc5.tar.bz2
|
|
-Patch1: ftgl-2.1.2-gcc4.patch
|
|
+Patch0: ftgl-2.1.3-rc5-ttf_font.patch
|
|
|
|
+Patch1: ftgl-2.1.3-rc5-ldflags.patch
|
|
|
|
+
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
BuildRequires: freetype2-devel, mesa-libGL-devel, freeglut-devel
|
|
BuildRequires: freetype2-devel, mesa-libGL-devel, freeglut-devel
|
|
|
|
+BuildRequires: libXi-devel, libXmu-devel, cppunit-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: doxygen
|
|
BuildRequires: doxygen
|
|
-Requires: freetype2, mesa-libGL
|
|
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
+Packager: daisuke
|
|
|
|
|
|
%description
|
|
%description
|
|
FTGL is a free, open source library to enable developers to use arbitrary
|
|
FTGL is a free, open source library to enable developers to use arbitrary
|
|
@@ -56,29 +59,31 @@ This package contains the libraries and header files necessary to develop
|
|
applications with FTGL.
|
|
applications with FTGL.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-%setup -q -n FTGL
|
|
+%setup -q -n ftgl-2.1.3~rc5
|
|
-
|
|
+%patch0 -p1 -b .destdir
|
|
-%patch0 -p1 -b .pkgconfig
|
|
+%patch1 -p1 -b .ldflags
|
|
-%patch1 -p1 -b .gcc
|
|
|
|
-
|
|
|
|
-%{_bindir}/find . -type f -name "*.txt" -exec %__chmod 0644 "{}" \;
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-pushd unix
|
|
+%configure \
|
|
-%configure --enable-shared --disable-static
|
|
+ --enable-shared \
|
|
-%__make
|
|
+ --disable-static \
|
|
-popd
|
|
+ --with-gl-inc=%{_includedir} \
|
|
|
|
+ --with-gl-lib=%{_libdir} \
|
|
|
|
+ --with-glut-inc=%{_includedir} \
|
|
|
|
+ --with-glut-lib=%{_libdir} \
|
|
|
|
+ --with-x
|
|
|
|
+
|
|
|
|
+%__make all %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
%__rm -rf %{buildroot}
|
|
%__rm -rf %{buildroot}
|
|
|
|
+make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
-pushd unix
|
|
+# Doc fixes
|
|
-%makeinstall
|
|
+mkdir -p __doc/html
|
|
-popd
|
|
+install -pm 0644 $RPM_BUILD_ROOT%{_datadir}/doc/ftgl/html/* __doc/html
|
|
-
|
|
+rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
|
|
-# remove unneeded files
|
|
|
|
-%__rm -f %{buildroot}%{_bindir}/FTGLDemo
|
|
|
|
-%__rm -rf %{buildroot}%{_docdir}
|
|
|
|
|
|
|
|
%post
|
|
%post
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
@@ -91,18 +96,21 @@ popd
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc COPYING.txt HISTORY.txt README.txt license.txt
|
|
+%doc AUTHORS BUGS ChangeLog COPYING NEWS README TODO
|
|
%{_libdir}/lib*.so.*
|
|
%{_libdir}/lib*.so.*
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
-%doc unix/README.txt unix/docs/html
|
|
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
|
|
+%doc __doc/*
|
|
%{_includedir}/FTGL
|
|
%{_includedir}/FTGL
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
-%exclude %{_libdir}/lib*.la
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon May 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-1.rc5
|
|
|
|
+- update to 2.1.3-rc5
|
|
|
|
+- add BR: libXi-devel, libXmu-devel, cppunit-devel
|
|
|
|
+
|
|
* Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.2-1vl5
|
|
* Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.2-1vl5
|
|
- applied new versioning policy, spec in utf-8
|
|
- applied new versioning policy, spec in utf-8
|
|
- excluded lib*.la
|
|
- excluded lib*.la
|