]> git.pld-linux.org Git - packages/ClanLib.git/blob - ClanLib.spec
- added missing Requires and BuildRequires: Hermes >= 1.2.6
[packages/ClanLib.git] / ClanLib.spec
1 Summary:        ClanLib, the platform independent game SDK.
2 Summary(pl):    ClanLib, niezale¿ny od platformy SDK do gier
3 Name:           ClanLib
4 Version:        0.2.2
5 Release:        1
6 Copyright:      LGPL
7 Group:          Libraries
8 Group(pl):      Biblioteki
9 Source:         http://dark.x.dtu.dk/clansoft/clanlib/download/%{name}-%{version}.tar.gz
10 URL:            http://clanlib.org
11 Requires:       Hermes >= 1.2.6
12 BuildRequires:  libpng-devel
13 BuildRequires:  zlib-devel
14 BuildRequires:  Hermes-devel >= 1.2.6
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  XFree86-devel
17 BuildRoot:      /tmp/%{name}-%{version}-root
18
19 %description
20 The ClanLib SDK is designed to provide an platform independent game SDK using
21 a lot cleaner (and object oriented) interface than the traditional way it is
22 done in DirectX, SDL and such. The goals is to avoid game developers
23 constantly reinventing the wheel by providing smarter ways to eg. load
24 surfaces.
25
26 %description -l pl
27 ClanLib SDK jest projektowany jako niezale¿ny od platformy SDK dla gier.
28 Stosuje prosty (i zorienrowany obiektowo) interfejs, przejrzystszy ni¿
29 DirectX, SDL i inne.
30
31 %package devel
32 Summary:        ClanLib development package
33 Summary(pl):    pakiet programistyczny dla ClanLib
34 Group:          Development/Libraries
35 Group(pl):      Programowanie/Biblioteki
36 Requires:       %{name} = %{version}
37
38 %description devel
39 This is the development add-on package that includes the header files needed
40 to compile new ClanLib applications.
41
42 %description -l pl devel
43 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe potrzebne
44 do kompilacji programów korzystaj±cych z ClanLib.
45
46 %package static
47 Summary:        ClanLib development package
48 Summary(pl):    pakiet programistyczny dla ClanLib
49 Group:          Development/Libraries
50 Group(pl):      Programowanie/Biblioteki
51 Requires:       %{name}-devel = %{version}
52
53 %description static
54 This is the development add-on package that includes the header files needed
55 to compile new ClanLib applications.
56
57 %description -l pl static
58 Programistyczne dodatki do ClanLib-a, zawieraj± pliki nag³ówkowe potrzebne
59 do kompilacji programów korzystaj±cych z CleanLib.
60
61 %prep
62 %setup -q
63
64 %build
65 ./autogen.sh
66 LDFLAGS="-s"; export LDFLAGS
67 %configure \
68         --enable-static \
69         --enable-shared
70 make
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74 make    install \
75         LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
76         BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
77         INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}"
78
79 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so*
80
81 gzip -9nf README TODO CREDITS
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/lib*.so*
92
93 %files devel
94 %defattr(644,root,root,755)
95 %doc *gz
96 %attr(755,root,root) %{_bindir}/datafile_compiler
97 %{_includedir}/ClanLib
98
99 #%files static
100 #%defattr(644,root,root,755)
101 #%{_libdir}/lib*.a
This page took 0.032502 seconds and 4 git commands to generate.