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