]>
Commit | Line | Data |
---|---|---|
c8018e9e MB |
1 | Summary: Support library for GNOME games |
2 | Name: libgames-support | |
3 | Version: 0.1 | |
4 | Release: 1 | |
5 | License: LGPL v3+ | |
6 | Group: X11/Libraries | |
7 | Source0: http://download.gnome.org/sources/libgames-support/0.1/%{name}-%{version}.tar.xz | |
8 | # Source0-md5: 741a504dd001450473045079d63ada9c | |
9 | BuildRequires: autoconf >= 2.69 | |
10 | BuildRequires: automake >= 1:1.11 | |
11 | BuildRequires: glib2-devel >= 1:2.40.0 | |
12 | BuildRequires: gtk+3-devel >= 3.12.0 | |
13 | BuildRequires: intltool >= 0.50.2 | |
14 | BuildRequires: libgee-devel | |
15 | BuildRequires: libtool >= 2:2.2 | |
16 | BuildRequires: pkgconfig | |
17 | BuildRequires: vala >= 2:0.24.0 | |
18 | Requires: glib2 >= 1:2.40.0 | |
19 | Requires: gtk+3 >= 3.12.0 | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | libgames-support is a small library intended for internal use by GNOME | |
24 | Games, but it may be used by others. The API will only break with the | |
25 | major version number. The ABI is unstable. | |
26 | ||
27 | %package devel | |
28 | Summary: Header files for libgames-support library | |
29 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgames-support | |
30 | Group: Development/Libraries | |
31 | Requires: %{name} = %{version}-%{release} | |
32 | Requires: glib2-devel >= 1:2.40.0 | |
33 | Requires: gtk+3-devel >= 3.12.0 | |
34 | ||
35 | %description devel | |
36 | Header files for libgames-support library. | |
37 | ||
38 | %description devel -l pl.UTF-8 | |
39 | Pliki nagłówkowe biblioteki libgames-support. | |
40 | ||
41 | %prep | |
42 | %setup -q | |
43 | ||
44 | %build | |
45 | %{__intltoolize} | |
46 | %{__libtoolize} | |
47 | %{__aclocal} | |
48 | %{__autoconf} | |
49 | %{__automake} | |
50 | %configure | |
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT | |
58 | ||
59 | %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la | |
60 | ||
61 | %find_lang %{name} | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post -p /sbin/ldconfig | |
67 | %postun -p /sbin/ldconfig | |
68 | ||
69 | %files -f %{name}.lang | |
70 | %defattr(644,root,root,755) | |
71 | %doc NEWS README | |
72 | %attr(755,root,root) %{_libdir}/libgames-support.so.*.*.* | |
73 | %attr(755,root,root) %ghost %{_libdir}/libgames-support.so.0 | |
74 | ||
75 | %files devel | |
76 | %defattr(644,root,root,755) | |
77 | %attr(755,root,root) %{_libdir}/libgames-support.so | |
78 | %{_includedir}/gnome-games | |
79 | %{_pkgconfigdir}/libgames-support-1.0.pc | |
80 | %{_datadir}/vala/vapi/libgames-support-1.0.vapi |