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