]> git.pld-linux.org Git - packages/ClanLib.git/blob - ClanLib.spec
s-/usr/sbin-%{_sbindir}-
[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.1.14
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}.tgz
10 URL:            http://clanlib.org
11 BuildPrereq:    libpng-devel
12 BuildPrereq:    zlib-devel
13 BuildPrereq:    Hermes-devel
14 BuildPrereq:    libstdc++-devel
15 BuildPrereq:    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 CleanLib.
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 -n ClanLib
62 %build
63 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
64 ./configure %{_target} \
65         --prefix=/usr
66 make
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 make    LIB_PREFIX="$RPM_BUILD_ROOT%{_libdir}" \
71         BIN_PREFIX="$RPM_BUILD_ROOT%{_bindir}" \
72         INC_PREFIX="$RPM_BUILD_ROOT%{_includedir}" \
73         install
74
75 strip $RPM_BUILD_ROOT%{_libdir}/lib*.so*
76
77 gzip -9nf README TODO CREDITS
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/lib*.so*
88
89 %files devel
90 %defattr(644,root,root,755)
91 %doc *gz
92 %attr(755,root,root) %{_bindir}/datafile_compiler
93 %{_includedir}/ClanLib
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/lib*.a
98
99 %changelog
100 * Tue Apr 20 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
101   [0.1.14-2]
102 - added BuildPrereq (libpng-devel, libz-devel, Hermes-devel).
103 - added -q %setup patameter,
104 - added static subpackage.
105
106 * Mon Apr 19 1999 Konrad Stepieñ <kornad@interdata.com.pl>
107   [0.1.14-1]
108 - initial version
This page took 0.073205 seconds and 4 git commands to generate.