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