]> git.pld-linux.org Git - packages/CEGUI.git/blob - CEGUI.spec
80bd04d1bc1d9b589769d660d6ff448b401a65cc
[packages/CEGUI.git] / CEGUI.spec
1 # TODO:
2 # - gcc33 patch only for AC-branch
3 # - ogre-renderer (BR: CEGUI-OGRE >= 1.0.0 through pkgconfig)
4 # - irrlicht-renderer (BR: irrlicht-devel, xorg-lib-libXxf86vm-devel)
5 # - corona (BR: corona >= 1.2.0 through corona-config script)
6 # - devil (BR: DevIL-devel)
7 # - silly (BR: SILLY >= 0.1.0 through pkgconfig)
8 #
9 Summary:        CEGUI - a free library providing windowing and widgets
10 Summary(pl.UTF-8):      CEGUI - wolnodostępna biblioteka zapewniającą okienka i widgety
11 Name:           CEGUI
12 Version:        0.5.0
13 Release:        1
14 License:        LGPL
15 Group:          Libraries
16 Source0:        http://dl.sourceforge.net/crayzedsgui/%{name}-%{version}b.tar.gz
17 # Source0-md5:  b42322a33c6a06eede76b15f75694a17
18 Source1:        http://dl.sourceforge.net/crayzedsgui/%{name}-DOCS-%{version}.tar.gz
19 # Source1-md5:  e268b5812f146ee1ff9ba4c07ff501b7
20 Patch0:         %{name}-gcc33.patch
21 Patch1:         %{name}-link.patch
22 URL:            http://www.cegui.org.uk/
23 BuildRequires:  FreeImage-devel
24 BuildRequires:  OpenGL-GLU-devel
25 BuildRequires:  OpenGL-glut-devel
26 BuildRequires:  autoconf >= 2.59
27 BuildRequires:  automake
28 BuildRequires:  expat-devel
29 BuildRequires:  freetype-devel >= 2.0
30 BuildRequires:  libstdc++-devel
31 BuildRequires:  libtool >= 2:1.5
32 BuildRequires:  libxml2-devel >= 1:2.6
33 BuildRequires:  lua50-devel >= 5.0
34 BuildRequires:  pcre-devel >= 5.0
35 BuildRequires:  pkgconfig
36 BuildRequires:  xerces-c-devel
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 CEGUI stands for Crazy Eddie's Gui System; a free library providing
41 windowing and widgets for graphics APIs / engines where such
42 functionality is not natively available, or severely lacking. The
43 library is object orientated, written in C++, and targeted at games
44 developers who should be spending their time creating great games, not
45 building GUI sub-systems!
46
47 %description -l pl.UTF-8
48 CEGUI oznacza Crazy Eddie's Gui System - wolnodostępną bibliotekę
49 zapewniającą okienka i widgety dla graficznych API i silników tam,
50 gdzie natywnie taka funkcjonalność nie jest dostępna lub ma znaczące
51 braki. Biblioteka jest zorientowana obiektowo, napisana w C++ i
52 skierowana dla programistów gier, którzy powinni spędzać czas na
53 pisaniu świetnych gier, a nie tworzeniu podsystemów GUI!
54
55 %package devel
56 Summary:        Development files for CEGUI
57 Summary(pl.UTF-8):      Pliki programistyczne dla CEGUI
58 Group:          Development/Libraries
59 Requires:       %{name} = %{version}-%{release}
60 Requires:       freetype-devel >= 2.0
61 Requires:       libstdc++-devel
62 Requires:       pcre-devel >= 5.0
63
64 %description devel
65 CEGUI headers and documentation.
66
67 %description devel -l pl.UTF-8
68 Pliki nagłówkowe i dokumentacja do CEGUI.
69
70 %prep
71 %setup -q -b 1
72 %patch0 -p1
73 %patch1 -p1
74
75 %build
76 %{__libtoolize}
77 %{__aclocal}
78 %{__autoconf}
79 %{__autoheader}
80 %{__automake}
81 %configure \
82         --with-default-image-codec=FreeImageImageCodec \
83         --with-default-parser=LibxmlParser
84
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post   -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
98
99 %files
100 %defattr(644,root,root,755)
101 %doc AUTHORS ChangeLog README
102 %attr(755,root,root) %{_libdir}/libCEGUI*.so.*.*.*
103
104 %files devel
105 %defattr(644,root,root,755)
106 %doc documentation
107 %attr(755,root,root) %{_libdir}/libCEGUI*.so
108 %{_libdir}/libCEGUI*.la
109 %{_includedir}/%{name}
110 %{_pkgconfigdir}/CEGUI.pc
111 %{_pkgconfigdir}/CEGUI-OPENGL.pc
This page took 0.063026 seconds and 2 git commands to generate.