]>
Commit | Line | Data |
---|---|---|
0ec88860 | 1 | # TODO: |
df2c81d2 MB |
2 | # warning: Installed (but unpackaged) file(s) found: |
3 | # /etc/xdg/menus/applications-merged/ggz.merge.menu | |
4 | # /etc/xdg/menus/ggz.menu | |
5 | # /usr/share/desktop-directories/ggz-games.directory | |
6 | # /usr/share/desktop-directories/ggz.directory | |
7 | # | |
8 | # These files are to show in WM menu GGZ clients / games, which have special | |
9 | # Category entry in desktop files - X-GGZ or X-GGZ-Games | |
10 | # | |
11 | # - create subpackage for them (-menus?) | |
12 | # | |
0ec88860 | 13 | Summary: GGZ client libraries |
14 | Summary(pl.UTF-8): Biblioteki klienckie dla GGZ | |
15 | Name: ggz-client-libs | |
4796eea4 | 16 | Version: 0.0.14.1 |
8a8ad445 | 17 | Release: 5 |
a85baea4 | 18 | License: LGPL v2.1+ |
0ec88860 | 19 | Group: Libraries |
01a71975 | 20 | Source0: http://mirrors.dotsrc.org/ggzgamingzone/ggz/%{version}/%{name}-%{version}.tar.gz |
4796eea4 | 21 | # Source0-md5: 299eaa93721b1d867b5bf7dc6ac764b0 |
0ec88860 | 22 | URL: http://www.ggzgamingzone.org/ |
a85baea4 JB |
23 | BuildRequires: autoconf >= 2.50 |
24 | BuildRequires: automake | |
25 | BuildRequires: expat-devel >= 1.95 | |
0ec88860 | 26 | BuildRequires: libggz-devel >= 0.0.14 |
a85baea4 | 27 | BuildRequires: libtool |
0ec88860 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
31 | GGZ Gaming Zone core client libraries provides the common procedures | |
32 | and utilities required to run the GGZ client and games. | |
33 | ||
34 | %description -l pl.UTF-8 | |
35 | Biblioteki klienckie GGZ Gaming Zone dostarczają ogólne procedury i | |
36 | narzędzia wymagane do uruchomienia klienta GGZ oraz gier. | |
37 | ||
38 | %package devel | |
39 | Summary: Header files for ggz-client-lib library | |
40 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ggz-client-lib | |
41 | Group: Development/Libraries | |
42 | Requires: %{name} = %{version}-%{release} | |
a85baea4 JB |
43 | Requires: expat-devel >= 1.95 |
44 | Requires: libggz-devel >= 0.0.14 | |
0ec88860 | 45 | |
46 | %description devel | |
47 | Header files for ggz-client-lib library. | |
48 | ||
49 | %description devel -l pl.UTF-8 | |
50 | Pliki nagłówkowe biblioteki ggz-client-lib. | |
51 | ||
52 | %package static | |
53 | Summary: Static ggz-client-lib library | |
54 | Summary(pl.UTF-8): Statyczna biblioteka ggz-client-lib | |
55 | Group: Development/Libraries | |
56 | Requires: %{name}-devel = %{version}-%{release} | |
57 | ||
58 | %description static | |
59 | Static ggz-client-lib library. | |
60 | ||
61 | %description static -l pl.UTF-8 | |
62 | Statyczna biblioteka ggz-client-lib. | |
63 | ||
64 | %prep | |
65 | %setup -q | |
66 | ||
67 | %build | |
68 | %{__libtoolize} | |
a85baea4 | 69 | %{__aclocal} -I m4 -I m4/ggz |
0ec88860 | 70 | %{__autoconf} |
71 | %{__autoheader} | |
72 | %{__automake} | |
73 | %configure | |
74 | %{__make} | |
75 | ||
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %{__make} install \ | |
80 | DESTDIR=$RPM_BUILD_ROOT | |
81 | ||
627e4d89 | 82 | # Create ggz.modules |
50138ddc | 83 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
627e4d89 | 84 | echo "[Games]" > $RPM_BUILD_ROOT%{_sysconfdir}/ggz.modules |
50138ddc JB |
85 | # directory for ggz.modules .dsc pieces |
86 | install -d $RPM_BUILD_ROOT%{_datadir}/ggz/ggz-config | |
627e4d89 | 87 | |
0ec88860 | 88 | %find_lang %{name} --all-name |
89 | ||
90 | %clean | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %post -p /sbin/ldconfig | |
94 | %postun -p /sbin/ldconfig | |
95 | ||
96 | %files -f %{name}.lang | |
97 | %defattr(644,root,root,755) | |
50138ddc | 98 | %doc AUTHORS ChangeLog NEWS QuickStart.GGZ README* ggz-config/readme.ggzconfig |
627e4d89 | 99 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ggz.modules |
df2c81d2 MB |
100 | %attr(755,root,root) %{_bindir}/ggz |
101 | %attr(755,root,root) %{_bindir}/ggz-config | |
102 | %attr(755,root,root) %{_bindir}/ggz-wrapper | |
103 | %dir %{_libdir}/ggz | |
104 | %attr(755,root,root) %{_libdir}/ggz/ggzwrap | |
105 | %attr(755,root,root) %{_libdir}/libggzcore.so.*.*.* | |
106 | %attr(755,root,root) %ghost %{_libdir}/libggzcore.so.9 | |
107 | %attr(755,root,root) %{_libdir}/libggzmod.so.*.*.* | |
108 | %attr(755,root,root) %ghost %{_libdir}/libggzmod.so.4 | |
50138ddc | 109 | %dir %{_datadir}/ggz/ggz-config |
df2c81d2 MB |
110 | %{_mandir}/man1/ggzwrap.1* |
111 | %{_mandir}/man5/ggz.modules.5* | |
112 | %{_mandir}/man6/ggz-config.6* | |
113 | %{_mandir}/man6/ggz-wrapper.6* | |
114 | %{_mandir}/man6/ggz.6* | |
115 | %{_mandir}/man7/ggz.7* | |
0ec88860 | 116 | |
117 | %files devel | |
118 | %defattr(644,root,root,755) | |
df2c81d2 MB |
119 | %attr(755,root,root) %{_libdir}/libggzcore.so |
120 | %attr(755,root,root) %{_libdir}/libggzmod.so | |
121 | %{_libdir}/libggzcore.la | |
122 | %{_libdir}/libggzmod.la | |
123 | %{_includedir}/ggzcore.h | |
124 | %{_includedir}/ggzmod.h | |
125 | %{_mandir}/man3/ggzcore_h.3* | |
126 | %{_mandir}/man3/ggzmod_h.3* | |
0ec88860 | 127 | |
128 | %files static | |
129 | %defattr(644,root,root,755) | |
df2c81d2 MB |
130 | %{_libdir}/libggzcore.a |
131 | %{_libdir}/libggzmod.a |