]> git.pld-linux.org Git - SPECS.git/blob - ggz-client-libs.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / ggz-client-libs.spec
1 # TODO:
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 #
13 Summary:        GGZ client libraries
14 Summary(pl.UTF-8):      Biblioteki klienckie dla GGZ
15 Name:           ggz-client-libs
16 Version:        0.0.14.1
17 Release:        5
18 License:        LGPL v2.1+
19 Group:          Libraries
20 Source0:        http://mirrors.dotsrc.org/ggzgamingzone/ggz/%{version}/%{name}-%{version}.tar.gz
21 # Source0-md5:  299eaa93721b1d867b5bf7dc6ac764b0
22 URL:            http://www.ggzgamingzone.org/
23 BuildRequires:  autoconf >= 2.50
24 BuildRequires:  automake
25 BuildRequires:  expat-devel >= 1.95
26 BuildRequires:  libggz-devel >= 0.0.14
27 BuildRequires:  libtool
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}
43 Requires:       expat-devel >= 1.95
44 Requires:       libggz-devel >= 0.0.14
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}
69 %{__aclocal} -I m4 -I m4/ggz
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
82 # Create ggz.modules
83 install -d $RPM_BUILD_ROOT%{_sysconfdir}
84 echo "[Games]" > $RPM_BUILD_ROOT%{_sysconfdir}/ggz.modules
85 # directory for ggz.modules .dsc pieces
86 install -d $RPM_BUILD_ROOT%{_datadir}/ggz/ggz-config
87
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)
98 %doc AUTHORS ChangeLog NEWS QuickStart.GGZ README* ggz-config/readme.ggzconfig
99 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ggz.modules
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
109 %dir %{_datadir}/ggz/ggz-config
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*
116
117 %files devel
118 %defattr(644,root,root,755)
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*
127
128 %files static
129 %defattr(644,root,root,755)
130 %{_libdir}/libggzcore.a
131 %{_libdir}/libggzmod.a
This page took 1.314785 seconds and 3 git commands to generate.