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