]>
Commit | Line | Data |
---|---|---|
0ec88860 | 1 | # TODO: |
2 | # - there is some man pages need to be checked, also need check what is ggz.merge.menu, ggz.menu in /etc and ggzwrap in libdir | |
3 | ||
4 | Summary: GGZ client libraries | |
5 | Summary(pl.UTF-8): Biblioteki klienckie dla GGZ | |
6 | Name: ggz-client-libs | |
7 | Version: 0.0.14 | |
8 | Release: 0.1 | |
a85baea4 | 9 | License: LGPL v2.1+ |
0ec88860 | 10 | Group: Libraries |
11 | Source0: http://ftp.belnet.be/packages/ggzgamingzone/ggz/0.0.14/%{name}-%{version}.tar.gz | |
12 | # Source0-md5: efe325665fc745efe34d59dd9dea4284 | |
13 | URL: http://www.ggzgamingzone.org/ | |
a85baea4 JB |
14 | BuildRequires: autoconf >= 2.50 |
15 | BuildRequires: automake | |
16 | BuildRequires: expat-devel >= 1.95 | |
0ec88860 | 17 | BuildRequires: libggz-devel >= 0.0.14 |
a85baea4 | 18 | BuildRequires: libtool |
0ec88860 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | GGZ Gaming Zone core client libraries provides the common procedures | |
23 | and utilities required to run the GGZ client and games. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Biblioteki klienckie GGZ Gaming Zone dostarczają ogólne procedury i | |
27 | narzędzia wymagane do uruchomienia klienta GGZ oraz gier. | |
28 | ||
29 | %package devel | |
30 | Summary: Header files for ggz-client-lib library | |
31 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ggz-client-lib | |
32 | Group: Development/Libraries | |
33 | Requires: %{name} = %{version}-%{release} | |
a85baea4 JB |
34 | Requires: expat-devel >= 1.95 |
35 | Requires: libggz-devel >= 0.0.14 | |
0ec88860 | 36 | |
37 | %description devel | |
38 | Header files for ggz-client-lib library. | |
39 | ||
40 | %description devel -l pl.UTF-8 | |
41 | Pliki nagłówkowe biblioteki ggz-client-lib. | |
42 | ||
43 | %package static | |
44 | Summary: Static ggz-client-lib library | |
45 | Summary(pl.UTF-8): Statyczna biblioteka ggz-client-lib | |
46 | Group: Development/Libraries | |
47 | Requires: %{name}-devel = %{version}-%{release} | |
48 | ||
49 | %description static | |
50 | Static ggz-client-lib library. | |
51 | ||
52 | %description static -l pl.UTF-8 | |
53 | Statyczna biblioteka ggz-client-lib. | |
54 | ||
55 | %prep | |
56 | %setup -q | |
57 | ||
58 | %build | |
59 | %{__libtoolize} | |
a85baea4 | 60 | %{__aclocal} -I m4 -I m4/ggz |
0ec88860 | 61 | %{__autoconf} |
62 | %{__autoheader} | |
63 | %{__automake} | |
64 | %configure | |
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
73 | %find_lang %{name} --all-name | |
74 | ||
75 | %clean | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %post -p /sbin/ldconfig | |
79 | %postun -p /sbin/ldconfig | |
80 | ||
81 | %files -f %{name}.lang | |
82 | %defattr(644,root,root,755) | |
83 | %doc AUTHORS ChangeLog NEWS QuickStart.GGZ README* | |
84 | %attr(755,root,root) %{_bindir}/* | |
85 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
86 | %{_mandir}/man6/*.6* | |
87 | ||
88 | %files devel | |
89 | %defattr(644,root,root,755) | |
90 | %attr(755,root,root) %{_libdir}/lib*.so | |
91 | %{_libdir}/lib*.la | |
92 | %{_includedir}/*.h | |
93 | %{_mandir}/man3/*.3* | |
94 | ||
95 | %files static | |
96 | %defattr(644,root,root,755) | |
97 | %{_libdir}/lib*.a |