]> git.pld-linux.org Git - packages/ftgl.git/commitdiff
- updated to 2.1.3-rc5 (it's rc, but last stable release was 5 years ago and auto/th/ftgl-2_1_3-0_rc5_1
authorAdam Gołębiowski <adamg@pld-linux.org>
Tue, 22 Sep 2009 05:38:49 +0000 (05:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  this is only -rc since)
- -Makefiles and -gcc4 patches no longer needed
- BR: autoconf, libtool
- auto* rebuild
- include pdf in devel docs

Changed files:
    ftgl.spec -> 1.17

ftgl.spec

index 3c0a1cff1ca18107c8caba78ad1551c036a61de6..48678b488216049b29e60d77c6449523e897c8cd 100644 (file)
--- a/ftgl.spec
+++ b/ftgl.spec
@@ -1,33 +1,33 @@
 Summary:       OpenGL frontend to freetype2
 Summary(pl.UTF-8):     Nakładka OpenGL na freetype2 - łatwy dostęp do fontów z poziomu OpenGL
 Name:          ftgl
-Version:       2.1.2
-Release:       3
+Version:       2.1.3
+Release:       0.rc5.1
 Epoch:         0
 License:       LGPL
 Group:         X11/Libraries
 # original URL (dead ATM): http://opengl.geek.nz/ftgl/%{name}-%{version}.tar.gz
-Source0:       ftp://ftp.pl.debian.org/pub/debian/pool/main/f/ftgl/%{name}_%{version}.orig.tar.gz
-# Source0-md5: 3eabec9ad37371c4d139408c7ffd2429
-Patch0:                %{name}-Makefiles.patch
-Patch1:                %{name}-gcc4.patch
+Source0:       http://dl.sourceforge.net/ftgl/%{name}-%{version}-rc5.tar.gz
+# Source0-md5: fcf4d0567b7de9875d4e99a9f7423633
 URL:           http://homepages.paradise.net.nz/henryj/code/#FTGL
 BuildRequires: OpenGL-GLU-devel
+BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: doxygen
 BuildRequires: freetype-devel >= 2.0.9
 BuildRequires: libstdc++-devel
+BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 FTGL is a free, open source library to enable developers to use
 arbitrary fonts in their OpenGL (http://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
-(http://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.
+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 (http://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.
 
 %description -l pl.UTF-8
 FTPGL to wolnodostępna biblioteka z otwartymi źródłami umożliwiająca
@@ -68,21 +68,24 @@ Static FTGL library.
 Statyczna biblioteka FTGL.
 
 %prep
-%setup -q -n FTGL
-%patch0 -p1
-%patch1 -p1
+%setup -q -n %{name}-%{version}~rc5
 
 %build
-cd unix
-install /usr/share/automake/config.* .
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --enable-shared
-%{__make}
+%{__make} \
+       ECHO=/bin/echo
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-%{makeinstall} -C unix
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       ECHO=/bin/echo
 
 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
 
@@ -94,12 +97,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc HISTORY.txt README.txt license.txt
+%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO
 %attr(755,root,root) %{_libdir}/libftgl.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc unix/docs/html
+%doc docs/html docs/latex/ftgl.pdf
 %attr(755,root,root) %{_libdir}/libftgl.so
 %{_libdir}/libftgl.la
 %{_includedir}/FTGL
This page took 0.130555 seconds and 4 git commands to generate.