]> git.pld-linux.org Git - packages/libgnome-games-support2.git/blob - libgnome-games-support2.spec
Release 2 (by relup.sh)
[packages/libgnome-games-support2.git] / libgnome-games-support2.spec
1 Summary:        Support library for GNOME games
2 Summary(pl.UTF-8):      Biblioteka wspierająca dla gier GNOME
3 Name:           libgnome-games-support2
4 Version:        2.0.0
5 Release:        1
6 License:        LGPL v3+
7 Group:          X11/Libraries
8 Source0:        https://download.gnome.org/sources/libgnome-games-support/2.0/libgnome-games-support-%{version}.tar.xz
9 # Source0-md5:  75823f85a5c5ed4f930111e65d2143de
10 URL:            https://github.com/GNOME/libgnome-games-support
11 BuildRequires:  gettext-tools >= 0.19.8
12 BuildRequires:  glib2-devel >= 1:2.40.0
13 BuildRequires:  gtk+3-devel >= 3.20.0
14 BuildRequires:  libgee-devel >= 0.14.0
15 BuildRequires:  meson >= 0.50.0
16 BuildRequires:  ninja >= 1.5
17 BuildRequires:  pkgconfig
18 BuildRequires:  rpm-build >= 4.6
19 BuildRequires:  rpmbuild(macros) >= 1.736
20 BuildRequires:  tar >= 1:1.22
21 BuildRequires:  vala >= 2:0.40.0
22 BuildRequires:  xz
23 Requires:       glib2 >= 1:2.40.0
24 Requires:       gtk+3 >= 3.20.0
25 Requires:       libgee >= 0.14.0
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 libgnome-games-support is a small library intended for internal use by
30 GNOME Games, but it may be used by others. The API will only break
31 with the major version number. The ABI is unstable.
32
33 %description -l pl.UTF-8
34 libgnome-games-support to mała biblioteka przeznaczona do użytku
35 wewnętrznego gier ze środowiska GNOME, ale może być wykorzystywana
36 także przez innych. API może się zmieniać tylko wraz z głównym numerem
37 wersji; ABI nie jest stabilne.
38
39 %package devel
40 Summary:        Header files for libgnome-games-support library
41 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libgnome-games-support
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       glib2-devel >= 1:2.40.0
45 Requires:       gtk+3-devel >= 3.20.0
46 Requires:       libgee-devel >= 0.14.0
47
48 %description devel
49 Header files for libgnome-games-support library.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki libgnome-games-support.
53
54 %package -n vala-libgnome-games-support2
55 Summary:        Vala API for libgnome-games-support library
56 Summary(pl.UTF-8):      API języka Vala do bibliotek libgnome-games-support
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59 BuildArch:      noarch
60
61 %description -n vala-libgnome-games-support2
62 Vala API for libgnome-games-support library.
63
64 %description -n vala-libgnome-games-support2 -l pl.UTF-8
65 API języka Vala do bibliotek libgnome-games-support.
66
67 %prep
68 %setup -q -n libgnome-games-support-%{version}
69
70 %build
71 # --default-library=both doesn't work with vala generated sources
72 # https://github.com/mesonbuild/meson/issues/6960
73 # We don't need static library currently, so don't bother to make it.
74 %meson build \
75         --default-library=shared
76
77 %ninja_build -C build
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %ninja_install -C build
83
84 %find_lang %{name}
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %post   -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
91
92 %files -f %{name}.lang
93 %defattr(644,root,root,755)
94 %doc NEWS README
95 %attr(755,root,root) %{_libdir}/libgnome-games-support-2.so.*.*.*
96 %attr(755,root,root) %ghost %{_libdir}/libgnome-games-support-2.so.4
97
98 %files devel
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/libgnome-games-support-2.so
101 %{_includedir}/gnome-games-support-2
102 %{_pkgconfigdir}/libgnome-games-support-2.pc
103
104 %files -n vala-libgnome-games-support2
105 %defattr(644,root,root,755)
106 %{_datadir}/vala/vapi/libgnome-games-support-2.vapi
This page took 0.092179 seconds and 3 git commands to generate.