]> git.pld-linux.org Git - packages/OGLFT.git/blob - OGLFT.spec
- fixed x86_64 build by disabling most autocrap (autoconf/libtoolize pair
[packages/OGLFT.git] / OGLFT.spec
1 Summary:        OpenGL-FreeType Library
2 Name:           OGLFT
3 Version:        0.9
4 Release:        3
5 License:        LGPL
6 Group:          Libraries
7 Source0:        http://downloads.sourceforge.net/oglft/oglft-%{version}.tar.gz
8 # Source0-md5:  c3a8e0993f98edb7611c20f46631d2a6
9 URL:            http://oglft.sourceforge.net/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  freetype-devel
13 BuildRequires:  gle-devel
14 BuildRequires:  libtool
15 BuildRequires:  qt-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 C++ library that supplies an interface between the fonts on a system
20 and an OpenGL or Mesa application. It uses the excellent FreeType
21 library to read font faces from their files and renders text strings
22 as OpenGL primitives. 
23
24 %package devel
25 Summary:        Header files for OGLFT
26 Group:          Development/Libraries
27 Requires:       %{name} = %{version}-%{release}
28
29 %description devel
30 Header files for OGLFT.
31
32 %package static
33 Summary:        Static version of OGLFT
34 Group:          Development/Libraries
35 Requires:       %{name}-devel = %{version}-%{release}
36
37 %description static
38 Static version of OGLFT.
39
40 %prep
41 %setup -q -n oglft-%{version}
42
43 %build
44 QTDIR=/usr
45 CPPFLAGS=-I/usr/include/qt
46 export QTDIR CPPFLAGS
47 %{__aclocal}
48 # autoconf requires libtoolize, otherwise causes endless libtool loop
49 #%%{__autoconf}
50 %{__autoheader}
51 # automake requires aclocal and autoconf
52 #%%{__automake}
53 # libtoolize requires autoconf, otherwise ../libtool[400]: CDPATH: not found
54 #%%{__libtoolize}
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT
63
64 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libOGLFT.la
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog NEWS README
72 %attr(755,root,root) %{_libdir}/libOGLFT.so.1.*.*
73 %attr(755,root,root) %ghost %{_libdir}/libOGLFT.so.1
74
75 %files devel
76 %defattr(644,root,root,755)
77 %doc doc/html
78 %{_includedir}/oglft
79 %attr(755,root,root) %{_libdir}/libOGLFT.so
80
81 %files static
82 %defattr(644,root,root,755)
83 %{_libdir}/libOGLFT.a
This page took 0.054717 seconds and 3 git commands to generate.