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