]> git.pld-linux.org Git - packages/quesoglc.git/blob - quesoglc.spec
- init
[packages/quesoglc.git] / quesoglc.spec
1 # TODO: 
2 # - static package?
3 #
4 # Conditional build:
5 #
6 Summary:        QuesoGLC is a free (as in free speech) implementation of the OpenGL Character Renderer (GLC)
7 Summary(pl.UTF-8):      QuesoGLC to wolna implementacja "OpenGL Character Renderer" (GLC)
8 Name:           quesoglc
9 Version:        0.6.0
10 Release:        1
11 License:        GPL
12 Group:          Libraries
13 Source0:        http://dl.sourceforge.net/quesoglc/%{name}-%{version}.tar.bz2
14 # Source0-md5:  7fbdc3b57a179a471a8ca2e590a2f56b
15 URL:            http://quesoglc.sourceforge.net/
16 BuildRequires:  OpenGL-GLU-devel
17 BuildRequires:  OpenGL-glut-devel
18 BuildRequires:  freetype-devel >= 2.0.0
19 BuildRequires:  fontconfig-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 QuesoGLC is a free (as in free speech) implementation of the OpenGL
24 Character Renderer (GLC). QuesoGLC is based on the FreeType library,
25 provides Unicode support and is designed to be easily ported to any
26 platform that supports both FreeType and the OpenGL API.
27
28 %description -l pl.UTF-8
29 QuesoGLC to wolna implementacja "OpenGL Character Renderer" (GLC).
30 QuesoGLC bazuje na bibliotece FreeType. Oferuje wsparcie dla Unikodu i
31 zbudowany jest po to aby był łatwo przenoszony na dowolną
32 platformę, która wspiera FreeType i API OpenGL.
33
34 %package devel
35 Summary:        Header files QuesoGLC library
36 Summary(pl.UTF-8):Pliki nagłówkowe biblioteki QuesoGLC
37 Group:          Development/Libraries
38 Requires:       %{name} = %{epoch}:%{version}-%{release}
39
40 %description devel
41 This package includes the header files for QuesoGLC library.
42
43 %description devel -l pl.UTF-8
44 Ta paczka zawiera pliki nagłówkowe biblioteki QuesoGLC.
45
46 %prep
47 %setup -q
48
49 %build
50 %configure 
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 install -d $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60 rm $RPM_BUILD_ROOT%{_libdir}/libGLC.a
61
62 %post -p /sbin/ldconfig
63 %postun -p /sbin/ldconfig
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc AUTHORS Changelog README THANKS
71 %attr(755,root,root) %{_libdir}/libGLC*.so.*.*
72
73 %files devel
74 %defattr(644,root,root,755)
75 %{_includedir}/GL/*.h
76 %{_libdir}/libGLC*.la
This page took 0.149234 seconds and 4 git commands to generate.