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