]> git.pld-linux.org Git - packages/CEGUI.git/blob - CEGUI.spec
- initial version
[packages/CEGUI.git] / CEGUI.spec
1 # TODO:
2 # - plenty of BRs are missing
3 # - gcc33 patch only for AC-branch
4 #
5 Summary:        CEGUI is a free library providing windowing and widgets
6 Name:           CEGUI
7 Version:        0.5.0
8 Release:        1
9 License:        LGPL
10 Group:          Libraries
11 Source0:        http://dl.sourceforge.net/crayzedsgui/%{name}-%{version}b.tar.gz
12 # Source0-md5:  b42322a33c6a06eede76b15f75694a17
13 Source1:        http://dl.sourceforge.net/crayzedsgui/%{name}-DOCS-%{version}.tar.gz
14 # Source1-md5:  e268b5812f146ee1ff9ba4c07ff501b7
15 Patch0:         %{name}-gcc33.patch
16 URL:            http://www.cegui.org.uk/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libtool
20 BuildRequires:  pcre-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 CEGUI stands for Crazy Eddie's Gui System; a free library providing
25 windowing and widgets for graphics APIs / engines where such
26 functionality is not natively available, or severely lacking. The
27 library is object orientated, written in C++, and targeted at games
28 developers who should be spending their time creating great games, not
29 building GUI sub-systems!
30
31 %package devel
32 Summary:        Development files for CEGUI
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35
36 %description devel
37 CEGUI headers and documentation.
38
39 %prep
40 %setup -q -b 1
41 %patch0 -p1
42
43 %build
44 %{__libtoolize}
45 %{__aclocal}
46 %{__autoconf}
47 %{__autoheader}
48 %{__automake}
49 %configure
50
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post   -p /sbin/ldconfig
63 %postun -p /sbin/ldconfig
64
65 %files
66 %defattr(644,root,root,755)
67 %doc AUTHORS ChangeLog README
68 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
69
70 %files devel
71 %defattr(644,root,root,755)
72 %doc documentation
73 %attr(755,root,root) %{_libdir}/lib*.so
74 %{_libdir}/lib*.la
75 %{_includedir}/%{name}/*
76 %{_pkgconfigdir}/*
This page took 0.03241 seconds and 4 git commands to generate.