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