]> git.pld-linux.org Git - packages/OGLFT.git/blob - OGLFT.spec
rebuild with separate debuginfo build-ids
[packages/OGLFT.git] / OGLFT.spec
1 Summary:        OpenGL-FreeType Library
2 Summary(pl.UTF-8):      Biblioteka OpenGL-FreeType
3 Name:           OGLFT
4 Version:        0.9
5 Release:        4
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/oglft/oglft-%{version}.tar.gz
9 # Source0-md5:  c3a8e0993f98edb7611c20f46631d2a6
10 Patch0:         link.patch
11 URL:            http://oglft.sourceforge.net/
12 BuildRequires:  OpenGL-GLU-devel
13 BuildRequires:  autoconf >= 2.50
14 BuildRequires:  automake
15 BuildRequires:  freetype-devel >= 2
16 BuildRequires:  gle-devel
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  libtool
19 BuildRequires:  qt-devel >= 3
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 C++ library that supplies an interface between the fonts on a system
24 and an OpenGL or Mesa application. It uses the excellent FreeType
25 library to read font faces from their files and renders text strings
26 as OpenGL primitives. 
27
28 %description -l pl.UTF-8
29 Bibllioteka C++ zapewniająca interfejs pomiędzy fontami w systemie
30 oraz aplikacjami OpenGL/Mesy. Wykorzystuje świetną bibliotekę FreeType
31 do odczytu wyglądu fontów z plików, natomiast łańcuchy tekstu rysuje
32 jako figury OpenGL.
33
34 %package devel
35 Summary:        Header files for OGLFT
36 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki OGLFT
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39 Requires:       OpenGL-GLU-devel
40 Requires:       freetype-devel >= 2
41 Requires:       gle-devel
42 Requires:       libstdc++-devel
43 Requires:       qt-devel >= 3
44
45 %description devel
46 Header files for OGLFT.
47
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki OGLFT.
50
51 %package static
52 Summary:        Static version of OGLFT library
53 Summary(pl.UTF-8):      Statyczna wersja biblioteki OGLFT
54 Group:          Development/Libraries
55 Requires:       %{name}-devel = %{version}-%{release}
56
57 %description static
58 Static version of OGLFT library.
59
60 %description static -l pl.UTF-8
61 Statyczna wersja biblioteki OGLFT.
62
63 %prep
64 %setup -q -n oglft-%{version}
65 %patch0 -p1
66
67 %build
68 %{__libtoolize}
69 %{__aclocal}
70 %{__autoconf}
71 %{__autoheader}
72 %{__automake}
73 %configure \
74         CPPFLAGS="%{rpmcppflags} -I/usr/include/qt" \
75         QTDIR=/usr
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT
83
84 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libOGLFT.la
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README
92 %attr(755,root,root) %{_libdir}/libOGLFT.so.1.*.*
93 %attr(755,root,root) %ghost %{_libdir}/libOGLFT.so.1
94
95 %files devel
96 %defattr(644,root,root,755)
97 %doc doc/html
98 %attr(755,root,root) %{_libdir}/libOGLFT.so
99 %{_includedir}/oglft
100
101 %files static
102 %defattr(644,root,root,755)
103 %{_libdir}/libOGLFT.a
This page took 0.07243 seconds and 3 git commands to generate.