]> git.pld-linux.org Git - packages/OGLFT.git/blob - OGLFT.spec
- include Qt support, remove .la, rel. 2
[packages/OGLFT.git] / OGLFT.spec
1 Summary:        OpenGL-FreeType Library
2 Name:           OGLFT
3 Version:        0.9
4 Release:        2
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}
49 %{__autoheader}
50 %{__automake}
51 %{__libtoolize}
52 %configure
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libOGLFT.la
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc AUTHORS ChangeLog NEWS README
69 %attr(755,root,root) %{_libdir}/libOGLFT.so.1.*.*
70 %attr(755,root,root) %ghost %{_libdir}/libOGLFT.so.1
71
72 %files devel
73 %defattr(644,root,root,755)
74 %doc doc/html
75 %{_includedir}/oglft
76 %attr(755,root,root) %{_libdir}/libOGLFT.so
77
78 %files static
79 %defattr(644,root,root,755)
80 %{_libdir}/libOGLFT.a
This page took 0.05203 seconds and 4 git commands to generate.